Easiest way to flash Sonoff, Shelly, Wemos or any ESP8266 + HomeKit support with no Hubs
HTML-код
- Опубликовано: 30 июл 2024
- I will be showing you the easiest way to flash any ESP8266 device using a TTL (aka Serial) adapter. I will be using the Sonoff Basic to demonstrate, but the process is similar for other ESP devices - Shelly, Tuya, MagicHome, Wemos, H801 and many more.
You can follow this tutorial to install any firmware for ESP8266 on your device - Tasmota, ESPHome, ESPEasy, ESPurna and others.
I will show you how to flash Tasmota and then how to add HomeKit functionality using HomeKit Accessory Architect.
Blog post with links for software and hardware: getsmarty.tech/posts/easiest-...
Video Chapters:
0:00 Intro
0:10 Device overview
0:26 Connecting to device for flashing
1:02 Preparing for flashing
1:44 Tasmota
2:11 Flashing Tasmota
2:49 Entering Flash Mode
3:46 HomeKit firmware
4:18 Generating HAA single binary (you can skip this part)
6:16 Flashing the HomeKit firmware (HAA)
7:16 HAA Initial setup
7:55 A peak behind the scenes
8:28 Adding to Home app and setup
9:19 Video Ending - Наука
Great work! Thanks a lot. Flashed 2pcs. of Sonoff S20.
Thank you for making this video series! You do a great job of breaking down the steps, BUT I wanted to provide an update for those who might be following this today. Since this was published, many of the Magic Home LED Controller that used to run on ESP 82xx chips have switched to RISC-V based chips. Unfortunately, this means the platforms developed for ESP are not compatible and will require completely new software to be written for them. I'm hoping this changes soon, or that I'm completely wrong and there is a compatible platform for the new chips but I haven't been able to find them.
Thanks for this video. Clear and awesome :)
Hi great tutoriaI!
I will definitely do that, thank you very much!
I saw this procedure is also applicable to sonoff mini and I was wondering if I could flash the HAA single file on top of the itead bin instead of flashing Tasmota first, so that I could flash it Over The Air using the DIY tool because I don't have the serial adapter and I'm not sure how to wire the Mini.
Thank you once again for the support.
This is what I needed
it doesn't work you filthy bastards
thx great. it worked.
Thank You Work very well :-) sonoff basic (homekit)
Parabéns pelo tutorial, sou do Brazil e por aqui temos pouco material em português. Você poderia fazer um tutorial para cada tipo de acessório: Contact Sensor, Motion Sensor, Garage Door, etc....
Great video!
I need to use servo on my project and I can't find support in HAA firmware. In your article you wrote: You can follow this tutorial to install any firmware for ESP8266 on your device - Tasmota, ESPHome, ESPEasy, ESPurna and others.
Did I andestand correctly - I can use Tasmota Firmware whith HAA?
I other words - on Tasmota I will add servo support and will trancate HAA + Tasmota. Am I right?
Thank you!
Hi great tutorial. Before I flash my EPS8266 please advise if Tasmota supports inching mode with HomeKit.
Hello, is it possible, to use more gpio pins from the esp32? I think, one for a relais, and one for a ws2812b led strip. Both in HomeKit.
How do I connect it it my new WiFi? Do I have to repeat all the steps ore is there an easy way to just rest the WiFi settings?
hey. i install tx 3 gang. then wanna install a sonoff basic. when i scan the bar code it says already install (detecting my TX 3gang) i need multiple using this. how?
Hi. Sorry for a dumb question. Where can you buy the pin connector that you soldered to the board. I have already purchase the TTL cable with pins.
Thank you
Hello! I did the procedure and it worked for me with a sonoff basic. Then I wanted to do it with another sonoff and it also worked but when I wanted to add it to homekit and scan the code it tells me that it has already been added, can you help me?
hello thank for this video. does it work on Sonoff basic R2? because I try but I get stuck after sending the json config. impossible to find it with Home application
Hello,
JSON sonoff basic (homekit) for gate? pls
Hey everything worked well, but the sonoff dind`t show up in the home app ? Can you help me ?
How can we add multiple device with one sonoff? Which json file we should use? Can you please make a video 🙏🏻
Xi! Do you know how to connect Sonoff miniR2 to Apple Homekit? Many thanks! ;-)
Hi, I've managed to go step by step until adding to homekit... accessory cannot be found... any help please!!
Great video! Thank you very much!
I was using homebridge to get all my devices on my smart home network, but I just found HAA! Maybe you could do a video on how to create the JSON string by your own :-)
How a config JSON for HAA is created is well documented in HAA’s wiki. I try to provide you guys with ready to use JSONs for the devices I am making the video for, to save you the trouble of searching for them or trying to create them. You can of course mend your own string following the examples in the wiki. :)
For the next video for lights witches, I’ve made sure to include a bunch of JSONs with different options so you get to choose.
Sounds amazing! Will you have a Look into window covers as well ?
@@philippcuno-friess8775 I will do my best to get my hands on the hardware first 😄
Would you be willing to ship a couple of shelly 2.5 flashed for homekit?
i've tried this with sonoff basic r2 but didn't work. i did the flashings but when i try to connect the device with the router, i couldn't see HAA-.... as wifi spot. And i also couldn't find json strings for r2. Could someone help me?
does that work for Sonoff Basic r2 and r3?
Where do i get the cable?
Hi, great video, how can I use this on wall light switch and still use the wall switch?
just connect your switch to S1,S2 of mini( N wire needed to power up sonoff)
How does it work with windows?
I'm trying to use the truncate command in terminal to make a full boot file but it says that the command cannot be found. What could be the issue here? Do I need to install something prior to being able to use that command? Thanks for the help!
Nevermind I figured out how to get homebrew installed
after flashing the son off, when trying to add to HomeKit, I get a banner that says "Accessory Already Added, to add this accessory to your home, you'll need to reset it first."
anyone else got the same problem? how to fix?
Hi very good tutorial! however, the haaboot.bin file seems to be missing :( Error 404.
Do you have a new link maybe?
I found this: github.com/RavenSystem/haa/releases
I just tried this merhod. Everything seems fine except can get the device as a wifi hotspot. What might be the problem?
try connecting it to power and it worked better on the iPhone than the mac
Hi I have flashed the first Sonoff with Homekit but when I did the same with the second one Home keeps telling me Accessory already added. I have tried refreshing several times but get the same every time. it tells me to reset it first. How do I do this?
same here. any solutions yet?
Hi @GetSmarty I did all the steps for my Sonoff Basic to run HAA, but when I try to connect to the created wifi network my Mac says "can't connect to....", this also happens with my iPhone & iPad
Update : one of my two sonoff basic devices connected correctly to my network, I’m repeating the process in a second device and the message “unable to join the network” still shows.
You mean you are unable to connect to the Device’s wifi hotspot?
@@getsmarty2460 That's right, no matter which device (Mac, iPad, iPhone), the hotspot exists but I can't connect to it.
I have had similar issues before. After a few tries, hitting “Forget network” and retrying I have had successes. This seems to be a firmware issue. :( I am not the author of the firmware. I'd suggest you to try this and if that doesn't help, you could try to reflash and try again.
@@getsmarty2460 I'll try then, thank you so much.
Hi.
your link is not work. Can you write new link
I believe some Shelly devices can be flashed OTA so you have no soldering. Is this true and if so could you provide a video how to? On a Mac would be great!
shelly devices have the pins accessible so, there is no need the pry open the plastic case, the rest is exactly the same as above
Preet Bedi so does this still have to be done with the serial cable?
You can do it without opening the case. Shelly1 and many other Shelly products have exposed serial pins. They are covered with a rubber cover. There is also the other option to flash it using the Tuya-Convert technique. I plan on doing a video on that soon.
Cheers! :)
GetSmarty great thanks, can’t wait! Might be a quarantine project 😂
After finished and added to the HOMEKIT working with the USB but when you disconnect it and put AC it stops working, you disconnect it from the AC (120v) and I connect it through the TTL (DC-3.3v) and it starts to work well. What happened because it does not want to work with ac only with DC-3.3v. Thank you for any help.
After the last firmware haa-single.bin at the end disconnect the USB and put the AC-120v current. then you finish the JSON code procedure. thanks for the tutorial.
FYI: Don't do the last JSON-code step with the USB if you are going to use 120vAC.
Work Great Thank you.
@@BIGFOOT1TONKA hey mate I also worked that out but when I add the JSON code and save it doesn't show on Homekit as a device any ideas?
@@lukeroberts914 need to wait 4 to 5 min to see it on HomeKit and use the code 021-82-017.
Hello, it work with Sonoff mini?
Yes! :)
My Sonoff mini bricked after DIY installl of HAA. No LED after restarting. Please help
same problem, I dont know how to get from flash mode to normal mode (to LED is lighting) and get the WIFI
So I eventually had to flash it using the serial adapter method to HAA. It started working again.
@@AkashSkylyn the same problem ! How did you connect to the mini ?
@@AkashSkylyn what chip has your sonoff mini? What JSON did you use ? I did flash mine by wires but after JSON and WiFi configuration it didn’t respond
@@JohnSmith-yg7og i used this json
{"c":{"l":13,"b":[{"g":0,"t":5}]},"a":[{"0":{"r":[{"g":12}]},"1":{"r":[{"g":12,"v":1}]},"b":[{"g":0}]}]}
Do you know how to invert the process??
I want to remove tasmota and install the original firmware but I dont know how...
@@davidalvarado5393 no way back ok, firmware is replaced completely.
Does this single file work with the sonoff diy tool?
It should! Please try if you can and report back. :)
Did it work?
Will it works with ESP8285 ? Thanks
you gota drop that music, hard to concentrate on what your doing.