DIY ceiling fan controller

Does anyone know of (or is anyone working on) an ESP32/8266 based DIY controller for standard ceiling fans? Now that Sonoff appears to have discontinued their ifan02, there seems to be no inexpensive way to control the light + 3 speed fans. How hard can this be?!