This object is in archive! 

System Events to use as trigger for Rules

HB shared this question 11 years ago
Need Answer

I need to do things after a power failure when the ZipaBox is restarted!

Can you add a internal device (representing the ZipaBox itself)

And then have status event for it that can be used as triggers for rules.

Ex:

ZipaBox.status=cold_start

ZipaBox.status=reset

zipaBox.status=power_down (when power down and on battery module)

ZipaBox.status=power_up (when back on power with battery module)


ZipaBox.status=running/running


when ZipaBox starts it sets status cold_start or reset that can be triggered in rules, good to see the differense becouse normary reset is a manual action, and a cold_start during normal operation is something wrong and indicating that it has been a power failure, that I want to be able to handle in a rule.


Then the sets the status to running, indicating everything is normal.

If I have the battery module and the power goes down (running on battery) then it sets the status to pwer_down and when the power is back it set status to power_up (and then to normal/running)

Maybe also if possible a battery_low status if using the battery module and running on battery and then change from power_down to battery_low just in time before the battery is dead.


Maybe there is also some other usefull states or other that could be possible to have.


I know you want to have the internal button and led for yourself, so I don't want I diskussion about them here.

But I think that some triggered Events as described here could be a good thing!


The names and so on could be something else, if is the idea to be able to add Rules to system Events that is important!


Is this something you can add?

Replies (2)

photo
1

Being able to detect a reboot and run a rule after would also make it possible to workaround the virtual device and variable problems...


https://community.zipato.com/topic/edx-895-20434-virtual-device-status-and-variable-init-to-false-0-after-a-reboot-reset-or-cloud-maintenance

photo
1

I also think it would be very useful.

Leave a Comment
 
Attach a file