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.

Simple program Q, check is not set?

Featured Replies

Posted

I have a z-wave sensor outside plugged into a 110v.  I want to monitor if it loses power or I lose the z-wave connection to it.  (It's on the same power circuit as my sump pump and I want to know if the sump loses power.  This sensor is a water sensor and I'm monitoring if the water gets too high, e.g. the pump isn't running.)  The device has a temp sensor and thus I think the easiest thing to monitor is the reported temperature.  My idea is that If it ever stops reporting temp, then notify me.  

When I look at the IF options in a program, I'm not sure I can evaluate a BLANK or NULL rather than a number.  I could check for 0 but I'm not sure if a BLANK or NULL evaluates the same as a zero and then I have the possibility of the temp outside hitting exactly 0 and sending me a message. 

I'm assuming the ISY sensor record will have a BLANK or NULL if it hasn't heard from the sensor for awhile.... or maybe by chance it will hold onto the last reported number?  I guess I could stick the temp in a variable and then monitor the last time the variable was updated but that seems like an unnecessary step.

Seems like a simple question but I'm not sure the elegant answer.

  • Author

Just thought of one flaw in my idea.....  the z-wave sensor has a battery in it for backup.  I may need to remove the battery so that the loss of power is noticed.

@kohai, The problem is once a device loses power there isn't any way for the ISY to interpret that and send you a notification. I wanted to do the same thing. My plan was to send a query to the device on a regular basis. When the power was off at the device, ISY got a message back that the communication failed. However, there was no way that I could figure out how to use that error to send me the notification.

  • Author
On 9/30/2018 at 6:16 PM, dbuss said:

@kohai, The problem is once a device loses power there isn't any way for the ISY to interpret that and send you a notification. I wanted to do the same thing. My plan was to send a query to the device on a regular basis. When the power was off at the device, ISY got a message back that the communication failed. However, there was no way that I could figure out how to use that error to send me the notification.

Maybe we have a feature request?  Ability to monitor devices and notify when they disappear?

22 minutes ago, kohai said:

Maybe we have a feature request?  Ability to monitor devices and notify when they disappear?

One would need to have the ISY on a UPS so it would have power to query the device. If you wanted to query an Insteon device the PLM would also need to be on a UPS which is not recommended. My plan was to query a Z-wave device and have only the ISY on a UPS. 

  • Author
1 minute ago, dbuss said:

One would need to have the ISY on a UPS so it would have power to query the device. If you wanted to query an Insteon device the PLM would also need to be on a UPS which is not recommended. My plan was to query a Z-wave device and have only the ISY on a UPS. 

Same with me. My setup is all z-wave and the ISY is on a UPS.

Archived

This topic is now archived and is 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.