GithubHelp home page GithubHelp logo

OTA Update about espresense HOT 7 CLOSED

espresense avatar espresense commented on May 23, 2024
OTA Update

from espresense.

Comments (7)

DTTerastar avatar DTTerastar commented on May 23, 2024

I support both OTA via an auto download from github releases as well as connecting via arduino ota update. If you use the ".bin" from github (except the -noupdate flavor) it'll automatically download and keep itself up to date. Sometimes one or two of my devices takes a bit longer to update, not sure why. I suspect it fails until it WDT reboots and then it works. ESP32 isn't the most robust of environments, the WDT papers over any bugs in the platform...

from espresense.

corgan2222 avatar corgan2222 commented on May 23, 2024

Ahh actually I had no idea how the OTA update works.
But I found the documentation, so I could update the nodes. But I can't change the settings after the initial setup.
The "erase Flash" Option in PlatformIO does not work.

Maybe it would be nice, if you could write a little info about how to update and reset the ESPs.

And as I wrote in my PR, I could not found any version Information. I don't want to change too much in your code to implement it. But it would be cool to have a version number, so that Home Assistant can notify the User if a new Version is released, like for Zigbee or Hue Devices.

from espresense.

DTTerastar avatar DTTerastar commented on May 23, 2024

If you install it manually it has no version and doesn't autoupdate. Install it from here: https://espresense.com/install and it'll auto update and will show the version

from espresense.

corgan2222 avatar corgan2222 commented on May 23, 2024

Ok, understand. :)

from espresense.

spelech avatar spelech commented on May 23, 2024

Not trying to dig up a closed issue, but could you add some instructions on using ArduinoOTA if you have some? The Arduino IDE appears to only support OTA if you compile the project in that IDE, I couldnt find a way to use a binary compiled using platformio

from espresense.

DTTerastar avatar DTTerastar commented on May 23, 2024

With platform.io you just add this to your platformio.ini:

[env:myenv]
upload_protocol = espota
upload_port = IP_ADDRESS_HERE or mDNS_NAME.local

from espresense.

DTTerastar avatar DTTerastar commented on May 23, 2024

https://docs.platformio.org/en/latest/platforms/espressif32.html#over-the-air-ota-update

from espresense.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.