https://github.com/unclegrumpy/espmqttota
WORK IN PROGRESS. Update ESP32/ESP8266 sketch from MQTT broker.
https://github.com/unclegrumpy/espmqttota
arduino eps8266 mqtt-client mqttota ota-update
Last synced: 24 days ago
JSON representation
WORK IN PROGRESS. Update ESP32/ESP8266 sketch from MQTT broker.
- Host: GitHub
- URL: https://github.com/unclegrumpy/espmqttota
- Owner: UncleGrumpy
- License: mit
- Created: 2021-06-24T02:12:50.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-06-25T18:27:45.000Z (almost 5 years ago)
- Last Synced: 2025-02-25T22:23:01.108Z (over 1 year ago)
- Topics: arduino, eps8266, mqtt-client, mqttota, ota-update
- Language: C++
- Homepage:
- Size: 15.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## 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.