This page last changed on Dec 20, 2013 by tbondar.

First of all, thank you guys for this great software!

I'm working on a project building custom made sensors that communicate on UDP by sending messages (UDP datagrams) to UDPListener at regular intervals. I have managed to install OR on my cloud server and get the sensor readings on my Android Control Panel quite easily after reading the related posts on this forum. So far so good.

The next step would be to add some time-out feature, so if my devices are disconnected from the net it would be recognised by the controller. Polling is not really an option for me because the controller is installed on the internet and my devices are on my home LAN receiving IP address with DHCP (no static addresses).

Is there an easy way to add or configure such a 'keep-alive' feature to the controller or it involves substantial amount of coding?

Hi, could anybody give me a hint how to approach the above problem with OR? Thanks!

Posted by tbondar at Dec 26, 2013 11:31

If your sensors do regularly send a UDP packet that is received by an OR sensor, I guess you can use some rule to check that the sensor has not changed value for a given time span and then consider your device as disconnected.

Posted by ebariaux at Jan 02, 2014 10:47
Document generated by Confluence on Jun 05, 2016 09:37