Page 1 of 1

noob question

Posted: Saturday 20 May 2017 8:31
by qwerk
when I'm going to use dzvents I have to put all my (device)scripts in the dzvents-scrips folder.
do I make that 1 big script with all my actions in it, or do I make it all stand alone files like the normal way with domoticz.

One of the disadvantages of domoticz was/is that is runs to every device script to see if it applicable

How does dzVents handle this?

Re: noob question

Posted: Friday 26 May 2017 9:14
by dannybloe
No you don't have to create one big file. Just one for each event.
If you read the docs you can see how dzVents checks if it needs to run the script. It does that by checking the triggers as the defined in the 'on' section of your script. Only when the trigger is met it will run the script.