- Part of the autohome project
- This code runs on a sonoff which allows me to turn on a fan over WiFi to circulate air and easily add a temperature sensor to send data back to the server
- Works with server and client
- Turn fan on and off through MQTT
- Use button on sonoff to turn relay on
- send fan status back through MQTT
- send temperature from DS18B20 throught MQTT
- clone this repository
https://github.com/grnnja/autohome-fan-controller.git
- Build and upload code to sonoff