Skip to content

feat(deconz): add NWK_UPDATE energy scan API support#1644

Open
brendan-carroll wants to merge 3 commits into
Koenkk:masterfrom
brendan-carroll:feat/deconz-energy-scan-api
Open

feat(deconz): add NWK_UPDATE energy scan API support#1644
brendan-carroll wants to merge 3 commits into
Koenkk:masterfrom
brendan-carroll:feat/deconz-energy-scan-api

Conversation

@brendan-carroll
Copy link
Copy Markdown

Summary

  • add controller-level API support for NWK_UPDATE-based network energy scans
  • implement deCONZ adapter handling for scan request/response mapping
  • expose scanned channel mask + energy entry list consistently in controller result
  • include a deCONZ driver robustness fix for TCP close handler context binding

Motivation

This enables adapter-level energy scan diagnostics required by higher-level coordinator tooling and management UIs.

Validation

  • unit/integration checks on local branch for controller/deconz scan flow
  • hardware-backed verification with deCONZ coordinator through Zigbee2MQTT extension path
  • verified response includes per-channel energy values and channel mask

@Nerivec
Copy link
Copy Markdown
Collaborator

Nerivec commented Feb 20, 2026

This is not "deconz-only" (actually not deconz at all).

About the feature itself, if I remember correctly, I took a stab at implementing this a while back (when refactoring ZDO stuff), but plenty of devices don't support this (at all or properly), and it can make a big mess because devices will change channel during the scan, and some devices don't change back to proper channel after... which means re-pairing would be mandatory.
Not even sure all coordinator types would support this (some might, but with special handling, not via generic ZDO request).

@github-actions
Copy link
Copy Markdown
Contributor

This pull request is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions github-actions Bot added the stale label Apr 22, 2026
@Koenkk Koenkk added dont-stale and removed stale labels Apr 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants