Sonoff iFan03 Install with Complete Fan Speed Control

  Рет қаралды 47,969

digiblur DIY

digiblur DIY

Күн бұрын

Пікірлер: 188
@jrm523
@jrm523 4 жыл бұрын
You're nothing short of a genius. This has been bugging me as well. I have these unique ceiling fans that use 303mhz RF which is near impossible to control without a custom solution. Another project that I've had queued up is installing some additional lighting. I looked up the Zemismart down lights that you mentioned and am stoked! I'm going to the ifan03 setup and the Zemismart down lights. Thank you very much. Your videos are always so helpful and descriptive.
@jimbrewer5821
@jimbrewer5821 4 жыл бұрын
Travis (aka the Indiana Jones of La.), Thanks for cracking this nut. It's been a significant challenge in the open source community to get this working "correctly" with fan speeds in the US. Your capacitor mod, along with your Tasmota rules "ninjary" (is that a word?) demonstrate what's possible. Well done! P. S., I (well, with perhaps some personal bias) like the featuring at the end of your videos of the various projects from the members of the community that you have nurtured, encouraged, helped, and built on in your Discord channel. 👏😁
@digiblurDIY
@digiblurDIY 4 жыл бұрын
Now if only the manufacturers would make an ESP8266 based 1 gang wide switch like this with the 2 caps ranged for 120v fans, they couldn't keep them on the shelf!
@HaydonRyan
@HaydonRyan Жыл бұрын
Great tip on the header! i was sodering to the board - this makes it a million times easier!
@andrewlhoover
@andrewlhoover 4 жыл бұрын
I hadn't really heard of the capacitor problem on these iFan units so, thanks for that. This is very handy and useful, as usual. Happy Holidays, brother.
@geoffpemberton5916
@geoffpemberton5916 4 жыл бұрын
Travis, I didn't have a need the Ifan but always enjoy your videos. Yet again you taught me something new and I download the "Tasmotizer" program. Thanks again for sharing your knowledge.
@willhutcheon4144
@willhutcheon4144 4 жыл бұрын
I really appreciate this video Travis - I have purchased these and was very disappointed when Sonoff didn't properly account for US/CAN 120v. I will be doing these with 3 fans in my house.
@willhutcheon4144
@willhutcheon4144 4 жыл бұрын
What are the commands needed to voice activate the various speeds and light for Google Assistant? (ie. " Assistant, turn the master fan to speed 2? " ...
@digiblurDIY
@digiblurDIY 4 жыл бұрын
We have been using turn up the fan, turn down the fan, and I think high? I don't recall all of them.
@polskifacet
@polskifacet 4 жыл бұрын
Darn bought capacitors twice already including the ones you recommended and I keep getting ones that are larger than the original ones!
@digiblurDIY
@digiblurDIY 4 жыл бұрын
I had a few people state the Aliexpress ones were correct.
@jmyler
@jmyler 4 жыл бұрын
This is great. Thanks for yet another great video!
@jleckey6811
@jleckey6811 4 ай бұрын
I have this fan switch and I'm having a problem getting it to work because my ceiling fan has one power wire for the fan and the light is there any unit that will be able to allow this to work or do I need to get a fan with a light and fan wire separate?
@digiblurDIY
@digiblurDIY 4 ай бұрын
This is designed for a fan and light separate power wire setups.
@russTM0725
@russTM0725 4 жыл бұрын
In addition to my previous comment... I figured I'd just swap out my old single-capacitor fan with a new one I have in a box in my garage. Checked the guts and it has a 5-wire cap that reads 6.5uF, 6.5uF and 5uF as opposed to the relay you had the read all 5uF. The FAQ for the iFan03 says this: "the 1-gear (2.5μF) output current is 113mA (120V/60Hz) or 173mA(220V/50Hz); the 2-gear (2.5μF + 3μF) output current is 249mA(120V/60Hz ) or 456mA(220V/50Hz). the 3-gear act as the same performance as original." Looking at the schematics for the iFan02, I tried to get an understanding of what switch 3 (or 3-gear, as they put it) was and how to interpret their comment about fan speeds from the website. It if I'm understanding correctly, your installation would amount to 1-gear being 5uF, 2-gear being 5uF + 5uF and the 3-gear being no capacitors at all. Furthermore, what do you do with all of the wiring in the lighting dome housing? Do you just cut out the existing pull-chain speed control and capacitor? Does the iFan03 incorporate the reversing switch too? It's all very confusing to me. I'm just trying to get a smart fan without burning my house down lol....
@digiblurDIY
@digiblurDIY 4 жыл бұрын
I think so, as I do get it confused at times. Or maybe it is both caps switched in for low? and one for medium? You can pull out the wiring if you want to that does the current capacitor and speeds or just leave it in and leave it on high all the time.
@JohnMassaglia
@JohnMassaglia 4 жыл бұрын
Thanks for the awesome tutorial! I'm looking forward to trying this one out.
@joeknowsavings
@joeknowsavings 4 жыл бұрын
It really is too bad that Sonoff doesn't have a version for US fans. I haven't had too much luck finding 5uf caps that don't take 2 months to arrive. By that time, I won't be using my fan much! Great video by the way, you do an excellent job explaining these things and providing lots of info without rambling
@digiblurDIY
@digiblurDIY 4 жыл бұрын
Thanks! You can use the regular caps that came with the fan. I did that last year or so but isn't as clean. Luckily treatlife has come out with a new fan controller. www.digiblur.com/2020/07/the-tasmota-fan-controller-ive-been.html
@shoulih
@shoulih 4 жыл бұрын
I might still have some spare 5uf caps left that are the right size to fit into the IFAN03. ping me if you are interested.
@MarcPilon
@MarcPilon 4 жыл бұрын
Thank you for your detailed, precises and clear explanations. Your videos make a difference - succes in my project feel now reachable.
@rogeriocamargo1984
@rogeriocamargo1984 2 жыл бұрын
Nice video, Congrats! I'm getting a Sonnof iFan04 110V 50/60Hz. Is it possible to control the 3 fan speeds in the Sonoff App without having to change the capacitors?
@digiblurDIY
@digiblurDIY 2 жыл бұрын
Yup, that's the only difference on the iFan04 as it has North America sized caps
@boonedockjourneyman7979
@boonedockjourneyman7979 4 жыл бұрын
Very impressive. I’ve been trying to convince my building & planning office to allow me to use these devices for 18 months with no progress. Did you do any of this under permit? It’s a must for me because of mandatory insurance regulations I must live with. The company has not returned ANY communications on this topic in 18 months. I’d truly appreciate knowing whether snd possibly how you handled this issue. Thank you.
@digiblurDIY
@digiblurDIY 4 жыл бұрын
Not a requirement here for minor work.
@boonedockjourneyman7979
@boonedockjourneyman7979 4 жыл бұрын
digiblurDIY - Have you checked with your fire insurance company? You’re in for a surprise. No UL rating, no fire insurance. If you’re in CA, NY and an unknown number of other states and someone is injured or killed, you’re in for real fun. Check the “deck collapse cases.” You live in a fantasy world
@digiblurDIY
@digiblurDIY 4 жыл бұрын
Yep. Talked with my guy many times. Old timer who goes off about how UL isn't wasn't it used to be tangent for 20 minutes.
@4SquareHI
@4SquareHI 3 жыл бұрын
Great video on changing the capacitors! I'm having a heck of a time to get the configuration correct into home assistant. I'm not using any dimmers. Just a smart LED bulb in the fan. I have successfully flashed Tasmota on the device and the controls are working as expected. MQTT Autodiscovery does not properly define the FanSpeed relay buttons and I'm struggling for the best method to add this controller into home assistant. The old template I used for my first fan controller I did years ago was put into my configuration.yaml has been depreciated since they changed the speeds from High, Med, Low to percentages and I've found very little documentation. Since then, I've split up my configuration and added a fan.yaml to play with. It just isn't working
@digiblurDIY
@digiblurDIY 3 жыл бұрын
Use the new HA Tasmota integration, it supports the iFan03, no yaml to mess with.
@4SquareHI
@4SquareHI 3 жыл бұрын
@@digiblurDIY Yes I got that far, but having a heck of a time getting Alexa to understand how to control the fan speeds. Annoying that she keeps telling me "I don't know how to do that" . I did go back and comment out old yaml entries for the device but "she" also tells me there are multiple devices with the same name even after re-running discovery. My wife is OK with Alexa but will not touch the app or use her phone to control anything.
@digiblurDIY
@digiblurDIY 3 жыл бұрын
What are you saying to it? I know I've had to change with the recent fan changes in HA to say set living room fan at 50 percent.
@pauljohnson-yk5dq
@pauljohnson-yk5dq 4 жыл бұрын
Do you have to remove the original capacitors that are in the fan before installing the IFAN03?
@digiblurDIY
@digiblurDIY 4 жыл бұрын
I didn't. I just leave the fan on high itself so it internally bypasses the caps.
@rustymerz8137
@rustymerz8137 4 жыл бұрын
Thank you for the video! I have a question. I did an investigation on my fan and found that it only had a 2-wire 4uF capacitor and a pull chain. Is there a possibility that there's a cap somewhere else in the fan motor housing? Or is this standard? Can I still wire the iFan03 in? If so, what kind of recommendation on the caps? Both 4uF? You seem to be one of the only people with any real info on this device.
@digiblurDIY
@digiblurDIY 4 жыл бұрын
There are usually 3 capacitors in the fans that I'm familiar with. Give it a try with stock and see what happens. You just leave the fan on high and let the iFan03 do the slowing down of things.
@daveschierman8457
@daveschierman8457 4 жыл бұрын
Finally got around to getting iFan03's for the house, thanks for another great video. Is there any additional magic to be had with the remote and a sonoff RF receiver?
@digiblurDIY
@digiblurDIY 4 жыл бұрын
No, I just pressed a button on it after it powering up the ifan03 and it paired right up.
@daveschierman8457
@daveschierman8457 4 жыл бұрын
@@digiblurDIY Sorry, I meant any ability to utilize the remote for controlling devices other than the iFan. Specifically, in conjunction with a Sonoff RF Bridge, would it be possible to setup unused buttons on the remote to control other stuff.
@AnoNymous-lp5tb
@AnoNymous-lp5tb 4 жыл бұрын
Question on the 2 5uf caps. Did you manage to put the case back after soldering? I changed my caps for my patio fans a 2 months ago and i just slap that damn thing in without the top portion of the case. It's working though and the fans are sealed and they are outdoor rated so hopefully they last long.
@digiblurDIY
@digiblurDIY 4 жыл бұрын
Yep. The blog past was updated with pics of it.
@DanielNictheroy
@DanielNictheroy 4 жыл бұрын
Thanks for this video! Have 5 iFan installed and with your video will finally replace the capacitors. Quick question, I have Treatlife dimmers flashed with your latest Tasmota. Comparing to other dimmers I have the minimal intensity before it turns off still bright, is there a way to make the minimal dimming more dark. Thanks!!
@digiblurDIY
@digiblurDIY 4 жыл бұрын
You could change the dimmer range of the TuyaMCU control in Tasmota.
@DanielNictheroy
@DanielNictheroy 4 жыл бұрын
digiblurDIY thanks for reply! Unfortunately didn’t fix the problem. Its set min and max set to 1-255, and when I move physical slider goes from 46 to 234. I wanted to get the lights more dimmed, might be a hardware limitation. :(
@ianxtreem
@ianxtreem 4 жыл бұрын
@@DanielNictheroy Im not familiar with your particular dimmer, but for my shelly dimmer there is a calibration routine. The documentation on the calibration routine says this is necessary because the characteristics of different lightbulbs require different ranges / control characteristics. I think that its probably a function of the type of bulb you are using. To test this, put an incandescent bulb, if dimming is okay with it then its your lightbulb, otherwise its the dimmer controller.
@domofgcu
@domofgcu 4 жыл бұрын
This seems like a good solution for people who have access to the wiring, is there a good solution for those of us that have very high ceilings, something controlled via a switch in the wall instead?
@digiblurDIY
@digiblurDIY 4 жыл бұрын
A ladder is my first answer. Second would be some Zwave fan controllers.
@domofgcu
@domofgcu 4 жыл бұрын
Lol I would love to purchase a ladder that size 25 foot + ceilings make that hard. Was afraid of that, not a fan of Zwave stuff but maybe worth trying out with the Conbee usb dongle
@digiblurDIY
@digiblurDIY 4 жыл бұрын
Same issue here. Never had much luck with the zwave or zigbee stuff and there isn't a decent drop in wall fan controller yet.
@jesusluzon5457
@jesusluzon5457 4 жыл бұрын
You could wire this to the wall switch instead of up at the fan if you want, but you will probably have to leave it exposed since it's unlikely to fit inside the switch box.
@horstboss7855
@horstboss7855 4 жыл бұрын
Very interessting and nicely done! :) Does one have to connect dimmable lights to the ifan03 or can it purely switch 0/100% (toggle) so that non dimmable LEDs work, too? I noticed with other dimmers, that they kind of "always dim", even at 100%, so the non dimmable LEDs cause problems. :(
@digiblurDIY
@digiblurDIY 4 жыл бұрын
The lights are smart lights I used, but of course you could adapt and just use the light relay on the unit itself but it's on/off though, not dimming.
@ragdepc
@ragdepc 4 жыл бұрын
So, it looks awesome, but I am wondering in the case you lose the network connection, basically don’t have Lights or Fan at all?? Just like you said, I am also want to have a backup plan!! Thanks for the video!! 😊
@TheSecman61
@TheSecman61 4 жыл бұрын
Tasmota and hubitat. Everything will run Lan and does not require an outside internet connection.
@ragdepc
@ragdepc 4 жыл бұрын
TheSecman61 I know, but I mean, like local wifi down, or like my case HASSio crash by the sd card, always something can happen, still have power but with out something like that fan & lights are dead (specially lights dark in night, hehehe)
@digiblurDIY
@digiblurDIY 4 жыл бұрын
That is correct, if I have don't have internet connectivity everything is fine. If I don't have any wifi signal at all well I have many more issues to worry about than my fan not working.
@digiblurDIY
@digiblurDIY 4 жыл бұрын
And side note the plan B is the remote control while your wifi is down. If you have wifi issues I would highly suggest Unifi access points. Best decision I have made in tech over the couple years I have had them.
@hilkomenke3006
@hilkomenke3006 4 жыл бұрын
You mentioned on Martin Jerry Dimmer has six inputs: Button 1 Short Press + Long Press, Button 2 Short Press + Long Press, Button 3 Short Press + Long Press. Would it be possible to place two Dimmers side by side and increase the amount of inputs by also writing a script for if the buttons on both Dimmers are pressed simultaneously, e.g. 'Dimmer 1 Button 1 Short Press + Dimmer 2 Button 3 Short Press', 'Dimmer 1 Button 2 Long Press + Dimmer 2 Button 2 Long Press'. If only combining Short Press + Short Press and Long Press + Long Press to keep the input simplified and reliable, that would create 6 + 6 + 9 + 9 = 30 inputs no?
@digiblurDIY
@digiblurDIY 4 жыл бұрын
You would have to do some code changes. You could do the button multipress new feature for up to 6 actions per button.
@pingwuan_works
@pingwuan_works 4 жыл бұрын
Another question for me here! The custom topic that you talk about LRoom/Toggle is this something you create in homeassisant separate from the MJDimmer and iFan03? Thanks for your help!
@digiblurDIY
@digiblurDIY 4 жыл бұрын
It is something I made in NodeRed to toggle the light group in HA. They are 6 smart lights.
@pingwuan_works
@pingwuan_works 4 жыл бұрын
@@digiblurDIY Awesome thanks! I was wondering about that part.
@Kcraigis
@Kcraigis 4 жыл бұрын
I remember when you first posted this video, I knew this was the solution to my problem as well. I modified and tuya'd my iFan03 (without Expressions); works like a charm. I got my MJs, tuya worked like a charm there as well. Now I'm ready to hit the console and start publishing! Because I have a light kit (and because I wanted dimming and color control), I added 2 zigbee bulbs as a group in HA. Is it possible to have these MQTT commands control them? If not, is it possible to take a topic state and create a rule to then control those bulbs (on, off and dimming only)?
@digiblurDIY
@digiblurDIY 4 жыл бұрын
Pretty much like I did except you are using zigbee. Use an automation via HA or NodeRed to listen for some custom topics on the buttons and then it sends the zigbee commands.
@matthewdezzi2207
@matthewdezzi2207 4 жыл бұрын
I'm finally getting around to doing this. In the video it appears you replaced both caps with 5uF. Did that make you're medium and low speeds identical?
@digiblurDIY
@digiblurDIY 4 жыл бұрын
No, since both capacitors get kicked on medium and one on slow or I might have it backwards. That's the typical way the pull switch works.
@matthewdezzi2207
@matthewdezzi2207 4 жыл бұрын
@@digiblurDIY I just had someone else say the same thing on reddit. I hadn't considered them being used in series. Thanks for the reply!
@adrianTNT
@adrianTNT 2 жыл бұрын
I have an EU 220V fan that spins too slow on low and medium settings of the iFan03, do I need larger or smaller capacitors to make it spin faster ? And... is there one capacitor for low, one capacitor for high and full contact without capacitor for high speed ? Is that how they are wired ? Thanks.
@digiblurDIY
@digiblurDIY 2 жыл бұрын
In my case the caps on the ifan03 are too small so the larger caps were needed to make it go the right speed. Luckily they did come out with the iFan04 for us.
@pauljohnson-yk5dq
@pauljohnson-yk5dq 4 жыл бұрын
Hi Travis, just want to confirm my understanding: with your setup, if the WiFi goes out but you still have power, then the Martin Jerry switch would not function anymore, but you still have full control of the fan via the IFAN03 RF remote; is that correct? I wonder how the original capacitors installed on the IFAN03 would combine with the on-board capacitors if instead of negating the on-board capacitors by setting fan speed permanently to high (via the chain), you set the on-board speed to either medium or low (via chain). Have you tried this?
@digiblurDIY
@digiblurDIY 4 жыл бұрын
Right as the connection is done over WiFi but unfortunately in my household if I didn't have WiFi, I'd have larger issues than my fan not working at a switch on the wall.
@matthewbuschur6466
@matthewbuschur6466 4 жыл бұрын
Thanks for the fantastic video! I recently got around to buying the stuff for this mod, but ran into a small problem. The eBay links you provided link to listings that are no longer active. I tried looking for an equivalent capacitor myself, but the ones I bought are too big physically. The voltages and capacitance is right, but the pins are too far apart and I doubt it'll fit in the case. Can you please help to provide another link for these capacitors?
@digiblurDIY
@digiblurDIY 4 жыл бұрын
Dang.. That was tough for a few us to find those. Let me. See if I can dig around to find those exact ones again.
@matthewbuschur6466
@matthewbuschur6466 4 жыл бұрын
@@digiblurDIY so far based on my looking I'd have to agree that they are rather hard to find. I wonder if a site like digikey would have them? I'm not very good at picking electronic components yet, they all mostly look the same to me haha
@matthewbuschur6466
@matthewbuschur6466 4 жыл бұрын
@@digiblurDIY I think I finally found them! I'm not sure what changed in my search, but for some reason my latest search brought this right up: www.aliexpress.com/i/32808846668.html If the picture is accurate they look like the exact some ones you used. I've ordered them already. Hopefully they work!
@digiblurDIY
@digiblurDIY 4 жыл бұрын
Thanks! Let me know and I'll update the link.
@matthewbuschur6466
@matthewbuschur6466 4 жыл бұрын
@@digiblurDIY At long last the capacitors have arrived. The are definitely the same size. Haven't installed them yet, but I can confirm that they are the same physical size as the original ones on the board!
@richliebke1632
@richliebke1632 4 жыл бұрын
Hi I am new to home assistant have a couple things up and running. I flashed tasmota on iFan03 with no problems got home assistant to auto discover. I have added it in Lovelace have the three speeds and the light switch but have no off button in home assistant for the fan speed. If I use the remote it will turn off if I log into the IP address of the tasmota it has all 5 buttons one for the light switch for 4 the fan 0 is off 1 2 3 speeds of the fan but home assistant didn't pick up the off button how do I add the off button in home assistant. And i have replaced both 5uF Capacitors. Thank you Rich
@digiblurDIY
@digiblurDIY 4 жыл бұрын
Not really sure about using auto discovery with the iFan0x, it might just not work. I use this github.com/digiblur/Tasmota/wiki/Fan-Devices
@morrydavis
@morrydavis 4 жыл бұрын
Like your video on IFan03 little confuse d in my case I only have 1 switch it has 2 knobs one for light on/off/dim and one for fan on/off/speed my fan does have the light kit with pull chains that we don't use. how would I change the rules for this application and where do you load the rules, I assume in tasmota but you didn't really cover that, the bin file you provide has the rules for the two switch setup so how would I change it?
@digiblurDIY
@digiblurDIY 4 жыл бұрын
I used the dimmer to control the fan and light. All you need is one power source going to the fan if you want to do it like I did.
@morrydavis
@morrydavis 4 жыл бұрын
digiblurDIY so am I understanding you used one dimmer for both fan and light. That would be perfect because I only have a single gang box in the wall
@morrydavis
@morrydavis 4 жыл бұрын
After further research on my wiring I don’t think I need ifan03, tell me if you concur. My fan has a pull chain set on high speed, I have power going to box in the wall coming out of the box I have 2 power lines one to fan and one to light so my thought is to just get 2 Martin Jerry dimmers and swap out the single gang box with a double gang box, what do you think
@greenlettuce193
@greenlettuce193 4 жыл бұрын
Hi, I am new with using google assistant. I was able to pair eWelink to Google but the only command it understands is turning the light on and off. I cannot control the speed. When it turns on both light and fan turns on at the same time.
@Stepanhuge
@Stepanhuge 4 жыл бұрын
How the device can regulate the speed of the fan? Changing the voltage or that use other method? Regards
@digiblurDIY
@digiblurDIY 4 жыл бұрын
The same way as the pull string does by switching in the capacitors.
@beanMosheen
@beanMosheen 4 жыл бұрын
It uses a run capacitor to setup a phase difference between the two sets of coils. By adjusting the capacitance (switching them in and out via relays) the timing is made more and less accurate causing the speed to change. Think of it of pushing someone on a swing and adjusting when you push.
@ptmoy1
@ptmoy1 4 жыл бұрын
My 5mf capacitors came today and I've installed them. I'm doing some testing with my multimeter, but getting voltage results on the fan output I don't completely understand. When the Ifan03 is plugged in, I read 120V on the fan output line immediately. As expected, when I hit the low, med, high, and off buttons on the remote, I hear a relay click. Voltage remained around 120V regardless, even at "off." I know the capacitors are doing something to the phase angle, so not too surprised voltages read around 120V for low, med, and high. The one scenario that surprised me is that I get 120V even at "off." When I connected a single-speed gable exhaust fan to the IFAN03, it doesn't turn on at all, even thought I know it's getting 120V. Do the capacitors have palarity? I assumed they didn't but still installed them in the same orientation (by the label marking) as the original. But I noticed label markings are opposite to what's shown in Travis's video. This IFAN03 with new capacitors may still work on my ceiling fan. But it's kind of a pain to install, so I don't want to actually do it until I have a bit more confidence this is going to work. Does Travis or anyone else have some insight on the results I'm seeing?
@ptmoy1
@ptmoy1 4 жыл бұрын
I temporarily wired in the IFAN03 to my ceiling fan. Surprisingly, everything seem to work fine. I still don't know whether it's appropriate to be getting 120V at "fan off," but not going to complain.
@digiblurDIY
@digiblurDIY 4 жыл бұрын
The fan speed isn't driven by a voltage difference. If you are seeing voltage with the fan load attached then that would be an issue but would probably make the fan spin as well.
@ptmoy1
@ptmoy1 4 жыл бұрын
@@digiblurDIY I just thought of something. When I was seeing 120V at fan "off," it may be due to the capacitors not completely discharging. I'll bench test again and report back.
@digiblurDIY
@digiblurDIY 4 жыл бұрын
Yep. Have to drain the caps in the fan and the ifan03. Kinda like working on the old CRTs but not as bad as a boom.
@ptmoy1
@ptmoy1 4 жыл бұрын
@@digiblurDIY No, the capacitors weren't the cause of why I'm seeing 120V after pressing the "off" button on the IFan03 remote. Here's what I did to test: - connected the IFan03 input wires (line and N) to power - capped the IFan03 light output wire - connected the remaining two IFan03 output wires ("N" and "fan out") to my multimeter As soon as I apply power to the input wires, I read 120V. When I pressed any of the fan-control buttons on the remote (fan low, fan medium, fan high, and off), I hear a relay clicking with voltage remaining around 120V. As mentioned, clicking the "off" button activated a relay, but didn't turn off voltage to the fan output line I'm measuring. I thought the capacitors were causing this, but no; I waited for 5 minutes, but see no voltage decrease at all. When installed on my ceiling fan, this IFan03/MJ switch combination worked perfectly. Fan speeds were around the same as stocked speeds. When I pressed the "off" buttons on the remote or MJ switch, the fan turned off as expected. All other switches and buttons on both the remote and MJ worked flawlessly. I don't know why I'm reading 120V when the IFan03 fanspeed is off, but it doesn't seem to be causing problem on the ceiling fan itself. I'll be happy to run additional measurements if anyone is curious. Otherwise, I'll just install this and call this project a success. Also, if anyone happens to have a similar setup uninstalled, be great if he can run the same test as I did. Be fantastic to get an explanation to what I'm seeing. Once again, this is a stocked IFan03 with the two original large rectangular capacitors replaced by two 5uF ones.
@ptmoy1
@ptmoy1 4 жыл бұрын
I'm trying to setup a Martin Jerry SD01 dimmer and iFan03 to control a ceiling fan with a light kit. I'm using Tasmota 8.4 on both devices. I configured module type to "PWM Dimmer" on the Martin Jerry. Just for initial testing, I put the following rule in the Martin Jerry in attempt to turn the light on and off on the fan using a short press of the on/off switch on the MJ: on switch1#state=2 do publish cmnd/ifan03/power1 toggle endon But the "publish" is not firing. When I published "cmnd/ifan03/power1 toggle" using an MQTT client (MQTT.fx), it worked. What's causing the publish not to fire on the MJ?
@ptmoy1
@ptmoy1 4 жыл бұрын
Do I need to do "setoption73 1"?
@digiblurDIY
@digiblurDIY 4 жыл бұрын
I believe that one uses buttons. And I don't think you can use so73 with it. When you get into the weird setups like this then I use the fork of Tasmota for this dimmer.
@ptmoy1
@ptmoy1 4 жыл бұрын
@@digiblurDIY Thanks Travis; you're right. I figured it out by pure trial and error and luck this morning. Should have just waited for your reply. Changing rule to: on button1#state=2 do publish cmnd/ifan03/power1 toggle endon worked. I sure wish there were some documentation that tells users this. I looked everywhere. Is there any way to ascertain valid tasmota-rule triggers for a given module (or template) via the Tasmota console?
@digiblurDIY
@digiblurDIY 4 жыл бұрын
Really just have to look at the template/module to see what is available to trigger off of. I am modifying my fork documentation to show the how-to on multipress with it as well as planning a live stream and/or video of doing various switches, dimmers, lights etc. Real world tricks of Tasmota.
@JamesChaseMedia
@JamesChaseMedia 4 жыл бұрын
Does the alternative face plate you suggest support the long press options for the ceiling fan
@digiblurDIY
@digiblurDIY 4 жыл бұрын
Yes. It is the same 3 buttons. Just a different look.
@Vgp-rp4iu
@Vgp-rp4iu 4 жыл бұрын
So none of this stuff will work out of the box? I'm really not looking to flash devices and switches. I don't really care about fan speed nor do I care if the fan and light are controlled separate. I just want a wireless switch to control my fan/light just basic on and off. My fan and light doesn't have a switch and has to be turned on with the pull strings and I just want to be able to tell Alexa to turn on fan and it comes on. Any suggestions?
@digiblurDIY
@digiblurDIY 4 жыл бұрын
Sure it will. Use the Ewelink app in the cloud and use the remote. We just do things a little differently with open source non-cloud firmware and customizations.
@morrydavis
@morrydavis 4 жыл бұрын
Just curious the cap values in then IFan03 out of the box have two different values yet you replace them with two caps of the same value both 5uF why is that?
@digiblurDIY
@digiblurDIY 4 жыл бұрын
Because I didn't have the exact cap values my fan had in them. They were close enough and we didn't notice the speed differences. It actually sped up the medium a small bit which was actually perfect.
@TopherHax
@TopherHax 4 жыл бұрын
Do any companies make plain "smart switches" that are just connected via Wifi but don't actually have power controls inside themselves?
@digiblurDIY
@digiblurDIY 4 жыл бұрын
Only one close was this one www.digiblur.com/2020/02/wifi-scene-controller-with-mqtt.html
@elmoclarity
@elmoclarity 4 жыл бұрын
If there is only one MJ-SD01 in the automation and the iFan03 is controlling a non-dimmable light, how should the rules be setup?
@digiblurDIY
@digiblurDIY 4 жыл бұрын
It actually would be the same being only one dimmer. Is the light attached to the fan module?
@elmoclarity
@elmoclarity 4 жыл бұрын
@@digiblurDIY Yes it is. If it will post, here are the rules I current have. Rule 2 for the dimmer is turned off because of some issues one device turns on the light and then another one turns it off. I have to use these dimmer values to get the leds to work right. Anything below 60 and they are all off. iFan03 Rules Rule1 on fanspeed#data=0 do publish cmnd/Back_Bedroom_Switch/dimmer 0 endon on fanspeed#data=1 do publish cmnd/Back_Bedroom_Switch/dimmer 80 endon on fanspeed#data=2 do publish cmnd/Back_Bedroom_Switch/dimmer 90 endon on fanspeed#data=3 do publish cmnd/Back_Bedroom_Switch/dimmer 100 endon Rule2 on power1#state=0 do publish cmnd/Back_Bedroom_Switch/power off endon on power1#state=1 do publish cmnd/Back_Bedroom_Switch/power on endon on fanspeed#data do var1 %value% endon Rule3 on event#togfan do if (var1>0) fanspeed 0 endif endon on event#togfan do if (var1==0) fanspeed 2 endif endon MJ Dimmer Rules Rule1 on switch1#state=2 do publish cmnd/Back_Bedroom_Ceiling_Fan/power1 toggle endon on switch2#state=2 do publish cmnd/Back_Bedroom_Ceiling_Fan/fanspeed - endon on switch3#state=2 do publish cmnd/Back_Bedroom_Ceiling_Fan/fanspeed + endon Rule2 - OFF - NOT ACTIVE on switch1#state=3 do publish cmnd/Back_Bedroom_Ceiling_Fan/event togfan endon on switch2#state=3 do publish cmnd/Back_Bedroom_Ceiling_Fan/fanspeed - endon on switch3#state=3 do publish cmnd/Back_Bedroom_Ceiling_Fan/fanspeed + endon Rule3 on power1#state=1 do ledpower 0 endon on power1#state=0 do ledpower 1 endon
@digiblurDIY
@digiblurDIY 4 жыл бұрын
I would just have switch1 2 and 3 where the state=2 just send a toggle to the light of the iFan03 itself. It makes things much easier.
@elmoclarity
@elmoclarity 4 жыл бұрын
​@@digiblurDIY I do have it working, but the lights on the switch don't always work right. For example, when I turn the light on, the blue led and the bottom most green led turns on. If I press the dim up button, the fan cycles through the speeds. When the speed cycle gets to max and I press again, all the lights on the switch turn off and a red led turns on where the blue one was. I have a feeling this is because of the hardware in the switch itself so there is nothing that can be done. Just really annoying to me though.
@digiblurDIY
@digiblurDIY 4 жыл бұрын
First the dimming levels are very weird why it has to be like that. That's not normal. The rules probably need to be hashed out a bit more to get it working like you want. Jump into discord and post some logs and stuff so we can figure out what is going on.
@ptmoy1
@ptmoy1 4 жыл бұрын
Hi Travis, the "if" test in IFan03 Rule3 doesn't seem to work when using Tasmota 8.4 (module type set to IFan03). Tasmota documetation says to use "break" to simulate if-else statements. How did you get the "if" test to work on your setup?
@ptmoy1
@ptmoy1 4 жыл бұрын
Also, rules 1 & 2 in IFan03 are not firing at all on the "fanspeed#data=x" and "fanspeed#data" triggers.
@ptmoy1
@ptmoy1 4 жыл бұрын
Ah, rules 1 & 2 never fired probably because the fanspeed command was never executed due to problem with "if" statement mentioned earlier.
@digiblurDIY
@digiblurDIY 4 жыл бұрын
I used a bin file with if expression enabled. github.com/tasmota/binaries
@ptmoy1
@ptmoy1 4 жыл бұрын
@@digiblurDIY Thanks Travis. Do you know whether there's intentions to compile this capability into a future regular production release?
@digiblurDIY
@digiblurDIY 4 жыл бұрын
The expressions?
@pingwuan_works
@pingwuan_works 4 жыл бұрын
Possibly dumb question here, but I am looking to get a standard toggle switch working with this to power the main relay off and on. Any ideas? On a standard sonoff I would just swap GPIO14 to 9 an that would be it but I notice that I can't do this with the ifan03.
@digiblurDIY
@digiblurDIY 4 жыл бұрын
I believe only RX and TX pins are open on this.
@pingwuan_works
@pingwuan_works 4 жыл бұрын
@@digiblurDIY Thanks a bunch for your reply!!! Would it be possible to set one of those as the toggle switch pin? I am trying to retain some basic functionality at the wall to keep things simple when people walk in the room.
@betito32
@betito32 3 жыл бұрын
@@pingwuan_works were you able to fix it somehow?
@nyx574
@nyx574 4 жыл бұрын
Do the caps need to be replaced on a us-based fan? it seems to be a pretty significant mod.
@digiblurDIY
@digiblurDIY 4 жыл бұрын
If your fans don't use that size capacitor then the speeds will be off. I have asked Sonoff about making a US capacitor friendly one.
@pauljohnson-yk5dq
@pauljohnson-yk5dq 4 жыл бұрын
@@digiblurDIY The Sonoff website says the IFAN03 will work with both 120V and 220V. I wonder if Itead thinks the IFAN03 is already US capacitor friendly as is.
@digiblurDIY
@digiblurDIY 4 жыл бұрын
Well it works with 120v but they don't mention what it does to fan speeds.
@pauljohnson-yk5dq
@pauljohnson-yk5dq 4 жыл бұрын
@@digiblurDIY What actually happens if you don't replace the capacitors in the IFAN03? Does the fan spin way too fast?
@harrycoral1910
@harrycoral1910 4 жыл бұрын
@@pauljohnson-yk5dq medium and slow speeds are useless, too slow
@ptmoy1
@ptmoy1 4 жыл бұрын
Travis - I was messing around with the rules trying to correct a minor problem. Now, none of the rules are firing. Power cycling didn't fix the problem. I re-flashed vanilla Tasmota 8.4, did a reset1, then power cycled, re-entered all the rules, and made sure rules are turn on. Switchmode and switchtopic are all set to 0. Rules are still not firing. Any suggestions on what I can do to restore rule functionality?
@ptmoy1
@ptmoy1 4 жыл бұрын
I forgot to mention in my post above that the rule problem is on the Martin Jerry switch. Actually, I think rule3 is working because I see the on/off led going from red to blue when I toggle the on/off switch. I've also verified I can publish message manually from the Tasmota console so problem is unrelated to finding the MQTT broker. Problem is that when I short pressed or long pressed the switches, the "on switchX#state=N" triggers are not firing the publish command.
@ptmoy1
@ptmoy1 4 жыл бұрын
I screwed up. Problem was caused by that "switch" vs. "button" issue. I keep forgetting I need to modify "switchX#stateN" to "buttonX=stateN" when I'm using vanilla Tasmota.
@digiblurDIY
@digiblurDIY 4 жыл бұрын
What device?
@mrnix1001
@mrnix1001 4 жыл бұрын
So, around 17:30 reminded me/confused me. You said "which is then picked up by Home Assistant". So ... here's the confusion. When you setoption19 1, I noticed that tasomta will switch the order of the topic. From "cmnd/thingyname" to "thingyname/cmnd". Why is that? You can't seem ever change it back. So, it doesn't appear you have done that. Also, what does HA have to do with this configuration? Unless you mean your MQTT server. But if your ifan03 is directly subscribed, and your switches are directly publishing, how is HA involved in this?
@digiblurDIY
@digiblurDIY 4 жыл бұрын
I didn't use SetOption19 here and this rule pushes to a custom topic as you can see. You can use a HA automation to trigger based off this topic or a NodeRed flow to do your bidding.
@digiblurDIY
@digiblurDIY 4 жыл бұрын
Also if you do change the topics around with SetOption19 you can change them back in the MQTT config section - See here. kzbin.info/www/bejne/gYDKZqSthJiFnpY
@mrnix1001
@mrnix1001 4 жыл бұрын
@@digiblurDIY I understand that, I was just confused by you saying it went to HA when, from my limited understanding, it just got published on your broker and the ifan03 did everything "on it's own", so to speak. It made it sound like HA was a necessary part of the chain just to control it. But thanks for the answer!
@mrnix1001
@mrnix1001 4 жыл бұрын
@@digiblurDIY I've tried that many times, but the topic changes automatically when i use setoption19 and if you go into the device's mqtt setup and change it back, it doesn't stick. Not really a big deal but I have always been curious about that.
@digiblurDIY
@digiblurDIY 4 жыл бұрын
Turn off setoption19 then change it back.
@jimmybowler8922
@jimmybowler8922 4 жыл бұрын
I looking at connecting a touch screen to these are the tx and rx pins used for anything else?
@digiblurDIY
@digiblurDIY 4 жыл бұрын
Nope, I actually have a MCP23017 GPIO expander on one and it works great.
@jimmybowler8922
@jimmybowler8922 4 жыл бұрын
@@digiblurDIY Thanks for the info I then can connect a Nextion Screen to it and have it directly control it.
@digiblurDIY
@digiblurDIY 4 жыл бұрын
I should mine a bit during the end of this video. kzbin.info/www/bejne/qF7Oi2aFd8qFqKM
@ptmoy1
@ptmoy1 4 жыл бұрын
Since I'm using the Martin Jerry dimmer only as a WiFi switch to control the IFan03, I capped off the 2 output wires on the MJ. Just out of curiosity, I connected a light bulb to those two wires. What I observed was that although the rules on the MJ decoupled its relay from the physical switches, not surprisingly, a "power 1" command sent via console or MQTT message still turns relay on. Also, the "dimmer" commands sent by rule1 on the IFan03 turn on the relay as well. Probably not a big deal, but having live voltage on the capped output wires bothers me for some reason. Is there anyway to toggle the led to reflect fan speed without having the relay turned on? Also, the command "ledpower" has no effect on the Martin Jerry. Does the MJ actually have an on/off status led?
@digiblurDIY
@digiblurDIY 4 жыл бұрын
The status LED, Led1 of 5 and the relay are hardwired together. You'd need to modify the switch to disable the relay. We have live voltage in wire nuts all the time? For ledpower, are you using the fork or the stock bin with PWM Dimmer?
@ptmoy1
@ptmoy1 4 жыл бұрын
@@digiblurDIY I've tried different combinations; just can't seem to get everything working all at once with any. Here are the scenarios and their results: 1) vanilla 8.4.0.2 with module type set to "PWM Dimmer" (module type MJSD01 not available): fan & light worked but ledpower didn't (i.e., no status light) 2) fork (8.4.0.2(digiDIMv12)) with module type set to "PWM Dimmer": fan & light worked; there is a status light, but it's on/off when fan is on/off. So ledpower didn't work. 3) fork (8.4.0.2(digiDIMv12)) with module type set to "MJ SD01 Dimmer": fan & ledpower worked, but long press that supposed to control the ifan03 light (on switch1#state=3 do publish cmnd/iFan03/power1 toggle endon) didn't work anymore. When I did the long press, I heard 5 beeps, followed by long beep, so fan turned on then off. Light doesn't turn on at all. When I checked messages with MQTT.fx, I saw the tog event being sent twice, and power1 toggle wasn't sent at all, which confirms fan turning on, then off. I guess I can live with either 1 or 2, and do without the status light. What do you think?
@ptmoy1
@ptmoy1 4 жыл бұрын
Typo in scenario 3 above. It was 3 beeps, followed by 1 long beep.
@digiblurDIY
@digiblurDIY 4 жыл бұрын
Setoption87 on the pwm dimmer is the LED status light. On the fork you use the ledpower when using the MJ module. tasmota.github.io/docs/PWM-dimmer-switch/
@ptmoy1
@ptmoy1 4 жыл бұрын
@@digiblurDIY Thanks for all your help Travis. Scenarios 1 & 2 both work now. I'll go with one of those. Since I'm still waiting on the 5uF capacitors, I haven't install the IFan03 into a ceiling fan yet. I'm just testing using an exhaust fan, so haven't been able to test the lower fan speeds yet; max fan speed worked fine. One thing that's a bit strange is that when I turn the fan on with either the 433mHz remote, Martin Jerry dimmer, or Tasmota UI, I hear the 3 beeps immediately, but it takes around 6 seconds before the fan starts spinning. Powering off is immediate. Do you have this behavior in your setup?
@roystervi
@roystervi 4 жыл бұрын
sweet
@anthonyd4238
@anthonyd4238 4 жыл бұрын
Do the capacitor in the link fit inside the case?
@digiblurDIY
@digiblurDIY 4 жыл бұрын
Yep. I will post pics of it on the blog link within the hour.
@digiblurDIY
@digiblurDIY 4 жыл бұрын
Updated the post at the bottom. www.digiblur.com/2019/12/sonoff-ifan03-install-with-complete-fan_24.html
@anthonyd4238
@anthonyd4238 4 жыл бұрын
Fan-tastic! No pun intended ;)
@TopherHax
@TopherHax 4 жыл бұрын
I've literally spent 6 hours between yesterday and today trying to get this ifan03 to show up in some sort of logical useful way in homeassistant and it simply isn't working. With MQTT auto discovery I get a switch that turns the light on and off and "Tasmota" 1, 2 and 3 that do nothing. I've tried following guides on multiple sites and YT videos and nothing works. Many links are old no longer work and redirect such as the "iFan03 Home Assistant Templates" in the description of this video. I tried following a guide to add a new fan card resource but again that also doesn't work since resources are saved somewhere else now? If anyone could please step in and help a HA noob get his ifan03 to display correctly in HA I'd be super grateful. FYI I'm not a total noob, I have many other tasmota devices using MQTT around the house working perfectly.
@digiblurDIY
@digiblurDIY 4 жыл бұрын
I don't think auto discovery will work right with the iFans. I used the manual yaml method on it.
@TopherHax
@TopherHax 4 жыл бұрын
@@digiblurDIY I made some progress... I disabled MQTT HA auto config, and inserted the manual YAML into my config. I now have a working light. The fan speeds work except when I select off it doesn't turn off. Also when I click the fan on/off slider it slides on for 2 seconds, then slides back off, but no change happens to actual ifan device. Here's my config: fan: - platform: mqtt name: "Family Room Fan" command_topic: "cmnd/familyroomfan/FanSpeed" speed_command_topic: "cmnd/familyroomfan/FanSpeed" state_topic: "stat/familyroomfan/RESULT" speed_state_topic: "stat/familyroomfan/RESULT" state_value_template: > {% if value_json.FanSpeed is defined %} {% if value_json.FanSpeed == 0 -%}0{%- elif value_json.FanSpeed > 0 -%}4{%- endif %} {% else %} {% if states.fan.family_room_fan.state == 'off' -%}0{%- elif states.fan.family_room_fan.state == 'on' -%}4{%- endif %} {% endif %} speed_value_template: "{{ value_json.FanSpeed }}" availability_topic: tele/familyroomfan/LWT payload_off: "0" payload_on: "4" payload_low_speed: "1" payload_medium_speed: "2" payload_high_speed: "3" payload_available: Online payload_not_available: Offline speeds: - 'off' - low - medium - high - platform: mqtt name: "Fan Light" command_topic: "cmnd/familyroomfan/power1" state_topic: "stat/familyroomfan/POWER1" qos: 1 payload_on: "ON" payload_off: "OFF" retain: true Thanks
@robertgebel9534
@robertgebel9534 4 жыл бұрын
Is there a template for the dimmer switch?
@digiblurDIY
@digiblurDIY 4 жыл бұрын
It's a built in module on my fork. Was never happy with the template for this unique yet flexible dimmer. github.com/digiblur/Tasmota/blob/development/README.md
@sweetness6048
@sweetness6048 4 жыл бұрын
Would this work with a exhaust fan
@digiblurDIY
@digiblurDIY 4 жыл бұрын
If the fan uses capacitors to change speeds and it is inside the specs then give it a try.
@sweetness6048
@sweetness6048 4 жыл бұрын
@@digiblurDIY thanks mate appreciated
@techimobiliare6908
@techimobiliare6908 4 жыл бұрын
@@digiblurDIY Would this be good? ventilation-system.com/product/tt-100
@HailStonE999
@HailStonE999 3 жыл бұрын
Can you use it with BLDC fan ????
@digiblurDIY
@digiblurDIY 3 жыл бұрын
If it uses capacitors for speed yes.
@DINOYEW8
@DINOYEW8 3 жыл бұрын
How can add rm333 remote control to ifan03 receiver?
@digiblurDIY
@digiblurDIY 3 жыл бұрын
It should just pair up with it out of box. It is 433mhz
@crazyhq270
@crazyhq270 2 жыл бұрын
How do you attach this thing to wall.
@digiblurDIY
@digiblurDIY 2 жыл бұрын
I put it in the electrical box housing.
@emf9
@emf9 4 жыл бұрын
Really wish it came with the correct capacitor for the US
@digiblurDIY
@digiblurDIY 4 жыл бұрын
Yes! I have been constantly working on them to make an additional SKU.
Sonoff iFan02 smart fan controller
17:29
Csongor Varga
Рет қаралды 47 М.
Was I Wrong About The Sonoff NSPanel Pro?!
13:25
Everything Smart Home
Рет қаралды 214 М.
这是自救的好办法 #路飞#海贼王
00:43
路飞与唐舞桐
Рет қаралды 99 МЛН
бабл ти гель для душа // Eva mash
01:00
EVA mash
Рет қаралды 6 МЛН
This dad wins Halloween! 🎃💀
01:00
Justin Flom
Рет қаралды 57 МЛН
the balloon deflated while it was flying #tiktok
00:19
Анастасия Тарасова
Рет қаралды 35 МЛН
Регулируем микроклимат в санузле с Sonoff ifan03, TH16 за $50
12:13
Стройка Народный дом
Рет қаралды 4,8 М.
I WISH I Had This Sooner! - Sonoff NSPanel Manager
15:53
Mark Watt Tech
Рет қаралды 51 М.
Sonoff IFan04: Converti Il Tuo Ventilatore A Soffitto In Intelligente E Domotico
17:02
Salvo Russo (Come si fa?)
Рет қаралды 3,7 М.
Ewelink SONOFF IFAN03 | BUKA KOTAK | SMART SONOFF MALAYSIA
8:06
这是自救的好办法 #路飞#海贼王
00:43
路飞与唐舞桐
Рет қаралды 99 МЛН