fix(heimdallr): bump zigpy-zboss to 2.0.3 (OTA config API crash) #18

Merged
litelotus merged 1 commit from feat/heimdallr-zboss-203 into main 2026-09-04 22:24:24 +00:00
Owner

Symptom: ZHA setup flow fails when probing the ZBOSS radio → 500 error / "Unknown command" in the Zigbee UI.\n\nRoot cause: zigpy-zboss 1.2.0 (Jul 2024, what pinned nixpkgs carries) predates the zigpy 1.x OTA config API. Probing the radio instantiates a ControllerApplication, which validates zigpy's default OTA providers and crashes: AttributeError: 'ZigpyOtaProvider' object has no attribute 'get' in cv_ota_provider. The v2.0.0 release notes explicitly say "Support zigpy>=0.92.0,<2" — 1.2.0 only supports zigpy 0.6x.\n\nFix: override zigpy-zboss to 2.0.3 (current stable, matches installed zigpy 1.4.1) via the home-assistant packageOverrides hook, clearing 1.2.0's stale patches (they target the old uart.py). The patched zha (zboss RadioType, PR #13) is preserved.\n\nVerified: zigpy-zboss-2.0.3 + patched zha build in the heimdallr closure.

**Symptom:** ZHA setup flow fails when probing the ZBOSS radio → 500 error / "Unknown command" in the Zigbee UI.\n\n**Root cause:** `zigpy-zboss 1.2.0` (Jul 2024, what pinned nixpkgs carries) predates the zigpy 1.x OTA config API. Probing the radio instantiates a ControllerApplication, which validates zigpy's default OTA providers and crashes: `AttributeError: 'ZigpyOtaProvider' object has no attribute 'get'` in `cv_ota_provider`. The v2.0.0 release notes explicitly say "Support zigpy>=0.92.0,<2" — 1.2.0 only supports zigpy 0.6x.\n\n**Fix:** override `zigpy-zboss` to 2.0.3 (current stable, matches installed zigpy 1.4.1) via the home-assistant `packageOverrides` hook, clearing 1.2.0's stale patches (they target the old uart.py). The patched zha (zboss RadioType, PR #13) is preserved.\n\n**Verified:** zigpy-zboss-2.0.3 + patched zha build in the heimdallr closure.
fix(heimdallr): bump zigpy-zboss to 2.0.3 (OTA config API crash)
Some checks failed
ci/crow/push/check Pipeline failed
a6e7e2d3f8
ZHA setup fails when probing the ZBOSS radio with zigpy-zboss 1.2.0:
AttributeError: 'ZigpyOtaProvider' object has no attribute 'get' in
zigpy config validators (cv_ota_provider). 1.2.0 (Jul 2024) predates the
zigpy 1.x OTA config API; 2.0.0+ supports zigpy>=0.92,<2 (matches
installed zigpy 1.4.1). Bump to 2.0.3 via packageOverrides, clearing
1.2.0's stale uart.py patches.

Verified: zigpy-zboss-2.0.3 builds in the heimdallr closure, zha still
patched with the zboss RadioType member.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
litelotus/.nix!18
No description provided.