Page 1 of 1

Meteo handler 3.0.6 regression?

Posted: Saturday 23 May 2020 23:49
by Number8
Hello
I noticed a new error in the log file that was not in 3.0.4

Code: Select all

2020-05-23 23:33:00.545 Error: dzVents: Error: (3.0.6) An error occurred when calling event handler meteo
2020-05-23 23:33:00.545 Error: dzVents: Error: (3.0.6) ...domoticz/dzVents/runtime/device-adapters/wind_device.lua:27: attempt to perform arithmetic on a string value (local 'speed')

Re: Meteo handler 3.0.6 régression?

Posted: Sunday 24 May 2020 0:45
by waaren
Number8 wrote: Saturday 23 May 2020 23:49 Hello
I noticed a new error in the log file that was not in 3.0.4

Code: Select all

2020-05-23 23:33:00.545 Error: dzVents: Error: (3.0.6) An error occurred when calling event handler meteo
2020-05-23 23:33:00.545 Error: dzVents: Error: (3.0.6) ...domoticz/dzVents/runtime/device-adapters/wind_device.lua:27: attempt to perform arithmetic on a string value (local 'speed')
The last update of this device adapter was with the update to 2.4.22 on May 26 2019.

If you see this error you are feeding the updateWind method a string as third parameter.

Re: Meteo handler 3.0.6 regression?  [Solved]

Posted: Tuesday 26 May 2020 20:40
by Number8
You're right. There has been a change in the JSON data