Hello everyone, I am very new to HA and running it on a RPi using all-in-one and was hoping for some advice from more experienced users.
I have acquired a TREND IQ4 controller which runs it’s own programming a bit like a PLC. The newer versions of these controllers now additionally run an XML web service which exposes the XML interface. By issuing the HTTP GET for name($) and value(V) of Sensor 1 of the IQ4 controller as below:
http://IQ4_IP_ADDRESS_/ws/tsite.xml?&Request=S1($,V)
the following is returned:
<!--
written by IQ4E192 Iss3.30 Apr 23 2015 Saved 2017-2-5T18:50:23TZD
-->
<TrendProject>
<Site CncAddress="101" TuaString="T/Name_of_Controller/TCP,,,IQ4_IP_ADDRESS_,10101///38/20/">
<Lan IsLocal="True" LanNumber="38">
<Device DeviceNumber="20" VersionString="IQ4E192 Iss3.30 Apr 23 2015">
<DeviceOverview DeviceType="q" MajorVersion="3" MinorVersion="3" HexEncoded="711B1B1B41333330" Revision="0"/>
<Module Name="S1" SubTypeNumber="-1">
<Param Name="$" Type="2" Value="Temp Bead"/>
<Param Name="V" Type="1" Value="18.554449"/>
</Module>
</Device>
</Lan>
</Site>
</TrendProject>
I am hoping someone can point me in the direction of how I can extract the Values of the Params eg(18.55449 or Temp Bead).
Thanks in advance for your help.
Chutoro