Help updating Zigbee device firmware via ZHA

Hi
I’m looking to update the firmware for a Zigbee device but struggling. I’m running 2023.9.3 and using the Sonoff USB 3 Dongle Plus.

Here’s what I’ve tried.

In configuration.yaml :

    zha:
      zigpy_config:
        ota:
          thirdreality_provider: true            

Then this:

    service: zha.issue_zigbee_cluster_command
    data:
      ieee: <the device IEEE>
      endpoint_id: 1
      cluster_id: 25
      cluster_type: out
      command: 0
      command_type: client
      params:
        payload_type: 0
        query_jitter: 100

And this:

    Manage zigbee device >> 
    select OTA cluster (id: 0x0019) >> 
    click commands >> select image_notify (id: 0x0000) >> 
    mark payload_type: QueryJitter >> 
    move the query_jitter slider so its not being at default zero >> 
    ignore manufacturer_code/ image_type/ new_file_version fields >> 
    "Issue Zigbee command" button.

All this and nothing happens. Then, I even got a hold of the actual .ota firmware file, placed it in the config/zigpy_ota folder and edited the configuration.yaml code below, then restarted.

    zha:
      zigpy_config:
        ota:
          thirdreality_provider: true   
          otau_directory: /config/zigpy_ota

Still nothing happens - when I check the firmware version (app_version (id: 0x0001)) it’s unchanged.

Any ideas what I’m doing wrong?

Thanks

1 Like

Update. Woke up today and saw for some reason the firmware had updated. Weird. I wonder if firmware updates issued by manufacturers need to be “approved” by HA before they stick.

1 Like