Page 1 of 1

Changing dimmer "value" to zero with a switch

Posted: 21 Jan 2017 14:51
by Rogga10000
Hi,
it is possible to change the dimmer "value" in the dimmer sketch to zero with a switch to a digital input?

Have tried but the controller does not change status to "off"

Thanks in Advance
/R

Re: Changing dimmer "value" to zero with a switch

Posted: 22 Jan 2017 01:16
by PoltoS
Your questions is not clear. What command is sent to Z-Uno?

Z-Uno reacts on SwitchMultilevel and to Basic CCs as required by the protocol

Re: Changing dimmer "value" to zero with a switch

Posted: 22 Jan 2017 14:32
by Rogga10000
Hi,
I have a working dimming sketch based on the code from the 10 channel example.

My question is whether it is possible to change the code so that a switch / button on a digital input on the Z-Uno resets the dimmer sketch to zero when the button is pressed for about two seconds
/R

Re: Changing dimmer "value" to zero with a switch

Posted: 22 Jan 2017 15:00
by Rogga10000
Hi,
The dimmer in Z-Uno receives a "value" between 0-99 from the controller. My question is if I'm with a switch on a digital input on the z-uno can bring "value" to 0, both in the z-uno and the controller
/R

Re: Changing dimmer "value" to zero with a switch

Posted: 24 Jan 2017 01:05
by PoltoS
No 100% clear, but looks I got you a bit. You can have two channels (SwitchBinary and SwitchMultilevel) both dealing with the same h/w part. So the switch can turn on/off the dimmer.