I’m at my wits’ end here, so if anyone can help, please do so.
I use a combination of Blynk and Node-Red with the excellent websockets contributation made by @tzapulica
This system runs via a local server on a Raspberry Pi and controls my home’s heating, hot water etc
This morning, when I tried to use the Android app to turn on the hot water, the app complained that the local server was outdated. I logged in to the pi, downloaded the newest server.jar (0.20.1), updated the symlink I use and rebooted.
…bang.
Nothing was working. Frantically, I tried to switch to the old server version (0.17.0). Still no dice.
I’ve tried updating everything via npm to their newest versions, but still no go.
The node-red behavior is that the Blynk websocket nodes try to connect, then go to error and disconnect. I even tried starting a completely new node-red sketch with just one node. Same behavior.
Here are some relevant sections from my server’s blynk.log (debug level: TRACE) and my syslog:
blynk.log
2016-12-10 16:21:30.859 DEBUG - Generated: io.netty.util.internal.matchers.io.netty.handler.codec.http.HttpObjectMatcher
2016-12-10 16:21:31.045 DEBUG - Generated: io.netty.util.internal.matchers.io.netty.handler.codec.http.websocketx.WebSocketFrameMatcher
2016-12-10 16:21:31.722 DEBUG - Discarded inbound message HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /websockets HTTP/1.1
Connection: Upgrade
Upgrade: websocket
Host: 192.168.1.50:8082
Sec-WebSocket-Version: 13
Sec-WebSocket-Key: MTMtMTQ4MTM3OTY1MDgyNA==
Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits
content-length: 0 that reached at the tail of the pipeline. Please check your pipeline configuration.
2016-12-10 16:21:31.724 DEBUG - Discarded inbound message HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /websockets HTTP/1.1
Connection: Upgrade
Upgrade: websocket
Host: 192.168.1.50:8082
syslog
Dec 10 16:21:29 rPiHomeAutomation Node-RED[357]: 10 Dec 16:21:29 - [info] Started flows
Dec 10 16:21:30 rPiHomeAutomation Node-RED[357]: 10 Dec 16:21:30 - [error] [blynk-websockets-out-write:Disturb Level] Error: not opened
Dec 10 16:21:30 rPiHomeAutomation Node-RED[357]: 10 Dec 16:21:30 - [error] [blynk-websockets-out-write:Heating Preference] Error: not opened
Dec 10 16:21:30 rPiHomeAutomation Node-RED[357]: 10 Dec 16:21:30 - [error] [blynk-websockets-out-write:Temperature] Error: not opened
Dec 10 16:21:31 rPiHomeAutomation Node-RED[357]: 10 Dec 16:21:31 - [error] [blynk-websockets-out-write:Motion Detector PIR] Error: not opened
Dec 10 16:21:31 rPiHomeAutomation Node-RED[357]: 10 Dec 16:21:31 - [error] [blynk-websockets-out-write:Light Level] Error: not opened
Dec 10 16:21:32 rPiHomeAutomation Node-RED[357]: 10 Dec 16:21:32 - [info] [mqtt-broker:ed1016e9.666508] Connected to broker: mqtt://rPiHomeAutomation.tenaron.com:1883
Dec 10 16:21:32 rPiHomeAutomation Node-RED[357]: 10 Dec 16:21:32 - [error] [blynk-websockets-out-write:Ext Temp] Error: not opened
Dec 10 16:21:33 rPiHomeAutomation Node-RED[357]: 10 Dec 16:21:33 - [error] [blynk-websockets-out-write:Ext Pressure] Error: not opened
Dec 10 16:21:33 rPiHomeAutomation Node-RED[357]: 10 Dec 16:21:33 - [error] [blynk-websockets-out-write:Ext Light] Error: not opened
Dec 10 16:21:33 rPiHomeAutomation Node-RED[357]: 10 Dec 16:21:33 - [error] [blynk-websockets-out-write:Ext Temp] Error: not opened
Dec 10 16:21:33 rPiHomeAutomation Node-RED[357]: 10 Dec 16:21:33 - [error] [blynk-websockets-out-write:Ext Pressure] Error: not opened
Dec 10 16:21:33 rPiHomeAutomation Node-RED[357]: 10 Dec 16:21:33 - [error] [blynk-websockets-out-write:Ext Light] Error: not opened
Dec 10 16:21:34 rPiHomeAutomation Node-RED[357]: 10 Dec 16:21:34 - [error] [blynk-websockets-out-write:Temperature] Error: not opened
Dec 10 16:21:34 rPiHomeAutomation Node-RED[357]: 10 Dec 16:21:34 - [error] [blynk-websockets-out-write:Humidity] Error: not opened
Dec 10 16:21:35 rPiHomeAutomation Node-RED[357]: 10 Dec 16:21:35 - [error] [blynk-websockets-out-write:Blynk Terminal] Error: not opened
Dec 10 16:21:35 rPiHomeAutomation Node-RED[357]: 10 Dec 16:21:35 - [error] [blynk-websockets-out-write:Blynk LCD Bottom] Error: not opened
Dec 10 16:21:35 rPiHomeAutomation Node-RED[357]: 10 Dec 16:21:35 - [error] [blynk-websockets-out-write:Blynk LCD Top] Error: not opened
Dec 10 16:21:36 rPiHomeAutomation Node-RED[357]: 10 Dec 16:21:36 - [error] [blynk-websockets-out-write:Temperature] Error: not opened
Dec 10 16:21:36 rPiHomeAutomation Node-RED[357]: 10 Dec 16:21:36 - [error] [blynk-websockets-out-write:Humidity] Error: not opened
Dec 10 16:21:38 rPiHomeAutomation Node-RED[357]: 10 Dec 16:21:38 - [error] [blynk-websockets-out-write:Temperature] Error: not opened
Dec 10 16:21:38 rPiHomeAutomation rsyslogd-2007: action ‘action 17’ suspended, next retry is Sat Dec 10 16:22:08 2016 [try You searched for error 2007 - rsyslog ]
Dec 10 16:21:38 rPiHomeAutomation Node-RED[357]: 10 Dec 16:21:38 - [error] [blynk-websockets-out-write:Humidity] Error: not opened
Dec 10 16:21:40 rPiHomeAutomation Node-RED[357]: 10 Dec 16:21:40 - [error] [blynk-websockets-out-write:Temperature] Error: not opened
Dec 10 16:21:40 rPiHomeAutomation Node-RED[357]: 10 Dec 16:21:40 - [error] [blynk-websockets-out-write:Humidity] Error: not opened
Dec 10 16:21:41 rPiHomeAutomation Node-RED[357]: 10 Dec 16:21:41 - [error] [blynk-websockets-out-write:Ext Temp] Error: not opened
Dec 10 16:21:41 rPiHomeAutomation Node-RED[357]: 10 Dec 16:21:41 - [error] [blynk-websockets-out-write:Ext Light] Error: not opened
Dec 10 16:21:41 rPiHomeAutomation Node-RED[357]: 10 Dec 16:21:41 - [error] [blynk-websockets-out-write:Ext Pressure] Error: not opened
Dec 10 16:21:42 rPiHomeAutomation Node-RED[357]: 10 Dec 16:21:42 - [error] [blynk-websockets-out-write:Temperature] Error: not opened
Dec 10 16:21:42 rPiHomeAutomation Node-RED[357]: 10 Dec 16:21:42 - [error] [blynk-websockets-out-write:Humidity] Error: not opened
Dec 10 16:21:44 rPiHomeAutomation Node-RED[357]: 10 Dec 16:21:44 - [error] [blynk-websockets-out-write:Temperature] Error: not opened
Dec 10 16:21:44 rPiHomeAutomation Node-RED[357]: 10 Dec 16:21:44 - [error] [blynk-websockets-out-write:Humidity] Error: not opened
Dec 10 16:21:46 rPiHomeAutomation Node-RED[357]: 10 Dec 16:21:46 - [error] [blynk-websockets-out-write:Temperature] Error: not opened
Dec 10 16:21:46 rPiHomeAutomation Node-RED[357]: 10 Dec 16:21:46 - [error] [blynk-websockets-out-write:Humidity] Error: not opened
Dec 10 16:21:46 rPiHomeAutomation Node-RED[357]: error
Dec 10 16:21:47 rPiHomeAutomation Node-RED[357]: close
Dec 10 16:21:47 rPiHomeAutomation Node-RED[357]: error
Dec 10 16:21:47 rPiHomeAutomation Node-RED[357]: close
Dec 10 16:21:47 rPiHomeAutomation Node-RED[357]: error
Dec 10 16:21:47 rPiHomeAutomation Node-RED[357]: close
Dec 10 16:21:47 rPiHomeAutomation Node-RED[357]: error
Dec 10 16:21:47 rPiHomeAutomation Node-RED[357]: close
Dec 10 16:21:47 rPiHomeAutomation Node-RED[357]: error
Dec 10 16:21:47 rPiHomeAutomation Node-RED[357]: close
Dec 10 16:21:47 rPiHomeAutomation Node-RED[357]: error
Dec 10 16:21:47 rPiHomeAutomation Node-RED[357]: close
Dec 10 16:21:47 rPiHomeAutomation Node-RED[357]: error
Dec 10 16:21:47 rPiHomeAutomation Node-RED[357]: close
@tzapulica, @Dmitriy do you guys have any ideas?
Thanks,
Aris