Skip to content

Commit

Permalink
use speaker component as output
Browse files Browse the repository at this point in the history
  • Loading branch information
kahrendt committed Oct 17, 2024
1 parent 94b5d3b commit 6aa779c
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions home-assistant-voice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1358,17 +1358,24 @@ microphone:
id: comm_mic
amplify_shift: 2

speaker:
- platform: i2s_audio
sample_rate: 48000
i2s_mode: secondary
i2s_dout_pin: GPIO10
bits_per_sample: 32bit
i2s_audio_id: i2s_output
dac_type: external
channel: left

media_player:
- platform: nabu
id: nabu_media_player
name: Media Player
internal: false
audio_dac:
speaker:
sample_rate: 48000
i2s_dout_pin: GPIO10
bits_per_sample: 32bit
i2s_mode: secondary
i2s_audio_id: i2s_output
volume_increment: 0.05
volume_min: 0.4
volume_max: 0.85
Expand Down Expand Up @@ -1436,7 +1443,7 @@ external_components:
- source:
type: git
url: https://github.com/esphome/voice-kit
ref: dev
ref: kahrendt-20241016-use-speaker-output
components:
- aic3204
- audio_dac
Expand Down

0 comments on commit 6aa779c

Please sign in to comment.