Meteo handler 3.0.6 regression?  [Solved]

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
Number8
Posts: 374
Joined: Friday 23 May 2014 7:55
Target OS: Linux
Domoticz version: 2022.1
Location: Saint Pierre de Jards
Contact:

Meteo handler 3.0.6 regression?

Post 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')
Last edited by Number8 on Tuesday 26 May 2020 20:39, edited 1 time in total.
Debian buster on NUC and three RPi with buster.
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Meteo handler 3.0.6 régression?

Post 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.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Number8
Posts: 374
Joined: Friday 23 May 2014 7:55
Target OS: Linux
Domoticz version: 2022.1
Location: Saint Pierre de Jards
Contact:

Re: Meteo handler 3.0.6 regression?  [Solved]

Post by Number8 »

You're right. There has been a change in the JSON data
Debian buster on NUC and three RPi with buster.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest