I am using Node-Red with a network of NCD sensors which communicate with a NCD Wireless to Ethernet modem. All works well except when our plant experiences a power outage. Node-Red is on a virtual machine and remains running even when the power goes down.
After a power outage the only way to start receiving data again is to restart Node-Red.
The only thing I can guess is happening is there must be a few milliseconds between the power going out and the battery kicking in for the Wireless to Ethernet modem which causes a timeout error. Everything including the modem is plugged into a battery backup.
Is there a way I can reset the Node-Red gateway after data is not received for a period of time, say 15 minutes? I've spent quite a bit of time searching for a similar issue in the forums and haven't been able to find anything.