It simply refuses to “clear” the variable if not changes have been decected after 5 minutes. When checking the variable if find it to be 7-9 even though it says current evaluation=true.
If I simulate the piston it will then clear. But not on its own.
Please note: The piston works to send notifications. However NOT to clear ther variable. This means that if “activity” is detected 3-4-5-6 times in a row, even if hours have passed by, it will notify me.
I bet it’s caused by a mix of conditions and triggers. Change your Else If evaluation from “did not change” to “stays inactive”. You should be able to see this effect immediately after vibration stops, a timer should show up in the Else If part, counting down from 5 minutes.
Actions:
The (actions1) are executed if (conditions1) is true, (actions2) are executed if (conditions1) is false and (conditions2) is true, (actions3) are executed if both (conditions1) and (conditions2) are false.
“Changes to Active” stays true. It does not look to see if it changes to Inactive. The ELSE IF only runs when the IF is false. Where as…“is Active” is more dynamic. The IF will be false once activity stops.