Logic Machine Forum
1-pushbutton dimming - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: 1-pushbutton dimming (/showthread.php?tid=541)



1-pushbutton dimming - Krstfr - 05.01.2017

Hello!

I was wondering if anyone could help me with scripting a 1-pushbutton dimming.
The idea is to control an in-wall switchdim with an EnOcean 2-channel relay. The button will only be controlled from the LM visualization.

Output 1 (O1) will switch the light on/off (Short push) and Output 2 will dim the light up/down (Long Push only). 
I want to be able to know if the light is turned ON or OFF in the visualization, that's why I've chosen to use 2 outputs. See the attached drawing.

Is there a way to also implement a push button in the touch visualization instead of the toggle-switch?

Thanks!


RE: 1-pushbutton dimming - admin - 05.01.2017

Maybe this example can help:
http://forum.logicmachine.net/showthread.php?tid=275&pid=1238#pid1238


RE: 1-pushbutton dimming - Monolithos - 27.01.2023

(05.01.2017, 11:19)admin Wrote: Maybe this example can help:
http://forum.logicmachine.net/showthread.php?tid=275&pid=1238#pid1238

Hi there,

Is this possible somehow in Mosaic - push-dimming with 1 button, I mean


RE: 1-pushbutton dimming - admin - 27.01.2023

Mosaic switch widget has start/stop mode for 1 bit dimming.