treban/pimatic-raspbee

Error again with deconz Version 2.5.8x

fennsen64 opened this issue · 0 comments

Hi, after the 0.1.7 worked with deconz 2.5.77 / 2.5.78, I tried to use updated deconz Version 2.5.81 because there are some major issues fixed.
Unfortunaly, I get the same error again as before the fix with 0.1.7 (see issue #47 ):

But also followed by a lost of websocket error (see error at the bottom)

14:16:11.653 [pimatic] error: An uncaught exception occurred: TypeError: Cannot read property 'on' of undefined 14:16:11.653 [pimatic] error:> at RaspBeeSwitch.parseEvent (/usr/local/pimatic-app/node_modules/pimatic-raspbee/raspbee.coffee:934:29) 14:16:11.653 [pimatic] error:> at RaspBeePlugin. (/usr/local/pimatic-app/node_modules/pimatic-raspbee/raspbee.coffee:918:12) 14:16:11.653 [pimatic] error:> at RaspBeePlugin.emit (events.js:203:15) 14:16:11.653 [pimatic] error:> at RaspBeeConnection. (/usr/local/pimatic-app/node_modules/pimatic-raspbee/raspbee.coffee:252:10) 14:16:11.653 [pimatic] error:> at RaspBeeConnection.emit (events.js:198:13) 14:16:11.653 [pimatic] error:> at WebSocket. (/usr/local/pimatic-app/node_modules/pimatic-raspbee/raspbee-connector.coffee:65:14) 14:16:11.653 [pimatic] error:> at WebSocket.emit (events.js:198:13) 14:16:11.653 [pimatic] error:> at Receiver.receiverOnMessage (/usr/local/pimatic-app/node_modules/pimatic-raspbee/node_modules/ws/lib/websocket.js:720:20) 14:16:11.653 [pimatic] error:> at Receiver.emit (events.js:198:13) 14:16:11.653 [pimatic] error:> at Receiver.dataMessage (/usr/local/pimatic-app/node_modules/pimatic-raspbee/node_modules/ws/lib/receiver.js:414:14) 14:16:11.653 [pimatic] error:> at Receiver.getData (/usr/local/pimatic-app/node_modules/pimatic-raspbee/node_modules/ws/lib/receiver.js:346:17) 14:16:11.653 [pimatic] error:> at Receiver.startLoop (/usr/local/pimatic-app/node_modules/pimatic-raspbee/node_modules/ws/lib/receiver.js:133:22) 14:16:11.653 [pimatic] error:> at Receiver._write (/usr/local/pimatic-app/node_modules/pimatic-raspbee/node_modules/ws/lib/receiver.js:69:10) 14:16:11.653 [pimatic] error:> at doWrite (_stream_writable.js:415:12) 14:16:11.653 [pimatic] error:> at writeOrBuffer (_stream_writable.js:399:5) 14:16:11.653 [pimatic] error:> at Receiver.Writable.write (_stream_writable.js:299:11) 14:16:11.653 [pimatic] error:> at Socket.socketOnData (/usr/local/pimatic-app/node_modules/pimatic-raspbee/node_modules/ws/lib/websocket.js:795:35) 14:16:11.653 [pimatic] error:> at Socket.emit (events.js:198:13) 14:16:11.653 [pimatic] error:> at Socket.emit (/usr/local/pimatic-app/node_modules/pimatic/startup.coffee:64:24) 14:16:11.653 [pimatic] error:> at addChunk (_stream_readable.js:288:12) 14:16:11.653 [pimatic] error:> at readableAddChunk (_stream_readable.js:269:11) 14:16:11.653 [pimatic] error:> at Socket.Readable.push (_stream_readable.js:224:10) 14:16:11.653 [pimatic] error:> at TCP.onStreamRead [as onread] (internal/stream_base_commons.js:94:17) 14:16:11.653 [pimatic] error:> This is most probably a bug in pimatic or in a module, please report it! 14:16:11.659 [pimatic] warn: Keeping pimatic alive, but could be in an undefined state, please restart pimatic as soon as possible!

`14:34:16.197 [pimatic-raspbee] error: websocket keep alive error, try to reconnect
14:34:16.232 [pimatic-raspbee] info: Connection establised
14:34:16.235 [pimatic-raspbee] info: Name Phoscon-GW
14:34:16.237 [pimatic-raspbee] info: API 1.16.0
14:34:16.239 [pimatic-raspbee] info: Software Version 2.5.81
14:34:16.241 [pimatic-raspbee] info: API key valid
14:34:16.280 [pimatic-raspbee] info: Event receiver connected.
``