This is an IoT project for UNCC's MEGR 3171 Instrumentation Class. We wanted to make a small, common problem easy to fix. With the help of the Particle Photon and a couple of resistors and LED's we designed a method that could fix this problem with little effort and a low budget.
When one says "Alexa trigger fan on", Alexa with trigger a function which will turn on a micro motor. That motor is taped near a fan switch and will turn the switch on, thus turning the fan on. Whenever Alexa is told to trigger fan on, it was also mark two cells in a google sheets document with data & time and a value of "1" so the amount of times the fan is turned on is noted. And finally as a add-on, a LED on another photon will light for 2 seconds when the function is triggered.
This is how the motor is attached and how the photon is powered.
Alexa trigger words are "fan on" and that calls the function toggleLights.
When trigger phrase is told to Alexa, another IFTTT will mark a google sheet doc with date and time and a value of "1" so data can be graphed.