This worked well enough for me to control the ceiling fans in my place: Bond bridge
Home Automation
Home automation is the residential extension of building automation.
It is automation of the home, housework or household activity.
Home automation may include centralized control of lighting, HVAC (heating, ventilation and air conditioning), appliances, security locks of gates and doors and other systems, to provide improved convenience, comfort, energy efficiency and security.
Warning: Working with electricity can result in injury, property damage, or even death if it is not done properly. Please keep this in mind while assisting others. If you are not sure about what you are doing, hire a licensed professional.
Rules
- No abusive behaviour. This is a forum for friendly discussion; personal attacks will not be tolerated and you will be banned without warning.
- Referral/affiliate links are NOT ALLOWED!
- NO POLITICS! There are plenty of other communities to discuss them; this is not one.
- When posting project details must be included. Posting a video or image without detail will result in a removed post and may result in a ban.
- Crowdfunding links are not allowed.
- Reposts, low-effort content and karma farming may be removed at the discretion of the mods. Posters may be banned without warning.
Another option that may be less expensive would be to replace the switch with a smart relay switch. I've done this with a few fan models that I have including a DC fan and it works well. The fan controllers go back to their previous state when the Smart switch returns the power. You would have to test this to be sure it would work with your fan controller
This is how I did it! It only took me like 5-8 hours! With homebridge I could control it from my iPhone!
Then I bought a bond!
SwitchBot
I use the "BOND" hub for my dumb remote ceiling fans. Works well.
My solution for light control after some ridiculous homemade arduino mess was just use smart bulbs and leave the “fan light switch” on. I also added a battery powered switch that signals the hub to turn the lights on/off for any luddites. :)