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.

How to put Device Values in eMail

Featured Replies

Posted

I have a daily "heartbeat" notification set up and it works fine ( 9941ZW, running 4.6.2).  I want to include in the message the current status from a wall switch.  I've stripped everything down to the minimum: message is now "Status is" followed by "${sys.node.ZW033_1.ST}".  With only the "Status is" portion, everything works.  When I add the device info I get nothing.  From REST is get this for the device:

<node flag="128"><address>ZW033_1</address><name>OfficeLight</name><family>4</family><type>4.16.1.0</type><enabled>true</enabled><deviceClass>0</deviceClass><wattage>0</wattage><dcPeriod>0</dcPeriod><startDelay>0</startDelay><endDelay>0</endDelay><pnode>ZW033_1</pnode><sgid>1</sgid><devtype><gen>4.16.1</gen><mfg>282.257.1539</mfg><cat>121</cat></devtype><ELK_ID>A03</ELK_ID><property id="ST" value="100" formatted="On" uom="78"/></node><properties><property id="DOF" value=" " formatted=" " uom="78"/><property id="DON" value=" " formatted=" " uom="78"/><property id="ST" value="100" formatted="On" uom="78"/></properties>

I'm sure something like this ought to work, but I haven't hit on the correct method yet.

 

When you say "I get nothing", do you mean the notification is not delivered at all?   Are you putting the variable in the Subject?

I use variables like ${sys.node.ZW033_1.ST} in notification bodies all the time, no issues.

In my experience, even if you include a totally bogus ${....} variable in a notification body, you'd would receive the "Status is" portion of the message,    How are you sending your heartbeat notification -- through your email provider?

 

I like to test my notification strings by using the Network Module feature of creating a local HTML document hosted on the ISY itself, like this:

image.png.d53e3cadfb8998f24722e72813f32075.png

 

  • Author

Well, To my embarrassment I see that the emails did eventually get through, after a delay.  Everything seems to be working fine now.  Thanks for your reply.

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.