Help with (capture/restore) device state

Hello guys,
When the door opened before the siren starts to peep I want to give signals before of the lights turn red so we have time to stop it before the siren wakes us up.

But after disarming the alarm I want the lights to go back to state before the event start, so:

  • if the light was off to be off
  • if a light was green at 20% to go back to the same state and so on.

I tried rule with the following actions, it work fine but at the end it is turning the light off with ignoring what state they were at.

Any ideas?
Thanks!!

The rule looks okay - can you turn on logging to see what it shows?

Thank you for the help Sebastien here is the log, but it looks it repeated many times!!! I don't know why:

The repetition would likely cause some issues as the capture used will be the last one run.

Not sure why it repeats however… It would likely mean that it is getting triggered multiple times by an intrusion alert.

To help avoid it re-triggering, you can set a Required Expression for the rule’s Private Boolean to be “True”. Then the first action of the rule would be to set it to “False”, and the last to set it to “True”. This will avoid it running again while it has been triggered.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.