Update firmware of sonoff devices without sonoff bridge - Best practice?

FYI, ITead has released OTA firmware for Sonoff ZBMINI-L that is meant to address that delay issue:

https://github.com/Koenkk/zigbee-OTA/tree/master/images/Sonoff

https://github.com/zigpy/zha-device-handlers/issues/1519

https://community.home-assistant.io/t/sonoff-zbmini-l-zigbee-3-0-smart-switch-by-itead-works-without-neutral-wire-and-based-on-cc2652p-so-should-be-a-good-zigbee-router/384644/

You can flash these with ZHA if enable OTA and then manually copy the OTA file(s) to correct directory:

https://www.home-assistant.io/integrations/zha#ota-firmware-updates

https://github.com/zigpy/zigpy/wiki/OTA-Device-Firmware-Updates

I’ve not read about any ZHA/zigpy developers working on adding OTA provider to zigpy for sonoff, see:

https://github.com/zigpy/zigpy/issues/987

https://github.com/zigpy/zigpy/issues/535

https://github.com/zigpy/zigpy/tree/dev/zigpy/ota

zigpy developers prefer manufacturers or independent developers to contribute PR with download code:

https://github.com/zigpy/zigpy#zigbee-device-ota-updates

If you are using Zigbee2MQTT then need to copy Zigee OTA image files manually as well as no OTA provider for ITead/Sonoff is yet in zigbee-herdsman-converters:

https://github.com/Koenkk/zigbee-herdsman-converters/tree/master/lib/ota

https://www.zigbee2mqtt.io/guide/usage/ota_updates.html

PS: Off-topic, FYI, recommendation is also to disable “permit join” in Zigbee2MQTT due to both security reason as well as a memory leak issue found in some Zigbee Router firmware for ITead Sonoff devices.

6 Likes