dzVents: Updating uservariable generate bug in log file
Posted: Thursday 28 September 2017 22:47
I update an Uservariable through dzVents LUA script:
However, the logfile isn't updated (as it did before, I updated in August to a newer beta and the uservariable never updated since). This is the log line with the error
As can be seen, the 'command¶m' should have been 'command¶m'. When I copy this fixed url to the brower it fires alright!
I 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.
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.