#ZHA won't find FW update for Inspelning

1 messages · Page 1 of 1 (latest)

glad fox
#

Hey folks, I can't get ZHA to find the OTA update for the Inspelning plugs. I have enabled IKEA OTA in the config, so the OTA is working - it just believes that the old firmware is still the latest. The old firmware misreports the wattage as seen in the attached screenshot, which is fixed in the most recent firmware - hence the desire to update.

The firmware that ZHA thinks is the latest is 0x02040034, but apparently the one that fixes the issue is 0x02040045. It's been a good 2-3 days now, so it should have definitely had enough time to detect if there were any OTA firmware updates.

How do I go about forcing this update, even if I have to pull the firmware down manually somewhere? Using a SkyConnect if that helps.

GitHub

Library implementing a Zigbee stack. Contribute to zigpy/zigpy development by creating an account on GitHub.

stone condor
#

Hello @glad fox,
HA only has firmware updates for devices that the mfgrs provide the firmware to HA and the files are uploaded from the HA servers. AFAIK...

glad fox
#

Thanks, but that's not it. ZHA uses Zigpy at the core which pulls from external OTA providers (provided you've set it up correctly). This is all documented in the link that I included.

glad fox
#

Looking at the OTA JSON from IKEA, I can't actually find any mention of this plug in here. Is there a chance they've removed the firmware entirely? If so, does anyone have a copy of it that I can manually push to my OTA directory?

grizzled light
#

Which is the default URL of the ikea provider, according to the code.

glad fox
#

So according to this doc page the manual otau_directory is disabled in HA 2024.2.0 and on, with no update on how to manually push a firmware file. Any ideas?

GitHub

Library implementing a Zigbee stack. Contribute to zigpy/zigpy development by creating an account on GitHub.

#

Or is it now time to open an issue on the zigpy repo?

grizzled light
glad fox
#

Many people in there are reporting that they are on the newer firmware though. There are a few in that thread that are saying they're stuck on the same firmware as I am.

grizzled light
#

What's your config? Something like this?

zha:
  zigpy_config:
    ota:
      extra_providers:
        - type: ikea
glad fox
#

Yep

zha:
  zigpy_config:
    ota:
      otau_directory: /config/zigpy_ota
      extra_providers:
        - type: ikea
glad fox
#

Still not having any luck with this. puddly has actually chimed in on that issue now and I have provided some logs.

#

Pretty close to just taking them all over to a mate's place who's got the hub just to update them...

glad fox
#

Puddly found the issue. I wasn't going crazy, IKEA changed their JSON format... again. So OTA for IKEA hasn't been working for a while. Hopefully be in the next minor HA update.

glad fox
#

Looks like it still hasn't been merged into main, just dev. Does anyone know a way to get the dev tag of zigpy in ZHA?

glad fox
#

All working now, must have made its way back into ZHA without being mentioned in any of the patch notes.