Page 1 of 1

Feature: Save events as file

Posted: Tuesday 11 April 2017 8:59
by emme
I use the internal event IDE to setup script.. test them and then copy/paste and save as file in the /home/pi/domoticz/scripts/lua folder

Unfortunately I use to connect remotely to domoticz from a site where I do not have access to ssh or (in general) to the file system...

Can be a solution to allow to save as file a lua script from the event editor directly to the file system?

The EventType will add the prefix script_trigger_ and the script name wil be added automatically...
Once saved the event can be turned off (and maybe add a comment line in the event script)
-- Saved as scitp_trigger_name.lua to LUA folder on timestamp

the file could be overwritten every time you save with the same name :P

it was just an idea :P :P