3 ms·
A minor plug, if you're doing ESP8266/ESP32 development, you can use the following code snippet and server I wrote to do automatic, secure updates over pinned H
by StavrosK 6y ago
A minor plug, if you're doing ESP8266/ESP32 development, you can use the following code snippet and server I wrote to do automatic, secure updates over pinned HTTPS:
https://www.pastery.net/vmympk/ https://www.pastery.net/vmympk/
This is the server, a single binary (written in Rust):
https://gitlab.com/stavros/espota-server https://gitlab.com/stavros/espota-server
The device will connect to the server (whenever you call doHttpUpdate(), I usually do it on startup), ask for a new version, get the latest version, flash itself with it and then boot.
Very handy, as it's faster than USB/UART, and you don't have to disconnect from the serial console to use it.
- greatjack613 6y agoWooha, was looking for exactly something like this. Thank you. This is why I love hacker news.
- StavrosK 6y agoAnd we love you.