Donald Willingham
Published © CC BY-SA

Wifi controlled ceiling fan

My young children were not tall enough to pull the chains on the ceiling fan, to turn on the fan & light. Alexa, turn on the 'Boys Light'.

AdvancedFull instructions provided12 hours8,217
Wifi controlled ceiling fan

Things used in this project

Hardware components

Sonoff Basic
Itead Sonoff Basic
Dual channel Itead - Sonoff dual: https://www.itead.cc/sonoff-dual.html
×1
Breadboard (generic)
Breadboard (generic)
×1
SparkFun FTDI Basic Breakout - 3.3V
SparkFun FTDI Basic Breakout - 3.3V
Any 3.3v FTDI should work. However, you may also need more 3.3v current while uploading.
×1
BrightTea 8pairs Mini SMD Ic Single Hook Clip Grabbers Test Probe Cable for Multimeter Wire Lead
Intead of soldering header pins to the Sonoff, I decided to just bend the test leads to fit into the board.
×1
Male-Header 5 Position- 1 Row- Long (0.1")
Male-Header 5 Position- 1 Row- Long (0.1")
If you're handy with a soldering iron, you can solder header pins instead of clipping grabbers onto the pads.
×1

Software apps and online services

Arduino IDE
Arduino IDE
Used to compile the firmware.
esptool
Used to flash the firmware to the ESP8266 chip.
git

Hand tools and fabrication machines

Mastech MS8217 Autorange Digital Multimeter
Digilent Mastech MS8217 Autorange Digital Multimeter
Recommended: You should only need a meter that can check continuity and AC voltage.

Story

Read more

Code

Dual Wemo branch of Sonoff-MQTT-OTA-Arduino

At the time of my project, the Sonoff-MQTT-OTA-Arduino did not implement the Philips Hue bridge for multi-channel support. So I updated the Wemo emulation to run on two http ports.

Credits

Donald Willingham

Donald Willingham

2 projects • 6 followers
Software Developer. Member of the Tampa Hackerspace. Starting to tinker with home automation, micro controllers, and the Raspberry Pi.

Comments