Jump to content

Setting variable from Aeon Labs energy meter


e40

Recommended Posts

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,

 

 

 

Link to comment

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.

Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...