Skip to content

Log time until next MTORR broadcast for source routing#717

Draft
TheJulianJES wants to merge 1 commit intozigpy:devfrom
TheJulianJES:tjj/source_routing_log_remaining_time
Draft

Log time until next MTORR broadcast for source routing#717
TheJulianJES wants to merge 1 commit intozigpy:devfrom
TheJulianJES:tjj/source_routing_log_remaining_time

Conversation

@TheJulianJES
Copy link
Copy Markdown
Contributor

AI summary

setSourceRouteDiscoveryMode returns a uint32_t remainingTime — the milliseconds until the next MTORR broadcast — but bellows was discarding it. Capture and log it at debug level. With the RESCHEDULE mode this is approximately the configured min-interval; the value makes startup behavior visible in logs and matches what zigbee-herdsman's ember adapter reports
("Started source route discovery. Xms until next broadcast.").

`setSourceRouteDiscoveryMode` returns a `uint32_t remainingTime` —
the milliseconds until the next MTORR broadcast — but bellows was
discarding it. Capture and log it at debug level. With the
`RESCHEDULE` mode this is approximately the configured min-interval;
the value makes startup behavior visible in logs and matches what
zigbee-herdsman's ember adapter reports
("Started source route discovery. Xms until next broadcast.").
@codecov
Copy link
Copy Markdown

codecov Bot commented May 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.54%. Comparing base (4b97a6d) to head (667f5b5).

Additional details and impacted files
@@           Coverage Diff           @@
##              dev     #717   +/-   ##
=======================================
  Coverage   99.54%   99.54%           
=======================================
  Files          61       61           
  Lines        4147     4148    +1     
=======================================
+ Hits         4128     4129    +1     
  Misses         19       19           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant