matapan Posted September 15, 2011 Share 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. Link to comment
LeeG Posted September 15, 2011 Share 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. Link to comment
matapan Posted September 15, 2011 Author Share Posted September 15, 2011 Thank you for the explanation! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.