Page 1 of 1

dzvents problems after new installation (solved)

Posted: Tuesday 09 November 2021 9:35
by HenkSynology
Hello Domoticz,

I buy a new little computer it's a intel nuc compleet PC
Celeron J4005
8GB DDR4
120GB SSD
Windows 10 Pro

I install the newest Domoticz stable version

And i configure my hardware on my new PC
P1 smart meter USB
Denkovi module with lan see also viewtopic.php?f=59&t=28145&p=215814#p215814

I can see in my devices that the hardware works

Re: dzvents problems after new installation

Posted: Tuesday 09 November 2021 9:39
by HenkSynology
And also my Denkovi I can read out and click on of my outputs, in devices

But when i made a dzvents program i get a error
I enables al in
setup/setting/other eventsystem (lua/blocky/scipts)
setup/setting/other dzventz

Re: dzvents problems after new installation

Posted: Tuesday 09 November 2021 9:47
by HenkSynology
When i made a program, or my other stable program thats works on my old synology.
I get a error :shock: :shock: :shock: :shock:

I try many programs but every time i get a error
2021-11-09 09:15:49.152 Error: EventSystem: problem writing file: C:\Program Files (x86)\Domoticz\scripts\dzVents\generated_scripts\basicxxx.lua

When i look in the map there is no program ?
But when i look in Domoticz setup / more options / events the program is there .

Who can help me, i don't now any more :?:

Re: dzvents problems after new installation

Posted: Tuesday 09 November 2021 14:07
by erem
check what rights the user running domoticz has on directory

C:\Program Files (x86)\Domoticz\scripts\dzVents\generated_scripts\

since this under C:\Program Files (x86) i suspect it is read only.
this needs to be writable.

Re: dzvents problems after new installation (solved)

Posted: Thursday 18 November 2021 13:21
by HenkSynology
I was forgotten to "add" the devices :shock: (blue green arrow in Devices)
Now i see them in Utility's
When i did that everything was oke, and the script was placed in the map