mirror of
https://github.com/Koenkk/zigbee-OTA.git
synced 2026-06-24 16:29:42 +00:00
* Add sha512 checksum to OTA firmwares This hashes firmware during download and adds the hash to index.json. Additionally, this PR adds `updateall.js` script which reads all entries and runs `add.js` on each of them (for mass updates, such as the hash algorithm or URL encoding etc). To allow for this to happen, this PR adds the ability to modify entries in-place via `add.js` (if called on an existing path in the repo). Lastly, this normalises the path for the Gledopto firmware to lowercase its file extensions; they were previously `.OTA` in index.json but `.ota` in the repository & in the `url` field -- something picked up by the mass update. * Update README.md Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
15 lines
631 B
Markdown
15 lines
631 B
Markdown
# zigbee-OTA
|
|
A collection of Zigbee OTA files, see `index.json` for an overview of all available firmware files.
|
|
|
|
## Adding new and updating existing OTA files
|
|
1. Go to this directory
|
|
2. Execute `node scripts/add.js PATH_TO_OTA_FILE_OR_URL`, e.g.:
|
|
- `node scripts/add.js ~/Downloads/WhiteLamp-Atmel-Target_0105_5.130.1.30000_0012.sbl-ota`
|
|
- `node scripts/add.js http://fds.dc1.philips.com/firmware/ZGB_100B_010D/1107323831/Sensor-ATmega_6.1.1.27575_0012.sbl-ota`
|
|
3. Create a PR
|
|
|
|
## Updating all existing OTA entries (if add.js has been changed)
|
|
1. Go to this directory
|
|
2. Execute `node scripts/updateall.js`
|
|
3. Create a PR
|