Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@kahrendt
Copy link
Contributor

Updates the firmware to use the new media player in ESPHome 2025.2. Closes #56, as this builds directly off of it.

Since we still do not have I2S audio duplex support, I have set the media player to only use the announcement pipeline. Users can still play media and make announcements, but they won't be able to mix two audio streams together. Since users can't activate the voice assistant while media is playing, there are few opportunities to actually mix the audio.

  • Removes ADF dependency - instead uses audio_adc, audio_dac, and i2s_audio components
    • Adds volume control!
  • Modifies the images to use the new transparency options.

I haven't tested this due to not having an original S3 Box. Please test it out and let me know of any issues!

@kahrendt kahrendt force-pushed the s3-box-og-simple-media-player branch from 4222a1c to 3c05479 Compare February 18, 2025 20:14
@hugobloem
Copy link

I installed this firmware on my S3 Box and it works. However, there is a strange issue when announcing: the screen flashes the previous response but afterwards it goes black for the duration of the announcement. There are no entries in the log that point to this behaviour.

@kahrendt
Copy link
Contributor Author

I installed this firmware on my S3 Box and it works. However, there is a strange issue when announcing: the screen flashes the previous response but afterwards it goes black for the duration of the announcement. There are no entries in the log that point to this behaviour.

Thanks for raising this issue! I think I fixed it with the latest commit. Would you mind trying again?

@hugobloem
Copy link

I tried again but I am not sure whether the new configuration is being used. How can I force esphome to download the latest file iteration?

@hugobloem
Copy link

Never mind, I used the commit a84bb02 reference to specify the latest changes. This works now!

@kbx81 kbx81 merged commit 7444fc8 into esphome:main Feb 20, 2025
8 of 11 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Apr 30, 2025
@kahrendt kahrendt deleted the s3-box-og-simple-media-player branch May 1, 2025 11:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants