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.

Setting variable from Aeon Labs energy meter

Featured Replies

Hello,

 

I'm trying to set a variable using a network resource pointing at my Aeon Labs Z-Wave energy meter.

 

Here is how the node shows up:

<?xml version="1.0" encoding="UTF-8"?>
<nodeInfo>
<node flag="0">
<address>ZW008_143</address>
<name>ZW 008 Energy Meter</name>
<family>4</family>
<parent type="3">54812</parent>
<type>4.33.1.0</type>
<enabled>true</enabled>
<deviceClass>0</deviceClass>
<wattage>0</wattage>
<dcPeriod>0</dcPeriod>
<startDelay>0</startDelay>
<endDelay>0</endDelay>
<pnode>ZW008_1</pnode>
<sgid>143</sgid>
<devtype>
<gen>4.33.1</gen>
<mfg>134.2.9</mfg>
<cat>143</cat>
</devtype>
<property id="ST" uom="73" formatted="2030.52 Watts" value="203052" prec="2"/>
</node>
<properties>
<property id="ST" uom="73" formatted="2030.52 Watts" value="203052" prec="2"/>
<property id="TPW" uom="33" formatted="9.63 kWh" value="963" prec="2"/>
</properties>
</nodeInfo>

And this is how I set up my network resource. 

GET /rest/vars/set/2/1/${sys.node.ZW008_143.ST.raw} HTTP/1.1
Host: 192.168.5.10:80
User-Agent: Mozilla/4.0
Connection: Close
Content-Type: application/x-www-form-urlencoded
Authorization: Basic ****************

I get a 404 when I test it...  Thanks in advance,

 

 

 

  • Author

Hi Michel, 

 

Yes, this network resource & variable is on the ISY itself.  What I'm trying to do is read the value from the energy meter, place it in a variable that I can view in eKeyPad to show current power consumption.

 

As a test, I changed the path to /rest/vars/set/2/1/12345 and it populated the variable to '12345' as expected.

  • Author

Hello -

 

Yes, if I send myself a test email message with variable  ${sys.node.ZW008_143.ST.raw} it displays it just fine.  Interesting.

 

I'll take a look at the alpha...

Edited by e40

  • Author

Hello -

 

The variable seems to work as expected in 5.0.11B, thanks.  I rolled back to 4.6.2 for now, eK Pro was showing the thermostat temps as "730" instead of 73.0 and wouldn't allow adjustments.  

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.