@jumbotroll
Got 1 thing resolved but stumbled on something else, it must have been there for a long time now because the dzVents script never worked.
I'm using a simple dzVents script named LEDSlaveDemo found here:
https://www.domoticz.com/forum/viewtopic.php?t=23568
But it never worked.
Then i did enable debugging for dzVents and noticed below error:
Error: EventSystem: in /usr/local/domoticz/dzVents/runtime/dzVents.lua: /usr/local/domoticz/dzVents/runtime/persistence.lua:24: /usr/local/domoticz/var/scripts/dzVents/domoticzData.lua: No such file or directory
And the error message is wrong because those files are available:
admin@DS715:/usr/local/domoticz/dzVents/runtime$ ls -la
total 248
drwxr-xr-x 6 domoticz root 4096 Apr 19 16:05 .
drwxr-xr-x 4 domoticz root 4096 Apr 19 16:05 ..
-rw-r--r-- 1 domoticz root 1213 Apr 19 16:05 Camera.lua
drwxr-xr-x 2 domoticz root 4096 Apr 19 16:05 device-adapters
-rw-r--r-- 1 domoticz root 1618 Apr 19 16:05 Device.lua
-rw-r--r-- 1 domoticz root 18512 Apr 19 16:05 Domoticz.lua
-rw-r--r-- 1 domoticz root 2514 Apr 19 16:05 dzVents.lua
-rw-r--r-- 1 domoticz root 28621 Apr 19 16:05 EventHelpers.lua
-rw-r--r-- 1 domoticz root 12426 Apr 19 16:05 HistoricalStorage.lua
-rw-r--r-- 1 domoticz root 1077 Apr 19 16:05 HTTPResponse.lua
drwxr-xr-x 2 domoticz root 4096 Apr 19 16:05 integration-tests
-rw-r--r-- 1 domoticz root 65212 Apr 19 16:05 lodash.lua
drwxr-xr-x 2 domoticz root 4096 Apr 19 16:05 misc
-rwxr-xr-x 1 domoticz root 5741 Apr 19 16:05 persistence.lua
-rw-r--r-- 1 domoticz root 380 Apr 19 16:05 Security.lua
drwxr-xr-x 6 domoticz root 4096 Apr 19 16:05 tests
-rw-r--r-- 1 domoticz root 5050 Apr 19 16:05 TimedCommand.lua
-rw-r--r-- 1 domoticz root 807 Apr 19 16:05 TimedCommandOptions.lua
-rw-r--r-- 1 domoticz root 32915 Apr 19 16:05 Time.lua
-rw-r--r-- 1 domoticz root 336 Apr 19 16:05 Timer.lua
-rw-r--r-- 1 domoticz root 542 Apr 19 16:05 todo.md
-rw-r--r-- 1 domoticz root 4215 Apr 19 16:05 Utils.lua
-rw-r--r-- 1 domoticz root 1673 Apr 19 16:05 Variable.lua
admin@DS715:/usr/local/domoticz/dzVents/runtime$
I did some searching in this topic and found that this error is seen beofre but couldn;t find a solution for it.
I did noticed that there are different permisions because persistence.lua hass 755 and the rest 644 so i changed other lua script files to 755 also but it did not help.