lua script broke since domoticz update
Posted: Monday 24 September 2018 21:32
My script used to be able to perfrom calculations on the value of my CO2 sensor that i would get using the line
A few weeks ago i updated Domoticz to the latest stable (4.9788) and since the script results in:
This is the value of CO2 woonkamer according domoticz
Would anyone know how to fix this?
Code: Select all
sCO2 = tonumber(otherdevices_svalues['CO2 woonkamer'])
Code: Select all
Error: EventSystem: in CO2 aansturing: [string "commandArray = {}..."]:3: attempt to call field 'CO2 woonkamer' (a string value)
Code: Select all
0/667;25.00;0.00