Particle.io has a decent system for managing ota updates. It's not without quirks, but it's got some nice bells and whistles. Of coarse then you are committed to particle's platform, and all of it's quirks. I've only ever used it with the (cellular) electron, I've not used it with the (wifi) photon (still have the one I got at triembed a few months ago on my desk waiting for my son and I to come up with a project for it.)

So I'm not sure what, if anything, it would cost to manage photons in thier system.



On February 26, 2019 2:13:32 PM Alex Davis via TriEmbed <[email protected]> wrote:

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.

_______________________________________________
Triangle, NC Embedded Computing mailing list

To post message: [email protected]
List info: http://mail.triembed.org/mailman/listinfo/triembed_triembed.org
TriEmbed web site: http://TriEmbed.org
To unsubscribe, click link and send a blank message: mailto:[email protected]?subject=unsubscribe




_______________________________________________
Triangle, NC Embedded Computing mailing list

To post message: [email protected]
List info: http://mail.triembed.org/mailman/listinfo/triembed_triembed.org
TriEmbed web site: http://TriEmbed.org
To unsubscribe, click link and send a blank message: 
mailto:[email protected]?subject=unsubscribe

Reply via email to