Hello,
I’m unable to start Luup code in an action of the PLEG …
Ive turned on the Debug mode, and when clicking on the Action button “Do it now”, I get the following
Sat Aug 02 12:34:38.554 - RunNext:Condition:Ouvrir Index:1
Sat Aug 02 12:34:38.556 - RunNext:Lua Continue
Sat Aug 02 12:34:38.556 - SaveActionDB:{}
In the Luup part of the action I have
luup.call_action(Window, "Up", {}, id_Volet ) where the id_Volet is a global Variable defined in the Startup Luup
If Also Tried without the variable
luup.call_action(Window, "Up", {}, 34 )
Same result …
When I’m trying to call a global function in the Luup part I get this
Sat Aug 02 12:26:48.232 - RunNext:Condition:Ouvrir Index:1
Sat Aug 02 12:26:48.234 - RunNext:[string "FileLog ("PLEG Ouvrir Volets")..."]:11: attempt to call global 'FileLog' (a nil value)
Sat Aug 02 12:26:48.235 - SaveActionDB:{}
FileLog is a global function which log events in a specific file …
I’m alittle lost here
Thanks in advance