this is cool. props to Sonoff for continuing to make their devices easy to flash (and open up without adhesives and stuff). local control FTW!!!
@EverythingSmartHome3 жыл бұрын
Agreed!
@Leonvolt283 жыл бұрын
@@EverythingSmartHome Esp 32s are a nice bonus as well because they have bluetooth support
@ewanfletch796 ай бұрын
@EverythingSmartHome The YAML on your written article for the 1 Gang switch may have a typo - The relay on my M5 switch needed to be on pin: 23 - platform: gpio id: relay_1 name: "Button" pin: 23
@taqyon4 ай бұрын
Everything just worked. I'm amazed, thank you!
@MatterSec2 жыл бұрын
Is there a option within ESPHome code to have/set the dimmer function of these to work via HomeAssistant?
@nerijuspasakinskas95872 жыл бұрын
i have 2gang swithcman and only left LED shows status when relay is on or off, where could be problem? P.S. LED light switch turns both LEDs on
@baziking12 жыл бұрын
Thanks for the tutorial. In the video, you can see that when you click on the right button, the led light does not light up. I have the same problem. Please have you solved the problem with the right light coming on if the right relay is on?
@mistere23392 жыл бұрын
Note - The M5 1 gang switch I recently got has relay on GPIO 23 instead of 22
@SmartLifeEnthusiast2 жыл бұрын
4:45 you can also use GND near the 5V pins
@dominikrybar72316 ай бұрын
Hi guys. Maybe little update for you. I have ordered 10 of theese switches in white color directly from Itead webside and they already came with locked bootloader. So no possibility to flash them. When you hold up the GPIO0 to ground it sends following message : Download mode is disabled. Restart with GPIO0 high. I have tried to order grey ones locally and they had unlocked bootloader and flashed fine. Just little info for you. I will have to replace CPUs in theese with clean ones to be able to flash them.
@evaldssontom19 күн бұрын
Are they the Matter switches? Many people on forums have said that the matter switches come with locked firmware. Also, I think that the matter switches are the only ones that come in white.
@ijustwanttoeatcookie3 жыл бұрын
Here is to hope that Sonoff will produce a variant that also fits in EU sockets (round variant) Took ages before Aqara finally produced one, but this video convinced me to grab these Sonoff switches instead 🤣 Back to the waiting game I guess
@knockmania2 жыл бұрын
Thanks for the tutorial. I have a M5 1-C and I noticed that in your config in switch section instead of PIN 22 should be 23 in order to work. Question: How do I create a light entity instead of switch entity?
@andrewbennett41022 жыл бұрын
I wish I had seen your comment a couple of hours earlier, before I rewired the switch again and checked my config file against the original 😞
@puntoboy_gaming3 жыл бұрын
I've just installed the Aquara zigbee switches which are very similar. Works great with Deconz.
@dodgecrickets78623 жыл бұрын
Did you get the double rocker one working in home assistant?
@puntoboy_gaming3 жыл бұрын
@@dodgecrickets7862 yeah. It just appears like any other Zigbee device. You get an entity for each rocker.
@dodgecrickets78623 жыл бұрын
@@puntoboy_gaming nah mate .. not mine .. my one dose not come up at all not even with the battery level ..
@puntoboy_gaming3 жыл бұрын
@@dodgecrickets7862 battery? The ones I have are mains powered. I have aquara buttons as well and they work fine too.
@dodgecrickets78623 жыл бұрын
@@puntoboy_gaming ohh right ,. I have the zigbee that is battery powered .. maybe that’s why ..
@alexvdl12 жыл бұрын
I really like these switches aesthetically, but I'll have to hold out to see if they do a US-style version. It'd also be great if they did a lighter coloured version for houses with white walls.
@ThangNguyenMike2 жыл бұрын
Thank you for the informative instructions. I have successfully flashed my Switchman US version, with the bluetooth tracker being able to get data from a Xiaomi BLE H&T sensor, too. One question about the indicator lights settings. With your yaml, the led id lights turn on when the relays are ON, and off when they are off. Is there anyway to turn on the led lghts when the relays are off, and turn off the leds when the relays are on? That would make more sense. Thanks.
@kentthoresen85283 жыл бұрын
I would love to see some examples of some mundane (booring tasks) executed via home assistant. For example having a qr code reader, or image recognition camera next to my fridge so i can scan "buy milk" to my grocy list when i feel its starting to get empty, Or maybe a verbal command via mycroft or something? add milk to the shopping list.
@MAMDAVEM3 жыл бұрын
you could use NFC tags to do this.
@vladimirvacek77522 жыл бұрын
Hi, the yaml for 2 gang, which is one i decided to try out, is not 100% correct it is missing led on pin22
@JurandirMoratelli Жыл бұрын
como seria a configuração correta pra ele?
@EsotericArctos3 жыл бұрын
A No Neutral version of the switches would be awesome also. I realise the display would need full power though.
@EverythingSmartHome3 жыл бұрын
Would be good to see!
@robert.wigley3 жыл бұрын
As someone else has commented, I'm not quite sure what the advantage of flashing these with ESPHome is over using the native Sonoff integration. That's local anyway isn't it (I don't currently have any Sonoff devices), so just wondering about this? Separate topic, but what is the make/model of your 3D printer? Looking to buy one and the Creality Ender 3 V2 seems to be daily highly rated. Yours looks similar from what I can see. Any plans on making a 3D printing video. It seems you need a 3D printer if you are going to start dabbling in making your own sensors.
@EverythingSmartHome3 жыл бұрын
A few reasons: Way more customizable I can add a double or a triple press (or more) to these to control other automations or devices if I wanted to as well as some other advanced functions Speed - ESPHome is far quicker to respond than the Sonoff app is (it may be a few hundred ms but that's a lot when switching on a light and is pretty noticeable at least to me) The Sonoff integration is a community integration and not an official one. While the work done for it is amazing and it works really well, there is always the chance that something can change on the Sonoff side which causes it to stop working. With ESPHome it's an official integration, and I'm in control of any updates to the device itself. One less app I need on my phone. The printer is a Prusa MK3S, it's not cheap and a lot more than the Ender is but IMO it's worth it. I never have to do any tweaking or tinkering to it to get it to print, it just works all the time without fail. A lot of people I know with more budget printers spend a lot of time tweaking and tinkering with the settings to get them to print properly - I personally just want the printer to work. Unless of course you want to tinker with it then that's a completely different story. Hope that helps!
@robert.wigley3 жыл бұрын
@@EverythingSmartHome Thanks for the super informative reply. Makes sense now regarding flashing to ESPHome. Regarding the Prusa, I have also been looking at that and wondering if it was worth the extra money. I didn't recognise it as I thought they had loads of orange parts. 🙂 I am after a printer that works with very little fiddling. I want it as a tool, rather than something to tinker with (Home Assistant gives me enough to tinker with as it is 😄), so that's a good recommendation. Thanks.
@robert.wigley3 жыл бұрын
@@EverythingSmartHome Just been looking and can't see an all black Prusa model anywhere, where did you get that? Is it a special/limited edition or something?
@robert.wigley3 жыл бұрын
I see now that it's possible to order it in all black on their website. I hadn't noticed that option. 😄
@EverythingSmartHome3 жыл бұрын
Yep looks like you found it! And same for me, the printer is a tool!
@snake-taichi Жыл бұрын
Hey, thank you for the video - there are not so many instructions around it seems. I spent many hours trying to tasmotize and ESPHome, bit neither worked out. My four computers all don’t talk to the switch. ESPHome tells me: Failed to initialize, Try resetting your device… How can I troubleshoot this process? Any help or links would be appreciated
@dominikrybar72316 ай бұрын
Maybe you have ones with locked bootloader as i had. Then there is no luck other than replacing ESP chip itself.
@renierjoubert91769 ай бұрын
I want to flash, but first want to make a backup of the original firmware. How would you do that?
@abrahamzak9753 жыл бұрын
Very informative. Could you please recommend smart blind motor that work with sonoff.
@EverythingSmartHome3 жыл бұрын
Thanks!
@DannyDM003 жыл бұрын
What's the advantage of this over an identical looking ZigBee switch?
@EverythingSmartHome3 жыл бұрын
No advantage, just different use cases really! Not everyone has ZigBee
@Tivo2YA Жыл бұрын
I have the 3 gang version but it keeps disconnecting from eWelink. I don't have home assistant so running through Google home. Tried mac address binding with no luck. Any ideas?
@zyghom3 жыл бұрын
ESPHome is superb and Sonoff providing ESP based devices is great as well. One point: majority of home installation is WITHOUT neutral line in which case... nothing like this works ;-(
@EverythingSmartHome3 жыл бұрын
Apparently WiFi switches without neutral aren't very safe. ZigBee without Neutral is safe however. No idea as to the validity but that's what we were told
@zyghom3 жыл бұрын
@@EverythingSmartHome it is not about safety I think - neutral wire has nothing to do with safety of the switch - without neutral there is not much of power you can deliver via the capacitor (that usually is put in parallel to load) - when you have relays in the module it might be not enough power though. Anyway, rewiring the house... not easy solution, especially when you rent ;-)
@BradleyFordAus3 жыл бұрын
It depends on the country you live in, where I am from all homes have a neutral wire
@atom6_3 жыл бұрын
@@zyghom itead does sell the Sonoff T4EU1C - which works without neutral on a switch wire only (parasitic) , quite a clever design, but with several limitations however.
@bartekwisniewski12152 жыл бұрын
thanks for the video! you're showing how to flash M5, but do you know how to wire R5 or TX series to USB to Serial adapter? thanks
@4RealHero3 жыл бұрын
So you’re saying if I wanted to replace my home with these switches I’d need to perform this 1-handed balancing act just to get them to work seamlessly with home assistant ?
@EverythingSmartHome3 жыл бұрын
No, didn't say that. You can use the community Sonoff integration if you want.
@JosephHarry3 жыл бұрын
with how easy it is to flash them, why do they not have an option to just buy them flashed? It would also be super cool if they had a version of this with a motion sensor / temp sensor built in.
@EverythingSmartHome3 жыл бұрын
Motion sensor would be cool, temp sensor would be difficult to get right since the esp32 generates some heat
@IanFretwell3 жыл бұрын
@@EverythingSmartHome As evidenced by the wildly inaccurate temp's shown by NSPanels!
@arriewarrie Жыл бұрын
It doesnt look like it s possible to have the ability to disconnect the relay from one of the switches? At least not the code shown. Or is there updated code that allows for this? Now the big question with my remodelling in june! Aqara zigbee switches (great zigbee mesh) vs. Switchman m5 (great bt mesh) All will offcourse be used in combination with the NSPanel Pro and NSPanel (ESPHome).
@nathanbeirens6843 Жыл бұрын
I might be late for your remodelling but this is possible: - comment out /remove the on_press part of the sensors - add a name to each binary sensor
@joshcliffejones3 жыл бұрын
I love the look of these, but wont be able to use them due to their requirement of a Neutral in the switch boxes which i don’t have in my house :(
@EverythingSmartHome3 жыл бұрын
That sucks :( Hopefully the Zigbee versions are no neutral!
@margeo20 Жыл бұрын
Hello. Are the sonoff M5 compatible with HA without flashing them i.e through the ewelink integration?
@johankarebrand8413 Жыл бұрын
I already have Switchman R5 integrated in HA and they show up as sensors. Single press, double press and hold are working. But unfortunately I'm missing release function for hold. So I'm not able to dim during hold and set light during release. Is this something that could be solved by flashing them? I Have dug all over the internet to find a solution but can't see any ideas that is is suitable.
@RaZer0r2 жыл бұрын
have you tried these with espresence detection?
@Leonvolt283 жыл бұрын
can multiple of these switches be mounted when the junction boxes are directly above or next each other?
@jimmywoody69623 жыл бұрын
I am still waiting for these switches to come back into stock! Can't find them anywhere atm
@EverythingSmartHome3 жыл бұрын
Soon hopefully!
@alexanderkolyshko Жыл бұрын
Have received 3 switches from itead store. Serial connection is not working. Can't flash any of them. Maybe someone know something about this? Maybe they added some block of flashing or smth else?
@terenceyung2 жыл бұрын
thank you for your clear and concise video. did you try to add double click and long press functionality to the switch through the esphome yaml?
@renierjoubert91769 ай бұрын
Is this possible?
@sna311002 жыл бұрын
Большое спасибо за то, что Вы делаете! Комментарий для поддержки канала😉
@edgar96513 жыл бұрын
Thanks! I am just looking at the page with the switches. They have type 80 and type 86. What is that about? Thanks.
@EverythingSmartHome3 жыл бұрын
One is for use with the optional frame and one is a normal switch
@motowoody663 жыл бұрын
Can any of these be used as dimmer switches (inc panel)? I recently purchased the dimmer (tasmota flashed) switches from Athom and to say I'm disapointed in them is an understatement as I am constantly having to power cycle them from the fuse box to get them to work for a short period of time.
@EverythingSmartHome3 жыл бұрын
Huh that's strange. Tried flashing ESPHome on them instead?
@motowoody663 жыл бұрын
@@EverythingSmartHome would you know how I do that. I've tried using the usb serial cable and grounding out gpio0 but esp flasher errors with "Chip Auto Detection failed:" but guess that's with it not going into programming mode. I'm using a Mac btw.
@EverythingSmartHome3 жыл бұрын
Yes it's in this video 😅
@motowoody663 жыл бұрын
@@EverythingSmartHome doh! 😖 of course it is
@markharvey22842 жыл бұрын
Is there any way to do this with the 6 button switch. ?
@JoaquinVacas3 жыл бұрын
Hi Lewis! It's a pleasure to find your channel. I enjoy every video here. I was thinking about using Z-Wave antenna on some kind of SBC like RPi 4B (4GB+) with an SSD I have around to get OpenWRT installed as a base for running my own home router, I have individual APs that can be used so wireless power doesn't worry me. I was thinking about installing HASS under Docker, I tried in VMs and so on and it works perfectly AFAIK. Just the question for you as a professional... Do you recommend the HASS OS instead of containers? I want to have less devices running for my network/smart home appliances. Currently running a VeraEdge (that it's making me crazy) and Z-Wave is used on all devices here, including thermostats and so on.
@EverythingSmartHome3 жыл бұрын
Hello, thanks! It depends on how comfortable you are working with containers really. I would ask why you want to go for containers over HA OS?
@JoaquinVacas3 жыл бұрын
@@EverythingSmartHome I feel comfortable enough with containers, I use them every day so that's not a issue. But I want to have one device to rule them all. HAOS looks good but AFAIK cannot use as router. OpenWRT is lightweight enough and has support for Docker. I like the Supervisor + Addons on HAOS but I think I can live without them.
@decod32 жыл бұрын
is this applicable to the newer version of switchman m5?
@andrewbennett41022 жыл бұрын
Thanks for the tutorial I have flashed ESPHome firmware onto my Switchman M5 single relay switch. I am getting this "WARNING GPIO0 is a Strapping PIN and should be avoided. Attaching external pullup/down resistors to strapping pins can cause unexpected failures" above the config YAML and the relay is not turning the light on although the dashboard shows the switch change when I physically press the button, but the state icon doesn't change. Please can you help?
@andrewbennett41022 жыл бұрын
I've found the answer to my issue in the HA forum and then I noticed the comment from 'KNOCK' below. It's working now. 🙂
@andrewbennett41022 жыл бұрын
Just a 3 channel and 2 NS Panels to go.
@hipantcii2 жыл бұрын
Are those switches have Bluetooth so they can be used ESPpressense?
@EverythingSmartHome2 жыл бұрын
I believe they do!
@jeffreyanderson023 жыл бұрын
The Sonoff NSFPanel had a US and EU version. I see in the specifications these accept 100-240V. Do these work with US boxes?
@EverythingSmartHome3 жыл бұрын
I've no idea sorry - it doesn't look like it at the moment
@JamieStuff3 жыл бұрын
It looks like the US version fits into a single gang US standard switch box. The only real difference is that in the US version, the display is in portrait mode, and the buttons are smaller. I'm doing some remodeling, and am very tempted to get a UK box, so I can use the square landscape version.
@shammakenpatchi3 жыл бұрын
Can you use these with smart bulbs? Hue, Lifx or Wyze?
@EverythingSmartHome3 жыл бұрын
Depends on your smart home platform but certainly possible!
@jonny11bonk2 жыл бұрын
How can I recover the original M5 firmware?
@GadgetRobb3 жыл бұрын
Could you also use Sonoff LAN from HACS to control these?
@EverythingSmartHome3 жыл бұрын
Should be able to yeah!
@wizake3 жыл бұрын
Regarding your last remark. From what I came across, switches that work without neutral wire, are not usually routers, but end devices unfortunately :(
@EverythingSmartHome3 жыл бұрын
Oh really? Didn't know that! Wonder why that is?!
@verwaeststijn3 жыл бұрын
@@EverythingSmartHome if a device doesn't have a neutral it needs to let a bit of power go through the lamp even when off so using as little power as possible is important otherwise the lamp might glow a bit
@EverythingSmartHome3 жыл бұрын
Good to know, thanks!
@TomaszDominikowski3 жыл бұрын
I have WETEN no-neutral zigbee light switches from aliexpress, they are routers. They're also not that great, not very sensitive and all quirks of no neutral switches apply - some bulbs will flash and need to be replaced with dimmable versions to work correctly at all.
@thefirst555 Жыл бұрын
Still no sign of a zigbee version ? :(
@tomhart03 жыл бұрын
Do you know what the type (80/86) option is about?
@EverythingSmartHome3 жыл бұрын
Believe one is for use with the optional frame if you want to have a row of them side by side
@tomhart03 жыл бұрын
@@EverythingSmartHome Ahh okay, thanks :) turns out they need a neutral which my house doesn't have in the switches :( so no use for me anyway. I'd love a comparison on some of the live only smart switches on the market!
@n.r.22583 жыл бұрын
I can't really see the point of flashing functional Sonoff switches with Tasmota, especially since advanced functions such as powermeter may then be lost. The switches can be seamlessly integrated into HA without flash and also offer the advantage of free cloud use, which is associated with monthly fees for HA.
@EverythingSmartHome3 жыл бұрын
A few reasons: Way more customizable I can add a double or a triple press (or more) to these to control other automations or devices if I wanted to as well as some other advanced functions Speed - ESPHome is far quicker to respond than the Sonoff app is (it may be a few hundred ms but that's a lot when switching on a light and is pretty noticeable at least to me) The Sonoff integration is a community integration and not an official one. While the work done for it is amazing and it works really well, there is always the chance that something can change on the Sonoff side which causes it to stop working. With ESPHome it's an official integration, and I'm in control of any updates to the device itself. One less app I need on my phone. Those are the main ones for me!
@n.r.22583 жыл бұрын
It is not so much about having a (Sonoff) app. running on the UI, but about the fact that the Sonoff switches in HA can run without restrictions without flashing and also offer functions that are no longer accessible after flashing. In addition, the switches (without flash) can also be operated via the Internet, which is only possible after flashing with the HA Cloud. By the way, the multi tip programming is a HA feature that is not dependent on a flash. Apart from the fact that changes and further developments of the firmware can no longer be used after a flash, which I rate more as a disadvantage than an advantage. Another advantage is that switches can be integrated into HA across networks (i.e. over long distances), which after flash is only possible via the $5/month HA Cloud. In other words, apart from the ms delay in the state change, there are few to no advantages that speak in favor of flash.
@EverythingSmartHome3 жыл бұрын
None of those that you mentioned are correct. You do not need HA cloud to make these accessible to the internet, I don't use HA cloud and can access.mine anywhere in the world. Please state the features you are referring to? You need to give examples like I did. Double press and triple press are not possible with stock firmware by using HA, since these need to happen locally on the device.
@n.r.22583 жыл бұрын
@@EverythingSmartHome I understand that you can reach your HA from anywhere in the world. But my example was to reach the switches in widely distributed networks. So if switches are extremely far apart and in different local networks, but they are still to be centrally combined in the HA-UI, you will not be able to avoid an Internet solution. Multi-tap can be generated relatively easily within the HA UI and a wide variety of solutions can be displayed via the available software functions. I still have the advantage of proprietary firmware. Quite the contrary. In addition to the relatively unreliable flash method, I actually only see disadvantages. But anyway. Everyone has to find the solution that best suits their needs. However, I always prefer the simplest and most reliable solution, especially if it brings me significant advantages.
@EverythingSmartHome3 жыл бұрын
Multi tap cannot be done in the HA UI, not the way I can do it in esphome. It just can't. And that is a poor example with regards to a "wide" network. You wouldn't do that for many reasons. You class proprietary firmware as an advantage? That surprises me, if you are into HA of course :)
@parv81312 жыл бұрын
ESPHome devices turn all switches on after a Power Outage, which I found to be a problem
@EverythingSmartHome2 жыл бұрын
This is a simple change in the config
@gjbooy3 жыл бұрын
Great video as always. Do you know if these available within the UK yet?
@EverythingSmartHome3 жыл бұрын
Thanks! They should be!
@edgar96513 жыл бұрын
I would like to buy these switches without the back part without the relays and without the power supply. I am renovating an apartment from scratch with all new electric. I think it would be great to have only the actual switches with the ESP32 and the electronic on the wall. Then I plan to use Home Assistant to control mostly LED lights and other smart devices. Do you know if those switches or similar are available without the high voltage back part?
@EverythingSmartHome3 жыл бұрын
Not as far as I'm aware!
@antonburdin97563 жыл бұрын
Sounds like KNX to me.
@svict43 жыл бұрын
Does anyone if these SONOFF products are certified or being sold in Australia? Quick Google says no :( Wish downunder more smart home products, it was a push just to get shelly's certified.
@svict43 жыл бұрын
Found the answer in a Facebook comment, no such plans to get it certified :( even though it supports up to 240v
@EverythingSmartHome3 жыл бұрын
That's a shame, have you looked at the Aqara ones?
@MattFacer3 жыл бұрын
Love these switches! I joined your discord but cannot send a message? There was no verify bot or anywhere to accept the rules? 👍🏻
@EverythingSmartHome3 жыл бұрын
That's strange, try leave and join again, it should pop up some prompts!
@MattFacer3 жыл бұрын
@@EverythingSmartHome tried that a few times. I get a pop up saying a few things to do (like introduce yourself) but when posting, I get an error saying Your message could not be delivered. This is usually because you don't share a server with the recipient or the recipient is only accepting direct messages from friends. 🤷🏻♂️😂
@xelfmade Жыл бұрын
Is there a zigbee version? No........
@RicardoRibeiro-dorcari3 жыл бұрын
You probably should get pogo pins, they'll make better contact that those, I've flashed a bunch os sonoff devices with them and it's a breeze.
@EverythingSmartHome3 жыл бұрын
I've got some actually, but find this much quicker tbh
@RicardoRibeiro-dorcari3 жыл бұрын
@@EverythingSmartHome I've just stuck my pogo pins to the male part of the pins you used and pressed them against the pad, that way I've never had a connection issue. But to each his own 😉, you do whatever works for you,and that's what matters
@utkuozcan3 жыл бұрын
MKBHD tshirt and LTT store banana. Choose your side man :P :D
@EverythingSmartHome3 жыл бұрын
😂😂
@Bigglare3 жыл бұрын
Wink Relay!
@britto893 жыл бұрын
Banana for scale
@EverythingSmartHome3 жыл бұрын
Forgot to use it!! 😭
@amandioreal22933 жыл бұрын
Hi, don't forgot to hide you ssid password.
@EverythingSmartHome3 жыл бұрын
It's just a burner password in this so no need to hide
@tomatogoduk3 жыл бұрын
"soldering is not required"... if you happen to have 3 hands and willing to risk bricking the device if you lose connection mid-flash! In my opinion, you should be recommending TO solder some header pins on to these connections to ensure a good electrical connection and not risk the alternative.
@EverythingSmartHome3 жыл бұрын
There is really no risk. You don't need 3 hands, I did many of them by myself...as far as I know I don't have 3 hands.
@tomatogoduk3 жыл бұрын
@@EverythingSmartHome Or you could be responsible and recommend the proper way to your viewers.