Page 1 of 1

Dim up/down thru a remote control

Posted: Sunday 05 March 2017 11:36
by zynexiz
Hi.

I have a NodON Wall Switch Cozy White controlling a couple of lamps connected to Aeon Labs Micro Smart Dimmer. The switch has four buttons, and each button have 4 different states (pressed, held down, released and pressed twice). The 'pressed' state is quite forward and easy to configure. Pressing the up button turns on the light, and the down button turns it of. Quite easy.

Now to the problem. When holding down the up button (triggering held down) a script is started to start dim up the light, and holding the down button should dim the light down (also triggering held down). The problem is that when i release the button, the script doesn't know that the 'released' trigger i activated. It actually triggers a new event with "released" trigger, starting all scripts one more time. The script handling the dimming part won't know that 'released' trigger is activated, so there's no way to stop the dimming up or down.

As far as i know, all the parameters sent to the script initially is pretty static, and won't reflect any changes made while the script is running.

If there any way to use the buttons to dim a lamp up and down by holding it, and stop dimming when released?

-- Mike

Re: Dim up/down thru a remote control

Posted: Thursday 11 May 2017 16:21
by Cornholio1234
I've got a NodOn Octan Remote, and I don't know if the behaviour is the same. But check if there is a way to set the remote in a mode controlling your ZWave directly without going over Domoticz / LUA.

I was able to achieve what you are trying to do with a couple of parameter settings and adding the ID of the dimmer directly to the groups for the according buttons.

Re: Dim up/down thru a remote control

Posted: Thursday 11 May 2017 17:10
by Egregius
Just let each press dim x % up/down. The you control the dimmer with multiple presses.