Search found 3 matches

by jantjegroen00
Monday 21 January 2019 9:18
Forum: dzVents
Topic: Push button dzvents script goes double when turning off
Replies: 5
Views: 927

Re: Push button dzvents script goes double when turning off

The script is in the original post. -- Check the wiki at -- http://www.domoticz.com/wiki/%27dzVents%27:_next_generation_LUA_scripting return { -- 'active' controls if this entire script is considered or not active = true, -- set to false to disable this script on = { devices = { 'Knop' -- device ...
by jantjegroen00
Sunday 13 January 2019 15:20
Forum: dzVents
Topic: Push button dzvents script goes double when turning off
Replies: 5
Views: 927

Re: Push button dzvents script goes double when turning off

Oke, i have a Dzvents script that toggles a light switch (Stalamp Woonkamer) whenever i press my z-wave button. Step1: Push Z-wave button Step2: Script is triggered (if light is on, turn it off, if light is off turn it on) Step3: light is turned on or off. However most times I have to press the z ...
by jantjegroen00
Friday 11 January 2019 22:44
Forum: dzVents
Topic: Push button dzvents script goes double when turning off
Replies: 5
Views: 927

Push button dzvents script goes double when turning off

I have a zwave button which i have added to domoticz. In another page i found a script to toggle another light when pushing the button. return { on = { devices = { "XButton" }}, -- Name of your button execute = function(dz, item ) if item.state == "Click" then dz.devices("Yeelight").toggleSwitch ...