Page 1 of 1

event script vs script/lua folder script

Posted: Saturday 11 March 2017 15:04
by emme
Ciao,

here I come with anther dumb question.....

Event Time Script = /script/lua/scipt_time_myScript.lua
Event Variable Script = /script/lua/scipt_variable_myScript.lua
Event Device Script = /script/lua/scipt_device_myScript.lua
Event Security Script = /script/lua/scipt_security_myScript.lua
Event All Script = /script/lua/scipt_????_myScript.lua

is that an _all_ ?
doesnt' work :(

wiki does not mention it in the event Page
The lua scripts folder has two demo scripts that can serve as a starting point. The script filename has 3 components each sub-divided by an underscore : script_trigger_name.lua Trigger can be 'time', 'device', 'variable' or 'security', name can be any string for your reference, script_device_MyOtherDeviceNameOnWhenMyDeviceNameOn.lua for instance.
ciao
M

Re: event script vs script/lua folder script

Posted: Saturday 11 March 2017 15:41
by jvdz
There no all option for LUA files.

Jos

Re: event script vs script/lua folder script

Posted: Sunday 12 March 2017 18:17
by emme
..thanks for clarify....
I had that idea... but... just to be sure :P :P