BubbaDuck Posted August 13, 2020 Share Posted August 13, 2020 I feel dumb I haven't figured this out... yet here I am. I have a 6 button key pad and want to be able to double tap and hold to dim and then ramp up when held long enough and essentially endlessly cycle between dim and ramp up while being held. Of course at button release, stop at the current dim level. Now, another wrinkle is these are not Control4 Centralized Dimming lights, so I have to play games with adding a set amount to the dim. The "top" button and "bottom" button work as toggles rather than dimmers with this particular driver. I figured start at the current dim value and subtract 20 until hitting zero then start to add 20 until 100 and continue the loop until released. Any sane ideas on how to achieve this? I have lots of bad ideas I can find terrible holes in the logic. Quote Link to comment Share on other sites More sharing options...
Matt Lowe Posted August 13, 2020 Share Posted August 13, 2020 through a double tap nothing comes to mind. through bindings you can have it toggle the light so every-time you press it will toggle the light and if you press and hold it will dim or brighten. Whats the intended use for the light you are controlling? Is it better to just have some set levels for the time of day? All of control4 light behaves essential the same so that does not matter. If this a third party lighting device that is an entirely different conversation. This is something we will be covering in our composer home tutorial course as well. Can check out the topic on it here. Quote Link to comment Share on other sites More sharing options...
BubbaDuck Posted August 13, 2020 Author Share Posted August 13, 2020 I was afraid of that. I can’t seem to even get double tap and hold to do anything. I tried Button > when double tapped > while pressed > “bottom button” on a centralized dimmer - but it seems it doesn’t recognize the “while pressed” on anything but a “When pressed”. Quote Link to comment Share on other sites More sharing options...
South Africa C4 user Posted August 13, 2020 Share Posted August 13, 2020 8 minutes ago, BubbaDuck said: I was afraid of that. I can’t seem to even get double tap and hold to do anything. I tried Button > when double tapped > while pressed > “bottom button” on a centralized dimmer - but it seems it doesn’t recognize the “while pressed” on anything but a “When pressed”. One way to do this would be to start a timer on double tap and stop the timer on button release. When this timer starts, you would want to start another Timer, but a repeating timer this time. You can use this repeating timer for your dim and increase logic. When the first timer is stopped (or expires) you would want to stop the repeating timer... quite messy but it is possible. Quote Link to comment Share on other sites More sharing options...
BubbaDuck Posted August 13, 2020 Author Share Posted August 13, 2020 That’s a great idea. I’m not worried about messy, god knows I’ve had to make some things “just work”. Thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.