I am zeqing and in charge of Makerfabs, we made a simple ESP32 based AC dimmer. unlike some other home assistant" AC dimmer, " this dimmer is composed of 2 controllers: ESP32 and STM32 co-controller.
The main reason i made it as this is: As i tested, when the ESP32 runs the ESPhome, it can not delay accurately to chop the 50~100 hz AC, which made the final AC chopping bad and thus the connected lamp blinks; so i added a cheap STM32, to specially deal with the AC chopping, and let the ESP32 deal with the ESPhome-related works specially.
This AC Dimmer chopper circuit is based on Triac BT139, and zero-cross checking circuit, it detects the zero-cross points and then the Triac controlled to chop the AC.Besides, to avoid the problem of AC can not be totally shunted off with Triac, a relay is implemented to make the AC totally On/Off.
You know theres already an AC dimmer component listed in the Docs, right? Its been there for a long time and uses the same dimming method(zero-cross and triac)… this guy may or may not be legit, who knows.
I do know that you didnt have to be a guinea pig and test some unknown product by an unknown guy advertising in a forum. You know there are easier ways to burn your house down, right? Wow…
This is an esphome native AC dimmer integration so that you dont need to use ancient custom components that likely dont even work after all these years and updates released. Try the already supported one…
Id also make sure your bulb is even capable of dimming because not all of them are capable.
Just read the dimmer description, so it’s not using PWM
Does this mean if i use this to control fan speed. I won’t get that humming sound if the speed is below 100% like most tuya fan dimmer like below