Skip to content

Require ESPHome ASH auto-ACKing when using a serial proxy - #766

Open
puddly wants to merge 10 commits into
zigpy:devfrom
puddly:puddly/fast-acks
Open

puddly wants to merge 10 commits into
zigpy:devfrom
puddly:puddly/fast-acks

Conversation

@puddly

@puddly puddly commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

ESPHome serial proxying now supports ezsp_proxy_tap, allowing bellows to opt into on-device ASH auto-ACKing and mitigate network latency issues. This is a requirement for serial proxies.

Depends on puddly/serialx#138.

Copilot AI balanced review requested due to automatic review settings October 13, 2026 17:41
@codecov

codecov Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.58%. Comparing base (aea9248) to head (ababfe5).

Additional details and impacted files
@@           Coverage Diff           @@
##              dev     #766   +/-   ##
=======================================
  Coverage   99.58%   99.58%           
=======================================
  Files          64       64           
  Lines        4331     4350   +19     
=======================================
+ Hits         4313     4332   +19     
  Misses         18       18           

☔ View full report in Codecov by Harness.
📢 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.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The dependency bound lacks mandatory tap enforcement, and connection timing and URL mode overrides can leave ASH frames unacknowledged.

2 open findings
What changed in this PR

Requires ESPHome serial proxies to use on-device ASH ACK handling while Bellows retains NAK handling.

Changes:

  • Requests ESPHome protocol-tap mode.
  • Adds configurable ASH ACK suppression and tests.
  • Adds the serialx dependency.
File Description
bellows/​uart.py Enables ESPHome protocol mode and ACK suppression.
bellows/​ash.py Adds optional standalone ACK suppression.
tests/​test_uart.py Tests transport-mode selection.
tests/​test_ash.py Tests ACK suppression while preserving NAKs.
pyproject.toml Adds serialx dependency.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread pyproject.toml Outdated
Comment thread bellows/uart.py
@zigpy-review-bot zigpy-review-bot added new feature Adds new feature breaking change Breaking change (mainly for PRs) labels Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking change Breaking change (mainly for PRs) new feature Adds new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants