That’s my Way to Query Home-Assistant Sensor data with Alexa:
- Create Dummy Light Object with NodeRed
- Create Alexa Routine to set the Dummy Light to 10%
- Create Script “Speak Sensor” to use TTS to send to Alexa current Sensor Data (Temp and Humidy)
- Use NodeRed to if Dummy Light Object was Triggert to 10% Percentage
and call “Speak Sensor” Script.
Why use This?
Just Add a Alex Routines to use to set different Percentages to query Other Sensor Data.
You need:
-
Amazon Echo TTS Integration in Home-Assistant
-
Node-Red Alexa Integration: “node-red-contrib-amazon-echo (node) - Node-RED”
-
Based on Solution: Asking Alexa for information - #24 by josy1024
-
Node Red Flow
-
Howto Integrate Alexa TTS with Home-Assistant:
ALEXA in HOME ASSISTANT 2022 (Part 1) - YouTube -
HomeAssistant “Speak Sensor” YAML:
service: notify.alexa_media_kuche_alexa
data:
message: >-
Die Feuchtigkeit ist {{states('sensor.5_in_1_pir_motion_sensor_humidity')
}}% bei {{states('sensor.5_in_1_pir_motion_sensor_air_temperature') }}
Grad.
data:
type: tts