This object is in archive! 
Behavior after power and/or Internet connection loss
Need Answer
Hi,
Because I have many variables initialized after midnight (temperature forecast, parameters, ...) when I lost the connexion or power at this time, the behavior of my box is completely foolish the day after .
Is someone could helping me to write rule or something else to detect such a loss in order to reinialize those parameters.
Thx
KR
Michel
No connection
Real-time notifications may not work
I have a backup battery expansion module attached to my Zipabox, and can use this to determine if the box has restarted by if it is discharging or not. Probably could use the virtual battery alarm with it also but haven't tried this.
Another way, is to run a rule every so often that compares a virtual meter value to a variable. Virtual meter values are store in the cloud so will always stay the same if the box is reboot, variables are reset back to nothing. Set them both to eg,1, and if they are no the same, then the box has rebooted, then set them both to the same value again.
I have a backup battery expansion module attached to my Zipabox, and can use this to determine if the box has restarted by if it is discharging or not. Probably could use the virtual battery alarm with it also but haven't tried this.
Another way, is to run a rule every so often that compares a virtual meter value to a variable. Virtual meter values are store in the cloud so will always stay the same if the box is reboot, variables are reset back to nothing. Set them both to eg,1, and if they are no the same, then the box has rebooted, then set them both to the same value again.
Hi,
Thanks you for your help.
Ok for the loss power,.
What can I do for the loss connexion?
KR
Michel
Hi,
Thanks you for your help.
Ok for the loss power,.
What can I do for the loss connexion?
KR
Michel
Replies have been locked on this page!