Hi, this is a new Wemo attempt to get a working wemo devices.
The principal problem with Lan devices like wemo is the timer problem from ST, lan devices need the subscription to known the status, every time a change occurs in the device , this information its send to ST, but this subscription can be broken, by time or by problems in device.
If the device is overloaded with request it can restart the config and lost the subscriptions, a new subscription must to received.
If a subscription finish, because every subscription have a time limit, a new subscription must to be received.
Then if ST timers fails, no new subscription is sent to wemo and no status its received.
The secondary problem its a change in ip or port from device, most of the time a lan device like wemo retains the port and ip, but if network restart or a wemo is disconected from network can take another port, the wemo conect must to check if something change in the devices , this is checked by schedule, but if ST timers fails, the check is not posible,
I have mod the wemo connect to verify if the timers are working, if not, the timers are restored, to achieve this we need some triggers to verify (because timers do not work) , then I have added some fields to get some events form your other devices, ex. a temp device send a event each time the temperature change , this event can be used to verify if the timers are working, you can use door contacts , power meter , motion , etc the refresh time in the wemo connect is 5 minutes, every 5 minutes must to run the subscription and the verify ip, if the timer do not launch this task your other devices can launch the task.
This app and device handlers must to be installed in the IDE, then works form the cloud, my wemo are stable and working fine
I use a power meter device (aeon power meter) to send the back up timer, this device send a event every minute to known the power , in this way the subscription task and check ip are always working even if ST timers fails.