Jump to content

Missing Device Status on ISY = TRUE / ON in program ?


junkycosmos

Recommended Posts

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

 

post-922-0-68967200-1445048226_thumb.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')
 
 

 

 

Link to comment

 

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

 

attachicon.gifWet 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...

Link to comment

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?

Link to comment

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?

Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...