[TriEmbed] OTA updates on ESP8266

Alex Davis alexd at matrixwide.com
Tue Feb 26 13:12:29 CST 2019


Anyone consider or use OTA (over the air) updates on an ESP8266 or any other IOT product? My use case is primarily managing certs. I figure it is better to check git/github for a new cert vs making a cert that never expires. Providing codes fixes OTA would be nice too, but is secondary.

It appears simple to do this using micropython (https://medium.com/@ronald.dehuysser/micropython-ota-updates-and-github-a-match-made-in-heaven-45fde670d4eb) but for Arduino and ESP8266 it is tailored to wireless updates in a LAN. My guess it is not so simple, as you're flashing the actual binary.

Micropython hasn't proven to be reliable with the 'requests' library but I've moved that off to an AWS EC linux instance, so all it has to do is be an MQTT client. I will be testing to see how the reliability is with simpler code requirements.

Alex

-- 
"The theater of noise is proof of our potential."
|\ |  (¯  \/ |¯\  |V| |\ ¯|¯ |¯) | \/ | | | |¯\ (¯   /¯  /\ |V|
|-||_ (_  /\ |_/ @| | |-| |  | \ | /\ |^| | |_/ (_ . \_  \/ | |

You won't find me on Facebook.




More information about the TriEmbed mailing list