Help me to right direction DzVents

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

Moderator: leecollings

Post Reply
poudenes
Posts: 667
Joined: Wednesday 08 March 2017 9:42
Target OS: Linux
Domoticz version: 3.8993
Location: Amsterdam
Contact:

Help me to right direction DzVents

Post by poudenes »

Hi All,

I want change all my blocky to dzVents. Have played with some simple switch actions. But don't know how to handle this:
dzvent.jpg
I have a Between sunset - sunrise, and couple of "AND" devices on or off that will trigger a action. In DzVents i see only 1 ON after active.

If someone can help me out then i can understand how to do this for rest of the blocky actions

Thanks
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
Toyman
Posts: 23
Joined: Wednesday 31 August 2016 16:17
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Help me to right direction DzVents

Post by Toyman »

I believe, in "on" section you should put timer as a trigger (after sunset and before sunrise)

and then in "execute" section just put "if device1 is on and device 2 is off and so on", then "switch evening scene on".

The script will be checked every minute between sunset and sunrise and executed if condictions are met
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest