recallfx / node-red-contrib-eufy-security

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

Node only seems to output to debug node #25

Closed youzer-name closed 7 months ago

youzer-name commented 7 months ago

I'm hoping someone can help me make sense of what I'm seeing with this node.

I was able to find an answer here that explained how to log in with the two-factor code, and I was able to send a connect command and then a connect with the TFA code and everything looks good. The node shows 'connected'.

When I wire it to a debug node and activate my doorbell camera, I see the expected messages including the 'personDetected', the picture, etc.

I want to take those messages and pass them to MQTT, but when I connect the node to the MQTT out node, nothing happens when a message is received. The debug node shows the message, but the MQTT node doesn't send anything.

To make sure this isn't some issue with MQTT, I tried wiring the output of this node to a switch (set up for: if msg.payload.name =='picture' then output 1, otherwise output 2), and also to a function (written to have the same effect as the switch... return either output 1 or output 2 depending on msg.payload.name)

It looks like the switch and function nodes are also either not receiving the messages, or they are failing to pass them through to their output.

I don't understand how the debug node is seeing the message object but the other nodes either don't see it or fail silently when trying to process it.

Any help or advice would be greatly appreciated.

EDIT: Update Node, NPM, and Node Red to latest versions and it looks like that sorted it.