-
-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OTA Update #47
Comments
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... |
Ahh actually I had no idea how the OTA update works. 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. |
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 |
Ok, understand. :) |
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 |
With platform.io you just add this to your platformio.ini: [env:myenv] |
Your last update with HA Autodiscory and distance change via MQTT works great! But some of my devices are placed in not so easy to access places.
So it would be great to have the possibility to update via OTA. Would this be possible?
The text was updated successfully, but these errors were encountered: