Domoticz lua script to convert XML output from KMTronic
DS1820 LAN module
------------------------------------------------------------------------------
--
--
-- Domoticz lua script to convert XML output from KMTronic DS1820 LAN module
-- Reads the temperature based on the unique ID of the sensor and passes it
-- back to a virtual temperature sensor(s)
-- sensors in Domoticz
--
------------------------------------------------------------------------------
-- Rob Allen 12/04/2016
------------------------------------------------------------------------------
Thank you Rob!
Add DUMMY device (in example "ROOM DATA")
Create a temperature type sensor (in an example "T1")
Check that is available in Devices
Check what is sensor ID (in example 70)
Download from here LUA script:
http://www.domoticz.com/forum/viewtopic.php?t=6456#p83096
Put in "domoticz/scripts/lua/"
and rename to
"script_time_kmtronic.lua"
Check ID your first sensor in your Temperature monitor (in example 28006D2307000061)
Next change in example
ID from "108" to your - "70"
Sensor ID from example 28006D2307000061 with your ID
and
Device_IP = "172.16.227.201" with your (in example "192.168.1.199")
More information:
http://www.domoticz.com/forum/viewtopic.php?t=6456#p83096