Home Assistant: Difference between revisions

Sandro (talk | contribs)
drop no longer required openssl 1.1.1 workaround
Sandro (talk | contribs)
Add ZHA snippet
Line 282: Line 282:
     }];
     }];
   };
   };
</syntaxHighlight>
== Updating Zigbee Firmware over the air ==
To allow ZHA OTA updates you need to configure the z2m_remote_index setting for zha.
Before doing any updates, you should read the official integration documentation https://www.home-assistant.io/integrations/zha/#ota-firmware-updates
Before updating a device, you should do some research. Some firmware updates break certain features you might use (e.g. group binding for IKEA devices). Some updates may also require changes to ZHA. In rare cases, you can even brick devices by installing a firmware update.
<syntaxHighlight lang=nix>
services.home-assistant.config = {
  zha.zigpy_config.ota.z2m_remote_index = "https://raw.githubusercontent.com/Koenkk/zigbee-OTA/master/index.json";
};
</syntaxHighlight>
</syntaxHighlight>