I added a motionsensor node and triggered it by walking past the sensor. Node red crashed immediately with an uncaught exception. This exception happened in hue-bridge-config.json, line 257, due to an unknown property refence (the property refence being some "random" uuid).
How to reproduce?
For me, this happens whenever a motion sensor is triggered.
Expected behavior:
Would expect a motion event and no crash.
Additional comments?
No response
Relevant log output
26 Oct 10:22:14 - [red] Uncaught Exception: 26 Oct 10:22:14 - [error] TypeError: Cannot read properties of undefined (reading 'b3d63fd4-9373-11ef-bf3a-936b83e6d503') at /data/data/com.termux/files/home/.node-red/node_modules/node-red-contrib-huemagic-fork/huemagic/hue-bridge-config.js:257:67 at scope.events.<computed>.onmessage (/data/data/com.termux/files/home/.node-red/node_modules/node-red-contrib-huemagic-fork/huemagic/utils/api.js:142:9) at EventSource.emit (node:events:520:28) at _emit (/data/data/com.termux/files/home/.node-red/node_modules/eventsource/lib/eventsource.js:287:17) at parseEventStreamLine (/data/data/com.termux/files/home/.node-red/node_modules/eventsource/lib/eventsource.js:302:9) at IncomingMessage.<anonymous> (/data/data/com.termux/files/home/.node-red/node_modules/eventsource/lib/eventsource.js:259:11) at IncomingMessage.emit (node:events:520:28) at addChunk (node:internal/streams/readable:559:12) at readableAddChunkPushByteMode (node:internal/streams/readable:510:3) at Readable.push (node:internal/streams/readable:390:5) at HTTPParser.parserOnBody (node:_http_common:130:24) at TLSSocket.socketOnData (node:_http_client:546:22) at TLSSocket.emit (node:events:520:28) at addChunk (node:internal/streams/readable:559:12) at readableAddChunkPushByteMode (node:internal/streams/readable:510:3) at Readable.push (node:internal/streams/readable:390:5) at TLSWrap.onStreamRead (node:internal/stream_base_commons:191:23)
Node-Red-Contrib-Huemagic-Fork Version
4.2.8
Node JS Version
v22.8.0
NPM Version
10.8.2
Node-Red Version
v3.1.3
Operating System
Android (termux)
What happened?
I added a motionsensor node and triggered it by walking past the sensor. Node red crashed immediately with an uncaught exception. This exception happened in hue-bridge-config.json, line 257, due to an unknown property refence (the property refence being some "random" uuid).
How to reproduce?
For me, this happens whenever a motion sensor is triggered.
Expected behavior:
Would expect a motion event and no crash.
Additional comments?
No response
Relevant log output