LUA - The new users variables in lua scripting events.

Moderator: leecollings

Post Reply
User avatar
warp
Posts: 33
Joined: Thursday 07 May 2015 12:51
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Fr
Contact:

LUA - The new users variables in lua scripting events.

Post by warp »

Hi,
Can you tell me how the user variables in scripts "lua" events. ?
Capture.PNG
Capture.PNG (39.87 KiB) Viewed 772 times
Raspberry 2B:RaZberry Z-Wave+:Edimax EW-7811UN:Huawei E220 3G
4xQubino ZMNHCA2
Everspring SE812 & ST812
Mcohome MH-S411 & MH-S412
2xAEON LABS ZW-100
2xFibaro FGSD-002:Fibaro FGFS-101:Fibaro FGS-221 & KLF-050
jannl
Posts: 673
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Location: Geleen
Contact:

Re: LUA - The new users variables in lua scripting events.

Post by jannl »

I think this script is fired when a uservariable changes
dannybloe
Posts: 1355
Joined: Friday 29 August 2014 11:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Ermelo
Contact:

Re: LUA - The new users variables in lua scripting events.

Post by dannybloe »

But only when you change the value from within the GUI of Domoticz. Not if another script changes the variable. I wouldn't use this kind of script.
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest