Skip to content

[Feature request]: OTA Updates for passive devicesΒ #26819

Open
@emag37

Description

@emag37

Is your feature request related to a problem? Please describe

Sorry, not sure if this sort of thing has been asked before, but I've been trying to create an ultra-low-power Zigbee door sensor that uses an nRF52840 and I would like it to support over-the-air updatess.

Using the Zigbee FOTA feature in the Nordic SDK, the device will send a queryNextImageRequest periodically. However, it seems like today the queryNextImageRequest just pokes zigbee2mqtt to check the upstream server for updates, but it's still up to the user to actually trigger the update. My device turns off the rx radio to save power, though, so it obviously won't work unless I wake it up first.

I was thinking, why not just send the firmware update directly by responding to the initial queryNextImageRequest with a queryNextImageResponse? I did a bit of hacking in the otaUpdate.ts and ota.ts files and it seems to work marvelously. I guess I was just wondering if there was a plan to ever add something like this officially, or is it absent for a good reason?

Describe the solution you'd like

Maybe something in the OTA menu where instead of an update being triggered immediately, you can have it "update on next request" for passive devices.

Describe alternatives you've considered

I would have to wake up the device somehow first, a bit annoying when there are several of them scattered around the house...

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions