i fixed the problem bij re-adding the variable in domoticz. (and making it a string)
the scrips works like a charm again!
waaren wrote: Tuesday 12 November 2019 0:18 tonumber('12.0') in Lua <= 5.2 returns 12
tonumber('12.0') in Lua >= 5.3 returns 12.0