Pull new versions #5123
CestLaGalere
started this conversation in
Ideas
Replies: 1 comment
-
I like this idea. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I implemented a pull system for distributing new versions with a bespoke watering system for the ESP8266 & wondered if this would complement the OTA version control.
When a new version of the firmware was built it was available on a server (HA provides this)
the ESP board every update_interval requested the latest version number available, if this was later than the current one it pulled the version down and flashed it.
It worked well for ESP with deep sleep as they can then update themselves on wake, also can then rebuild all firmware for offline devices which will update when they come online.
This would not replace OTA.
There are better ways of determining version however I had the version number in a separate file,
called
to get version number, if later than the current one then called
I have not looked to see if ESPhttpUpdate is available in ESPHome but would be I hopee relatively straightforward to copy across.
Beta Was this translation helpful? Give feedback.
All reactions