Jump to content

Water Sensor and ISY


remedy1234

Recommended Posts

Hello everyone,

I purchased smarthome http://www.smarthome.com/71940/Minotaur-Engineering-WSI1-Water-Moisture-Sensor/p.aspx and

http://www.smarthome.com/2450/IOLinc-INSTEON-Low-Voltage-Contact-Closure-Interface-1-In-1-Out-/p.aspx.Does anyone have experience in programing this with email notification? I mounted the sensor to concrete and when it starts to dry it switches from on/off multiple times causing it to send 50 or more emails.I tried this:

FLOOD SENSOR ON

If
       Control '0B-IOL-Basement sensor-Sensor' is switched On

Then
       Set '01-AL-Pantry flood siren' On
       Send Notification to 'Tim/Al Aldeman' content 'BASEMENT WATER SENSOR'

Else
  - No Actions - (To add one, press 'Action')


 

FLOOD SENSOR OFF

If
       Control '0B-IOL-Basement sensor-Sensor' is switched Off

Then
       Stop program 'Flood Sensor on'
       Disable Program 'Flood Sensor on'
       Send Notification to 'Tim/Al Aldeman' content 'BASEMENT WATER SENSOR'
       Wait  3 hours 
       Enable Program 'Flood Sensor on'
       Send Notification to 'Tim/Al Aldeman' content 'AL's Sensor Enabled'

Else
  - No Actions - (To add one, press 'Action')


to turn it off.Does this look correct.I just added the

Stop program 'Flood Sensor on'

And I waiting for the customer to wet the sensor again because I received another 50 emails when the sensor switched to off,so I am trying to stop the program before I disabled it.

Or does any one a simpler way or am I using the correct sensor to accomplish this?

 

Thanks Tim

Link to comment

I would suggest setting a variable as a "blocker"

 

Basically like this.

 

If
       Control '0B-IOL-Basement sensor-Sensor' is switched On
     and
       $wateremail is 0

Then
       Set '01-AL-Pantry flood siren' On
       Send Notification to 'Tim/Al Aldeman' content 'BASEMENT WATER SENSOR'
       $wateremail = 1
       Run program 2 then clause

Else
  - No Actions - (To add one, press 'Action')



PROGRAM 2
If
       blank
Then
       wait 6 hours
       $wateremail = 0

Else
  - No Actions - (To add one, press 'Action')

 

This would send you no more than one email every 6 hours. You can adjust the time to suit your needs.

Link to comment

Archived

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


×
×
  • Create New...