Domoticz lua script to convert XML output from KMTronic DS1820 LAN module

 

 

 Domoticz lua script to convert XML output from KMTronic

DS1820 LAN module

 

 



KMtronic LAN DS18B20 Temperature Monitor

 

 

LAN DS18B20 High-Precision 1-Wire Digital Temperature Monitor

 

 

 

 

 ------------------------------------------------------------------------------
--
--
-- 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!

 

kmtronic domoticz ds1820 temperature

 

 

 

Add DUMMY device (in example "ROOM DATA")

https://web-relays.com/en/wp-content/uploads/2018/02/domoticz-lua-script-kmtronic-ds1820-01.jpg

 

Create temperature type sensor (in example "T1")

 

Check that is avaiable in Devices

https://web-relays.com/en/wp-content/uploads/2018/02/domoticz-lua-script-kmtronic-ds1820-06-1-768x434.jpg

 

Check what is sensor ID (in example 70)

https://web-relays.com/en/wp-content/uploads/2018/02/domoticz-lua-script-kmtronic-ds1820-05.jpg


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")

 

https://web-relays.com/en/wp-content/uploads/2018/02/domoticz-lua-script-kmtronic-ds1820-03.jpg

 

 

 

 

 

 

More information:   
http://www.domoticz.com/forum/viewtopic.php?t=6456#p83096

 

 

 

 

 

 

 

Read 1297 times