cash70 Posted September 9, 2014 Share 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 Link to comment
LeeG Posted September 9, 2014 Share Posted September 9, 2014 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 Link to comment
cash70 Posted September 9, 2014 Author Share Posted September 9, 2014 Excellent...thanks LeeG! Link to comment
Xathros Posted September 9, 2014 Share 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 Link to comment
johnnyt Posted September 10, 2014 Share 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 Link to comment
cash70 Posted September 10, 2014 Author Share Posted September 10, 2014 Thanks Xathros and johnnyt! I will check both issues today and will report back. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.