How to flash ESPurna firmware to Sonoff Basic

  Рет қаралды 36,260

Csongor Varga

Csongor Varga

Күн бұрын

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...

Пікірлер: 53
@website_garage
@website_garage 7 жыл бұрын
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.
@csongorvarga
@csongorvarga 7 жыл бұрын
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.
@drderyalex
@drderyalex 3 жыл бұрын
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 :)
@CiprianBindiu
@CiprianBindiu 7 жыл бұрын
It was very useful! Thank you for covering the HTTP part as well. Much appreciated!
@csongorvarga
@csongorvarga 7 жыл бұрын
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.
@CiprianBindiu
@CiprianBindiu 7 жыл бұрын
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!!!
@bobq7910
@bobq7910 6 жыл бұрын
Si pongo este firmware podré controlar el dispositivo con Google home? Cómo? Muchas gracias por su ayuda
@nunosilva2128
@nunosilva2128 6 жыл бұрын
Thanks mate! Simple and easy to do!
@coolerkerl
@coolerkerl 6 жыл бұрын
Vielen lieben Dank für die Anleitung . Thank you from Gemany
@ZiyaTunaASLIM
@ZiyaTunaASLIM 6 жыл бұрын
Thank you so much. Your tutorial helped me!
@SolarMiracle
@SolarMiracle 6 жыл бұрын
Thanks , so generally would you prefer ESPurna or ESP easy ?
@csongorvarga
@csongorvarga 6 жыл бұрын
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.
@Penax737
@Penax737 6 жыл бұрын
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.
@batkamano11
@batkamano11 5 жыл бұрын
Szia Csongor, hogyan tudok ilyen kábelt eszkábálni? Tudtommal a mezei usb 5 voltot ad ki. köszi
@csongorvarga
@csongorvarga 5 жыл бұрын
Ez nem USB kábel, es egy FTDI. eBay-en keress arra hogy "3.3V FTDI" és találsz sokat.
@sayedur
@sayedur 6 жыл бұрын
Now ESPurna has moved to github, and I can't find the .bin files there. Any word on how can one proceed from there?
@csongorvarga
@csongorvarga 6 жыл бұрын
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.
@squalazzo
@squalazzo 7 жыл бұрын
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 :)
@csongorvarga
@csongorvarga 7 жыл бұрын
Check the video description, I put a new link there to an enhanced node red flow.
@squalazzo
@squalazzo 7 жыл бұрын
thanks!
@myozone
@myozone 7 жыл бұрын
Any news on the new Sonoff version and do you know if the firmware can be charged ?
@csongorvarga
@csongorvarga 7 жыл бұрын
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.
@myozone
@myozone 7 жыл бұрын
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 ...
@csongorvarga
@csongorvarga 7 жыл бұрын
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
@myozone
@myozone 7 жыл бұрын
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.
@CptRodgers
@CptRodgers 6 жыл бұрын
Szia ha jol ertem, ha megflashelem a kis sonoff-omat akkor managgelheto lesz, es az alexa meg a domonitcz is kezeli?
@csongorvarga
@csongorvarga 6 жыл бұрын
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.
@CptRodgers
@CptRodgers 6 жыл бұрын
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
@csongorvarga
@csongorvarga 6 жыл бұрын
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.
@CptRodgers
@CptRodgers 6 жыл бұрын
Koszi a gyors valaszodat. ha megakadok, szerintem meg radirok. a csatornaddal meg csak igy tovabb
@gioraver
@gioraver 6 жыл бұрын
the esotool.exe not run also disable Windows defender and try setup compatibility whit Win XP, theres other requirements to run ESPTOOL.exe ?
@csongorvarga
@csongorvarga 6 жыл бұрын
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.
@gioraver
@gioraver 6 жыл бұрын
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
@patrickm9303
@patrickm9303 7 жыл бұрын
thank you that solved my same problem
@stefansvab6935
@stefansvab6935 6 жыл бұрын
Szia Csongor. Megszeretnem kerdezni hogy honnan lehetne letolteni a firmwareket? Ezen a linken bitbucket.org/xoseperez/espurna/downloads/ nem talalom. Koszi
@csongorvarga
@csongorvarga 6 жыл бұрын
Igen, ugy tunik a video keszitese ota a projekt atkoltozott a github-ra: github.com/xoseperez/espurna
@stefansvab6935
@stefansvab6935 6 жыл бұрын
itt sem talalom a .bin kiterjesztesu fajlokat.
@japa6225
@japa6225 6 жыл бұрын
The project has been moved to github.com/xoseperez/espurna
@jackywoo4975
@jackywoo4975 7 жыл бұрын
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.
@jackywoo4975
@jackywoo4975 7 жыл бұрын
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
@csongorvarga
@csongorvarga 7 жыл бұрын
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.
@jackywoo4975
@jackywoo4975 7 жыл бұрын
thanks
@artemicruzarencibia650
@artemicruzarencibia650 6 жыл бұрын
integrate blynk?
@nishiter
@nishiter 7 жыл бұрын
Superb..tnx...
@leanzlatino
@leanzlatino 7 жыл бұрын
Have the new version of Sonoff Basic got CE ?
@csongorvarga
@csongorvarga 7 жыл бұрын
Sorry, I don't know.
@atvsteam
@atvsteam 7 жыл бұрын
Link to the Node-Red flow is not working
@csongorvarga
@csongorvarga 7 жыл бұрын
Not sure why it did not work. I have updated it with a working link
@atvsteam
@atvsteam 7 жыл бұрын
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 ?
@csongorvarga
@csongorvarga 7 жыл бұрын
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.
@leandrocosta4283
@leandrocosta4283 7 жыл бұрын
Where do I get the node-red example code?
@chuxxsss
@chuxxsss 7 жыл бұрын
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.
@csongorvarga
@csongorvarga 7 жыл бұрын
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.
Flashing TASMOTA Firmware on the Sonoff Basic
8:21
DrZzs & GrZzs
Рет қаралды 253 М.
TASMOTA on SonOff Flash EASY Way | Guide 2020 🔨🔧
10:55
Roberto Jorge Tech
Рет қаралды 57 М.
Wait for it 😂
00:19
ILYA BORZOV
Рет қаралды 11 МЛН
这是自救的好办法 #路飞#海贼王
00:43
路飞与唐舞桐
Рет қаралды 104 МЛН
СОБАКА ВЕРНУЛА ТАБАЛАПКИ😱#shorts
00:25
INNA SERG
Рет қаралды 2 МЛН
How to flash Sonoff to ESP Easy firmware
17:46
Csongor Varga
Рет қаралды 187 М.
Rules in ESP Easy
37:16
Csongor Varga
Рет қаралды 37 М.
Sonoff wifi switch control with ESP Easy and Node Red
31:10
Csongor Varga
Рет қаралды 81 М.
Flashing the Sonoff SwitchMan with ESPHome!
11:14
Everything Smart Home
Рет қаралды 48 М.
The COMPLETE Guide to Tasmota 2019
16:41
The Hook Up
Рет қаралды 259 М.
How to Install Tasmota & ESPHome | SONOFF ESP8266 w/ Home Assistant
35:56