Firmware update while basic rule in wait mode, next stage in rule didn't fire

Not so much a problem as looking for confirmation.

I have my aquarium lights connected to IKEA Tradfri outlets using a basic rule.
On at 8 AM, wait until 11 AM and turn off, wait until 3PM and turn on, wait until 9 PM and turn off.

Anyway, this afternoon, during the "wait until 3PM" period, I updated the firmware to the latest .126

The hub applied the patch and restarted.

At 3 PM the lights didn't come back on for any of the tanks on the three outlets.

I just wanted to confirm that because the hub was restarted during a wait period, the hub basically lost it's status that it was waiting for a time period to arrive and do something.

The waits create a temporary subscription to the event they are waiting on, so definitely upgrading/rebooting will remove any temporary event subscriptions. In fact even just editing a rule or (I think) a rule firing again while waiting will cause the same.

Waits are Scheduled Jobs and are not canceled (or lost) because of a hub reboot/restart. I made a simple rule to test it out before I started using them. I'm not sure if a scheduled job remains when the firmware is updated. It appears from your experience that they don't.

Maybe I'm mistaken, I could have swore I experienced the loss of a wait and looked at the subscriptions on the rule's " Event Subscriptions" settings and the wait subscription disappeared after editing a rule. But I will test again when I get a bit of time!

If you edit, or just save, a rule it will reset the Wait subscriptions. Rebooting the hub won't.

2 Likes