Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Water Sensor Program Questions?

Featured Replies

Posted

Hi,

 

I want to test the heartbeat, really I want a program letting me know when it doesnt see a heartbeat but I made this:

 

If
       Status  'Leak Brown Bath -Heartbeat' is On
    Or Status  'Leak Pink Bath-Heartbeat' is On
    Or Status  'Leak Main Boiler-Heartbeat' is On
    Or Status  'Leak Office Boiler-Heartbeat' is On

Then
       Repeat Every  6 hours and 1 minute 
          Send Notification to 'Entire House Email' content 'Water Sensor Battery'

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


 

I was expecting that when the heartbeat was heard by the ISY, i would get emails every 6 hours. I have not been sent an email.

 

Ideally I will switch the heartbeat "ON" to "OFF" once I see the program works.

 

Any idea why it doesnt work?

 

Thanks,

Rich

ISY Programs are triggered by a "change" in Status. There would not normally be a change in Heartbeat Status. Use If Control to monitor the Heartbeat node.

 

If
       Control 'Leak Sensor-Heartbeat' is switched On
    Or Control 'Leak Sensor-Heartbeat' is switched Off

Then
       Wait  25 hours 
       Send X10 'A10/All Lights On (5)'

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

 

The command sent with the Heartbeat message depends on the Wet/Dry state of the Leak Sensor.

 

Each Leak Sensor has to be monitored individually as they are all on a different 24 hour cycle.

  • Author

Lee,

 

Using your control program, it waits each day for 25 then sends an on command? Do you get a heartbeat email each day or a light that goes on each day?

 

Thanks,

Rich

The Heartbeat message should occur every 24 hours. The next Heartbeat message interrupts the Wait 25 hours at the 24 hour mark, starting a new 25 hour Wait. The X10 message will not be issued so long as the Leak Sensor sends a Heartbeat message every 24 hours. It makes more sense to issue a Notify rather than the X10 message. I don't use a Notify because this Leak Sensor is in a test bed.

  • 4 weeks later...
  • Author

So this looks correct?

 

If
       Control 'Leak Pink Bath-Heartbeat' is switched On
    Or Control 'Leak Pink Bath-Heartbeat' is switched Off

Then
       Wait  25 hours 
       Repeat Every  6 hours and 1 minute 
          Send Notification to 'Entire House Email' content 'Water Sensor Battery'

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


Looks good to me.

 

 

 

-Xathros

 

Sent from my iPhone using Tapatalk

Guest
This topic is now closed to further replies.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.