Page 1 of 1

can i disable scripts and dzvents without loosing my scripts

Posted: Wednesday 05 March 2025 16:53
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

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

Posted: Wednesday 05 March 2025 18:54
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)

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

Posted: Wednesday 05 March 2025 18:56
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.

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

Posted: Wednesday 05 March 2025 19:03
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