1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 03:12:20 +01:00

[speaker, i2s_audio] Support audio_dac component, mute actions, and improved logging (#7664)

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
Kevin Ahrendt
2024-10-23 16:37:38 -04:00
committed by GitHub
parent 2feffddc55
commit bff0e81ed3
11 changed files with 177 additions and 29 deletions

View File

@@ -1,6 +1,8 @@
esphome:
on_boot:
then:
- speaker.mute_on:
- speaker.mute_off:
- if:
condition: speaker.is_stopped
then:

View File

@@ -1,6 +1,8 @@
esphome:
on_boot:
then:
- speaker.mute_on:
- speaker.mute_off:
- if:
condition: speaker.is_stopped
then:

View File

@@ -1,6 +1,8 @@
esphome:
on_boot:
then:
- speaker.mute_on:
- speaker.mute_off:
- if:
condition: speaker.is_stopped
then:

View File

@@ -1,6 +1,8 @@
esphome:
on_boot:
then:
- speaker.mute_on:
- speaker.mute_off:
- if:
condition: speaker.is_stopped
then:
@@ -17,8 +19,17 @@ i2s_audio:
i2s_bclk_pin: 17
i2s_mclk_pin: 15
i2c:
scl: 12
sda: 10
audio_dac:
- platform: aic3204
id: internal_dac
speaker:
- platform: i2s_audio
id: speaker_id
id: speaker_with_audio_dac_id
audio_dac: internal_dac
dac_type: external
i2s_dout_pin: 13
i2s_dout_pin: 14