Тёмный

Sonoff 4 channel w/ Home Assistant Discovery and FlashEZ 

DrZzs & GrZzs
Подписаться 121 тыс.
Просмотров 45 тыс.
50% 1

Опубликовано:

 

16 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 218   
@denisdogana8306
@denisdogana8306 6 лет назад
this is the best video I've seen for making a flash of the Sonoff devices. Thank you so much DrZzs e Vicious Computers!!! Thanks to the maybe guides I managed to restore a Sonoff 4CH Pro that I was Brikked. This process is still 'much easier than all the others. As soon as I get there, I will also try the Sonoff 4Ch Pro R2! Continue in this way DrZzs thanks to your guides I'm also taking big steps with Home Assistant
@DrZzs
@DrZzs 6 лет назад
Awesome Denis! I really like hearing that someone has been successful, so thanks for coming back and letting us know it worked well for you.
@JonGlauser
@JonGlauser 6 лет назад
Look into the new Tasmota on-chip timer functions, especially with the 4CH PRO. It makes it an attractive programmable irrigation controller if you can program those timers from HA. I put together a node-red flow to read and set the timers but couldn't figure out how to do it in Home Assistant. Thanks for the videos, they have been influential on my projects!
@DrZzs
@DrZzs 6 лет назад
Awesome! I should probably crack open my sprinkler box and smarten it up a bit. I'm still a nodeRED noob. Glad to help!
@FuchsDanin
@FuchsDanin 4 года назад
This is beautiful, even if the floating angled head is a little creepy. I love it though. FWIW - if you're here because this information doesn't work, the switch contacts might be dirty. Toggle it back and forth a dozen or so times, the repeat friction can help clean contacts.
@ReevansElectro
@ReevansElectro 6 лет назад
Such a well scripted video with great video effects. I am very impressed with your work!
@DrZzs
@DrZzs 6 лет назад
thanks!
@stonewallace
@stonewallace 6 лет назад
GREAT VIDEO! - I was looking for a good explanation of the 4 channel sonoff pro inching, interlock etc. This is the best so far. I'm excited to see your next video about the RF Bridge! Seems like a great inexpensive way to do motion and door sensors. CAN"T WAIT!
@DrZzs
@DrZzs 6 лет назад
thanks! The RF bridge is promising. Video should be done in about 10 days. Lots to figure out.
@Gnarkill78
@Gnarkill78 4 года назад
Great and informative video as always. I guess for me, as a personal preference, I use the source code and Arduino IDE to flash mine because I can preconfigure everything and have it running straight away. Keep up the great work.
@MikeHardwickeBrown
@MikeHardwickeBrown 6 лет назад
YEAH! Glad to see you got on ESPEasy!
@DrZzs
@DrZzs 6 лет назад
still need to give it a good trial run. Tasmota added a "rules" function now too. My guess is it won't be quite as customizable as ESPeasy rules, but the differences are become less and less between the two i think.
@claudiobolcato3048
@claudiobolcato3048 6 лет назад
I flashed my sonoff 4ch R2 non-PRO with Arduino IDE but with ESPEasy is much more easy! I'll use it with my next sonoff. Thank you!!!
@DrZzs
@DrZzs 6 лет назад
you're welcome! not having to open the IDE is really easy for many folks.
@efibdn
@efibdn 6 лет назад
Thank you. That was super easy to flash. Keep up the good work !
@DrZzs
@DrZzs 6 лет назад
Excellent! Will do!
@johnschultz1964
@johnschultz1964 6 лет назад
Hey Dr... Great channel. On the use of a terminal (Termite) to change your parameters, this is by far the quickest way to configure. Not because of the just the use of the terminal program, but... you got to try the "Backlog" command. This allows you to configure the unit with 1 command....yep, all the parameters in command. Its described on the Tasmota Commands Wiki. Here is an example.... Backlog SSID1 ; Password1 ; MqttHost Hassio; MqttUser 299MQTT; MqttPassword ; GPIO14 09; Hostname sonoff_kitchen_main; MqttClient sonoff_kitchen_main; Topic sonoff_kitchen_main; FriendlyName1 Sonoff Kitchen Main Just replace the SSID and passwords with yours. Anyway keep up the good work. Loving it
@DrZzs
@DrZzs 6 лет назад
YES! I was looking for something like that to add all the settings with one command! Awesome!
@kingearwig
@kingearwig 6 лет назад
I used a NodeMCU esp8266 inside of a power strip with 5 relays. Powered by a cell phone charger(inside the power strip). Flashed it with tasmota and it is awesome.
@DrZzs
@DrZzs 6 лет назад
Nice work! Post some pics is it hard to fit all that in there?
@BrandonKeilman
@BrandonKeilman 6 лет назад
As always you da man! Thank you for the videos, excited to see what you do with the rf Bridge.
@BrandonKeilman
@BrandonKeilman 6 лет назад
Any plans thoughts or ideas for hvac controlled devices? You've got all the parts relays, temp sensors...
@DrZzs
@DrZzs 6 лет назад
I have thought about that. Should be easy to replace a normal thermostat with a D1mini. I'd like to do that someday.
@anthonycalia1317
@anthonycalia1317 6 лет назад
I believe a key point of your presentation was the statement regarding adding an external PS kind of makes the whole Sonoff thing less useful. I too find that because there are such powerful software options available, and countless devices to add to our systems, it is easy to inadvertently push the technology past the point it serves us. But seeing as how most of us are doing this for fun more than utility, I guess pushing the limits is what we're gonna do. If I didn't fail half the time, I'd probably find a different hobby....
@DrZzs
@DrZzs 6 лет назад
well said!
@2Ustfu
@2Ustfu 6 лет назад
In Home Assistant, there is something called the entity_registry.yaml (or something like that -its in the same directory as the other yaml files). All newly discovered devices are populated in there, and associated with a unique ID automatically. You can edit it and change the device name, and even delete the device from there, but I don't think you can change the unique ID. I think they added this feature from version 0.64. Btw, I literally just got my 4ch pro last night so this video is PERFECT timing. Can’t wait to get home to tamsmotize it. Will post a video of a project I am working on using this on automated shutters. I am also building a homemade garage door opener so I may use the 4ch to power this. You should call yourself the Tasmotian devil. Lol
@dalescott9330
@dalescott9330 6 лет назад
I checked the entry_registry.yaml, It shows devices Hass.io has discovered like Roku TVs, however sonoff's using MQTT discovery do not show up?
@2Ustfu
@2Ustfu 6 лет назад
Is the sonoff showing in the frontend? If the device is visible in the front end, it should exist in the either the config.yaml or entity_registry.yaml file or both, that is.....unless the HA developers made a change that I don't know about. Also, although my device discoveries have been pretty instantaneous (pretty much right after the device has powered up), the discovery can take some time.
@DrZzs
@DrZzs 6 лет назад
ha! Love it Tasmotian Devil! yes!
@EugenePugach
@EugenePugach 6 лет назад
Ahh, so this is where you explained the FlashEZ method.. don't know how I missed it :)
@DrZzs
@DrZzs 6 лет назад
ha! I need to do another short vid with just that method explained and demo'd.
@squalazzo
@squalazzo 6 лет назад
ehi, all the images and info you need are on Tasmota wiki: github.com/arendst/Sonoff-Tasmota/wiki/Sonoff-4CH-and-4CH-Pro
@DrZzs
@DrZzs 6 лет назад
yep! thanks!
@johnwilson3918
@johnwilson3918 4 года назад
Kashira! Sorry.. I don't know why I said that. Thanks for the video!
@devmich99
@devmich99 5 лет назад
Thanks, that helped a lot. Wonder how much current/self consumption the 4ch Pro R2 draws while driven by 12V DC. Do you have numbers?
@rik3729
@rik3729 6 лет назад
Hi Justin, you are the boss !! another amazing video, it's so easy to learn and understand because put it in a easy way ! every time I see your videos I just want go home and start making automations:) pls keep doing these videos because they are the best in youtube ! I'm really looking forward to see your next video about flashing Sonoff RF because I already did it but I couldn't link the mqtt topics on in Hassio ! I'm sure you'll surprise me :)
@DrZzs
@DrZzs 6 лет назад
Wow, Thanks! I'll keep making them! I'm still working on figuring out the MQTT payload with the RF. I'm sure there's a way. If nothing else I know there's a different firmware (not tasmota) that sends the payload with less info that makes it easier to use with HA. But I'm still working on making tasmota work. Thanks for the support!
@rik3729
@rik3729 6 лет назад
Ok great! I was afraid because your Live streams vanished from channel:( Anyway I'm glad to know that you also are facing some issues to link the payload topic of RF to HA.. I gave up after 2 weeks.. and now I have a lot of useless RF sensors :).. hopefully you'll find out a solution (cross fingers) Btw I just finished my irrigation progect with a Sonoff 4ch pro R2 and I followed this video tutorial for the hardware part : it's italian but guy don't talk too much :) ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-_ymyczBpmec.html
@DrZzs
@DrZzs 6 лет назад
I had to take the live streams down because I accidentally had some private info that could have opened me up to hackers. I'll be more careful next time :) I'm thinking I'll do another live stream this weekend. That's a cool setup in that video. I wish my sprinkler closet looked have that clean!
@gregorybayles7082
@gregorybayles7082 5 лет назад
Any possibility of using sensor modules (humidity, temperature or reed switches) with the Pro R2?
@DrZzs
@DrZzs 5 лет назад
With 4 relays and 4 buttons you'll be running pretty low on available GPIO pins. You could still use Rx and Tx. You may have trouble if whatever you put on those pins is grounded when the board restarts. Hope that helps.
@brunokc100
@brunokc100 5 лет назад
We dont use 2 live wires for 240v :D But great video.
@jongriffith4293
@jongriffith4293 6 лет назад
Once you have the board flashed, and have accessed the web-interface, I would expect that when you press one of the buttons on the the unit that the relay would click, or that the blue Toggle 1 / 2 / 3 / 4 buttons would activate the relays. I'm finding that neither happens. Is that due to the limited power being supplied by the FTDI connector from the USB cable?
@shitrith
@shitrith 6 лет назад
Love your videos, keep up the amazing work 😊. Since according to your videos you are using hassio install, are you experiencing the need to reboot the raspberry pi on a daily basis, since it hangs?
@DrZzs
@DrZzs 6 лет назад
I have not had that problem. Is that something you're experiencing?
@shitrith
@shitrith 6 лет назад
Yes, I'm still investigating this issue , might be due to some issues with Asus router. The thing is, I use in parallel Smartthings hub, which I don't have any issues with. Anyhow thx for the input, I will investigate this further, and again great work you are doing on this channel :-)
@DrZzs
@DrZzs 6 лет назад
Thanks! If I learn anything about hang ups and needing to reboot I'll let you know.
@StephenMannUSA
@StephenMannUSA 6 лет назад
I'm surprised that no one recognized the Sonic Screwdriver.
@DrZzs
@DrZzs 6 лет назад
it took this long for someone to mention it!
@StephenMannUSA
@StephenMannUSA 6 лет назад
Youngsters.....
@SusheelChandradhas
@SusheelChandradhas 6 лет назад
I feel like I've asked this before, on a live stream, but could I use a Sonoff 16a POW to switch a 1hp water pump without blowing the Sonoff? My country is one of those quirky ones with 240v power.
@DrZzs
@DrZzs 6 лет назад
I do seem to remember that question. Seems like there was an issue with the initial current requirement to start a motor and that a normal relay wasn't the best suited for that job. Let me ask my engineer buddy and get back to you.
@SusheelChandradhas
@SusheelChandradhas 6 лет назад
DrZzs thanks, matey!
@MikeHardwickeBrown
@MikeHardwickeBrown 6 лет назад
You can deal with the initial current draw via some capacitors. Take a look at some video where people are powering AC units off of batteries. This may give you some ideas ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-yjK1Gi_u6ss.html
@SusheelChandradhas
@SusheelChandradhas 6 лет назад
Mike Hardwicke Brown cool! Thanks.
@DrZzs
@DrZzs 6 лет назад
great info! Thanks Mike.
@jetraid
@jetraid 6 лет назад
If you use optocoupled relays avoid to exede the maximun output of the GPIO only mathers the power given by the sonoff power supply, I think the sonoff can power the relay, only needs to amplify the current output of the gpio with a transistor better an optocopler.
@DrZzs
@DrZzs 6 лет назад
sounds like a fun and challenging project!
@jetraid
@jetraid 6 лет назад
Is the same you try but you show pictures of a single relay without any circuit, try to find one with optocoupler and conect it the same way.
@Ed19601
@Ed19601 6 лет назад
Javier Enrique Traid mind you that the optocoupler relays are often inverted needing a low to activate them. Also the common 5 volt relays use about 65 mA. Having a bc547 to drive them requires very little current as well as they have an hfe well over 100
@jetraid
@jetraid 6 лет назад
Ed19601 I know but comes rele modules with logic input all included in the module
@Ed19601
@Ed19601 6 лет назад
Very true, but I was only mentioning the transistor type as an example. Non-inverting transistor driven relay modules also come complete for a few dimes. My point was that the sonoff pin has no problem driving such a module
@TysonBrooks
@TysonBrooks 6 лет назад
Hey guys! In celebration of reaching 10,000 subscribers, Dr. Zzs has opened a Facebook Group! Come check it out! facebook.com/groups/1969622823351838/
@MikeHardwickeBrown
@MikeHardwickeBrown 6 лет назад
Quick question about the pro. Do you think the modes are useful given the options available through tasmota, HA and NodeRed?
@DrZzs
@DrZzs 6 лет назад
Honestly, probably not that useful if you are familiar with Tasmota options, like Pulsetime, or able to do automations that can switch one relay off when the other is on. It's kind of a funny combo of functions. I think iTead tried to make the device for less experienced users but with extra more advanced options. It seems to me you need to be a bit of an advanced user to need or understand those options. The RF bit might be useful for some folks too. I'm still not sure where I'm actually going to use mine. Maybe for appliances in the kitchen...
@DWTHAN
@DWTHAN 4 года назад
Trying to flash a 4CH with esphome firmware but keep getting "ESP Chip Auto-Detection failed: Failed to connect to Espressif device: Timed out waiting for packet header ". Tried just about anything with no solution. Any suggestions?
@naveengamage1325
@naveengamage1325 5 лет назад
nice video DRZzs this is what i was looking at but now i have a problem if I tasmotized my sonoff 4ch pro how can i configure my RF remote with it without having a RF bridge ? is there is any function in tasmota to enable rf control ?
@HraklisKirlis
@HraklisKirlis 6 лет назад
if we add the 4ch Sonoff can we keep our wall switches connected at Sonoff buttons? Some times we need to use the clasic wall switch :)
@digiblur
@digiblur 6 лет назад
Sonoff S31 video might be a good one. I flashed two of them this weekend and they are great. I'm using them for notifications on the washer and dryer. So I can see if they are running, how long they have been running for, is the dryer door left open, how long it was left open, etc. I didn't solder to them to flash I lined up my female wires in piece of header and taped them to the board for flashing. Google for "kcs garage sonoff s31 teardown", I couldn't get the link to paste.
@DrZzs
@DrZzs 6 лет назад
awesome! I'll check it out! good idea.
@DrZzs
@DrZzs 6 лет назад
I've got a sonoff Pow R2 I'm going to use for my 3d printer. similar to the S31, just connects like a Basic instead of having a receptacle outlet.
@digiblur
@digiblur 6 лет назад
Yeah I couldn't pass up the S31 just being a plugin, all about wiring and soldering but these were just cool and didn't block the other plug. I think they used a new power measurement chip as well.
@DrZzs
@DrZzs 6 лет назад
cool. I'll have to try them out for sure.
@digiblur
@digiblur 6 лет назад
Just go ahead and put an automatic monthly payment to Sonoff :)
@nigelholland24
@nigelholland24 6 лет назад
You don’t need termite you can do the same with the Arduino IDE console it works as I have Just tried it
@DrZzs
@DrZzs 6 лет назад
Awesome!
@mrteausaable
@mrteausaable 6 лет назад
Do you have a video with Sonoff POW R2 power module connect to the Hassio? Beside turn on and off switch it also provider the power consumption of the line connected to it. I plan to move all to Hassio using MQTT because some of my sonoff modules lost connection for no reason and unable to pairing back again.
@DrZzs
@DrZzs 6 лет назад
I do have a POW R2 video. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-BCEU8Ijmkds.html Hope that helps!
@squalazzo
@squalazzo 6 лет назад
where can we find info about the guy you show at 12:50 (the sonoff sv + 3 relays)? Thanks!
@DrZzs
@DrZzs 6 лет назад
I think he's going to make a video about it.
@Samuellopez-fj2oe
@Samuellopez-fj2oe 6 лет назад
Hi, I would like to know if there is any way to connect four physical switches to a 4 switch sonoff to be able to control them. Sorry for my English, I'm Spanish, congratulations for your tutorials, I'm learning a lot of home automation and a lot of English.
@DrZzs
@DrZzs 6 лет назад
Hi! There are no extra pins, but you could use the contact points of the buttons that are on the board already and just solder wires onto those contacts and run the wires to switches. So, yes. It is possible. Hope that helps.
@DobuDobuDobuDot
@DobuDobuDobuDot 6 лет назад
I have a non pro R2, the way to flash it is the same as a non pro non r2 so you're good. :p I bought it on Banggood.
@DrZzs
@DrZzs 6 лет назад
Awesome! Thanks!
@DobuDobuDobuDot
@DobuDobuDobuDot 6 лет назад
You're welcome. They're great devices, only problem I have with them is I can't connect a physical button to every relay. In case my Openhab (or future Home Assistant :p ) refuses to work, I like to operate my appliances with a physical switch.
@DrZzs
@DrZzs 6 лет назад
ya, I didn't try adding extra buttons. I'd guess all you can do is solder to the contacts for the existing buttons. If you need a lot of relays in one place it is a good little device. The non-Pro is much cheaper than buying 4 Sonoff Basics.
@DobuDobuDobuDot
@DobuDobuDobuDot 6 лет назад
Yeah, I tried soldering to the contacts. Let's say it was dodgy at best. Sometimes a button press (or wire contact in my test setup) would not turn on the relay, other times a press would activate 2 relays. I think I'll be using the 4ch for mood lighting I use in scenes and I'll be sticking to Sonoff basics for all my main lighting. Another thing I'll use the 4ch for is for switching power outlets. Also, I don't think it's that much cheaper, the 4 CH R2 costs 19.99 $ on Banggood and a basic is 5.19 $. You will need the backplate for DIN rail mounting for the basic if you want to go that route though. If you want a physical button connection for your lighting I do think a basic is the way to go though.
@DrZzs
@DrZzs 6 лет назад
That's a good use of the 4 ch. iTead usually has the best prices on their own devices. www.itead.cc/smart-home/sonoff-4ch.html I'm with you, I'll keep using the Zzonoff for my lights. Solder the mains wires, add a fuse, and use the led touch module. Just installed a couple more yesterday for the garage. Love'em!
@bruxy70
@bruxy70 6 лет назад
Is there a way to connect 4 buttons (wall switches) to the 4 buttons on the Sonoff? I am thinking to use this to control the window blinds, each window has 2 blinds, each with up and down button. I think I can connect these to the sonoff, but I need to keep the buttons too.
@DrZzs
@DrZzs 6 лет назад
you'd have to solder wires to the poles of the existing switches. There aren't enough gpio pins to run new switches (like we do with the sonoff basic). But soldering directly to the poles of the existing switches should give you the functionality you're looking for.
@nnm35
@nnm35 5 лет назад
Could I use a sonoff 4CH (Pro?) (R2?) to control the power to individual external harddrives? (Yes I know you should just leave them running non-stop). These harddrives are connected to my network, and are in a remote location. Crawling around to disconnect them is not fun. I know I could connect each harddrive via a Sonoff Basic, so the real Qs are, 1. is it even possible to control 4 units and 2. does it provide some advantage to do so, (vs the Basics). I'm hoping that using the 4CH Pro R2 (or other) would reduce the clutter of wires. But I don't understand the "ratings" of the power for the 4CH units. I see there is separate power to run the board, and then 4 other sets. I don't see how there is an "input" and and "output", as you can see in the Basics. Finally, there is the Q of how to deal with the physical power cords to the harddrives. Do I cut the existing HD pwr-cords and splice them into the Sonoff (even the Basic) OR should I add some more clutter and only splice in separate extension cords for each? Thanks for any ideas!
@DrZzs
@DrZzs 5 лет назад
That's an interesting use for it. You would be able to use the 4ch Pro R2. The reason is, I assume your hard drives run on 12v. So each one has a power supply that plugs into the wall. A sonoff Basic or the non-Pro 4ch are made to switch 120v (or 240v). They won't work if you try to cut the power cord for the hard drives and put them in-line there. A 4ch Pro R2 on the other hand can be powered by 12v. But I actually think the best solution would probably be 4 Sonoff SV's. Then you can just cut the cord for each hard drive and use those wires to connect to the input and output of the Sonoff SV. Simplest solution I think. The SV's don't come with a plastic case so you'll have to come up with that yourself somehow. drzzs.com/Sonoff_SVx3 drzzs.com/Sonoff_SV Hope that helps!
@nnm35
@nnm35 5 лет назад
+@@DrZzs Thanks very much for the insights. I'm a little nervous about cutting the OEM power cords to my hard drives, but I might do it. Now I'm going to think thru a pegboard mounted solution, with 2 ft extension cords purchased on ebay (or elsewhere). Thanks for the great series and all the great info you provide. (I just wish it was a little easier to flash tazmodo, but I suppose after I do it 2-3 times, it will then seem easy ;-) ). Do you know if downloading shows with youtube-dl counts as a full viewing to your status? ;-)
@nnm35
@nnm35 5 лет назад
@@DrZzs Thanks very much for the feedback. Sorry I haven't replied, but got tied up with the Chrismas holidays : -) ... Can I flash the SV model to have Tasmota, and MQTT access? Thanks!!! (FYI, your posts haven't been coming up in my feed, are you on Christmas break too ? (Just meant as a data point on analyzing the YT Algo ;-) ). ). (Just looked at your main page, wow, I've got some good viewing ahead!) .
@bobellison2547
@bobellison2547 6 лет назад
Do you think the 4 channel Sonoff will fit into a 4 gang light switch box? I'm thinking a 4 switch Zzonoff :-)
@mishaaltk
@mishaaltk 6 лет назад
i doubt it, 🤔 i've ordered one, will find out soon. I'll get one of the deeper boxes, but it may just be the height/width that wont fit, not the depth of the box.
@DrZzs
@DrZzs 6 лет назад
ya, I concur with M!sh. It seems too tall to fit in a standard junction box. I can try it when I get back home, but I don't expect it'll fit. There's a lot of wasted space on the board. Would be awesome to have a 4 gang Zzonoff though!
@bobellison2547
@bobellison2547 6 лет назад
Bummer. It would have been nice to have a 4 port switch and only one radio (esp) in the box. Thanks for the replies.
@nigelholland24
@nigelholland24 6 лет назад
Hi Does the auto find setoption 19 1 work on hassbian as there seems to be differant versions of home assistant ie hassbian and hassio
@DrZzs
@DrZzs 6 лет назад
nigel Holland it should work on either.
@VAKUL-DC
@VAKUL-DC 6 лет назад
thanks for explaining inching&SL. I got a valve closing motor device(similar to dome device but for $15) it takes 12vdc but the power has to reserved to activate to open the water/gas valve. It seems i can use 2 relays to achieve opening and closing valve from hassio. . I got 4 b1 and 3C T1 and was strrugling finding gpio 0 on the new T1 . After flashing it the T1's would not retain the settings - i will try flashing it with the generic github bin file and see if that works. the one i compiled was for generic 8285. Thank you.
@DrZzs
@DrZzs 6 лет назад
I got your email too. I'm going to do the T1 3c soon. Thanks for showing me where gpio-0 is. I'm not sure about the problem retaining the wifi settings. That's really strange. Anyone else having that problem?
@VAKUL-DC
@VAKUL-DC 6 лет назад
i gave up on the T1 3C for now but i will try the default .bin file upload and see if that sticks. I also got the new B1s, 4 of them all flashed with tasmota. please get the lifx one and give it a try. now that i was able to compare B1 ($20)and lifx($38), - lifx is still much -dont want to say bright but seems more prominent colors and fillup the room better than B1. when they go on sale on amzn please give it a try. next- i am going to try all yours & bens' led projects. thanks
@aliaghil1
@aliaghil1 6 лет назад
Great, thank you 👍🏻 🤘🏻
@SusheelChandradhas
@SusheelChandradhas 6 лет назад
Are you wearing a green shirt??? Or is it a cloth? :P Love the videos as always.
@DrZzs
@DrZzs 6 лет назад
It's a green turtle neck shirt. Kinda fun. Thanks!
@SusheelChandradhas
@SusheelChandradhas 6 лет назад
DrZzs ha ha! Love it.
@chrupkatomas
@chrupkatomas 6 лет назад
Hi, thank you for all your tutorials. Now I have problem with Sonoff 4ch pro r2. I have tasmota 6.2.1. After reboot sonoff still relay set ON. Can you help me with this? Thank you...
@DrZzs
@DrZzs 6 лет назад
It could be a few things and hard for me to know exactly. Try setting "retain: false" in the HA entry, and "powerretain 1" and "switchretain 1" in Tasmota. Hope that helps.
@AbdulRasheedSarfaras3g
@AbdulRasheedSarfaras3g 5 лет назад
What is the major difference between 4ch pro and Pro R2
@Leonvolt28
@Leonvolt28 4 года назад
Can you use the RF functions with custom firmware on the Sonoff 4ch pro R2? I want to flash it with esp home. But I need to control it with an RF remote.
@DrZzs
@DrZzs 4 года назад
Wish I knew the answer. Sorry
@Leonvolt28
@Leonvolt28 4 года назад
@@DrZzs no probleem, I will let you know the answer once I've tried
@frankvargas4525
@frankvargas4525 6 лет назад
Hi I tried flashing and it flash with no problem, but I'm unable to see the ssid to connect to it, I'm trying a sonoff basic r2
@DrZzs
@DrZzs 6 лет назад
try using Tasmota 5.14 instead of 6.1. I've heard some folks are having issues with basic r2's and tasmota 6.1 github.com/arendst/Sonoff-Tasmota/releases/tag/v5.14.0
@Shamsher1
@Shamsher1 6 лет назад
Hello again quick question about the FTDI, i checked with a multimeter and the tx and rx pins of the FTDI are sending out 5v even when the FTDI is set for 3.3v, same case with Arduino nano v3, is this normal? I tried using a logic level shifter but even though i can flash successfully I wasn’t able to read anything on termite with the logic level shifter attached. Can you tell me if its ok for tx rx pins to be 5v, i had ten sonoff basics, but flashing successfully is hit n miss and i think ive ruined 3 of them already with two more left to flash
@DrZzs
@DrZzs 6 лет назад
that seems bad. I'll measure the voltage output of my ftdi. I'd be surprised if it's 5v. I haven't experienced it myself but have heard that flashing with 5v output is very bad for the esp chip.
@Shamsher1
@Shamsher1 6 лет назад
DrZzs thanks for the reply, and also for all the amazing easy to understand and well made tutorials, please do check the voltage on the TX and Rx pins and get back to me, I'm Hella confused lol
@DrZzs
@DrZzs 6 лет назад
sorry, I forgot to do this last night. I'll try and remember tonight. I'm planning on doing a live stream on Sunday so maybe someone will remind me to do it then if I forget again.
@Shamsher1
@Shamsher1 6 лет назад
DrZzs any update on this?
@DrZzs
@DrZzs 6 лет назад
thanks for the reminder! Sorry I forgot. I just measured and my ftdi definitely outputs 3.3v If yours doesn't then either there's a switch or jumper that needs to be changed or you got a broken one. mine has a jumper that needs to be changed to switch between 5v and 3v. Maybe yours does too. Bummer man. Hope your sonoffs aren't ruined.
@viniciusnoyoutube
@viniciusnoyoutube 5 лет назад
I would like to control the Sonoff 4CH Pro R2 using a RF 433MHZ modulo with a Arduino. Does anyone know how to? Could you make a video about it? Thanks.
@DrZzs
@DrZzs 5 лет назад
I'm not to good with raw arduino. Keep hunting. I'm sure somewhere out there is a tutorial about 433 transmitter on Arduino. Good luck!
@10138707
@10138707 6 лет назад
hey drzzs i used this method to flash my sonoff 4ch r2 with no problems even got it setup in sonweb i was wondering is there a way to rename in hassio it is listed as (sonoff sonoff2 and 3 and 4 ) thanks the videos are great also planning to build a house in the next year any advice for planning ahead.thks
@DrZzs
@DrZzs 6 лет назад
With the Auto-discover I'm not sure how to rename them. Maybe change the friendly name in SonWeb. Then restart HA. Maybe that'll do it. I haven't tried it and my VPN is not cooperating so I can't connect and check, but I believe there's a file called "entity registry" or something. You may find the "discovered" entities there.
@10138707
@10138707 6 лет назад
thanks i will check it out today after work
@10138707
@10138707 6 лет назад
okay i renamed in sonweb and restarted same results and they were not listed in the entity registry any other thoughts thanks
@John-vk1ij
@John-vk1ij 5 лет назад
For relay module like this amzn.to/2DS6jAU, which has some peripheral components, is it still true that a Esp8266 pin cannot provide sufficient current to drive it? I guess since there are some transistors working as a gate, it actually drains very little current from the ESP8266 pin and provides enough power to the relay. That's the reason why they need a 5V input.
@nahian01
@nahian01 6 лет назад
flashed the firmware to D1 mini. but dont see the hotspot showing up. Could you please help?
@DrZzs
@DrZzs 6 лет назад
hmm. so you have Tasmota on the D1mini. Did you use sonoff.bin or did you compile your own .bin? Next question is what Tasmota version are you using? How are you flashing? Arduino IDE? FlashEZ? Can you see anything with the Arduino Serial monitor or Termite? Finally, are you seeing any lights on the D1mini?
@nahian01
@nahian01 6 лет назад
Termite did it. Thanks :-)
@sanderkonings9057
@sanderkonings9057 5 лет назад
And then I stumbled upon this in the HA MQTT Discovery documentation (/docs/mqtt/discovery/): " empty payload will cause a previously discovered device to be deleted."
@DrZzs
@DrZzs 5 лет назад
nice. so to get rid of discovered devices you send a message to that device topic but leave the payload blank. cool!
@MarcoSpelde
@MarcoSpelde 6 лет назад
Can ESPeasy flash Tasmota on a D1mini too ? I've been trying my nuts of all week to flash it with the Arduino IDE. The flashing seems to work, but my D1mini clone doesn't connect to the Wifi. I also put the WIFI_MANAGER line in tasmota, but it doesn't seem to broadcast any wifi as well.
@DrZzs
@DrZzs 6 лет назад
That's a great question. I don't know, but it might. I'll have to try it and let you know. I know there was a problem with Tasmota 5.13 and wifi connections. I just flashed a couple things with 5.14 and haven't had that problem. Probably the biggest difference with the D1 mini over the Sonoff is that the D1 mini has 4m memory and the sonoff only has 1m. That shouldn't limit using the .bin files from github though. I'll try it when I get a chance in the next few days. If you get to it before me let me know how it goes.
@MarcoSpelde
@MarcoSpelde 6 лет назад
Well, the flashing itself works like a dream. For testing I flashed the sonoff-NL.bin file to the D1 mini, since I'm Dutch. But I can't figure out how to get the D1 to broadcast wifi to log into it. I'm beginning to think that the wifi is broken on the D1.
@MarcoSpelde
@MarcoSpelde 6 лет назад
Well shoot me down !! Not sure what happened, but it works !!! But it is quite a mystery. I'll tell you what happened. I tried dozens of times to flash the old fashioned way with the Arduion IDE and such. Filled in my router info, MQTT broker etc. Flashing went well but no connection to wifi or whatsoever. Also tried to activate the WIFI_MANAGER function in Tasmota, also with no luck. Tried the ESPeasy method with the standard sonoff_NL.bin file from the Tasmota github page, again flashing worked but never a connection to my WIFI. Looked online to see wich connection is GPIO 0 , so I could "press" it four times like in your video. Again it seemed like nothing happened. Then fired up my IP scanner, only to find out it had connected with the IP adress I gave it in the first place while flashing with Arduino IDE !!!!! I could log in tasmota and all my info was there, ip adress, MQTT broker, everything. I noticed there is no D1mini option anymore in the config, but the 'GENERIC' option shows all the buttons and such.
@DrZzs
@DrZzs 6 лет назад
go figure! Sounds like the Gremlins were having some fun with you ;P I've certainly had some flaky wifi connections sometimes. Just last night I was going crazy trying to figure out why the RF Bridge sensors weren't working and it turned out it was just struggling to connect to my network. That happens too much. I'm going to try a dedicated router just for my HA devices, but it also makes me want to use wired connections whenever possible. Too much dependance on Wifi seems to be a problem. Glad it worked for you eventually!
@MarcoSpelde
@MarcoSpelde 6 лет назад
I was thinking the same thing, although I just mounted two high power accesspoints in the house wich work absolutely great. Only thing left to do is configure pin D3 as a switch, and get it in HA to control the bedroom light sonoff from the bed. Do you know how to set that up ? So, bedroom light is controlled by a sonoff basic with a momentary pushbutton and in HA, so this D1 should become a switch in HA, and toggle that sonoff basic.
@home-inn9404
@home-inn9404 6 лет назад
Could I have feedback on Sonoff Pro 4ch when wired in 2-ways? How can I do that?
@DrZzs
@DrZzs 6 лет назад
can you tell me a little more about what you're trying to do and I'll try to help. You mean like for a 3 way switch?
@home-inn9404
@home-inn9404 6 лет назад
DrZzs I need to operate the sonoff on three way with a standard switch. When the light switches on / off the sonoff app status should be correspond. Is there any way to do this? I'm using sonoff with the original firmware with e link. thank you so much
@MrJesus4194
@MrJesus4194 5 лет назад
Can a temp sensor be added to the 4 ch pro r1
@DrZzs
@DrZzs 5 лет назад
I would expect it can be added to RX or TX. You may need to disable serial logging so there aren't conflicting signals on those pins. I'm pretty sure Rx and Tx are the only pins available to use on the 4ch since there are already 8 pins being used for the relays and buttons. I've used Rx for DHT temp sensors on other Sonoff devices, so it should work.
@digiblur
@digiblur 6 лет назад
Not sure I understand the comment of the 240 in other countries? The US uses two hots for 240. Other countries use 1 hot for 240.
@DrZzs
@DrZzs 6 лет назад
It was just a joke. Some commenters had poked fun of us for not using 240v. Those extra terminals really aren't necessary.
@digiblur
@digiblur 6 лет назад
Gotcha, didn't want someone thinking they can run 2 phase power through it. Where they can poke fun is the whole 2 switches in what we call 3 way.
@eunc00
@eunc00 6 лет назад
It's because your wiring standards are so low you can't be trusted with more than 120v :)
@digiblur
@digiblur 6 лет назад
Maybe I've seen just awful wiring jobs, but I've seen some terrible wiring on the forums in other countries and people act like it is normal? I still stick to the US wiring with neutrals in every switch box though.
@DrZzs
@DrZzs 6 лет назад
See travis. This is what I have to put up with ;P I'll have you know I only tripped the breaker once yesterday installing a sonoff for my garage lights. And no one but me even noticed the sparks!
@bigred10151990
@bigred10151990 6 лет назад
Try looking in known devices.yaml for auto added devices. I think they may show up there
@DrZzs
@DrZzs 6 лет назад
thanks I'll check
@webflue
@webflue 6 лет назад
Quick do a video on SonWeb :-) just seen it as new community addon core home assistants and well be interested in your thoughts.
@DrZzs
@DrZzs 6 лет назад
You are so right! I need to do that ASAP!
@DrZzs
@DrZzs 6 лет назад
ok, finished filming it. a little editing and I'll get it posted a soon as I can!
@webflue
@webflue 6 лет назад
DrZzs excellent news, I'm on holiday at the moment do more to play with when I get home. Love the format of your videos, great work and I'm always looking forward to the next post. BTW now moving from esp easy to Tasmota, I'm sold.
@DrZzs
@DrZzs 6 лет назад
sweet! well watch for the video on SonWeb. You can manage all those new Tasmotized Zzonoff's in one place! I should have it done and posted later today.
@aaaafaaaaf
@aaaafaaaaf 6 лет назад
I been looking at your video, seen it a few times, Im trying to find a useful application for the 4 channel SonOff. Looking forward to your RF bRidge video.. that I am interested specially if I can use the RF signal to start my car..
@DrZzs
@DrZzs 6 лет назад
oooh, so you currently have a remote start for your car? So far, what I've learned is that some RF devices have changing codes to keep people from stealing the code and opening your garage or starting your car. For those devices it may not be possible to program the RF bridge to learn the code. It still might be possible. I'm not an expert on RF by a long shot. There still might be a way. I just want to manage expectations a little. If there is a way to remote start your car with the RF bridge we'll figure it out!
@aaaafaaaaf
@aaaafaaaaf 6 лет назад
I have faith in you, some how or another you get it to work, It might not be the best or easiest way, but it work, which to me is the goal... BTW do you know if there is a ESPeazy for a Mac? or a way to flash the sonoff?
@DrZzs
@DrZzs 6 лет назад
Mac has trouble with the ftdi (or other) serial/usb adapters. I've had it work a few times but not work most of the time. There's steps you can try that I don't remember; deleting some drivers and installing others. It was a pain, and then didn't last... You can try googling. I've just gone to Win10 for all my flashing. Do you have a windows computer you can use for flashing?
@aaaafaaaaf
@aaaafaaaaf 6 лет назад
DrZzs no No I don’t have one at home. Ill figure something out. BTW. I m doing my Christmas light. Next month. Im getting the lights from Amazon and want to give you credit. Can you send me the link please. Tx
@DrZzs
@DrZzs 6 лет назад
Awesome! You'll love the lights. I need to update the sketch. I've got some more lights to put up myself this summer. Here's a link: amzn.to/2L80mAN That's for 10 strings of 50 leds each. If you don't need that many there are other sellers. amzn.to/2L9Ejt9 Just make sure they are ws2811 and I'd recommend 12v. I used 5v cuz they were cheaper. amzn.to/2sqHftY You could do that too. As long as you use one of those links to get to amazon, it won't matter what you buy after that, I'll get a small %. Thanks!
@dalescott9330
@dalescott9330 6 лет назад
I've been using the discover method for some time now. If someone knows how to get rid of unavailable devices in HA that would be great, to much testing (maybe time for dev system). Having a WAF issue, switches go unavailable then on and off in HA, causing automation to trigger. Lights turning on and shutting off for no reason. tried to use retain commands but it just seemed to make it worse. Welcome your thoughts? and as always your video's awesome.
@adrianbishop694
@adrianbishop694 6 лет назад
delete the mqtt database, thats the only way i have found to remove them
@StePhanMckillen
@StePhanMckillen 6 лет назад
other 10 out 10 hay I build my own bin files with the wifi setup and MQTT then I use you way
@DrZzs
@DrZzs 6 лет назад
Thanks man! It is a great idea to have just one bin that you can flash and not have to change anything.
@jvannoyx4
@jvannoyx4 6 лет назад
Checkout the SonWeb add on for HASS.io!
@jvannoyx4
@jvannoyx4 6 лет назад
Best way to manage your sonoffs.
@DrZzs
@DrZzs 6 лет назад
I just installed that a few days ago. I need to tinker around with it a bit but then I'll bring it up in a future video.
@salim.studio
@salim.studio 6 лет назад
Bro amazing, i ADD a solenoides for sprinkle system
@DrZzs
@DrZzs 6 лет назад
Awesome! I'd like to see how you did it.
@salim.studio
@salim.studio 6 лет назад
Hi bro , i am still wor k in this , jajaja but when i m done , im send you pictures
@IshmeetSinghahuja
@IshmeetSinghahuja 6 лет назад
Awesome Video !! thx a lot but is it possible for you make a video explaining SwitchMode commands. That will be awesome !!! thx a lot !!!
@DrZzs
@DrZzs 6 лет назад
That's a good idea. I'll slip that into one of the next few videos. That's something that would apply to pretty much any project. Thanks!
@IshmeetSinghahuja
@IshmeetSinghahuja 6 лет назад
thanks a lot !!! you are awesome !!! That will help us understand the firmware/software side of Tasmota
@man4evil
@man4evil 6 лет назад
no luck. failed with such messages on different adapters. looks like my board dont ward to go into flash mode trying to connect flush start setting serial port timeouts to 1 ms setting serial port timeouts to 1000 ms flush complete espcomm_send_command: sending command header espcomm_send_command: sending command payload read 0, requested 1 ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-CSC2hW51ikI.html
@DrZzs
@DrZzs 6 лет назад
First, thank you for posting a video of what you're doing. That is really really helpful! It looks like you've got the Pro non-R2 correct? It looks like you've connected the pins differently than I would expect. Maybe it's because you're using the arduino to flash. Comparing your connections to the images from the Tasmota page, it looks like you don't have a jumper on Tx at all. www.dropbox.com/s/pklc62sg9ek184z/Screenshot%202018-05-30%2016.19.38.png?dl=0 vs github.com/arendst/arendst.github.io/raw/master/media/4chpro_gpio0.JPG One other thing. I've always just used the one adapter so I'm not too familiar with using an Arduino to flash, but I read somewhere that when using an arduino you might need to swap the Rx/Tx so it would go Rx-Rx Tx-Tx. Hope that helps.
@man4evil
@man4evil 6 лет назад
hi, thank you for your chanell. i have this sonoff for several month already and gived up already. its version 1.1 i have tried several configuration before posting video. i used arduino uno and usb serial adapter ch340g. i tried to connect all wires to left connector headers. same result. i used arduino, vs code. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-OhQdcwVxe_I.html
@DrZzs
@DrZzs 6 лет назад
dang. I wish I could help you somehow. Those are the only ideas I have right now. Not sure why it wouldn't work. Somehow it just seems it isn't getting into programming mode or the serial pins aren't connecting to the computer for some reason. Sorry I don't know what to try next.
@man4evil
@man4evil 6 лет назад
i will try again after i'll re-solder all pins once i get pin headers. its too cheap for free delivery :D
Далее
Какой звук фальшивый?
00:32
Просмотров 432 тыс.
Zigbee + Thread - Welcher USB-Stick mit welchem Chip?
25:57
AI can't cross this line and we don't know why.
24:07
Просмотров 455 тыс.
Automated Flower Watering System in Home Assistant
10:03
How 3 Phase Power works: why 3 phases?
14:41
Просмотров 967 тыс.
Hacking a weird TV censoring device
20:59
Просмотров 3,1 млн
Какой звук фальшивый?
00:32
Просмотров 432 тыс.