Added HomeAssitant Voice.
This commit is contained in:
@@ -145,10 +145,23 @@
|
|||||||
target:
|
target:
|
||||||
entity_id: tts.piper
|
entity_id: tts.piper
|
||||||
action: tts.speak
|
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:
|
- data:
|
||||||
qos: 0
|
qos: 0
|
||||||
retain: false
|
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!"}'
|
payload: '{"text": "420, lodere es, Lustknabe!"}'
|
||||||
action: mqtt.publish
|
action: mqtt.publish
|
||||||
mode: single
|
mode: single
|
||||||
@@ -496,6 +509,16 @@
|
|||||||
entity_id: tts.piper
|
entity_id: tts.piper
|
||||||
enabled: true
|
enabled: true
|
||||||
action: tts.speak
|
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:
|
- data:
|
||||||
topic: awtrix_desk/notify
|
topic: awtrix_desk/notify
|
||||||
payload: '{"text": "{{message}}", "icon": "clockcolor", "duration": 16}'
|
payload: '{"text": "{{message}}", "icon": "clockcolor", "duration": 16}'
|
||||||
|
31
esphome/home-assistant-voice-09c0e7.yaml
Normal file
31
esphome/home-assistant-voice-09c0e7.yaml
Normal 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
|
||||||
|
|
@@ -70,7 +70,7 @@ esp32_camera:
|
|||||||
idle_framerate: 0.2 fps
|
idle_framerate: 0.2 fps
|
||||||
jpeg_quality: 30
|
jpeg_quality: 30
|
||||||
agc_mode: auto
|
agc_mode: auto
|
||||||
agc_gain_ceiling: 2x
|
agc_gain_ceiling: 4x
|
||||||
wb_mode: auto
|
wb_mode: auto
|
||||||
vertical_flip: true
|
vertical_flip: true
|
||||||
horizontal_mirror: true
|
horizontal_mirror: true
|
||||||
|
@@ -61,7 +61,7 @@ esp32_camera:
|
|||||||
idle_framerate: 0.2 fps
|
idle_framerate: 0.2 fps
|
||||||
jpeg_quality: 30
|
jpeg_quality: 30
|
||||||
agc_mode: auto
|
agc_mode: auto
|
||||||
agc_gain_ceiling: 2x
|
agc_gain_ceiling: 4x
|
||||||
wb_mode: auto
|
wb_mode: auto
|
||||||
vertical_flip: true
|
vertical_flip: true
|
||||||
horizontal_mirror: true
|
horizontal_mirror: true
|
||||||
|
Reference in New Issue
Block a user