Error handling for node-red-contrib-unifi

Thank you for the great node. It has added a ton of functionality for my smart home triggers.

Last night, my unifi controller went down and node red was unable to retrieve data.

How can I create a trigger when the node has an error: I tried recreating the errors but even when the node reports it cannot connect, nothing is output in either the debug window or by using the status node directed to the unifi node.

Here are some examples:

OK
econnrefused

This may be a generic question and not a unifi node specific issue.

Thanks,

Devan

Nevermind. My debug node was only looking at the status nodes payload, not the entire message.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.