PWM dimming is a good idea.......I am going to think of a solution with that now....but here is the analog dimming solution.(attached)
This is, quite simply, going to sweep the world, and you saw it here first....theres no simpler way to do it.
And its obvious to everybody that its madness to keep manufacturing triac dimmers , which are meant for incandescent bulbs, when nobody is using incandescants any more.
Seriously, is anybody going to defend the use of triac dimmers with led lightbulbs? Its madness.....half the time you don't know what the holding current is with any triac, as theyre so slack in tolerance.
We all know that not one single led lightbulb on the earth can dim without flicker, and down to zero, with every single triac dimmer on the market.
Also, non dimmable led bulbs are damaged by use with triac dimmers...due to emi filter resonance.