Echelon LonBridg Server User Manual

Page 48

Advertising
background image

42

LonBridge Device Class File

energy peak use, and one for lowest energy use. These network variables are

defined by the <nv> elements within the three <attribute> structures.

<device pid="9000011E294F1103" name="Lamp Module"
type="dimmer" brand="Echelon">
<attributes>
<attribute name="brightness">
<nvs>
<nv index="0" direction="input" />
<nv index="2" direction="output" />
</nvs>
</attribute>
<attribute name="state">
<nvs>
<nv index="0" direction="input" />
<nv index="2" direction="output" />
</nvs>
</attribute>
<attribute name="power">
<nvs>
<nv index="5" direction="output" />
</nvs>
</attribute>
<attribute name="energy_hi">
<nvs>
<nv index="7" direction="output" />
</nvs>
</attribute>
<attribute name="energy_lo">
<nvs>
<nv index="8" direction="output" />
</nvs>
</attribute>
</attributes>
<nvs>
<nv index="0" direction="input" size="3">
<byte index="0" length="1">
<attribute name="brightness" enum="true">
<enum input="default" output="5" />
</attribute>
<attribute name="state" enum="true">
<enum input="off" output="0" />
<enum input="on" output="1" />
</attribute>
</byte>
<byte index="1" length="1">
<attribute name="brightness" scale="200"/>
<attribute name="state" enum="true">
<enum input="off" output="0" />
<enum input="on" output="200" />
</attribute>
</byte>
<byte index="2" length="1">
<attribute name="brightness" enum="true">
<enum input="0" output="0"/>
<enum input="default" output="1"/>
</attribute>

Advertising