Another round of fixing the wireless speaker.
This commit is contained in:
parent
28e88d9196
commit
7e64d92101
@ -82,21 +82,11 @@
|
|||||||
message: Gute Nacht!
|
message: Gute Nacht!
|
||||||
- service: media_player.play_media
|
- service: media_player.play_media
|
||||||
target:
|
target:
|
||||||
entity_id: media_player.raspiaudio_muse_luxe_player
|
entity_id: media_player.raspiaudio_muse_luxe
|
||||||
data:
|
data:
|
||||||
media_content_id: media-source://tts/picotts_remote?message=Gute+Nacht%2C+schlaf+gut.
|
media_content_id: ''
|
||||||
media_content_type: provider
|
media_content_type: ''
|
||||||
metadata:
|
metadata: {}
|
||||||
title: Gute Nacht, schlaf gut.
|
|
||||||
thumbnail: https://brands.home-assistant.io/_/picotts_remote/logo.png
|
|
||||||
media_class: app
|
|
||||||
children_media_class:
|
|
||||||
navigateIds:
|
|
||||||
- {}
|
|
||||||
- media_content_type: app
|
|
||||||
media_content_id: media-source://tts
|
|
||||||
- media_content_type: provider
|
|
||||||
media_content_id: media-source://tts/picotts_remote?message=Gute+Nacht%2C+schlaf+gut.
|
|
||||||
- service: media_player.turn_off
|
- service: media_player.turn_off
|
||||||
target:
|
target:
|
||||||
area_id:
|
area_id:
|
||||||
@ -163,7 +153,7 @@
|
|||||||
- service: tts.picotts_remote_say
|
- service: tts.picotts_remote_say
|
||||||
data:
|
data:
|
||||||
cache: true
|
cache: true
|
||||||
entity_id: media_player.raspiaudio_muse_luxe_player
|
entity_id: media_player.raspiaudio_muse_luxe
|
||||||
message: Ab ins Bett! Schlafenszeit!
|
message: Ab ins Bett! Schlafenszeit!
|
||||||
mode: single
|
mode: single
|
||||||
- id: '1623954512941'
|
- id: '1623954512941'
|
||||||
@ -468,7 +458,7 @@
|
|||||||
- service: tts.picotts_remote_say
|
- service: tts.picotts_remote_say
|
||||||
data:
|
data:
|
||||||
cache: true
|
cache: true
|
||||||
entity_id: media_player.raspiaudio_muse_luxe_player
|
entity_id: media_player.raspiaudio_muse_luxe
|
||||||
message: '{% set t = now().hour %} {% set m = ''Morgen'' if t < 12 else ''Nachmittag''
|
message: '{% set t = now().hour %} {% set m = ''Morgen'' if t < 12 else ''Nachmittag''
|
||||||
if t < 18 else ''Abend'' %} Guten {{m}} Marcus. Draußen sind es {{states.sensor.temperatur_aussen.state}}
|
if t < 18 else ''Abend'' %} Guten {{m}} Marcus. Draußen sind es {{states.sensor.temperatur_aussen.state}}
|
||||||
Grad Celsius und es ist {{states.sensor.time.state}}
|
Grad Celsius und es ist {{states.sensor.time.state}}
|
||||||
|
@ -2,19 +2,6 @@ substitutions:
|
|||||||
name: "raspiaudio-muse-luxe"
|
name: "raspiaudio-muse-luxe"
|
||||||
friendly_name: "RaspiAudio Muse Luxe"
|
friendly_name: "RaspiAudio Muse Luxe"
|
||||||
|
|
||||||
esphome:
|
|
||||||
name: "${name}"
|
|
||||||
name_add_mac_suffix: False
|
|
||||||
project:
|
|
||||||
name: raspiaudio.muse-luxe
|
|
||||||
version: "1.0"
|
|
||||||
|
|
||||||
esp32:
|
|
||||||
board: esp-wrover-kit
|
|
||||||
framework:
|
|
||||||
type: arduino
|
|
||||||
|
|
||||||
logger:
|
|
||||||
# Enable Home Assistant API
|
# Enable Home Assistant API
|
||||||
api:
|
api:
|
||||||
encryption:
|
encryption:
|
||||||
@ -22,10 +9,6 @@ api:
|
|||||||
ota:
|
ota:
|
||||||
password: !secret ota
|
password: !secret ota
|
||||||
|
|
||||||
i2c:
|
|
||||||
sda: GPIO18
|
|
||||||
scl: GPIO23
|
|
||||||
|
|
||||||
wifi:
|
wifi:
|
||||||
ssid: Voltage-legacy
|
ssid: Voltage-legacy
|
||||||
password: !secret voltage_legacy_psk
|
password: !secret voltage_legacy_psk
|
||||||
@ -37,6 +20,27 @@ wifi:
|
|||||||
ssid: "Raspiaudio Fallback Hotspot"
|
ssid: "Raspiaudio Fallback Hotspot"
|
||||||
password: !secret fallback_psk
|
password: !secret fallback_psk
|
||||||
|
|
||||||
|
esphome:
|
||||||
|
name: "${name}"
|
||||||
|
name_add_mac_suffix: false
|
||||||
|
project:
|
||||||
|
name: raspiaudio.muse-luxe
|
||||||
|
version: "1.0"
|
||||||
|
|
||||||
|
esp32:
|
||||||
|
board: esp-wrover-kit
|
||||||
|
framework:
|
||||||
|
type: arduino
|
||||||
|
|
||||||
|
logger:
|
||||||
|
|
||||||
|
i2c:
|
||||||
|
sda: GPIO18
|
||||||
|
scl: GPIO23
|
||||||
|
|
||||||
|
dashboard_import:
|
||||||
|
package_import_url: github://esphome/media-players/raspiaudio-muse-luxe.yaml@main
|
||||||
|
|
||||||
captive_portal:
|
captive_portal:
|
||||||
|
|
||||||
improv_serial:
|
improv_serial:
|
||||||
@ -47,12 +51,12 @@ external_components:
|
|||||||
refresh: 0s
|
refresh: 0s
|
||||||
|
|
||||||
i2s_audio:
|
i2s_audio:
|
||||||
i2s_lrclk_pin: GPIO25
|
- i2s_lrclk_pin: GPIO25
|
||||||
i2s_bclk_pin: GPIO5
|
i2s_bclk_pin: GPIO5
|
||||||
|
|
||||||
media_player:
|
media_player:
|
||||||
- platform: i2s_audio
|
- platform: i2s_audio
|
||||||
name: ${friendly_name} Player
|
name: ${friendly_name}
|
||||||
dac_type: external
|
dac_type: external
|
||||||
i2s_dout_pin: GPIO26
|
i2s_dout_pin: GPIO26
|
||||||
mode: stereo
|
mode: stereo
|
||||||
@ -80,10 +84,6 @@ sensor:
|
|||||||
alpha: 0.2
|
alpha: 0.2
|
||||||
send_every: 2
|
send_every: 2
|
||||||
- delta: 0.002
|
- delta: 0.002
|
||||||
# WiFi signal strength
|
|
||||||
- platform: wifi_signal
|
|
||||||
name: "WiFi Signalstärke"
|
|
||||||
update_interval: 60s
|
|
||||||
|
|
||||||
binary_sensor:
|
binary_sensor:
|
||||||
- platform: gpio
|
- platform: gpio
|
||||||
@ -119,7 +119,7 @@ binary_sensor:
|
|||||||
|
|
||||||
light:
|
light:
|
||||||
- platform: fastled_clockless
|
- platform: fastled_clockless
|
||||||
name: ${friendly_name} LED
|
name: ${friendly_name}
|
||||||
pin: GPIO22
|
pin: GPIO22
|
||||||
chipset: SK6812
|
chipset: SK6812
|
||||||
num_leds: 1
|
num_leds: 1
|
||||||
|
Loading…
Reference in New Issue
Block a user