Hi,
I am trying to find my lua scripts. Did a "find" command on the entire file system but i could not locate the lua scripts.
I also looked at the domoticz.db, it does not seem that they are stored there.
Does anybody know where i can find my scripts?
Im asking this for backup purposes.
Kind regards,
Apie
Domoticz 4.10717 on Synology scripts location
Moderators: leecollings, remb0
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Domoticz 4.10717 on Synology scripts location
Lua scripts created with the integrated editor (both active and inactive) are stored in the domoticz database in table eventMaster;
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Re: Domoticz 4.10717 on Synology scripts location
Thanks for the answer waaren.
Could you tell me how i can fire a script with dofile?
All the examples on the internet call a script from file. I can't find any example of people calling a lua script from the DB.
Could you tell me how i can fire a script with dofile?
All the examples on the internet call a script from file. I can't find any example of people calling a lua script from the DB.
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Domoticz 4.10717 on Synology scripts location
I don't understand your question. Did you see the wiki on this ? ( https://www.domoticz.com/wiki/Scripting_in_Domoticz
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Re: Domoticz 4.10717 on Synology scripts location
I am trying to call a script from an other script.
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Domoticz 4.10717 on Synology scripts location
That is not directly possible in Lua nor in dzVents.
A possible way to accomplish the same effect in dzVents is to update a virtual device, -change a uservariable or force a callback from an openUrl and use those as trigger for the 'receiving' script.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Who is online
Users browsing this forum: No registered users and 1 guest