Hi
I copied dzVents scripts from one domoticz to another.
Changed ownwership to root:root but the scripts are not displayed.
Ctrl-F5 didn't change the situation.
Even worse: after a restart of the system the newly added script vanished!
What's the cause of this and how should I act to add these scripts to domoticz.
Transfer dzVents scripts from one domoticz to another
Moderators: leecollings, remb0
- HansieNL
- Posts: 957
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Transfer dzVents scripts from one domoticz to another
To what folder did you copy the scripts? If to folder generated_scripts see README.md in that folder:
"This folder will contain scripts that are created inside Domoticz using the internal script editor. Don't remove this folder and do not edit the scripts in here as they will be overwritten."
"This folder will contain scripts that are created inside Domoticz using the internal script editor. Don't remove this folder and do not edit the scripts in here as they will be overwritten."
Blah blah blah
-
- Posts: 504
- Joined: Sunday 01 November 2015 22:45
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2023.2
- Location: Twente
- Contact:
Re: Transfer dzVents scripts from one domoticz to another
That's a good one and it has provent to be correct.HansieNL wrote: ↑Monday 23 September 2024 16:38 To what folder did you copy the scripts? If to folder generated_scripts see README.md in that folder:
"This folder will contain scripts that are created inside Domoticz using the internal script editor. Don't remove this folder and do not edit the scripts in here as they will be overwritten."
Unless there's another solution I'll have to copy/past the scripts.
Bugs bug me.
- HansieNL
- Posts: 957
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Transfer dzVents scripts from one domoticz to another
You can copy the scripts in the /dzVents/scripts folder and see README.md in that folder:
"Scripts folder
Place all your scripts in this folder. Only these scripts will be executed by dzVents. See the example folder for some script examples and check the README.md in the root for instructions."
Scripts in this folder should be backed-up separately, because they are are not stored in the database.
"Scripts folder
Place all your scripts in this folder. Only these scripts will be executed by dzVents. See the example folder for some script examples and check the README.md in the root for instructions."
Scripts in this folder should be backed-up separately, because they are are not stored in the database.
Blah blah blah
- waltervl
- Posts: 5148
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Transfer dzVents scripts from one domoticz to another
There are 2 ways to use dvents scripts:
1. With the internal editor. These scripts are stored in the database and published after save and every day at midnight in the domoticz/scripts/dzVents/generated_scripts folder.
If you want to copy these scripts to another Domoticz environment make a new script with the online editor and paste the contents of the script from the old to the new environment and save them in the editor in the new environment.
2. Create scripts outside the Domoticz environment and store those in the folder domoticz/scripts/dzVents/scripts. You can just copy these script files from one environment to the other.
See as usual also the dzVents wiki:
https://www.domoticz.com/wiki/DzVents:_ ... h_Domoticz
1. With the internal editor. These scripts are stored in the database and published after save and every day at midnight in the domoticz/scripts/dzVents/generated_scripts folder.
If you want to copy these scripts to another Domoticz environment make a new script with the online editor and paste the contents of the script from the old to the new environment and save them in the editor in the new environment.
2. Create scripts outside the Domoticz environment and store those in the folder domoticz/scripts/dzVents/scripts. You can just copy these script files from one environment to the other.
See as usual also the dzVents wiki:
https://www.domoticz.com/wiki/DzVents:_ ... h_Domoticz
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Who is online
Users browsing this forum: No registered users and 1 guest