zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

[Feature request]: Add OTA changelog information display for Zigbee device firmware updates

Open CubeZ2mDeveloper opened this issue 3 months ago • 2 comments

Is your feature request related to a problem? Please describe

Currently, when Zigbee2MQTT detects an available OTA update for a Zigbee device, users can start the update process but cannot easily know what changes are included in the new firmware version before applying the update.

Firmware updates may introduce bug fixes, new features, behavior changes, or compatibility changes. Without changelog information, users have to search externally (for example, GitHub releases or vendor documentation) to understand what the update contains, which makes the OTA update experience less transparent.

Describe the solution you'd like

It would be helpful if Zigbee2MQTT could provide a way to display firmware changelog information in the OTA update section.

For example, the OTA metadata could optionally include related release information, such as:

  • Firmware version
  • Release date
  • Changelog
  • Related PR/release note/documentation link

Before starting an OTA update, users could view the changes included in the target firmware version and decide whether they want to proceed.

Example:

Device: SONOFF SNZB-XX
Current firmware: 1.0.5
Available firmware: 1.0.6

Changelog:
- Fixed battery reporting issue
- Improved Zigbee network stability

Related:
https://github.com/xxx/xxx/pull/xxxx

This information could be provided by OTA providers/vendors and displayed by Zigbee2MQTT when available.

Describe alternatives you've considered

Currently, users need to manually search for firmware release notes, GitHub PRs, or vendor documentation to understand OTA changes.

Another possible solution would be maintaining a separate external database or documentation page for firmware changes, but integrating this information directly into Zigbee2MQTT's OTA interface would provide a better user experience.

Additional context

Many Zigbee device firmware updates are already associated with development changes, such as GitHub pull requests, release notes, or vendor changelogs.

For example, firmware changes are often tracked through related pull requests in repositories such as zigbee-OTA or zigbee-herdsman-converters. If Zigbee2MQTT could expose this information alongside OTA updates, users would have a better understanding of what will change before updating their devices.

This feature would improve OTA transparency and could also help reduce confusion and unnecessary issue reports caused by users updating firmware without knowing the expected changes.

CubeZ2mDeveloper avatar Aug 10 '26 12:08 CubeZ2mDeveloper

Hello! OTA changelog is a good idea 🙂 I saw you always add them in the pull request descriptions.

This is already possible. Just add "releaseNotes": in the index. See an example: https://github.com/Koenkk/zigbee-OTA/blob/6dc6081247a6ab0dc30c0b6b0b6e1927937aa922/index.json#L10080

It will show up in the user interface when you click update:

(UI Demo: https://nerivec.github.io/zigbee2mqtt-windfront/?path=/story/app--single-instance)

andrei-lazarov avatar Aug 10 '26 23:08 andrei-lazarov

Hi, thanks for pointing this out!

I wasn't aware that the releaseNotes field is already supported in the OTA index. It looks like this may already provide the functionality we were looking for.

We will take a closer look at how this is currently handled and evaluate how we can better integrate the release notes information into our OTA release process.

CubeZ2mDeveloper avatar Aug 11 '26 05:08 CubeZ2mDeveloper