Running current version in node-red 0.20.5 and node.js v10.15.3.
Have a flow to listen for events (single device on account). The logs show this output when the flow starts:
24 Apr 13:29:13 - [info] [ring doorbell:Front Door] Gathering Ring device info...
Promise {
{ devices: [AsyncFunction],
history: [AsyncFunction],
activeDings: [AsyncFunction],
events:
EventEmitter {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined } } }
Seems to work for awhile, but it stops working if I redeploy flows. Sometimes it seems to just stop working all by itself. When it goes dead, it logs the following:
24 Apr 13:14:28 - [info] [ring doorbell:Front Door] Injecting ring event
But, no flow message is generated, the flow doesn't run. I've added a catch node into the flow as well, but it doesn't catch any exceptions.
EDIT: It seems like the node doesn't reinitialize properly on a redeploy. I should note the flow (and ringdoorbell) starts to work again after a node-red restart - redeploying flows won't help.
Running current version in node-red 0.20.5 and node.js v10.15.3.
Have a flow to listen for events (single device on account). The logs show this output when the flow starts:
24 Apr 13:29:13 - [info] [ring doorbell:Front Door] Gathering Ring device info...
Promise {
{ devices: [AsyncFunction],
history: [AsyncFunction],
activeDings: [AsyncFunction],
events:
EventEmitter {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined } } }
Seems to work for awhile, but it stops working if I redeploy flows. Sometimes it seems to just stop working all by itself. When it goes dead, it logs the following:
24 Apr 13:14:28 - [info] [ring doorbell:Front Door] Injecting ring event
But, no flow message is generated, the flow doesn't run. I've added a catch node into the flow as well, but it doesn't catch any exceptions.
EDIT: It seems like the node doesn't reinitialize properly on a redeploy. I should note the flow (and ringdoorbell) starts to work again after a node-red restart - redeploying flows won't help.