How to flash ESPurna firmware to Sonoff Basic

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ก.ย. 2024
  • 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

  • @CiprianBindiu
    @CiprianBindiu 6 ปีที่แล้ว +2

    It was very useful! Thank you for covering the HTTP part as well. Much appreciated!

    • @csongorvarga
      @csongorvarga  6 ปีที่แล้ว +1

      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 6 ปีที่แล้ว +1

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

  • @website_garage
    @website_garage 6 ปีที่แล้ว

    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  6 ปีที่แล้ว

      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.

  • @nunosilva2128
    @nunosilva2128 6 ปีที่แล้ว +1

    Thanks mate! Simple and easy to do!

  • @ZiyaTunaASLIM
    @ZiyaTunaASLIM 6 ปีที่แล้ว +1

    Thank you so much. Your tutorial helped me!

  • @coolerkerl
    @coolerkerl 6 ปีที่แล้ว +1

    Vielen lieben Dank für die Anleitung . Thank you from Gemany

  • @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 :)

  • @patrickm9303
    @patrickm9303 6 ปีที่แล้ว

    thank you that solved my same problem

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

  • @nishiter
    @nishiter 6 ปีที่แล้ว

    Superb..tnx...

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

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

  • @myozone
    @myozone 6 ปีที่แล้ว +1

    Any news on the new Sonoff version and do you know if the firmware can be charged ?

    • @csongorvarga
      @csongorvarga  6 ปีที่แล้ว

      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 6 ปีที่แล้ว

      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  6 ปีที่แล้ว

      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 6 ปีที่แล้ว

      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.

  • @bobq7910
    @bobq7910 6 ปีที่แล้ว

    Si pongo este firmware podré controlar el dispositivo con Google home? Cómo? Muchas gracias por su ayuda

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

  • @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 ปีที่แล้ว +1

      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 ปีที่แล้ว +1

      Koszi a gyors valaszodat. ha megakadok, szerintem meg radirok. a csatornaddal meg csak igy tovabb

  • @leanzlatino
    @leanzlatino 6 ปีที่แล้ว

    Have the new version of
    Sonoff Basic got CE ?

  • @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

  • @squalazzo
    @squalazzo 6 ปีที่แล้ว

    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  6 ปีที่แล้ว

      Check the video description, I put a new link there to an enhanced node red flow.

    • @squalazzo
      @squalazzo 6 ปีที่แล้ว

      thanks!

  • @jackywoo4975
    @jackywoo4975 6 ปีที่แล้ว

    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 6 ปีที่แล้ว

      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  6 ปีที่แล้ว

      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 6 ปีที่แล้ว

      thanks

  • @artemicruzarencibia650
    @artemicruzarencibia650 6 ปีที่แล้ว

    integrate blynk?

  • @leandrocosta4283
    @leandrocosta4283 6 ปีที่แล้ว

    Where do I get the node-red example code?

    • @chuxxsss
      @chuxxsss 6 ปีที่แล้ว

      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  6 ปีที่แล้ว +1

      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.

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

  • @japa6225
    @japa6225 6 ปีที่แล้ว

    The project has been moved to github.com/xoseperez/espurna

  • @atvsteam
    @atvsteam 6 ปีที่แล้ว

    Link to the Node-Red flow is not working

    • @csongorvarga
      @csongorvarga  6 ปีที่แล้ว

      Not sure why it did not work. I have updated it with a working link

    • @atvsteam
      @atvsteam 6 ปีที่แล้ว

      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  6 ปีที่แล้ว

      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.