Skip to content
niqdev edited this page Apr 1, 2018 · 15 revisions

Bintray

./gradlew clean build
./gradlew bintrayUpload

https://dl.bintray.com/niqdev/maven/com/github/niqdev/rx-openwebnet/

VPN

netstat -rn

# vpn gateway - my ip address in VPN
# 192.168.1.89 - 192.168.1.87
# 192.168.1.89 - 192.168.1.86

sudo route -n add -host 192.168.1.41 192.168.1.89

Domotic system test

#client
echo *1*1*21## | nc 192.168.1.41 20000

#server
while true; do ((echo "*#*1##";) | nc -l 20000) done

Frame example

request command
(turn-on) *1*1*21##
(turn-off) *1*0*21##
response command
(ACK) *#*1##

request status
(is-on) *#1*21##
response status
(off) *1*0*21##*#*1##

Create project

# gradle
gradle init --type java-library

# maven
mvn archetype:generate \
  -DgroupId=com.github.niqdev \
  -DartifactId=rx-openwebnet \
  -DarchetypeArtifactId=maven-archetype-quickstart \
  -DinteractiveMode=false

Create Javadoc pages

http://openwebnet.github.io/rx-openwebnet

mkdir javadoc
echo gh-pages > javadoc/index.html
git add .
git commit -m "initial javadoc subtree commit"
git subtree push --prefix javadoc origin gh-pages

# generate javadoc
./gradlew copyJavaDoc
# publish javadoc
git subtree push --prefix javadoc origin gh-pages
Clone this wiki locally