After I saw your video I purchased the sonoff basic and customized it according to your explanations and it works perfect with my chamberlain ml 4000. Thank you!
@csongorvarga4 жыл бұрын
I think you are the first person who told me he purchased something because he has seen my video. I am glad that all worked! Enjoy.
@richardmusicland88815 жыл бұрын
This video is very good for smart device DIYers. Very brilliant idea. The drawback is you are not able to tell the status of the garage door. Not able to check the status of door is just half of the whole purpose of having smart garage door. There are some very similar devices cost less than $50 that came with similar setup plus a door sensor that can provide the status of the door. Spending couple hours cutting and soldering, installation might be a good weekend project. If time is essential and status is important for you, you might just buy directly. I am not trying to deter the experiement of this amazing product. In stead ,I am trying to help you decide before trying. You are trying to install a device that give you function to open or close only. If you want to try or already installed this design, You can buy separate wifi window sensor to amend the missing function. The cost is less than $30. Thank Mr. Varga for this excellent idea, work and video. BARVO !!
@csongorvarga5 жыл бұрын
Thanks a lot. Yes there are quite a few products out there. Still this video proves to be very popular. Either people are not aware what else is out there, or reluctant to spend the extra bucks for a purpose designed garage door opener.
@3SaukTrail4 жыл бұрын
I have all 4 of my shop doors equipped with these modified Sonoffs. Thanks. They work perfectly. My son sent me an $80 opener that looked suspiciously like a Sonoff Basic in a black case. I thanked him and sent it back to him (with his approval) with one of the modified Sonoffs for his garage door. He was amazed! I have Sonoff Basics and 4 channel pros all over my shops to control everything including my two 220V upright compressors. I use Google Minis and can control everything with my voice.
@csongorvarga4 жыл бұрын
Wow, thanks for your response. I have a 4CH Pro now, and I will definitely want to make a new video how to use that for a door opener. It looks like many people are willing to make the hardware mod but I am sure there are more who are less comfortable making these changes. And at least they could do with 4CH Pro.
@matt.ny845 жыл бұрын
I was expecting something complicated and it was really simple.. nice job!
@CarlPaulsen5 жыл бұрын
Excellent, just modified mine and now have Google opening and closing my garage door! I also put a CCTV camera in there, great for accepting parcels when we're out! Thanks so much...
@cidadaoPPT5 жыл бұрын
Have the exact same door opener :) would love to see a picture of how it is connected to the sonoff
@dmfieldbds4 жыл бұрын
Just what I was looking for. I couldn't work out how to do it myself. Thank you for posting
@MrGuillo56 жыл бұрын
My garage door is working great!!! Great video and appreciate your patience!.If you are ever in Florida, beer is on me!
@dennis_90395 жыл бұрын
Bill Perez do you have 5G net work man, if you do how did you connect it
@tiggerci4 жыл бұрын
@@dennis_9039 Go to your settings on your router. Turn off 5g connect your sonoff. Then go back into your router settings make the sonoff device 2.4g only. Turn your 5g back on. It's aggravating but it works.
@kujtimganiji17044 жыл бұрын
Can you tell me, where he connect the output in 24dc on the motor or in 230AC voltage in motor
@kujtimganiji17044 жыл бұрын
Or the output sonoff its just a connection in 24 Dc
@tomgle6 жыл бұрын
Good video. Newer garage door openers use Security + 2.0 which means a simple switch contact will not activate the door. You can get around this by buying a Security + 2.0 smart button on eBay and then hack into the button contacts to hook up to the Sonoff. The Security + 2.0 Smart buttons communicate serially over a 2 wire interface to the door opener.
@dmtycn5 жыл бұрын
Or just use the current remote controller .
@teleonline90585 жыл бұрын
@@dmtycn how is that one?
@dmtycn5 жыл бұрын
@@teleonline9058 I saw a guy use this sonoff to replace the remoter button, short means push down the remoter, then your current remoter works.
@rodolfoahsantos4 жыл бұрын
Thanks for this ideia! I had a sonoff switch on the shelf and now it's working perfectly on my garage!
@Lemon_0154 жыл бұрын
Great video ! Rather than wiring up to garage motor, I've wired this up to my remote control. Soldered the L and N onto the garage remote board and it works great ! I tried without cutting to test and it blew up one of my remotes. Lucky i had a few remote fobs. Thank u again!
@davidcast27054 жыл бұрын
Hi can you explain that more detailed please?
@dleland715 жыл бұрын
Great video! I made your modifications to a unit, buried it in a Mr. Coffee pot. With the inching mode I can either use my phone or my Google Assistant. Beats walking on a cold floor in the winter barefoot to turn the coffee on! =:-) There's really no limit to what you can do with little boxes...
@mw71854 жыл бұрын
Dave Leland why would you want to modify the sonoff to just use it for a coffee maker. This modification is only for opening the garage door
@rudinielsen32692 жыл бұрын
Great video, very easy to follow. Clear, concise without assuming too much prior knowledge from your audience.
@1957Panman5 жыл бұрын
The New Sonoff boards are different. I decided it was best to remove the relay because there's a Fuse (F1) almost touching the relay (with tracing on the top that has to be cut). I used a dremil to cut all the way through the board tracing, then replaced the wire from the terminal through my cut on the board to the relay pin on the back. Thanks to Csongor for making the Video. *If you can't Hack/Mod the board just use a Relay with a 110 Volt coil and NO Contacts and you and it will work the same.
@samiranand2345 жыл бұрын
Excellent, helpful, clear and simple video. Many thanks! I managed to get this going quite easily, however I did find breaking the connections and ensuring neat soldering changes a little challenging. Been too many years since I did these things.
@kevanswift77975 жыл бұрын
Thank you for uploading this, was trying to think of a way to do it and it was getting far to complicated. This very easy. Again thank you.
@deanrhodenizer9384 жыл бұрын
Greetings from Canada and Thank you, Useful video. As of this writing 2020 Feb 20 you have 199,716 views and have somehow managed to get 140 people to say they dislike the video. There were no complaints among the comments that I could see. I realize the percentage (0.070 %) means that the dislikes are immaterial, but I am quite perplexed by what objection anyone could have.
@csongorvarga4 жыл бұрын
Cheers, I think they may dislike due to quality. I could make the same shorter more professional if I had scripted the video, etc, but that is not that channel :)
@ajarivas723 жыл бұрын
@@csongorvarga : I think the dislikes are from one source: People hit the wrong option (dislike). It happens to me very often.
@pasanjayasinghe3375 Жыл бұрын
Kindly send me the wiring diagram picture about how to apply the sonoff device for garage motor..thanks
@michelevitarelli3 жыл бұрын
thank you for taking the time to create and share this video. I was able to modify my sonoff with your clear instructions.
@rudiexx4203 жыл бұрын
I wish I did watch your video before I fried my PCB in my garage door. I planned to put an external relay (and forgot-hence made a mistake!) but this is better! Very informative. And now excuse me but I have to order a new pcb from TorTechnik kft. Koszi Csongor, ez nagyon jo otlet!
@rickynightingale52395 жыл бұрын
Please give detailed instructions concerning connecting the sonoff to the garage door motor. What is connected to the input side of the sonoff, what is connected to the output side of the sonoff, etc, etc Thanks
@Plankton7435 жыл бұрын
Since sonoff now has inching mode, you are now able to do a momentary pulse. It’s the same as doing a momentary press on your garage door button. If you do the EXACT SAME THING that he did, you need to power your sonoff with 120volts to the INPUT side. Hot wire to “L” and neutral wire to “N”. You need to make sure that you pick up the power to the sonoff from a receptacle not a switch from a light, that way you don’t cut the power to the sonoff. Doing this will power the internal components which then closes the relay on your command. The OUTPUT side of the sonoff gets connected to where your garage door push button is connected. Follow the wires from the bush button to the garage door motor, and you’ll see two terminals. That’s where they get hooked on to. Just remember to do the EXACT same thing that he did by isolating the relay input from the output and soldering the little jumper in between. If you don’t isolate it, you will have 120VOLTS to your garage door low voltage side and it will fry it. If you don’t feel confident modifying the sonoff basic, they do make another controller that already has the input side isolated from the output. Hope this helps
@Aurems5 жыл бұрын
@@Plankton743 can i connect 220v to sonoff then to opener? as i live in uk?
@nazhif15 жыл бұрын
Tadis Fpv should be. The sonoff is multi voltage.
@cfgdr35 жыл бұрын
@@Aurems The answer is yes. Specification for Sonoff Basic: Voltage range: 90-250v AC(50/60Hz) Max current: 10A Max Wattage: 2200W
@kaib92035 жыл бұрын
Thanks for this one! Thought about it a few times and never knew how to figure it out. Great job!
@landbelowthewind11 ай бұрын
Excellent idea, the other alternative is just to add a small relay at the output to energize it and use the normally open(NO) side of relay to activate the door. this will ovoid cutting the board.
@leglessinoz5 жыл бұрын
I did the hardware mod to a Sonoff Dual a while back.
@IQFungNet25 жыл бұрын
Just let you guys know, you can get the SonOff wifi Relay switch with USB power or 6 volt input. If you don't want to connect directly to garage opener, you can soldering the relay wires to the remote control toggle switch. The relay switch works with computer and any low voltage toggle devices. I don't recommend hanging a AC power line next to a metal bar.
@bikertosh6754 жыл бұрын
Hi Mikey, I would like to have more info how to connect it to my remote please as i would love to have my garage doors smart connected, much appreciated Cheers
@howardlund76693 жыл бұрын
Both my openers operate just on voltage high only, they won't care how long the contacts are closed. The update is handy, but not essential if you don't mind clicking the app switch off & on again. Shelly have an alternative that'll work out of the box, but their range isn't as comprehensive as Sonoff's if you have more smart home stuff.
@csongorvarga3 жыл бұрын
ah ok. Most of the openers I worked with use dry contacts. Good to know.
@ethelmini3 жыл бұрын
@@csongorvarga they're still "dry" they just operate when a connection is made between them. They are oblivious to how long for or when it's broken.
@robertaaime21214 жыл бұрын
Great Video, thanks. These cheap little Sonoff switches are so handy. I have like 10 of them.
@thecasualfly3 жыл бұрын
I've had mine for over 2 to 3 years using daily and haven't had to replace any yet
@builderpop5 жыл бұрын
Thanks for your effort. Both of my doors now have your sonoff mod and work with google assistant.
@julienhonor58693 жыл бұрын
Thank you really much for this smart improvement! Exactly what I was seeking for!!
@julienhonor58693 жыл бұрын
Hummm, seems I haven't the same version as you (rev2 if I remember)... But I understand that I've to cut neutral from the input and live from the relay. Maybe I've to remove the relay... I'll find how to figure it out, tomorrow - now it's time for me to sleep...
@VegasGuy891835 жыл бұрын
Great video! It was very helpful to see how easy it is to update the firmware with the eWeLink app. I had two old Sonoff Basic switches that I was no longer using due to the super invasive permissions the eWeLink app requires. Rather than installing the app on my new phone, I got around this by installing eWeLink on an old phone I no longer use. I installed the app and updated the firmware and settings. I turned the phone off and put it back in the drawer. Now I control the Sonoffs with Alexa and the Alexa mobile app. It works great! Thank for a great idea! Rather than cutting the traces and solder, I decided to leave the Sonoff as it is and add a simple 110v relay ($1.55 US, free S&H).
@dleland715 жыл бұрын
Good idea!
@mississippiqueen21642 жыл бұрын
Note: this does not apply to the new model. I took one of my older ones and did it and whoa for some reason it blew the 10 ohm resistor! Soldered in a new one and all is good. Thanks!
@JavierSanchez-ix9vj Жыл бұрын
That was exactly what i need. Thanks a lot! Cheers from Argentina.
@raptr495 жыл бұрын
Great video. The new version of the Sonoff Basic has a totally different board layout, but I was able to mod it without any issues to achieve the same results.
@kennycreten5 жыл бұрын
@Dieter Would it be possible to share how you have done it?
@raptr495 жыл бұрын
@@kennycreten Here is a link to a short presentation on how to do it. Hope it helps. kzbin.info/www/bejne/g4mqp4KGepyLpZY
@kennycreten5 жыл бұрын
Thanks a lot! Appreciated!
@jimmartin53185 жыл бұрын
@@raptr49 I, too was looking for a way to mod a version 2. Thanks for saving me a headache. Prices are going up for Sonoffs. I pd 6.49 on amazn 2wks ago, now they are 6.99.
@CharlieSouthall4 жыл бұрын
Hey, thanks for this video guide. Very clever and really well described. I wondered if you would be kind enough to offer me some advice. I’m trying to set up a cellar door to open/close via a voice command (with Alexa). The cellar door currently has a manual rocker switch, which is zero voltage. Positions are raise/close and the middle position which is clicks back to is stop. In order to open or close the cellar door, the switch must be held in open continuously, until the door reaches the fully open position. Same with closing, it must be held constantly until closed. I am trying to figure out which smart switch will work best to control this cellar door. I know the app has a timer, which is perfect, so once a connection is established by a smart switch, it can be kept switched for a set duration. However, the open wire is different to the close wire. Three wires in switch in total. Blue, pink and yellow. When blues touches pink, cellar door opens. When blue touches yellow, cellar door closes. Any advice is greatly appreciated.
@csongorvarga4 жыл бұрын
I assume the motor which operates the door uses mains power. In that case I suggest a 2 gang TX wall switch. These have an interlock function, meaning one gang switches off the other gang. The only thing I have not tested, if the inching function (auto off) also works in interlock mode.
@CharlieSouthall4 жыл бұрын
Csongor Varga - The motor is in fact 24volt, however it is fed from a control unit, which decelerates the motor, as it approaches fully open or closed, to avoid a hard finish. The control unit is mains power (240v) However, the switch wire, which I intend to tap into, is a zero voltage switch. So we can not push any power through the wires. They are just simple switching wires. The problem I am having is to find a smart switch device which will enable a ‘open’ option, which makes a timed (inching) contention - but also has separate terminals for ‘close’.
@guillaume76845 жыл бұрын
Hello, thank you for this video. Is there a risk if I forget to put the contact back on OFF, and that I leave it longtime on ON? Thank you.
@csongorvarga5 жыл бұрын
The garage door openers usually expect a short pulse. I am not sure how your unit will respond. If I leave mine on for a long time, it will stop the door after a few seconds.
@ajarivas723 жыл бұрын
If I leave mine ON, nothing wrong has happened. Motor keeps working and gate closes or opens normally. I just have to turn it off to use it again
@mamsongmai6 ай бұрын
Many thanks for sharing. Is there anyway can you know the garage door open/closed while you away from home?
@csongorvarga6 ай бұрын
Not with this unit. I can suggest a separate zigbee door/window sensor, or I have reviewed a purpuse built garage door unit years ago which has a open/closed sensor: EACHEN GD-DC5
@nickparr31533 жыл бұрын
Very simple, safe and well implemented.Nice and clear
@rockm43665 жыл бұрын
Thank you very much for this solution, you are a genius! I just did the same procedure and worked like a charm ! I was using before a external relay in addition to the Sonoff switch, now I don't need it anymore!
@philippekawa70225 жыл бұрын
hello rock what is the brand of your garage door motor? promatic? thank you for your reply bye
@seanseoltoir Жыл бұрын
I created an Arduino controller and remote to control my garage door a few years ago. Security was accomplished by a "challenge-response" type protocol that I designed... Basically, it would send you a number and you had to respond with another number based on a mental calculation of a response number given the challenge digits... Eventually, I needed to replace my garage door opener and I discovered that the new ones had "increased security" that made it so that a relay connecting the wires for a short time would no longer work... Whereas the old garage door wall switch was just a momentary contact button similar to a standard doorbell button, the new switch had a circuit board in it and there was some sort of messaging protocol that they used... This allows them to still have a 2-wire connection, but be able to control multiple garage door openers and lights... Your system would have a similar problem with this type of garage door opener...
@csongorvarga Жыл бұрын
Wow interesting, I never thought these things exists. Although if you are installing the switch inside the hour, I don't see the point of the added security. I mean you are side, you could unclip the door and roll it up. It this all about selling more stuff to you?
@seanseoltoir Жыл бұрын
@@csongorvarga -- Assuming you mean "house" instead of "hour" and "inside" instead of "side"... The remote was for inside the car... Being an older garage door opener, it did not have the latest rolling codes security mechanism and as long as it was working, I really didn't have any incentive to replace it... Replacement remotes were probably more expensive than creating this... But I already had most of the parts from other micro-controller projects that I've done, so I really didn't need to buy much... I'm retired, so I have plenty of time on my hands to do this sort of thing IF I can just get motivated... :) The challenge and response messages were obfuscated by placing the few actual bytes of data inside a 1K buffer that was populated with random numbers for each message... This was also encrypted, albeit not with a very robust encryption method since the micro-controllers were rather limited in memory and speed... The algorithm for the response needed to be something that the user can mentally answer easily enough... It could be something as simple as repeating the challenge digits back in reverse order or doing some sort of mathematical operation on the digits... Because it is using a different frequency and communication protocol than any of the normal garage door remotes, anyone using any sort of sniffer to capture codes would likely see it or know what it was even if they did see it... If they really wanted in the garage, they could just grab a sledge hammer and go in through one of the walls, so the security only needs to be as robust as it would take to either encourage them to go to an easier target or to use a brute force means to breach the door or walls... Basically, the idea is that there is no reason to have a vault door on a room that has sheetrock walls... :) After getting the new garage door opener, I could not tie directly into the wires to the remote wired switch, so I modified the micro-controller code a bit to have it control the power for the entire garage door opener via a relay... Basically, the garage door opener is powered down when it is not in use, so even if someone was able to capture and utilize the rolling codes, it would do them no good since the unit is not powered up... This same thing could be accomplished by using the SONOFF controller and I might consider doing that at some point... I just received yesterday a SONOFF BASICR2 that I had ordered off of AliExpress and started fooling around with it... Typical slow boat from China type delivery -- a bit over 2 months... I haven't decided if it is secure enough for my needs, but for $5.30, I thought it was worth a look to see if I might could find a use for it...
@ricardrinaldo47915 жыл бұрын
Perfect, this is exactly what I was looking for, thank you so much.
@yoiburger695 жыл бұрын
With the new update giving the "inching" function, do you still need to do the hardware mod (the physical cutting)?
@csongorvarga5 жыл бұрын
Yes, otherwise you put live voltage to your garage motor which will likely destroy it.
@kukal13 жыл бұрын
Hello I have question. If you set up in application for 0.5 sek iching , how the button on device ( on soffon this small black one) is reacting?? the same as impuls or button is on permanent?
@2lazy2bother2 жыл бұрын
Would that work the same for the RF2 or RF3 models which can also be linked to the FR Remote for operating the door ???
@ahmetsevik3 жыл бұрын
This is great job and i serach very much how i can solve my problem with sonoff... THANK YOUUUUUUUUU....
@pablosalto4 жыл бұрын
Great job. My sonoff basic has a different hardware configuration , but I did it. Thank You !!
@CyberlightFG4 жыл бұрын
If you use the Sonoff RF, you could exchange the very expensive remote control with really cheap Sonoff remotes. Thanks for the idea. Sadly, there is no usable wifi in my garage.
@csongorvarga4 жыл бұрын
Ah that is a good tip. I have a few Sonoff models, but never owned and RF. Just remember that these cheap Sonoff remotes do not use and coding in the RF signal. They are like the very old garage door openers, where the RF code can be listened and replayed by a 3rd party. This is why the genuine garage door remotes are expensive.
@CyberlightFG4 жыл бұрын
Mine is 868mhz unencrypted anyways. There is nothing in the garage but the car. The remotes are still expensive. 45€ each and I would need 4. I bought no genuine ones for 8€ each. The battery won't last that long, but I'll just try it.
@csongorvarga4 жыл бұрын
@@CyberlightFG Sure, good thinking. I was just saying. I added a motion sensor to the garage as well, so if the garage door is compromise the alarm will still go off.
@zeeshanuk1 Жыл бұрын
Nice work dear I really appreciate good job
@vtechun5 жыл бұрын
Hello! Hozzám került egy ilyen. Pont ilyen megoldásra lenne szükségem, viszont amikor FW-t frissítettem rajta, 90%-nál megállt (1.5.5 volt rajta azt hiszem). Második nekifutásra meg már nem is ad életjelet. Szerinted mi romolhatott el benne? Olvastam olyat, hogy az ABS8 dióda "romolhatott" el. Létezik szerinted ez? Köszi!
@theserialpre10der5 жыл бұрын
The Sonoff SV does require a minor hardware mod to make it a ‘dry contact’ (no voltage) Relay also. I would recommend using the Sonoff SV (Safe Voltage) for this purpose instead of the Sonoff Basic. The SV can operate on 5-24V DC which is much safer than 240V AC input.
@aronzbick72355 жыл бұрын
I bought a Sonoff SV for this purpose. Do i need a different firmware for this to work? Did you get this to work?
@daviddesouza50936 жыл бұрын
Just what I initially needed. Now how can we remotely check the garage door open/shut status please?
@gregb10085 жыл бұрын
Thank you Csongor! Just what I was looking for. Works Great!
@csongorvarga5 жыл бұрын
I am glad that this helped.
@DD-ov2kp10 ай бұрын
Thanks for this!. I was debating on wiring a contactor switch to my Sonoff to get dry contact functionality for my MAME cabinet and discovered your mod to convert the Sonoff to a dry contact relay. I am using your mod to turn on/off a MAME laptop (wired to power button).
@Joe_SG5 жыл бұрын
Can you provide wiring details to the opener? I have the same door opener but no instruction manual. I’d love to do this to mine. I just need to know where to connect the live and neutral to
@thecasualfly3 жыл бұрын
I didn't see a part about the main switch into house .. does that still function
@MrCruiser666 Жыл бұрын
Szuper érdekes a csatornád! Az garázsnyitó miatt nem mókoltam szét a Sonoff-ot, inkább relay -vel oldottam meg! De az ötlet király!
@csongorvarga Жыл бұрын
Igen, jó megoldás. Főleg mert ezt az első verziót már szinte nem is lehet kapni, és az újabb modellekben már annyi cucc van, hogy ott már ezeket a vágásokat meg sem tudom csinálni.
@EpicLPer5 жыл бұрын
I wonder if this works with one of those cheap 15 bucks smart switches on Amazon too, I have a couple of those and I love them. You can even power them from 5V which is great and would mean they're perfect for this application!
@csongorvarga5 жыл бұрын
I am sure it does. Somebody commented a link a few weeks back. I included that in my follow-up video. That also needs an external supply (that uses a micro USB if I remember correctly). So yes, there are alternatives, although a bit more expensive than a Sonoff Basic.
@EpicLPer5 жыл бұрын
@@csongorvarga I'm trying to convert my plug into a switch like you did right now. For 12€ (about 14$) via Amazon and almost next day shipping I definitely can't complain for the price haha :) If I'd order a SonOff Basic it'd only cost me 5 bucks tho but it'd take about a month to arrive so yeah, those few bucks more and faster shipping is definitely worth it I think.
@TouaregV105.02 жыл бұрын
The garagedoor motor have PE GND PB 24V. Which one do i use to Connect with this one
@TSalem523 жыл бұрын
Thanks and greetings from Egypt 🇪🇬
@rwrawls4 жыл бұрын
Thanks. This works great and was easy to mod and install. Waiting for door/window sensor to use to let me know status (open/closed) of garage door. Thanks again.
@NSAj-ib5jq2 жыл бұрын
There is option to turn device on and off for short time. Go to app option and select (inching) then select the time you need.
@csongorvarga2 жыл бұрын
Yes, this was not available back in the day when I made this video.
@NSAj-ib5jq Жыл бұрын
I believe it's available check this video at 9:20 😁 . Regards
@AZTechLabs5 жыл бұрын
TY sir. I was going to put a toggle relay on the other end but this is easier. Gives me more ideas now too.
@kenwood47644 жыл бұрын
Looks straight forward to me. Only question: how does it plug into the opener mechanism?
@csongorvarga4 жыл бұрын
That is different for each garage door opener. Usually there are 2 outputs for an external opener where usually a switch is wired. You need to check the manual of your opener.
@davidtait71942 жыл бұрын
Being a total NOOB here, is there a diagram showing as to what wires go into the "input" side and what goes to the "output" side? On my gate motor I have a spare trigger, but for the garage door, I am not sure. thanks
@joe183246 жыл бұрын
Very Nice, I have been thinking about this but was unaware of the new "inching" feature. The proper term would be "momentary" Your mod makes it so simple for this and many other applications.
@csongorvarga6 жыл бұрын
Thanks. It seems inching been used elsewhere, but "momentary" would be my chose too. Maybe it gets renamed in a new release.
@anthonyrossetti75096 жыл бұрын
@@csongorvarga here is a much better version www.instructables.com/id/Sonoff-Garage-Door-Opener/ see my comments for how to do this method without cutting traces or modifiying your sonoff basic in any way here is the diagram , the top is how the sonoff basic is normally and how it is supposed to be wired to control main voltage devices like lights, the bottom is my diagram on how to wire it to switch things without them being connected to mains voltage cdn.instructables.com/FK0/O16O/JI0JOBH2/FK0O16OJI0JOBH2.LARGE.jpg this indestructible project has a sensor on the GPIO pin for state reporting this guy used a simple NO magnetic reed switch setup but you could use a simple arduino mini or nano with an ultrasound sensor and a relay instead of the magnetic reed switch if you can not mount the magnet and reed switch on your door setup
@csongorvarga5 жыл бұрын
@@anthonyrossetti7509 I wanted to keep the original firmware for those who would not go as far as flashing the ESP.
@anthonyrossetti75095 жыл бұрын
@@csongorvarga can you use It with Alexa and GA with the original FW?
@csongorvarga5 жыл бұрын
@@anthonyrossetti7509 Yes, you just need to say something like "Alexa turn the garage door on". I don't think it would accept commands like "open" or "close". And when you wan to close the door you have to say "on" again.
@pasanjayasinghe3375 Жыл бұрын
Kindly send me the wiring digram picture regarding how to apply sonoff device to roller gate..thanks
@mrmarque03 жыл бұрын
Neste vídeo mostra que o toggle de 0,5s funciona pela aplicação e pelo botão do controlador. A minha questão é: e pelo comando RF funciona igual?
@markscheiner39526 жыл бұрын
Good tip. Thanks for posting. Do you think something like the Sonoff could be used to automatically turn on one machine when a second one starts up and if so how it would be done? Looking for an inexpensive way to automatically turn on a dust extractor when a tablesaw or planer starts up. Thanks
@csongorvarga6 жыл бұрын
Thanks. I assume you are turning the tablesaw and the planer on manually. So I would go for a general purpose timer circuit (non-smart one). Those usually have many different modes that would be ideal for your case. I made a video of a HY-05 trigger module in the past. Quite popular video of mine. kzbin.info/www/bejne/m4WWephnl7KegM0. Or even simpler: get two mains relay (coil is also mains rated). Tap off the switched mains power from the tablesaw and planer each going to one of the relays. The contact side of the relay goes to the dust extractor. Either of your tools will trip one of the relay which will turn the dust collector on. And will turn it off once all your tools are off. If you want to run the dust collector a small amount of time after the tools, you need a trigger module with a delay mode.
@markscheiner39526 жыл бұрын
Thanks very much for your reply. Very kind. Will watch your video and see if I can figure it out. Cheers
@VichoTT6 жыл бұрын
What does EWeLink firmware version are you using?, because the current firmware 3.5.6 released on dec 27 blocked inching on some devices. Now I can’t see inching option in my sonoff basic
@csongorvarga6 жыл бұрын
Interesting. I also have eWeLink 3.5.6 and I still see the options in Sonoff Basic. Could this be that it is a different Sonoff Basic not on the 2.6.1 firmware?
@VichoTT6 жыл бұрын
Ok, this seems to be the problem. Support.itead note about fw 3.5.5 version-> Note: All the Sonoff devices must be upgraded their firmware to v2.6.0 or above to have the two new features ( but Sonoff TH10/16 is 2.7.0 or above).
@obijuan-2 жыл бұрын
Mr. Varga, I figured out how to turn the Sonoff Basic RFR2 into a dry relay and installed it on my door. Works great. Now, I have the extra benefits of using a 433 MHz remote control to open my garage and retained the voice and app capability of the Basic. I owe you. I could not have done it without this excellent video on how to hack the Basic. I simply found the same reference points on the RFR2 that you show us on the Basic V1. Works great.
@eWeLinkSmartHome5 жыл бұрын
Hi, thanks for your fantastic tutorial, we learned a lot from you guys too.
@csongorvarga5 жыл бұрын
You are welcome!
@saeedhossain60995 жыл бұрын
If in the event of a power cut, does the door motor automatically get a signal from the sonoff due to the power cycle? Also do you have plans to add a Reed switch/door sensor to a gpoi to indicate if the door is open or closed?
@csongorvarga5 жыл бұрын
You should set the power on state to off, so there is no signal when the power comes back. I am not going to add a reed switch. Standard firmware is not monitoring external inputs. If you need that, there is a specific product for it: Eachen DG-DC5
@christis1975aАй бұрын
Thanks it’s working 😁garage now opens with my Apple Watch 😊
@bobpal3775 жыл бұрын
I ordered a Sonoff basic to do this project but received the newer version with wires instead of the traces for the mains power. This makes it easy to disconnect the mains from the output but I don't know where to bridge to the relay. Can you make a video of this project using the currently shipping model for those of us just getting into Sonoff. Thanks.
@csongorvarga5 жыл бұрын
I also ordered mine recently, and still got the older version... where did you get it?
@bobpal3775 жыл бұрын
It came from China via eBay seller www.ebay.com/itm/Sonoff-Basic-Smart-Home-WiFi-Wireless-Switch-Module-For-IOS-Android-APP-Ctrl/323409941713?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2057872.m2749.l2649 I found the picture in the comments below but it is not clear to me what exactly needs to be done with that limited info. Thanks.
@csongorvarga5 жыл бұрын
@@cartonneexpressable I got it from Banggood, but probably back in September or October. So it has been a while, but not years.
@raptr495 жыл бұрын
I modified the new version switch. Here is how I've done it. kzbin.info/www/bejne/g4mqp4KGepyLpZY
@FluFilmPro4 жыл бұрын
well done. I needed this thing to work as a switcher of the 12v device. it was not possible with its current state. I was planning to use it switching an extra relay. but now I can use it switching 12v device...
@csongorvarga4 жыл бұрын
You can also check out Sonoff SV. It run off 5V and the relay can switch any voltage. That is the easiest option.
@FluFilmPro4 жыл бұрын
@@csongorvarga thanks a lot
@RanjitAdhikari2 жыл бұрын
Hello, I do each step exact but at last out put continuity is not working can you help me?
@wmizzi4 жыл бұрын
This is great, thanks. I'm trying it out now. Is it necessary to connect a neutral wire at the input? Its not connected to anything, right?
@csongorvarga4 жыл бұрын
That is needed to power the Sonoff basic itself. So it is needed, but with the hardver mod is should not be connected to the output.
@TheHishamManna2 жыл бұрын
Hi, can we integrate this into home assistant? Or will it lose the inching functionality?
@mincaEURO4 жыл бұрын
Hi, nice tutorial, I've tried it also cut the board, but there is still connection on my sonoff (6:11 in ur vid), got no idea how where it comes...
@alanfalck11842 жыл бұрын
Nice explanation, thanks, I wonder why Sonoff don't make a relay-only switching device?
@lw14195 жыл бұрын
CVarga, you were correct after a few times of opening/closing settings I did get the screen with “inching” on it. Everything is done per instructions, all tests are confirmed as per instructions, problem I’m still having is the relay never opens/closes, and a continuity check at output side shows nothing, any ideas where I may have messed up? LW
@williammckinney47225 жыл бұрын
Hi. My Sonoff basic has wires instead of the soldered tracks. I don't know if its newer or older than the one you used. Anyway do you know where i should cut or grind to achieve the same result?
@csongorvarga5 жыл бұрын
Yes, there is a R2 and R3 version. Those are more compact and I find it almost impossible to cut the traces without damaging something else. So I would rather recommend using a mains relay on the output.
@williammckinney47225 жыл бұрын
@@csongorvarga Ok thanks for the help, I will endeavour to find the same model you used or a mains relay is also a very good idea. Thanks a million for the help.
@rolandpinter25874 жыл бұрын
Hello Csongor! Ügyes munka! Meg lehet ezt csinálni a sonoff mini-vel is?
@csongorvarga4 жыл бұрын
Szerintem igen. Egyszer szétszedtem de most nincs előttem a nyák. Igazából a kérdés mindig van van-e annyi hely az alkatrészek mellett hogy el lehetessen vágni. Legrosszabb esetben egy 220V-os relét kell rákötni.
@broderp4 жыл бұрын
Will this work on a MESH network? I have has some switches state (and verified) that they don't.
@singlanand5 жыл бұрын
Thanks for the video.. I have a motorized somfy curtain controller... it has 2 separate live wires for opening and closing the curtains and 1 neutral.. how will it work with that?
@csongorvarga5 жыл бұрын
It will not. That requires two separate input. Probably the best to use one of the 2 gang wifi switches from Sonoff, for example one of the TX models. They have an interlock function, so when you press one of the switch which is for example open, it closes the other switch (which would be close) and vice versa.
@singlanand5 жыл бұрын
@@csongorvarga thanks for the quick response!
@kimnielsen93206 жыл бұрын
That is a great mod ,thank you for showing how it is done .
@csongorvarga6 жыл бұрын
Thanks.
@99SHS5 жыл бұрын
what about the new sonoff? does it need some modifications to it?
@PanHrabiaKamil5 жыл бұрын
Same here...
@46pmw5 жыл бұрын
Thank you, good video and helpful information. Csongor what Firmware version are you using? My Sonoff Basic appears to be up to date with 2.6.1 and I'm not getting the "inching" option.
@csongorvarga5 жыл бұрын
2.6.0 was the latest version when I recorded the video. You can see it at 9:02. If you have just upgraded the firmware, go out of the settings screen and back. My Basic was on 1.6.x when I bought it, and did upgrade to 2.6.0. The Inching option was not visible, so I had to go out and back again to show.
@46pmw5 жыл бұрын
@@csongorvarga Thanks again, have checked just now, definitely showing inching. I'll be setting up on my garage door after surgery on Sonoff board as displayed on your video. Your code will meet my needs and I've also had a look at Ewald's Do Anything Button. Have been coding ESP8266 and now ESP32 spasmodically over the last couple of years.
@csongorvarga5 жыл бұрын
@@46pmw You can do a lot more with bespoke firmware(like sensing the door state), there was a couple of links in the comments section already. But there are so many of us who are not ready to make that step.
@Rubb3rDuck014 жыл бұрын
Forgive my limited knowledge. What makes it so you can't just run a jumper on the 2nd side? :)
@conandmore54033 ай бұрын
I want to make the same modification but with the sonoff basic RFR2 (the version with rf and WiFi control) I will follow the same steps in this one ?
@csongorvarga3 ай бұрын
I tried but could not. The pcb is much more tighly packed and I could not find a way to make the necessary cuts.
@apkelesispre5 жыл бұрын
Nice video.. keep going.. Hello sorry for my english.. if we use a 220v relay we can get dry contact without damaging the sonoff.. am i right? We programming the sonoff inching and we are ready.. i am not judging you.. thanks for your time. Just asking for an opinion..
@csongorvarga5 жыл бұрын
Yes, you can use a 220V relay and use the output of that as a dry contact.
@apkelesispre5 жыл бұрын
@@csongorvarga thank you!!
@FestusHaggen15 жыл бұрын
I believe I bought the newer version of the Sonoff basic, and it doesn't have all the soldering like this one in video. Is there any way to do it with the newer version of the Sonoff?
@csongorvarga5 жыл бұрын
Yes, I have also ordered one which will hopefully be a new version, so I make an updated video. Until than here is another: kzbin.info/www/bejne/g4mqp4KGepyLpZY
@lw14195 жыл бұрын
C Varga, excellent vid, I plan on doing this as well, did it with a sonoff basic and a relay, but I’ve got such a gaggle of wire hanging there, that this will make it so much simpler. Question I have though on the new garage door openers, like someone said, they use different security ( I believe it was security +2 smart button, have you ever used a sonoff with one of those? And where can I get that smart button?, I’ve looked but to no avail, any help would be appreciated. LW
@csongorvarga5 жыл бұрын
Yes, I read those comments, but honestly I don't know anything about them. This only works for the ones which has this external switch terminal. I find it strange that even a new garage door openers do not have that simple feature. I mean we should make the wireless remotes more secure, but most people install a wall switch in the garage to operate the door. Since the motor and the switch is inside the house there is no security issue.
@adrianopery5 жыл бұрын
Is it possible to do this change and do the Sonoff works with apple Homekit?
@LoopsFroott4 жыл бұрын
How does the Sonoff recieve power if the only two wires connected are the pulses for the garage opener? (I'm new to this)
@csongorvarga4 жыл бұрын
Garage opener connection is on the output, you still connect mains power on the input.
@joe183245 жыл бұрын
Hello again Csongor, would you happen to know what the "lan switch" option is on the sonoff basic ver 3.3.0 firmware? I was wondering it it would allow a schedule to run without internet Thanks
@csongorvarga5 жыл бұрын
Yes, I know. I am planning to make a video on that, but did not find the time yet. That means if you internet it off, you can still control the device over your local network via the app, when the phone is on the same network. So LAN control. Of course scenes will not work, but basic on/off, timer, countdowns will work.
@joe183245 жыл бұрын
@@csongorvarga Thank you for the immediate reply, I have to try this out. I need a timer to reset my modem and router weekly and as of yet nothing will work. This would be great with the inching function. Appreciate it
@csongorvarga5 жыл бұрын
@@joe18324 Yes, you can program 8 timers in Sonoff, and those are stored on the device itself. So they will trigger even if internet is offline. Just keep in mind that the device sync the internal clock with an time server on the internet. As long as it is powered, it will keep counting the time even if the internet is lost, but it there is no internet connection after it is powered up, it will just start the time from 00:00:00 like old alarm clocks when you unplug them. But if you only need a weekly reset, that does not matter.
@joe183245 жыл бұрын
@@csongorvarga Yes, thank you. I need 30 seconds. I'll let you know the results
@joe183245 жыл бұрын
Happy to report that it worked perfectly . I simply turned on the lan function and scheduled an off time then an on time one minute later and it worked fine without the router and modem having power. Thanks again
@CyrilHenry4 жыл бұрын
Hello thanks for the tips … but something is missing … with sonoff is there a way to have the status of the door ? Opened or closed or semi opened… actually except to add a sensor I don’t see any other solution … what’s you’ve done on your side ? I’ve almost the same garage door :)
@csongorvarga4 жыл бұрын
These devices are not designed to have any input, so the answer is no. I have reviewed ans Eachen device, which is designed to be a garage door opener which have a door sensor. That does what you need, but also cost a bit more.
@sammaimas1556 жыл бұрын
Will my original garage door remote control still work with this sonoff Basic door opener connected??
@csongorvarga6 жыл бұрын
I see no reason why not. All openers are different, but external switch is usually supported besides a remote.
@francorossomanno865 жыл бұрын
Hello, thanks for this awsome video. I was wondering if the duration of time in the inching mode was adjustable? If it is, up to how many seconds can it be set to? Thanks
@csongorvarga5 жыл бұрын
Yes, 0.5 to 3600 seconds.
@francorossomanno865 жыл бұрын
@@csongorvarga thanks for the response. Have you tried it to see if it actually works with other time settings? Also , have you tried it with any other model of switch? Thanks again
@csongorvarga5 жыл бұрын
@@francorossomanno86 No, I just used it on the standard 0.5 sec. And no, it is not supported by all the Sonoff models.
@francorossomanno865 жыл бұрын
@@csongorvargalet me know if you ever try a longer time with the basic modle. thanks for your time and your great videos
@ttrriippaa5 жыл бұрын
That needs an external 5v power supply?? Or it works whith the energy that the garage engine provides to the button?
@csongorvarga5 жыл бұрын
No, this uses 110-240V mains input, just like the original Sonoff Basic.
@ttrriippaa5 жыл бұрын
@@csongorvarga but how much voltage will the sonoff send to the garage engine? if I connect it to 110v? because I do not think the manual button opening works with 110v, I think it's in the range of 5 to 12v. I can be wrong, I do not have the manual to know
@csongorvarga5 жыл бұрын
@@ttrriippaa Well, my opener expects the two contacts shortened. Dry contact. This is why all this mod, as it should not pass any voltage to the opener. Like when you install a garage opener switch in the garage. It has no voltage supply, just a momentary switch which closes those terminals.
@michaelosmon4 жыл бұрын
Isn’t there a 2 channel version with 2 relay outputs? I just got the idea to add an electric strike to the pedestrian door in my garage
@csongorvarga4 жыл бұрын
There is a product called Sonoff Dual. I do not own one, have not seen the insides of it, I am not sure how easy it is to convert it. Or there is a Sonoff CH4 which has 4 outputs and do not require and hardware changes. And you have two extra inputs for something else.
@allankennedy48624 жыл бұрын
Circuit board has changed and now harder to do what’s suggested. Won’t a sonoff mini do the job without any modification?
@csongorvarga4 жыл бұрын
Yes, Basic R2 and R3 much more dense and difficult to modify. Mini is the same, best option is the Sonoff SV board. Or the new 4CH Pro, but that is a more expensive unit.