Skip to content

Move to ESPHome 2026.11 - #7

Draft
Bunton33 wants to merge 11 commits into
betafrom
claude/cast-pro1-esphome-2026-11
Draft

Bunton33 wants to merge 11 commits into
betafrom
claude/cast-pro1-esphome-2026-11

Conversation

@Bunton33

Copy link
Copy Markdown
Contributor

Version: 26.10.26.1

What does this implement/fix?

Moves to ESPHome 2026.11: vendors the dev i2s_audio with the same 8 SPDIF DMA buffers, since the pinned copy no longer compiles there, and requires 2026.11.0. Line In now uses add_data_callback with its buffer in PSRAM, which leaves more internal RAM for optical. Builds on #6, so merge it after #6 and once ESPHome 2026.11.0 is out. Tested on a CAST PRO-1 with ESPHome 2026.11-dev: optical HTTP playback with Line In, announcements, and update checks all work.

Types of changes

  • Bugfix (fixed change that fixes an issue)
  • New feature (thanks!)
  • Breaking change (repair/feature that breaks existing functionality)
  • Dependency Update - Does not publish
  • Other - Does not publish
  • Website of github readme file update - Does not publish
  • Github workflows - Does not publish

Checklist / Checklijst:

  • The code change has been tested and works locally
  • The code change has not yet been tested

If user-visible functionality or configuration variables are added/modified:

  • Added/updated documentation for the web page

🤖 Generated with Claude Code

TrevorSchirmer and others added 11 commits October 8, 2026 16:43
Switch Full Duplex Component
Drop the hard-coded assignee and call the shared Workflows autoassign
workflow, which now falls back to the AUTO_ASSIGNEE organization
variable. Run on pull_request_target so assignment also works on
fork-submitted PRs; the workflow never checks out PR code.
…able

Assign issues and PRs via the AUTO_ASSIGNEE org variable
In full duplex the DAC's TX channel is the clock slave, and at the
default mclk_multiple of 256 (48 kHz, 32-bit slots) its MCLK/BCLK ratio
is 4, below ESP-IDF's minimum of 6. Raise the DAC and ADC to 512.

Set min_version to 2026.10.0, which sorts below 2026.10.0b1, so stable
builds pass again. Move flash_mode to esp32: and esp32_improv to
improv_ble. Bump CI pins, build beta on stable, and drop dev from CI
until the 2026.11 switch to the in-tree i2s_audio.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Full duplex holds the DAC and ADC DMA buffers from boot, so the SPDIF
speaker could not allocate its 15 DMA buffers. Vendor the pinned
i2s_audio with 8 SPDIF buffers, move Wi-Fi/BSS memory out of internal
RAM, and give SPDIF a 2 s timeout so switching back to Analog works.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Move the audio_http decoder stacks to PSRAM, and have the microphone task wait for internal RAM instead of aborting.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ESP-IDF clears the DNS servers whenever any interface restarts DHCP, and an unplugged Ethernet port retries every 15 s, so restore the default interface's servers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Release finished HTTP stream threads, shrink lwIP mailboxes, and move the Line In task stack to PSRAM so announcements work with Line In on.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An update check needs about 24 KB of internal RAM, which HA playback on optical can leave short, so checks now wait instead of failing silently.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Vendor the dev (1a50e139) i2s_audio with the same 8 SPDIF DMA buffers,
since the pinned copy no longer compiles on 2026.11. Line In now uses
add_data_callback with its sample buffer in PSRAM instead of on_data,
which kept an extra internal-RAM copy. Require 2026.11.0 and return CI
and beta builds to beta/dev.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 27, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added the bugfix Something isn't working label Oct 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants