recallfx / node-red-contrib-eufy-security

Eufy security node for Node RED
MIT License
6 stars 6 forks source link

Update packages and fix renamed function #20

Closed jaredcat closed 11 months ago

jaredcat commented 11 months ago

Fixes #19 and #14

jaredcat commented 11 months ago

Changed to draft as its currently crashing node-red

[error] TypeError: Cannot read properties of undefined (reading 'login')
nodered  |     at EufySecurity.connect (/data/node_modules/eufy-security-client/build/eufysecurity.js:735:24)
nodered  |     at EufySecurityNode.connect (/data/node_modules/node-red-contrib-eufy-security/eufy-security/01-eufy-security.js:113:27)
nodered  |     at EufySecurityNode.initialise (/data/node_modules/node-red-contrib-eufy-security/eufy-security/01-eufy-security.js:107:18)
nodered  |     at new EufySecurityNode (/data/node_modules/node-red-contrib-eufy-security/eufy-security/01-eufy-security.js:66:14)
nodered  |     at Object.createNode (/usr/src/node-red/node_modules/@node-red/runtime/lib/flows/util.js:90:27)
nodered  |     at Flow.start (/usr/src/node-red/node_modules/@node-red/runtime/lib/flows/Flow.js:206:48)
nodered  |     at Object.start [as startFlows] (/usr/src/node-red/node_modules/@node-red/runtime/lib/flows/index.js:394:33)
recallfx commented 11 months ago

Thank you! I will tophat this later today and merge if all good.