Search found 2 matches

by bradsystem
Thursday 30 April 2020 0:47
Forum: dzVents
Topic: help with dimming 100 > 10 and back via "Hold" switch [Solved]
Replies: 2
Views: 728

Re: help with dimming 100 > 10 and back via "Hold" switch [Solved]

hello waaren,

WOW.. works by both ways.. "hold" high>low>high.... and click also restore light to high from low>off..

thx alot !!
by bradsystem
Wednesday 29 April 2020 23:29
Forum: dzVents
Topic: help with dimming 100 > 10 and back via "Hold" switch [Solved]
Replies: 2
Views: 728

help with dimming 100 > 10 and back via "Hold" switch [Solved]

hello members :)

im newbie with dzVents,..

on/off light with "click" is ok
with "hold" reducing light to 10% is also ok
with this script:

return {

on = { devices = { 62 }}, -- Name of your button

execute = function(dz, item )
if item.state == "Click" then
dz.devices(55).toggleSwitch ...