Hey to all of you,
i have good a strange behaviour with the door bird api. Since my upgrade to node red 3 (before 1.x) and node.js 20 (before node.js 14) i have got an restart of the node red service after every motion, ring and so on in the doorbird.
The log at these times:
> Dec 1 14:17:36 raspberrypi Node-RED[68393]: 1 Dec 14:17:36 - [red] Uncaught Exception:
> Dec 1 14:17:36 raspberrypi Node-RED[68393]: 1 Dec 14:17:36 - [error] TypeError: sodium.crypto_pwhash is not a function
> Dec 1 14:17:36 raspberrypi Node-RED[68393]: at DoorbirdUdpSocket.<anonymous> (/home/pi/.node-red/node_modules/doorbird/dist/index.js:121:55)
> Dec 1 14:17:36 raspberrypi Node-RED[68393]: at step (/home/pi/.node-red/node_modules/doorbird/dist/index.js:56:23)
> Dec 1 14:17:36 raspberrypi Node-RED[68393]: at Object.next (/home/pi/.node-red/node_modules/doorbird/dist/index.js:37:53)
> Dec 1 14:17:36 raspberrypi Node-RED[68393]: at fulfilled (/home/pi/.node-red/node_modules/doorbird/dist/index.js:28:58)
> Dec 1 14:17:36 raspberrypi systemd[1]: nodered.service: Main process exited, code=exited, status=1/FAILURE
> Dec 1 14:17:36 raspberrypi systemd[1]: nodered.service: Failed with result 'exit-code'.
> Dec 1 14:17:36 raspberrypi systemd[1]: nodered.service: Consumed 1h 8min 20.425s CPU time.
> Dec 1 14:17:56 raspberrypi systemd[1]: nodered.service: Scheduled restart job, restart counter is at 30.
> Dec 1 14:17:56 raspberrypi systemd[1]: Stopped Node-RED graphical event wiring tool.
> Dec 1 14:17:56 raspberrypi systemd[1]: nodered.service: Consumed 1h 8min 20.425s CPU time.
Can somebody help me on this problem? Is there a incompability?
Best regards,
WernerMa96