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.

Using "WAKEUP" as a trigger event

Featured Replies

Posted

I have a battery operated water leak detector (Utilitech water sensor) that sends a WAKEUP notice every hour or so.  I would like to use this event in place of the non-existent heartbeat event.

 

The event I would like to use is this:

 

Thu 05/14/2015 08:22:34 AM : [ZWAVE-WAKEUP   9] Awake with no pending work, put back to sleep ZW009_1

 

I can issue a query command that fails at first but then does seem to trigger some kind of event when the device awakes but I am not sure what that event is.  Here is the log for that:

 

Thu 05/14/2015 09:06:08 AM : [ZWAVE-WAKEUP   9] Query device when awake ZW009_1
Thu 05/14/2015 09:06:08 AM : [     ZW009_1]      ERR   1
Thu 05/14/2015 09:06:23 AM : [ZWAVE-WAKEUP   9] Query device when awake ZW009_1
Thu 05/14/2015 09:22:51 AM : [ZWAVE-WAKEUP   9] Awake with pending work ZW009_1
Thu 05/14/2015 09:22:51 AM : [     ZW009_1]      ERR   0

 

I'm not sure what if anything is being triggered by the query command, any help would be appreciated.

 

Dean
 

 

 

 

  • Author

I think I found the solution, firing a query command will get a "responding" event when the next time the device wakes up.  I'm using the popular leak detector code on this site and made slight modifications to it.  My heartbeat code is now:

 

Crawlspace - Variable Control 2 - [iD 0029][Parent 0013]

If
        Status  'ZW009 Water Sensor Crawlspace' is Responding
 
Then
        $Leak_Crawlspace  = 1
        Wait  12 hours
        Set 'ZW009 Water Sensor Crawlspace' Query
        Wait  12 hours
        Set 'ZW009 Water Sensor Crawlspace' Query
        Wait  1 hour
        $Leak_Crawlspace  = 2
 
Else
   - No Actions - (To add one, press 'Action')
 

My log for the latest wakeup event is:

 

Thu 05/14/2015 10:23:13 AM : [ZWAVE-WAKEUP   9] Awake with pending work ZW009_1
Thu 05/14/2015 10:23:13 AM : [     ZW009_1]      ERR   0
Thu 05/14/2015 10:23:13 AM : [ZWAVE-WAKEUP   9] Query awakened device ZW009_1
Thu 05/14/2015 10:23:13 AM : [ZWAVE-WAKEUP   9] Put back to sleep ZW009_1

 

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.