Page 1 of 1

Where are LUA and Python scripts from script editor stored?

Posted: Thursday 16 November 2017 23:14
by Jumper3126
I really like the new script editor in Domoticz, and recently moved all my LUA and DzVents scripts into it. I also want to move my python scripts, but I need to know where there are finally stored so I know what adress to call from for example crontab.

Re: Where are LUA and Python scripts from script editor stored?

Posted: Thursday 16 November 2017 23:23
by mischa
On a PI the LUA scripts are stored in the /home/pi/domoticz/scripts folder or if you are using DZVents (see settings => other page (checkbox unchecked)) in the /home/pi/domoticz/scripts/dzvents/scripts folder.

If you use domoticz on a synology nas it will be /volume1/@appstore/domoticz/var/scripts and for DZVents /volume1/@appstore/domoticz/var/scripts/dzvents/scripts.

I think the Python scripts are stored in the scripts folder not the dzvents script folder.

Re: Where are LUA and Python scripts from script editor stored?

Posted: Friday 17 November 2017 8:12
by dannybloe
The dzVents scripts you write using the GUI editor are stored in scripts/dzVents/generated_scripts.