Skip to content
niqdev edited this page Jan 2, 2016 · 15 revisions

Bintray

./gradlew 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 init --type java-library

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

Clone this wiki locally