Це відео не доступне.
Перепрошуємо.
How to flash ESPurna firmware to Sonoff Basic
Вставка
- Опубліковано 19 лис 2017
- This video shows how to flash the ESPurna firmware to the Sonoff Basic device, how to configure it and control using MQTT and HTTP protocol. In this video I will not cover how to configure it in home automation systems like OpenHAB or Domoticz.
Binaries on the new Github page: github.com/xos...
Sonoff Cheatsheet: drive.google.c...
ESP Tool Executable:
drive.google.c...
Node Red Flow:
flows.nodered....
(this flow is enhanced to what I have shown in the video)
Sonoff wiring explained: drive.google.c...
It was very useful! Thank you for covering the HTTP part as well. Much appreciated!
Thanks. I think lot of people prefer HTTP. And to be honest I find HTTP request in some cases quicker than MQTT. I did not mention but when using HTTP you better use a fixed IP which can be configured on the admin page on the WIFI tab.
You're very welcome! I kind of just started my "home automation" and because i'm more familiar with HTTP protocol, i'm using it that way. Maybe next year i'll get the hang of MQTT and go a step further with my projects. Thank you for the last configuration tip, will try this firmware this week-end, so i can prepare my home for winter! Yuuupppyy!!!
Thank you for this great tutorial. Until now I have worked with the Tasmota firmware on the Sonoffs and I like to try out the ESPurna firmware also because I've read lots of good things about it. This flash method is a bit easier then using PlatformIO in the Atom editor.
I yet to try Tasmota. And once I am done with that I also want a comparison video to see pros and cons of ESP Easy, ESPurna and Tasmota.
Thanks mate! Simple and easy to do!
Thank you so much. Your tutorial helped me!
Vielen lieben Dank für die Anleitung . Thank you from Gemany
Szia! Wemos d1 mini-re szeretnék Espurna fw-t, van is precomplied xoseperez github-ján ehhez a boardhoz, a kérdésem az, hogy a már beépített dht22 szenzort hogy engedélyezzem? illetve hogyan állítom be, hogy gpio2-re kötöttem? ugye nem kell ezért külön compile-olni, hanem lehet állítani ezeket valahogyan? köszi :)
In case of interruption of the power supply and restart, Sonoff drops to the basic setting. All set values and passwords are cleared.
Where is the problem? Thank you.
thank you that solved my same problem
Now ESPurna has moved to github, and I can't find the .bin files there. Any word on how can one proceed from there?
It is there: github.com/xoseperez/espurna/releases/. You click on the Wiki link, and on the right navigation menu, there is a link how to install pre-build releases.
Si pongo este firmware podré controlar el dispositivo con Google home? Cómo? Muchas gracias por su ayuda
Superb..tnx...
Szia Csongor, hogyan tudok ilyen kábelt eszkábálni? Tudtommal a mezei usb 5 voltot ad ki. köszi
Ez nem USB kábel, es egy FTDI. eBay-en keress arra hogy "3.3V FTDI" és találsz sokat.
The project has been moved to github.com/xoseperez/espurna
Any news on the new Sonoff version and do you know if the firmware can be charged ?
Not yet. I ordered a Sonoff probably more than a month ago. With Christmas around the corner, delivery is quite sketchy. And I am not even sure if this will be a new Sonoff, or just old stock. So I just need more time.
Thanks, It would be massive shame if they changed it so it could not be re-flashed. I'm just starting in Node-red and Sonoff's - I don't have any yet ...
That is definitely not the case. In one of the video somebody mentioned that it just needs a different parameters in ESPtool. Also if you read the Wiki of Tasmota firmware, it is also mentioned that the difference is only a parameter: read the top post: github.com/arendst/Sonoff-Tasmota/wiki/Theo's-Tasmota-Tips
Ah ok, Good to know Thanks.
One off topic question, in Espeasy do you know if Pulse counting has total pulses and the time between pulses this would to to read a LED on my electricity meter, giving both KW's currently being used and total KWh's used.
Thanks , so generally would you prefer ESPurna or ESP easy ?
I prefer ESP Easy for myself, because I like to tinker. But ESPurna most probably does all you need and does it much simpler. So if you are flashing a Sonoff, it is quicker to get up and running with ESPurna.
very interesting :)
can you publish a basic flow using node-red dashboard controls, with active visualization of the actual status of relay, indipendently if it's activated from physical button or via mqtt/http? Thanks :)
Check the video description, I put a new link there to an enhanced node red flow.
thanks!
the esotool.exe not run also disable Windows defender and try setup compatibility whit Win XP, theres other requirements to run ESPTOOL.exe ?
I am sorry, I did not experience this issue before. You can follow the steps on wiki to install python on your computer and and execute the python version of esptool. That's all I can add.
today i try it whit ESPEasy Flasher , and work very good is not required any command github.com/letscontrolit/ESPEasy/releases/download/v2.0.0-dev12/ESPEasy_v2.0.0-dev12.zip
Szia Csongor. Megszeretnem kerdezni hogy honnan lehetne letolteni a firmwareket? Ezen a linken bitbucket.org/xoseperez/espurna/downloads/ nem talalom. Koszi
Igen, ugy tunik a video keszitese ota a projekt atkoltozott a github-ra: github.com/xoseperez/espurna
itt sem talalom a .bin kiterjesztesu fajlokat.
Szia ha jol ertem, ha megflashelem a kis sonoff-omat akkor managgelheto lesz, es az alexa meg a domonitcz is kezeli?
Igen. De Alexa-t tud a Sonoff alapbol is. De igen, fogja tudni azokat a dolgokat amikkel domonitcz helybol tud vele beszelni. De onnantol persze nem mukodik majd a Sonoff sajat programjaval.
en most kezdtem el epiteni a rendszert. jelenleg va egy mukodo boradlink, ( tv, klimaa, villanykapcsolok, ) es par sonoff basic. szeretnem, hogy Alexa, es a siri is iranyitsa, es ne sok kulonbozo appbol keljen molesztalni a lakast. ezert gonoltam, h a kozos nevezo legyen egy synology-n futo domoticz, aminek a kezelofelulete emberbarat.
Most meg csak ott tartok, hogy az alexa iranyitja a sonoff-okat, a broadlinkbol csak a tv-t, es a domonitcz fut de semilyen eszkoz nincs rajta. picit elekadtam. Ha tudsz valami jo tanacsot mondani szivesen veszem . Koszi Zoli
Jó ötletnek hangzik. A domoticz-ot én nem ismerem. Nem tudom az mennyire jól működik együtt a Sirivel vagy az Alexa-val. Nagyon sokan esküsznek a Home Assistantra is ami ha jól tudom Apple Homekit kompetibilis. Azt nem tudom hogy a Broadlinkes cuccokat át lehet-e flashelni, illetve azokat hogyan lehet egy közös rendszerbe irányítani.
Koszi a gyors valaszodat. ha megakadok, szerintem meg radirok. a csatornaddal meg csak igy tovabb
Hi, thanks for the video, I flash completed but the green light on sonoff was not on. cannot find sonoffbasic wifi. How do you know what the ip address is 192.168.4.1? thanks.
do find a spunrna_07c029 and i assume that is the one, so i connect to it with windows 10 but it didn't work, and I connect to it with Pi and it did connect. not I have to find the ip address, I used 192.168.4.1 and 192.168.4.2 but they both didn't work. Thanks
It is documented in the wiki: when you connect to the access point created by the Sonoff, this is what the server IP is going to be. It is always that.
thanks
integrate blynk?
Have the new version of
Sonoff Basic got CE ?
Sorry, I don't know.
Link to the Node-Red flow is not working
Not sure why it did not work. I have updated it with a working link
Now it is there. Great video and flow, thanks for sharing.
Do you have idea how to implement scheduled timers on Sonoff with ESPurna, just like the original firmware do ?
With node red, I recommend installing bigtimer node. It does just that. You can set the on and off time, not only actual times but things like sunrise, sunset. There is an On payload and Off payload fields that you set to 1 and 0 and connect that to the ESPurna MQTT topic.
Where do I get the node-red example code?
Good work, remember everytime you complete a page set save it. I had the same problem when I made a vlog. Really enjoying your work have a wonderful day.
Sorry guys, I wanted to add the flow here, but it completely crashes the page. Now I have added the link to the node-red flow to the video description.