-
Notifications
You must be signed in to change notification settings - Fork 41
Description
OTA update in ZHA.
The "configuration.yaml" file must have a directory assigned to the OTA files and the "ZHA Toolkit" installed.
For example, the directory name will be: “/zigbee_ota”
zha:
zigpy_config:
ota:
enabled: true
# Download the index over HTTPS
z2m_remote_index: https://raw.githubusercontent.com/Koenkk/zigbee-OTA/master/index.json
# Or, load the index offline
z2m_local_index: ./zigbee_ota/index.json
Place the new FW version files "*.zigbee" or "index.json" from bin into this directory ("./zigbee_ota").
Restart ZHA (preferably the entire Home Assistant).
Update in new versions of Home Assistant:
Update in ZHA Toolkit:
Doesn't work in the new version of ZHA!
Go to “Developer tools” -> “SERVICES” and select “ZHA Toolkit: Trigger Device's Firmware Update”.
Select “Device Reference” and click “CALL SERVICE”.
After some time, 15..20 minutes, the firmware number will change:
To restore to BLE, use the Zigbee OTA file with the same number device from: https://github.com/pvvx/ATC_MiThermometer/tree/master/zigbee_ota
After running Zigbee OTA, be sure to delete this file or files from the update directories for Zigbee OTA and completely restart z2m/zha. Otherwise, with the new Zigbee firmware, this update in BLE will work again.