Skip to content

WORK IN PROGRESS. Update ESP32/ESP8266 sketch from MQTT broker.

License

Notifications You must be signed in to change notification settings

UncleGrumpy/EspMqttOTA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

EspMqttOTA

This is an attempt to update the firmware on ESP32 and ESP8266 devices directly from an MQTT broker.

WARNING: NOT WORKING YET!

The idea is to have the device subscribe to a topic like:

DEVICE_NAME/update/+

Replace DEVICE_NAME with a unique identifier for each device.

The updates should be published to:

DEVICE_NAME/update/MD5_of_UPDATE

Use the same device identifier as above and replace MD5_of_UPDATE with the MD5 hash of the firmware to be upgraded.

Current Status

Using the BufferedStreams library for Arduino has things closer to working now. The current problem is that the stream is being truncated. But I believe this is a problem in my current implementation, not a limitation of either the PubSubClient or BufferedStreams libraries.

About

WORK IN PROGRESS. Update ESP32/ESP8266 sketch from MQTT broker.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages