Got an update of my Gateway. After I restarted Pimatic today I’m getting this error:
error [pimatic]: An uncaught exception occurred: SyntaxError: Unexpected end of input
at Object.parse (native)
at OutgoingMessage.<anonymous> (/home/pi/pimatic-app/node_modules/pimatic-tradfri/node_modules/tradfri-coapdtls/tradfri-coapdtls.js:340:37)
at emitOne (events.js:82:20)
at OutgoingMessage.emit (events.js:169:7)
at Agent.handle [as _handle] (/home/pi/pimatic-app/node_modules/pimatic-tradfri/node_modules/tradfri-coapdtls/lib/agent.js:326:7)
at DtlsClientSocket.<anonymous> (/home/pi/pimatic-app/node_modules/pimatic-tradfri/node_modules/tradfri-coapdtls/lib/agent.js:95:14)
at emitOne (events.js:77:13)
at DtlsClientSocket.emit (events.js:169:7)
at readableAddChunk (_stream_readable.js:153:18)
at DtlsClientSocket.Readable.push (_stream_readable.js:111:10)
at DtlsClientSocket._onMessage (/home/pi/pimatic-app/node_modules/pimatic-tradfri/node_modules/tradfri-coapdtls/node_modules/node-mbed-dtls/client_socket.js:89:12)
at emitTwo (events.js:87:13)
at Socket.emit (events.js:172:7)
at UDP.onMessage (dgram.js:506:8)
This is most probably a bug in pimatic or in a module, please report it!
Pimatic is not more able to operate the bulbs…