junkycosmos Posted October 17, 2015 Posted October 17, 2015 Water leak sensors. Must be missing something obvious here. After restart of ISY and two units do not have batteries so the ISY does not know the state of the sensors as can be seen by blank status here however this program runs TRUE and continues to stay true WaterLeakSensor WET - [iD 00D5][Parent 01EC] If Status 'Sensors / WaterLeak Sensors / WaterLeak DownBath-Dry' is Off Or Status 'Sensors / WaterLeak Sensors / WaterLeak Fish-Dry' is Off Or Status 'Sensors / WaterLeak Sensors / WaterLeak FurnaceRoom-Dry' is Off Or Status 'Sensors / WaterLeak Sensors / WaterLeak Kitchen2-Dry' is Off Or Status 'Sensors / WaterLeak Sensors / WaterLeak Laundry-Dry' is Off Or Status 'Sensors / WaterLeak Sensors / WaterLeak MasterBath-Dry' is Off Or Status 'Sensors / WaterLeak Sensors / WaterLeakUpHallBath-Dry' is Off Then Repeat Every 15 minutes Wait 1 second Send Notification to 'J_All' content 'MyTemplate' Else - No Actions - (To add one, press 'Action')
jerlands Posted October 17, 2015 Posted October 17, 2015 Water leak sensors. Must be missing something obvious here. After restart of ISY and two units do not have batteries so the ISY does not know the state of the sensors as can be seen by blank status here Wet OFF or blank yet program runs true.JPG however this program runs TRUE and continues to stay true WaterLeakSensor WET - [iD 00D5][Parent 01EC] If Status 'Sensors / WaterLeak Sensors / WaterLeak DownBath-Dry' is Off Or Status 'Sensors / WaterLeak Sensors / WaterLeak Fish-Dry' is Off Or Status 'Sensors / WaterLeak Sensors / WaterLeak FurnaceRoom-Dry' is Off Or Status 'Sensors / WaterLeak Sensors / WaterLeak Kitchen2-Dry' is Off Or Status 'Sensors / WaterLeak Sensors / WaterLeak Laundry-Dry' is Off Or Status 'Sensors / WaterLeak Sensors / WaterLeak MasterBath-Dry' is Off Or Status 'Sensors / WaterLeak Sensors / WaterLeakUpHallBath-Dry' is Off Then Repeat Every 15 minutes Wait 1 second Send Notification to 'J_All' content 'MyTemplate' Else - No Actions - (To add one, press 'Action') Experiment and see If when you remove these two conditions the program turns false. I suspect the lack of status is showing as off. >Or Status 'Sensors / WaterLeak Sensors / WaterLeak Fish-Dry' is Off > Or Status 'Sensors / WaterLeak Sensors / WaterLeak Kitchen2-Dry' is Off There's a couple good leak sensor programs floating around. Here's one.. Jon...
stusviews Posted October 17, 2015 Posted October 17, 2015 Status won't work unless the state changes. Try using control instead of status, or better yet, use the programs suggested by Jon.
oberkc Posted October 17, 2015 Posted October 17, 2015 Such a program will run true if ANY ONE of the sensors change status to OFF. Even if two of the sensors are missing or ON or having no status or with dead batteries, this program could evaluate true if one of the other sensors changes to false. The only way for this program to run false is for ALL of the sensors to be ON. Is this what you intended?
junkycosmos Posted October 17, 2015 Author Posted October 17, 2015 thanks all for the input and ideas I did not mention prior but I have found this program to fit its need well for last few years. Part of the idea is to keep down on the overall number of programs to manage overall number of sensors. I have this line in the mail template form so you can see which unit triggered ${alert.event} at ${alert.date} ${alert.time24} oberkc, yes that is the intent; loop if any of the sensors finds a leak stuviews, understood on control vs status and having status break the loop was the intent jerlands/jon, Thank you for the posting of our excellent full leak package. I actually have something very similar going for monitoring of traffic from any batt powered device with 1. a variable for each device, 2. a program for each device that increments the variable when traffic is seen, 3. one program that runs fixed time every day and checks for the all variables to be X or above, IF true sends notification template and reset counts, ELSE just reset counts 4. message notification template that lists all variables and unit names Your full leak package is really nicely done and has nice boundaries on the programs too As for my little 'kink' on the low test WET monitor at start of thread: I did just experiment and when I remove the two leak sensors the ISY does not know status for then the program is FALSE. So; anyone else care to comment on the ISY making assumption that missing status = OFF ? Has it always been that way?
Recommended Posts