can i disable scripts and dzvents without loosing my scripts

Subforum for general discussions. Do not dump your questions/problems here, but try to find the subforum where it belongs!

Moderators: leecollings, remb0

Post Reply
Gravityz
Posts: 587
Joined: Wednesday 16 December 2015 19:13
Target OS: NAS (Synology & others)
Domoticz version: 2022.2
Location: Netherlands
Contact:

can i disable scripts and dzvents without loosing my scripts

Post by Gravityz »

Hello,

i had a power outage on my synology yesterday.
everything came back only domoticz was logging a lot of dzvents errors about things taking to long.
It turned out that synology had started a disc scrubbing actions which obviously made my complete nas very slow, so slow that domoticz is getting into trouble.

now my question, can i disable
EventSystem (Lua/Blockly/Scripts):
and
dzVents:
so the system does not use it so i can start the scrubbing action again without domoticz logging errors
after that i want to turn eventsystem and dzvents back on but i do not know if this will still keep my current dzvents scripts or will it delete those once i disable things

thanks
User avatar
madpatrick
Posts: 667
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2025.1
Location: Netherlands
Contact:

Re: can i disable scripts and dzvents without loosing my scripts

Post by madpatrick »

Hi,


There is a on/off switch the scripts UI.
This enables of disables the script. It will get lost or break anything

Or you can handle it in the script

https://wiki.domoticz.com/DzVents:_next ... (optional)
-= HP server GEN11 =- OZW -=- Toon2 (rooted) -=- Domoticz v2025.1 -=- Dashticz v3.14b on Tab8" =-
User avatar
waltervl
Posts: 5852
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: can i disable scripts and dzvents without loosing my scripts

Post by waltervl »

I just tried it on my test system. And as expected no scripts will be deleted if you disable eventsystem and dzvents.
To be sure you can make a database backup through menu setup-settings.

You can also just stop Domoticz temporary.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Gravityz
Posts: 587
Joined: Wednesday 16 December 2015 19:13
Target OS: NAS (Synology & others)
Domoticz version: 2022.2
Location: Netherlands
Contact:

Re: can i disable scripts and dzvents without loosing my scripts

Post by Gravityz »

thanks for your help guys.

they idea is to disable it, do the scrubbing thing and enable it again.

i have auto backup enabled so i can fall back on older backups
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest