# \[APP\]\[Pro\] Embedded Data System - Converts the special XML-format from Embeddeds Data Systems OW Server v2 Enet

**URL:** <https://community.homey.app/t/app-pro-embedded-data-system-converts-the-special-xml-format-from-embeddeds-data-systems-ow-server-v2-enet/94145>\
**Category:** Apps\
**Tags:** app, homey-pro\
**Created:** [November 9, 2023, 9:06am UTC](https://community.homey.app/t/app-pro-embedded-data-system-converts-the-special-xml-format-from-embeddeds-data-systems-ow-server-v2-enet/94145 "2023-11-09T09:06:23Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![janrikard](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/janrikard/32/34785_2.png) [@janrikard](https://community.homey.app/u/janrikard)\
**Post date:** [November 9, 2023, 9:06am UTC](https://community.homey.app/t/app-pro-embedded-data-system-converts-the-special-xml-format-from-embeddeds-data-systems-ow-server-v2-enet/94145/1 "2023-11-09T09:06:23Z")

</div>

This app converts a Embedded Data Systems xml-string to a json-string

It supports readings from DS18B20 and DS2406 thats connected to OW Server2 from Embedded Data Systems

> **[Embedded Data Systems](https://homey.app/en-us/app/com.embeddeddatasystems.convertxml/Embedded-Data-Systems/)**
>
> Converts the special XML-format from Embeddeds Data Systems OW Server v2 Enet

exampel xml

```auto

<Devices-Detail-Response xmlns="http://www.embeddeddatasystems.com/schema/owserver" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<PollCount>196425</PollCount>
<DevicesConnected>9</DevicesConnected>
<LoopTime>8.992</LoopTime>
<DevicesConnectedChannel1>6</DevicesConnectedChannel1>
<DevicesConnectedChannel2>3</DevicesConnectedChannel2>
<DevicesConnectedChannel3>0</DevicesConnectedChannel3>
<DataErrorsChannel1>0</DataErrorsChannel1>
<DataErrorsChannel2>0</DataErrorsChannel2>
<DataErrorsChannel3>0</DataErrorsChannel3>
<VoltageChannel1>4.54</VoltageChannel1>
<VoltageChannel2>4.58</VoltageChannel2>
<VoltageChannel3>4.58</VoltageChannel3>
<VoltagePower>4.81</VoltagePower>
<DeviceName>OWServer_v2-Enet</DeviceName>
<HostName>EDSOWSERVER2</HostName>
<MACAddress>00:04:A3:C1:4F:B5</MACAddress>
<owd_DS18B20 Description="Programmable resolution thermometer">
<Name>DS18B20</Name>
<Family>28</Family>
<ROMId>870000042FD3A828</ROMId>
<Health>7</Health>
<Channel>1</Channel>
<RawData>34014B467FFF0C101CFF000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000</RawData>
<PrimaryValue>19.2500 Deg C</PrimaryValue>
<Temperature Units="Centigrade">19.2500</Temperature>
<UserByte1 Writable="True">75</UserByte1>
<UserByte2 Writable="True">70</UserByte2>
<Resolution>12</Resolution>
<PowerSource>255</PowerSource>
</owd_DS18B20>
<owd_DS18B20 Description="Programmable resolution thermometer">
<Name>DS18B20</Name>
<Family>28</Family>
<ROMId>BB000002D6514A28</ROMId>
<Health>7</Health>
<Channel>1</Channel>
<RawData>1D014B467FFF0310C5FF000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000</RawData>
<PrimaryValue>17.8125 Deg C</PrimaryValue>
<Temperature Units="Centigrade">17.8125</Temperature>
<UserByte1 Writable="True">75</UserByte1>
<UserByte2 Writable="True">70</UserByte2>
<Resolution>12</Resolution>
<PowerSource>255</PowerSource>
</owd_DS18B20>
<owd_DS18B20 Description="Programmable resolution thermometer">
<Name>DS18B20</Name>
<Family>28</Family>
<ROMId>E6000002D639BA28</ROMId>
<Health>7</Health>
<Channel>1</Channel>
<RawData>05014B467FFF0B10CDFF000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000</RawData>
<PrimaryValue>16.3125 Deg C</PrimaryValue>
<Temperature Units="Centigrade">16.3125</Temperature>
<UserByte1 Writable="True">75</UserByte1>
<UserByte2 Writable="True">70</UserByte2>
<Resolution>12</Resolution>
<PowerSource>255</PowerSource>
</owd_DS18B20>
<owd_DS18B20 Description="Programmable resolution thermometer">
<Name>DS18B20</Name>
<Family>28</Family>
<ROMId>FB00000399392628</ROMId>
<Health>7</Health>
<Channel>1</Channel>
<RawData>02014B467FFF0E10E2FF000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000</RawData>
<PrimaryValue>16.1250 Deg C</PrimaryValue>
<Temperature Units="Centigrade">16.1250</Temperature>
<UserByte1 Writable="True">75</UserByte1>
<UserByte2 Writable="True">70</UserByte2>
<Resolution>12</Resolution>
<PowerSource>255</PowerSource>
</owd_DS18B20>
<owd_DS18B20 Description="Programmable resolution thermometer">
<Name>DS18B20</Name>
<Family>28</Family>
<ROMId>1500000399553128</ROMId>
<Health>7</Health>
<Channel>1</Channel>
<RawData>31014B467FFF0F101FFF000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000</RawData>
<PrimaryValue>19.0625 Deg C</PrimaryValue>
<Temperature Units="Centigrade">19.0625</Temperature>
<UserByte1 Writable="True">75</UserByte1>
<UserByte2 Writable="True">70</UserByte2>
<Resolution>12</Resolution>
<PowerSource>255</PowerSource>
</owd_DS18B20>
<owd_DS2406 Description="Dual addressable switch plus memory">
<Name>DS2406</Name>
<Family>12</Family>
<ROMId>DF00000020ADC212</ROMId>
<Health>7</Health>
<RawData>73000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000</RawData>
<PrimaryValue>A=0, B=0</PrimaryValue>
<InputLevel_A>0</InputLevel_A>
<InputLevel_B>0</InputLevel_B>
<FlipFlop_A Writable="True">1</FlipFlop_A>
<FlipFlop_B Writable="True">1</FlipFlop_B>
<ActivityLatch_A>1</ActivityLatch_A>
<ActivityLatch_B>1</ActivityLatch_B>
<NumberOfChannels>2</NumberOfChannels>
<PowerSource>0</PowerSource>
<ActivityLatchReset Writable="True">-</ActivityLatchReset>
</owd_DS2406>
</Devices-Detail-Response>

```

and output an json-string

```auto
{
	"Temperature": {
			"870000042FD3A828": 19.2500,
			"BB000002D6514A28": 19.2500,
			"E6000002D639BA28": 17.2500,
			"FB00000399392628": 16.0000,
			"1500000399553128": 21.0625
			},
	 "DS2406": {
			"DF00000020ADC212_A": 0,
			"DF00000020ADC212_B": 1 
		}
	}

```

Us it in a flow like this

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/e/2e4b917cf30c4cc622c902a0aec54369e5d3ac56.png)

---

<div class="post-metadata">

**Author:** ![EvenT](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/event/32/79548_2.png) [@EvenT](https://community.homey.app/u/EvenT)\
**Post date:** [November 19, 2023, 9:17am UTC](https://community.homey.app/t/app-pro-embedded-data-system-converts-the-special-xml-format-from-embeddeds-data-systems-ow-server-v2-enet/94145/2 "2023-11-19T09:17:17Z")

</div>

Hi,  
Thanks for creating app for the OW Server from Embedded - been waiting for years for Homey to be able to read this.

However - I am having trouble to read from my OW Server. I have the WIFI version - not sure if this messes up the XML. I am unable to get the GET request to update from the OW Server. XML output below.

1809 1 1.030 0 OW\_SERVER-WiFi EDSOWSERVER 00:1E:C0:00:BF:43 DS18B20 28 4A00000410F82428 7 3C014B467FFF041040FF000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 19.7500 Deg C 19.7500 75 70 12 255

---

<div class="post-metadata">

**Author:** ![janrikard](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/janrikard/32/34785_2.png) [@janrikard](https://community.homey.app/u/janrikard)\
**Post date:** [November 19, 2023, 9:39am UTC](https://community.homey.app/t/app-pro-embedded-data-system-converts-the-special-xml-format-from-embeddeds-data-systems-ow-server-v2-enet/94145/3 "2023-11-19T09:39:28Z")

</div>

Hi EvenT

I made the app for my OW Server v2 Enet  
On the first page it looks like this

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/1/016451f47faf5c0be294d3495758c3bfe420f4e5.png)

Its the details XML file’s output the app is able to “convert” to json.

Can you post some more info? The text youposted is just a string, there is no xml-tags.

/Rikard

---

<div class="post-metadata">

**Author:** ![EvenT](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/event/32/79548_2.png) [@EvenT](https://community.homey.app/u/EvenT)\
**Post date:** [November 19, 2023, 10:47am UTC](https://community.homey.app/t/app-pro-embedded-data-system-converts-the-special-xml-format-from-embeddeds-data-systems-ow-server-v2-enet/94145/4 "2023-11-19T10:47:23Z")

</div>

Hi Rikard,  
Thanks for getting back - I definitely do not have that screen as I have version 1 of the observer.

I most likely have version 1 of the OW server, but I managed to get better screenshot through Chrome of the XML. Is this helpful?

 ![Screenshot 2023-11-19 at 11.45.47](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/a/ba4d5e7423ebd1833472d94bdf3b7fac0775d9bb.png)

---

<div class="post-metadata">

**Author:** ![EvenT](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/event/32/79548_2.png) [@EvenT](https://community.homey.app/u/EvenT)\
**Post date:** [November 19, 2023, 10:47am UTC](https://community.homey.app/t/app-pro-embedded-data-system-converts-the-special-xml-format-from-embeddeds-data-systems-ow-server-v2-enet/94145/5 "2023-11-19T10:47:53Z")

</div>

My EDS Server

 ![Screenshot 2023-11-19 at 11.46.04](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/e/7e51205707a25da3a0fe078c600abe39fd5b0818.png)

---

<div class="post-metadata">

**Author:** ![janrikard](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/janrikard/32/34785_2.png) [@janrikard](https://community.homey.app/u/janrikard)\
**Post date:** [November 19, 2023, 1:17pm UTC](https://community.homey.app/t/app-pro-embedded-data-system-converts-the-special-xml-format-from-embeddeds-data-systems-ow-server-v2-enet/94145/6 "2023-11-19T13:17:18Z")

</div>

The XML looks correct

Have you followed the instructions first in this thread?

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/f/df4928596fc7826a092542eb4806efc70c52e25e.png)

/Rikard

---

<div class="post-metadata">

**Author:** ![janrikard](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/janrikard/32/34785_2.png) [@janrikard](https://community.homey.app/u/janrikard)\
**Post date:** [November 20, 2023, 11:46am UTC](https://community.homey.app/t/app-pro-embedded-data-system-converts-the-special-xml-format-from-embeddeds-data-systems-ow-server-v2-enet/94145/7 "2023-11-20T11:46:39Z")

</div>

@EvenT Did you solve your problem?

---

<div class="post-metadata">

**Author:** ![EvenT](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/event/32/79548_2.png) [@EvenT](https://community.homey.app/u/EvenT)\
**Post date:** [November 20, 2023, 2:43pm UTC](https://community.homey.app/t/app-pro-embedded-data-system-converts-the-special-xml-format-from-embeddeds-data-systems-ow-server-v2-enet/94145/8 "2023-11-20T14:43:57Z")

</div>

In Norwegian - but you get the general point of it. I don’t know exactly where this is stopping, but when testing the flow it does not manage to get values from XML it seems.

 ![Skjermbilde 2023-11-20 kl. 15.42.18](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/b/0b16f21ebe6fc78b8b1504eda17adb5b377f178f.jpeg)

---

<div class="post-metadata">

**Author:** ![EvenT](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/event/32/79548_2.png) [@EvenT](https://community.homey.app/u/EvenT)\
**Post date:** [November 20, 2023, 2:46pm UTC](https://community.homey.app/t/app-pro-embedded-data-system-converts-the-special-xml-format-from-embeddeds-data-systems-ow-server-v2-enet/94145/9 "2023-11-20T14:46:47Z")

</div>

Something is probably wrong on the last logic - not to familiar with JSON, but when checking the JSON\_output, it does not seem to work correctly.

![Skjermbilde 2023-11-20 kl. 15.45.46](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/8/9814ebc1eb4274c78b55c38f2ccf4675d789d15e.png)

---

<div class="post-metadata">

**Author:** ![janrikard](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/janrikard/32/34785_2.png) [@janrikard](https://community.homey.app/u/janrikard)\
**Post date:** [November 20, 2023, 3:30pm UTC](https://community.homey.app/t/app-pro-embedded-data-system-converts-the-special-xml-format-from-embeddeds-data-systems-ow-server-v2-enet/94145/10 "2023-11-20T15:30:22Z")

</div>

Insted of a variable, can you enter it like this?  
Temperature[‘870000042FD3A828’]

If your ROMid starts with i number it could fail on that

---

<div class="post-metadata">

**Author:** ![EvenT](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/event/32/79548_2.png) [@EvenT](https://community.homey.app/u/EvenT)\
**Post date:** [November 20, 2023, 3:39pm UTC](https://community.homey.app/t/app-pro-embedded-data-system-converts-the-special-xml-format-from-embeddeds-data-systems-ow-server-v2-enet/94145/11 "2023-11-20T15:39:55Z")

</div>

Not working - will not complete test.

 ![Skjermbilde 2023-11-20 kl. 16.37.41](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/0/a0999417a0c6e7c96b20b5611503097cd8b4e79e.jpeg)

---

<div class="post-metadata">

**Author:** ![EvenT](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/event/32/79548_2.png) [@EvenT](https://community.homey.app/u/EvenT)\
**Post date:** [November 20, 2023, 3:40pm UTC](https://community.homey.app/t/app-pro-embedded-data-system-converts-the-special-xml-format-from-embeddeds-data-systems-ow-server-v2-enet/94145/12 "2023-11-20T15:40:34Z")

</div>

Error message.  
 ![Skjermbilde 2023-11-20 kl. 16.39.07](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/a/da1d80e449a64d64198eaabb65a1c63ad2e91dde.png)

---

<div class="post-metadata">

**Author:** ![janrikard](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/janrikard/32/34785_2.png) [@janrikard](https://community.homey.app/u/janrikard)\
**Post date:** [November 20, 2023, 5:44pm UTC](https://community.homey.app/t/app-pro-embedded-data-system-converts-the-special-xml-format-from-embeddeds-data-systems-ow-server-v2-enet/94145/13 "2023-11-20T17:44:44Z")

</div>

you have to change to whatever is the ROMid you want to read  
probably this  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/8/98bfedb40f70b81c0cc8bc0c9f6fe46cd6c00c69.png)

---

<div class="post-metadata">

**Author:** ![EvenT](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/event/32/79548_2.png) [@EvenT](https://community.homey.app/u/EvenT)\
**Post date:** [November 20, 2023, 7:20pm UTC](https://community.homey.app/t/app-pro-embedded-data-system-converts-the-special-xml-format-from-embeddeds-data-systems-ow-server-v2-enet/94145/14 "2023-11-20T19:20:32Z")

</div>

Not sure I understand, where do I change to this ROMId?

---

<div class="post-metadata">

**Author:** ![janrikard](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/janrikard/32/34785_2.png) [@janrikard](https://community.homey.app/u/janrikard)\
**Post date:** [November 20, 2023, 7:27pm UTC](https://community.homey.app/t/app-pro-embedded-data-system-converts-the-special-xml-format-from-embeddeds-data-systems-ow-server-v2-enet/94145/15 "2023-11-20T19:27:46Z")

</div>

On your OW server you have thermometers, they all have a uniquely id thats called ROMid, you find it in your details.xml  
you enter it in the last flowcard(analyser) like Temperature[‘ROMid’] but change ROMid to whatever romid you want to know the temperature for

---

<div class="post-metadata">

**Author:** ![EvenT](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/event/32/79548_2.png) [@EvenT](https://community.homey.app/u/EvenT)\
**Post date:** [November 20, 2023, 7:50pm UTC](https://community.homey.app/t/app-pro-embedded-data-system-converts-the-special-xml-format-from-embeddeds-data-systems-ow-server-v2-enet/94145/16 "2023-11-20T19:50:06Z")

</div>

Thanks,  
Changed this, but not working still. I think something is wrong in the first block, as it is not exporting any tags. Do you have any logic inside the first block that is not visible?

---

<div class="post-metadata">

**Author:** ![janrikard](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/janrikard/32/34785_2.png) [@janrikard](https://community.homey.app/u/janrikard)\
**Post date:** [November 20, 2023, 8:10pm UTC](https://community.homey.app/t/app-pro-embedded-data-system-converts-the-special-xml-format-from-embeddeds-data-systems-ow-server-v2-enet/94145/17 "2023-11-20T20:10:09Z")

</div>

I see a error

there are 2 different flowcards to choose from  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/0/8001391090c531979b0659c79f3a706f2d242bdb.png)

You should have the second with the tag icon beside the word logic  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/4/64756f90dd6fa87588cea190b79f5423a33fed8a.png)

---

<div class="post-metadata">

**Author:** ![EvenT](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/event/32/79548_2.png) [@EvenT](https://community.homey.app/u/EvenT)\
**Post date:** [November 20, 2023, 9:35pm UTC](https://community.homey.app/t/app-pro-embedded-data-system-converts-the-special-xml-format-from-embeddeds-data-systems-ow-server-v2-enet/94145/18 "2023-11-20T21:35:49Z")

</div>

That solved it 🙂 Now I got it working. Now I can connect the main loops with several sensors, and get them working properly in Homey…

Thank you - great app and support!

---

<div class="post-metadata">

**Author:** ![janrikard](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/janrikard/32/34785_2.png) [@janrikard](https://community.homey.app/u/janrikard)\
**Post date:** [November 21, 2023, 7:17am UTC](https://community.homey.app/t/app-pro-embedded-data-system-converts-the-special-xml-format-from-embeddeds-data-systems-ow-server-v2-enet/94145/19 "2023-11-21T07:17:12Z")

</div>

Perfect

You know you can read the output in parallell like this

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/d/ddc6159f990ec3553e040560779f1e1d42fa3681.png)  
and just add all your thermometers

---

<div class="post-metadata">

**Author:** ![EvenT](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/event/32/79548_2.png) [@EvenT](https://community.homey.app/u/EvenT)\
**Post date:** [November 21, 2023, 10:00am UTC](https://community.homey.app/t/app-pro-embedded-data-system-converts-the-special-xml-format-from-embeddeds-data-systems-ow-server-v2-enet/94145/20 "2023-11-21T10:00:00Z")

</div>

Thanks - this is exactly how I was planning it 🙂

I also have 1 light sensor that is 1 wire - will check tomorrow how this works with your app.

[Next page](https://community.homey.app/t/app-pro-embedded-data-system-converts-the-special-xml-format-from-embeddeds-data-systems-ow-server-v2-enet/94145.md?page=2)
