Embedded Data Systems, LLC; 2019 Fortune Dr., Lawrenceburg, KY 40342; Phone/Fax 502-859-5490 19 / 37
EN-USERMAN OW-SERVER-ENET-2 V2.0 12.20.12
<DevicesConnectedChannel1>0</DevicesConnectedChannel1>
<DevicesConnectedChannel2>0</DevicesConnectedChannel2>
<DevicesConnectedChannel3>1</DevicesConnectedChannel3>
<DataErrorsChannel1>0</DataErrorsChannel1>
<DataErrorsChannel2>0</DataErrorsChannel2>
<DataErrorsChannel3>0</DataErrorsChannel3>
<VoltageChannel1>4.83</VoltageChannel1>
<VoltageChannel2>4.85</VoltageChannel2>
<VoltageChannel3>4.76</VoltageChannel3>
VoltagePower>5.08</VoltagePower>
<DeviceName>OWServer_v2-Enet</DeviceName>
<HostName>EDSOWSERVER2</HostName>
<MACAddress>00:04:A3:19:E9:ED</MACAddress>
<owd_DS18B20 Description="Programmable resolution thermometer">
<Name>DS18B20</Name>
<Family>28</Family>
<ROMId>7B0000030EBA4E28</ROMId>
<Health>7</Health>
<Channel>3</Channel>
<RawData>6E0107087FFF021032FF00000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000</RawData>
<PrimaryValue>22.8750 Deg C</PrimaryValue>
<Temperature Units="Centigrade">22.8750</Temperature>
<UserByte1 Writable="True">7</UserByte1>
<UserByte2 Writable="True">8</UserByte2>
<Resolution>12</Resolution>
<PowerSource>255</PowerSource>
</owd_DS18B20>
</Devices-Detail-Response>
Each “owd_xxx” element contains the device name (Name), family code (Family), ROM ID
(ROMId), health (Health), raw data used to obtain the data fields (RawData) displayed in hex
format, and a list of the data fields where the name of the data field provides the description.
Writing Data to 1-Wire Devices
To write data to a connected 1-Wire device that supports control commands simply make a re-
quest of
devices.htm
with the appropriate URL parameters. Below is an example:
devices.htm?rom=4300000200AD1928&variable=UserByte1&value=75
The URL parameters in the example are as follows:
•
rom
—the ROM ID of the device to modify, alpha characters must be upper case
•
variable
—the name of the variable to modify. The name is the same as the XML field
name, only XML fields with attributes of ‘
Writable=”True”
’ may be written, (e.g., <Us-
erByte....)
•
value
—the new decimal value to write to the 1-Wire device