dzvents script werkt niet meer na upgrade 2024.7  [Solved]

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

Moderator: leecollings

Post Reply
User avatar
raymond1972
Posts: 32
Joined: Wednesday 28 February 2018 13:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Contact:

dzvents script werkt niet meer na upgrade 2024.7

Post by raymond1972 »

Hoi,

Ik heb vandaag mijn domotica ge-upgrade naar 2024.7 (was 2023.2).
Nu krijg ik allerlei errors op een van mijn dzvents scripts.

2024-09-24 21:17:46.976 Error: dzVents: error loading module 'regen' from file '/home/pi/domoticz/scripts/dzVents/generated_scripts/regen.lua':
2024-09-24 21:17:46.976 .../pi/domoticz/scripts/dzVents/generated_scripts/regen.lua:13: unexpected symbol near '>'

Dit stukje code (seizoen.sValue <> 'Herfst') uit the if statement lijkt hij niet leuk te vinden, maar ik begrijp even niet waarom.


Ik hoop dat iemand me daarmee kan helpen.
Last edited by raymond1972 on Tuesday 24 September 2024 21:38, edited 2 times in total.
HW:Raspberry Pi 3 B, Raspian stretch, Nano, Aeon Labs Aeotec Gen 5 Z-Wave USB
Raspberry Pi 4, Raspian buster, Nano, Aeon Labs Aeotec Gen 5 Z-Wave USB
User avatar
raymond1972
Posts: 32
Joined: Wednesday 28 February 2018 13:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Contact:

Re: dzvents script werkt niet meer na upgrade 2024.7  [Solved]

Post by raymond1972 »

Fixed it <> moest ~= zijn met versie 2024.7
HW:Raspberry Pi 3 B, Raspian stretch, Nano, Aeon Labs Aeotec Gen 5 Z-Wave USB
Raspberry Pi 4, Raspian buster, Nano, Aeon Labs Aeotec Gen 5 Z-Wave USB
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: dzvents script werkt niet meer na upgrade 2024.7

Post by waltervl »

This is an English spoken forum!
Strange that you get this error in 2024.7 as this has not changed in dvents (or better Lua) as far as I know.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest