Upgrading Hue dimmer with ZHA OTA

Tags: #<Tag:0x00007f73ac1baae0>

Hi, I have a mix of Tradfri and Hue bulbs and units, and ZHA allows for OTA updates of Tradfri which is just peachy. But as Hue doesn’t publicly release their firmware, you have do some additional steps (if you have the firmware available.

I have gotten far, but I suppose I will need help to get to the finish line:

  1. I have ZHA perfectly setup, and I am able to control everything.
  2. I’ve added the following to my config yaml:
      ikea_provider: true                        # Auto update Trådfri devices
      ledvance_provider: true                    # Auto update LEDVANCE devices
      otau_directory: /config/zigpy_ota  # Utilize .ota files to update everything else
  1. I’ve added the file found here to the specified folder, which I believe is the newest version of the dimmer switch firmware (please correct me if I am wrong).
  2. Now, either the dimmer is going to update itself(?), or I have to force it. If I want to force it, how would I go about it? I suppose I have to send a cluster command, but which one?

No one who has gone down this road before? :blush:

I can’t help you but I want to thank you. I just learned that Philips Hue firmware can be downloaded from the Deconz web-site.


Anyone? It doesn’t appear that the OTA is happening by itself.

I read this part of the documentation and my impression is that OTA is unavailable for Hue devices. There are two options to enable OTA, one for Ikea Tradfri and the other for LEDVANCE. What leads you to believe that enabling both of them will also make it work for Philips Hue?

Was it this line?

Note that the otau_directory setting is optional and can be used for any firmware files you have downloaded yourself.

My impression is it means any firmware you downloaded for Ikea or LEDVANCE. However, it seems to suggest that it’s for any vendor’s firmware. If that were true, it leads to the question of how do you tell ZHA to perform OTA with the Hue firmware if there’s no option for it (like for Ikea and LEDVANCE)?


To be clear, I’m just thinking out loud here; as mentioned, I have no practical experience with this integration. If I was actually trying to get OTA to work with Hue, I would have exactly the same questions as you: how and when does OTA happen? :thinking:

1 Like

I’ve never gotten OTA updates to work for Hue devices using ZHA (and I went down the same rabbit hole that you have for weeks).

So, what I typically do every 3 months or so is unpair my Hue devices (remotes and motion sensors) from HA. Pair them up to my Hue bridge, wait for them to update, and then re-pair them to HA. This process usually takes me between 2-3 days.

Is it painful and tedious? Yes. Does it suck? Yes. But, at least the firmware gets updated (yay I guess?).

1 Like

From what I can understand, the OTA directory is for firmwares other than the officially published ones.

And people here, seems to be successful with using Deconz to update Hue units.

Hah, glad I am not the only one.

It appears it is possible with Deconz, and if you are able to locate a firmware.
I assume it will be the same with ZHA as well, I just got to wait for the project to mature a bit.

Fortunately, I am alone home this coming weekend, and I might migrate to Deconz, just to try updating and then migrate back to ZHA.

1 Like

I tried to confirm that by inspecting the source code but my first attempt failed to even find the OTA option. I’ll try again later, when I have more time.