cash70 Posted September 9, 2014 Posted September 9, 2014 I currently have 7 battery powered devices (5 Insteon motion sensors and 2 hidden door sensors). I have setup a series of email messages so I am notified when the battery is low in any of these devices. Ever since setup, I receive the email for every device at the set times. I have one of the motion sensors low battery showing "On", however, when it senses motion it only blinks once. All others are "Off". So I am assuming that there is something wrong with the program below. I wrote one program for each individual device since I have a different message for each one. If Control 'Basement / Basement - Front MS-Low Bat' is switched On And Time is 3:00:00PM Or Time is 6:00:00PM Then Send Notification to 'Cassius' content 'Basement Front Motion Sensor Low Battery' Else - No Actions - (To add one, press 'Action') Does anyone see anything wrong here? Thanks in advance for your assistance. Cassius
LeeG Posted September 9, 2014 Posted September 9, 2014 (edited) Need parens If Control 'Basement / Basement - Front MS-Low Bat' is switched On And ( Time is 3:00:00PM Or Time is 6:00:00PM ) Then Send Notification to 'Cassius' content 'Basement Front Motion Sensor Low Battery' Else - No Actions - (To add one, press 'Action') The "switched On" is Anded with the first time of 3 PM. The second time 6 PM is not Anded with the "switched On" without the parens Edited September 9, 2014 by LeeG
Xathros Posted September 9, 2014 Posted September 9, 2014 In addition, I believe you need to query the Low Batt node of the motion sensor to clear the low batt status. -Xathros
johnnyt Posted September 10, 2014 Posted September 10, 2014 I think you might have to do "if status on" as it's unlikely the action of going on will happen at exactly 3 or 6 pm to cause the then statement to run... Of course, with "if status on" you'll get notified everyday at 3 and 6 until you clear it. Sent from my iPad using Tapatalk
cash70 Posted September 10, 2014 Author Posted September 10, 2014 Thanks Xathros and johnnyt! I will check both issues today and will report back.
Recommended Posts