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