I had a problem recently where many of my devices went to status unknown at HS startup. Aside from wondering how this happened -- I suspect a corruption of Device_State.bin when the pc lost power -- I have been at a loss on how to handle it.
I had previously set up some failsafe events to reset some of my virtual devices (flags) to a default state on the condition that the device state changed to unknown, assuming that would take care of it, but apparently if the device state is unknown at start-up the event does not trigger, presumably because the status does not change. So my failsafe events failed...
As far as I can tell, there is no way to trigger an event when status IS unknown -- only when status CHANGES to unknown. I guess I could write a script to check critical devices for status = 17, but I am wondering if I am missing some event condition that I might set to handle this more directly? And I am also wondering how this happened in the first place?
I had previously set up some failsafe events to reset some of my virtual devices (flags) to a default state on the condition that the device state changed to unknown, assuming that would take care of it, but apparently if the device state is unknown at start-up the event does not trigger, presumably because the status does not change. So my failsafe events failed...
As far as I can tell, there is no way to trigger an event when status IS unknown -- only when status CHANGES to unknown. I guess I could write a script to check critical devices for status = 17, but I am wondering if I am missing some event condition that I might set to handle this more directly? And I am also wondering how this happened in the first place?
Comment