I used a Sonoff Dual and wired my ceiling fan to turn the fan and the light - EACH - on and off with the app and Alexa. Each works independent of the other.
How you may ask? So simple, it should have been done and posted on Youtube already. We need someone that does videos to do this and document it.
I cut a 3 or 6 foot 2 prong extension cord about 12" from the female plug. Then wire the two prong cord/plug into the L and N of the Dual contacts Input. I program the Dual to the WiFi and give it the switches temporary or permanent names.
I have access to my attic and the upside of the ceiling mount I turned off power and installed a one gang box and a single 120v wall outlet with cover. I like the simplicity of being able to remove power by just unplugging it. Connect Output 1 to the Blue wire of the ceiling fan. Connect Output 2 to the Black wire of the ceiling fan. Connect one of the Dual's N to the white wire of the ceiling fan. You only need to connect one of the Dual's N to the ceiling fan. Leave the ground wire on the ceiling fan connected to the ground on the 120v installed wall outlet. Now plug the plug into the outlet and power up the Dual. Turn power back on at the outlet/ceiling fan.
Now the Dual allows me to name and turn on and off each – the fan and the light, or I can use the Dual’s primary name and turn both on or off at the same time.
I used 2 each 2pin JST plug connectors and connected them to the two sets of terminals on
the Dual and ran them with lightweight 22 gauge solid telephone to the wall light switch box can using two more 2pin connectors with miniature momentary switches, so
they can be turned on and off manually.Drilled to small holes in flat plates for the wall outlets and mounted the switches.
This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value. Im glad to have found this post as its such an interesting one! I am always on the lookout for quality posts and articles so i suppose im lucky to have found this! I hope you will be adding more in the future... surgical face mask
I really enjoyed reading your post, as it was according to my taste. I must thank you for this masterpiece. Keep on posting and I’m sure that your site will get more and more views. top comedy movies
Guys, thank you for the comments. I like the Sonoff products. I've got about 100 wifi switches, wifi plugs, wall switches, sensors, bridges and wireless button switches working.
Any of you are welcome to take my idea/work and use them, spread them or even better follow along making a Youtube video to help others. Just paying it forward. I want nothing back. Glad to have been useful.
This post is as amazing and interesting as your other posts. I always learn something new by reading your posts. Bring us some more stuff like this, keep on posting.
I’ve got the time to write about this, and because you guys seem genuinely interested in my Sonoff ideas, I will share another one with you.
R2 hack. On my first floor, I can’t get to the top/above my ceiling fan. So, I
found another way. You need to be careful here. I take no responsibility for
your actions. This worked for me.
I mounted a Dual R2 WiFi switch would the white cover/case inside the ceiling fan’s ceiling mount – inside the cover. Turn off power. Depending on your ceiling fan design, you can lower the half-globe cover that covers the ball joint and wires at the ceiling (generally).
I programmed a Dual R2 switch to my network before I started. I took the white plastic cover and base off the Dual R2. I took a bottle of Liquid Electrician’s Tape, and painted the bare soldier joints on the Dual board. Let it dry. I found a suitable small plastic bag that the Dual’s guts would fit into.
Practice sliding the bagged/coated Dual into the opening inside/behind the fan’s half-globe and seal it. Tuck all wires in place. You may need to try different positions and move the stiff Romex wires to make it fit. See if you can button everything up to normal condition.
Open and attach/connect house Romex to the Dual’s input leads. Button everything up and restore power to test for short. No problem? Open back up and connect fan leads to Dual. Test power to control fan/light. Works? Button everything up.
I added short 120-volt compatible leads about 4-6 inches in length to the Dual’s input and output sides. Connect with wire nuts the house power wires to the Dual to make it easier to connect wires.
have figured out how to do one, you can eliminate the steps you don’t want to
do for the next fan.
The downside to this type install is, there's no manual method for tuning the light on or off. You generally will leave the wall switch turned on all the time. But have the option to turn both sides of Dual off/on at the same time.
The way of your explanation is awesome, you have explained every single detail very well. Keep on posting and I’m sure that your site will get more and more views.