Code: Select all
local kodivariable_status = domoticz.variables('KodiStatus')
local kodidevice = domoticz.devices('Kodi Woonkamer - Status')
kodivariable_status.set(kodidevice.state)Code: Select all
2017-09-28 22:39:01.812 Error: Error opening url: http://127.0.0.1:8080/json.htm?type=command¶m=updateuservariable&vname=KodiStatus&vtype=2&vvalue=Off&idx=12I now updated to the latest beta 8450 and the problem is still there.
I checked the file "\domoticz\scripts\dzVents\runtime\Variable.lua" and there the json command is described correctly.