I am trying to set up a dimmer device to do something similar to this:
Any ideas on how to do this with an onion? Is it possible?
@Samuel-Mathieson The actual dimming of the lights or building a panel to detect touch input? Or both?
The actual dimming, I plan to do it through an app, no button input.
Sorry for the late reply.
I didn't see your post before now.
If you still wonder about this, here is some hints.
The easiest way is to use a solid state relay or a transistor to PWM control the light.
DC LEDS (without any electronics) is the easiest.
For regular AC, you might want to use a current or voltage limiter instead.
This can be done with a MOSFET, a capacitor and a few resistors.
There are many (other) solutions.
Right before I was about to press send, I did a quick search for PWM AC dimmer, which gave me results such as:
I hope this helps.