Added HomeAssitant Voice.

This commit is contained in:
2025-09-01 21:36:09 +02:00
parent cae28341fe
commit 1ee475ee4a
4 changed files with 57 additions and 3 deletions

View File

@@ -145,10 +145,23 @@
target:
entity_id: tts.piper
action: tts.speak
- data:
cache: true
media_player_entity_id: media_player.home_assistant_voice_09c0e7_media_player
message: 4 20 lodere es, Lustknabe
target:
entity_id: tts.piper
action: tts.speak
- data:
qos: 0
retain: false
topic: awtrix_b8658c/notify
topic: awtrix_kitchen/notify
payload: '{"text": "420, lodere es, Lustknabe!"}'
action: mqtt.publish
- data:
qos: 0
retain: false
topic: awtrix_desk/notify
payload: '{"text": "420, lodere es, Lustknabe!"}'
action: mqtt.publish
mode: single
@@ -496,6 +509,16 @@
entity_id: tts.piper
enabled: true
action: tts.speak
- data:
cache: true
media_player_entity_id: media_player.home_assistant_voice_09c0e7_media_player
message: '{{message}}
'
target:
entity_id: tts.piper
enabled: true
action: tts.speak
- data:
topic: awtrix_desk/notify
payload: '{"text": "{{message}}", "icon": "clockcolor", "duration": 16}'

View File

@@ -0,0 +1,31 @@
substitutions:
name: home-assistant-voice-09c0e7
friendly_name: Home Assistant Voice 09c0e7
packages:
Nabu Casa.Home Assistant Voice PE: github://esphome/home-assistant-voice-pe/home-assistant-voice.yaml
esphome:
name: ${name}
name_add_mac_suffix: false
friendly_name: ${friendly_name}
wifi:
ssid: "Voltage-legacy"
password: !secret voltage_legacy_psk
#use_address: ${name}.home
#power_save_mode: high
#fast_connect: on
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "HA Voice Fallback Hotspot"
password: !secret fallback_psk
# Enable Home Assistant API
api:
encryption:
key: !secret apikey
ota:
platform: esphome
password: !secret ota

View File

@@ -70,7 +70,7 @@ esp32_camera:
idle_framerate: 0.2 fps
jpeg_quality: 30
agc_mode: auto
agc_gain_ceiling: 2x
agc_gain_ceiling: 4x
wb_mode: auto
vertical_flip: true
horizontal_mirror: true

View File

@@ -61,7 +61,7 @@ esp32_camera:
idle_framerate: 0.2 fps
jpeg_quality: 30
agc_mode: auto
agc_gain_ceiling: 2x
agc_gain_ceiling: 4x
wb_mode: auto
vertical_flip: true
horizontal_mirror: true