noob question

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

Moderator: leecollings

Post Reply
qwerk
Posts: 222
Joined: Tuesday 22 July 2014 7:21
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Netherlands
Contact:

noob question

Post 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?
dannybloe
Posts: 1355
Joined: Friday 29 August 2014 11:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Ermelo
Contact:

Re: noob question

Post 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.
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest