realSixi / node-red-contrib-ring-alarm

Node-Red Integration with Ring.com Alarm System
MIT License
2 stars 0 forks source link

Cannot obtain 'Ring' event from Video doorbell wired. #10

Open Paul-Reed opened 1 year ago

Paul-Reed commented 1 year ago

I'm not sure that I'm using the correct node here as it's not clear in the documentation, but I'm trying to retrieve 'Ring' alerts from a Video doorbell wired, using the 'Alarm Status' node. Unfortunately, adding the node to a flow, selecting the config, and then deploying the flow results in it crashing node-RED, and entering a cycle of constantly crashing & restarting. Checking the node-RED log, I see;

31 May 19:34:22 - [red] Uncaught Exception:
31 May 19:34:22 - [error] TypeError: Cannot read properties of undefined (reading 'onData')
    at /home/pi/.node-red/node_modules/@realsixi/node-red-contrib-ring-alarm/dist/ring-alarm.js:473:29
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
nodered.service: Main process exited, code=exited, status=1/FAILURE
nodered.service: Failed with result 'exit-code'.

Starting node-RED in safe mode, removing the 'Alarm Status' node and deploying, restores node-RED back OK.

Raspberry Pi 3B+ Node-RED version: v3.1.0-beta.2 Node.js version: v16.20.0 Linux 5.10.103-v7+ arm LE