You are almost there i think/hope
A complete log but somehow after a reconnect it is dropping itself...
Code: Select all
pi@domoticz ~/htc $ git pull
remote: Counting objects: 3, done.
remote: Compressing objects: 100% (1/1), done.
remote: Total 3 (delta 2), reused 3 (delta 2), pack-reused 0
Unpacking objects: 100% (3/3), done.
From https://github.com/nayrnet/domoticz-htc
f3b2ca0..3752f25 master -> origin/master
Updating f3b2ca0..3752f25
Fast-forward
server.js | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
pi@domoticz ~/htc $ ./server.js
Pioneer: connected
Domoticz MQTT: connected
POWER: true
INPUT: 5
VOLUME: 46
DOMO: {"Battery":255,"RSSI":12,"dtype":"Light/Switch","id":"000140C4","idx":117,"name":"VSX Sound Modus","nvalue":1,"stype":"Selector Switch","svalue1":"0","switchType":"Selector","unit":1}
DOMO: {"Battery":255,"RSSI":12,"dtype":"Light/Switch","id":"000140C3","idx":116,"name":"VSX Input","nvalue":2,"stype":"Selector Switch","svalue1":"20","switchType":"Selector","unit":1}
DOMO: {"Battery":255,"RSSI":12,"dtype":"Light/Switch","id":"000140CB","idx":124,"name":"VSX Volume","nvalue":2,"stype":"Switch","svalue1":"45","switchType":"Dimmer","unit":1}
VOLUME: 46
VOLUME: 47
DOMO: {"Battery":255,"RSSI":12,"dtype":"Light/Switch","id":"000140CB","idx":124,"name":"VSX Volume","nvalue":2,"stype":"Switch","svalue1":"46","switchType":"Dimmer","unit":1}
VOLUME: 46
//I putt VSX off with remote
AVR CONNECTION CLOSED! try reconnect every 30s
AVR CONNECTION CLOSED! try reconnect every 30s
AVR ERROR: EHOSTUNREACH @ 192.168.2.42:8102
AVR ERROR: EHOSTUNREACH @ 192.168.2.42:8102
AVR CONNECTION CLOSED! try reconnect every 30s
AVR CONNECTION CLOSED! try reconnect every 30s
AVR ERROR: Connection not avilable, dropping request
Pioneer: connected
AVR ERROR: Connection not avilable, dropping request
Pioneer: connected
AVR CONNECTION CLOSED! try reconnect every 30s
AVR CONNECTION CLOSED! try reconnect every 30s
AVR ERROR: Connection not avilable, dropping request
AVR ERROR: Connection not avilable, dropping request
AVR ERROR: Connection not avilable, dropping request
AVR ERROR: Connection not avilable, dropping request
AVR ERROR: Connection not avilable, dropping request
Pioneer: connected
AVR CONNECTION CLOSED! try reconnect every 30s
AVR CONNECTION CLOSED! try reconnect every 30s
AVR ERROR: Connection not avilable, dropping request
AVR ERROR: Connection not avilable, dropping request
AVR ERROR: Connection not avilable, dropping request
AVR ERROR: Connection not avilable, dropping request
AVR ERROR: Connection not avilable, dropping request
AVR ERROR: Connection not avilable, dropping request
AVR ERROR: Connection not avilable, dropping request
AVR ERROR: Connection not avilable, dropping request
AVR ERROR: Connection not avilable, dropping request
Pioneer: connected
AVR CONNECTION CLOSED! try reconnect every 30s
AVR CONNECTION CLOSED! try reconnect every 30s
AVR ERROR: Connection not avilable, dropping request
AVR ERROR: Connection not avilable, dropping request
AVR ERROR: Connection not avilable, dropping request
AVR ERROR: Connection not avilable, dropping request
A bit wierd
Code: Select all
AVR ERROR: Connection not avilable, dropping request
^Z
[14]+ Stopped ./server.js
pi@domoticz ~/htc $ ./server.js
Domoticz MQTT: connected
Pioneer: connected
AVR CONNECTION CLOSED! try reconnect every 30s
AVR CONNECTION CLOSED! try reconnect every 30s
AVR ERROR: Connection not avilable, dropping request
AVR ERROR: Connection not avilable, dropping request
AVR ERROR: Connection not avilable, dropping request
AVR ERROR: Connection not avilable, dropping request
^Z
[15]+ Stopped ./server.js
//put VSX off
pi@domoticz ~/htc $ ./server.js
Domoticz MQTT: connected
AVR ERROR: EHOSTUNREACH @ 192.168.2.42:8102
AVR CONNECTION CLOSED! try reconnect every 30s
^Z
//put VSX back on
[16]+ Stopped ./server.js
pi@domoticz ~/htc $ ./server.js
Domoticz MQTT: connected
Pioneer: connected
POWER: true
INPUT: 5
VOLUME: 13
DOMO: {"Battery":255,"RSSI":12,"dtype":"Light/Switch","id":"000140C4","idx":117,"name":"VSX Sound Modus","nvalue":1,"stype":"Selector Switch","svalue1":"0","switchType":"Selector","unit":1}
DOMO: {"Battery":255,"RSSI":12,"dtype":"Light/Switch","id":"000140C3","idx":116,"name":"VSX Input","nvalue":2,"stype":"Selector Switch","svalue1":"20","switchType":"Selector","unit":1}
DOMO: {"Battery":255,"RSSI":12,"dtype":"Light/Switch","id":"000140CB","idx":124,"name":"VSX Volume","nvalue":2,"stype":"Switch","svalue1":"12","switchType":"Dimmer","unit":1}
VOLUME: 13