dzVents script from web editor doesn't change

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
Huupke
Posts: 25
Joined: Monday 21 October 2019 10:49
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Location: Boxtel, Netherlands
Contact:

dzVents script from web editor doesn't change

Post by Huupke »

Hi all.

I recently noticed that in my setup changing a dzVents script in the web editor doesn't update the script that is actually being parsed and run. I have to change the name of the script ('filename') to actually see my latest changes to be used by the runtime/parser. When I change the name of the script back to the original name the script also revert to an old version.

Rebooting the host (Pi3b) or changing the (logging) marker didn't work.

I checked in the filesystem that the filename is properly changing and also old files are being removed. Is there somewhere a cache that I can purge? Is this a known issue?
Running V2024.4 on RPi3B+ & development/HEAD on RPi4B
User avatar
waltervl
Posts: 5724
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: dzVents script from web editor doesn't change

Post by waltervl »

That is strange indeed. I never had this issue. The files are also refreshed every night at 24.00 hours. At every save all dzVents scripts from the web event system are updated and stored on the file system, see the log file for the location.

Perhaps you browser cache needs to be refreshed? Or try it with the browser in incognito/privacy mode.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest