Hi to everibody!
II have openhub 2.5.2 running from years on a Qnap NAS controlling a Bticino Myhome’s sensors/switchs/roller shutters/ecc plus other cards to support a deep home automation integration.
Because i need to add few temperature sensors, i was testing the LAN DS18B20 WEB Temperature Monitor card from KMtronic which gives all sensors status using a XML file using the following .items:
String Sensor1 “Temperatura [%s]” { http="<[http://88.87.29.196:8002/status.xml:5000:XPATH(/response/sensor/temp/text())]" }
String Sensor2 “Temperatura [%s]” { http="<[http://88.87.29.196:8002/status.xml:5000:XPATH(/response/sensor[2]/temp/text())]" }
String Sensor3 “Temperatura [%s]” { http="<[http://88.87.29.196:8002/status.xml:5000:XPATH(/response/sensor[3]/temp/text())]" }
String Sensor4 “Temperatura [%s]” { http="<[http://88.87.29.196:8002/status.xml:5000:XPATH(/response/sensor[4]/temp/text())]" }
The items as the XPath Transformation works perfect and i have my temperature values as you can see from this picture where in the first row i used Knob widget, in the second Dummy widget.
As you can see as soon i download the webpage in the knob widget i have the right value but after the automatic refresh, the value change and it seems that is rounded to the closest 1 degree value.
The dummy widget always showing the right value.
Any idea on whats happening??
No errors on log file…
Thanks for any tips.