matapan Posted September 15, 2011 Posted September 15, 2011 I'm writing a very small script to alert me if and when any of my motion sensors end up in a low battery state. How do I avoid receiving a flood of notifications after the initial one is sent in the script, assuming the low battery warning is broadcasted from time to time by the device? Set the condition for state change only using Control? Thanks.
LeeG Posted September 15, 2011 Posted September 15, 2011 If Control works, If Status works. The motion sensor sends one low battery message so If Control triggers only once. If Status triggers only once as Status has to change and equal the If condition to trigger.
Recommended Posts