Hi there.
I am still very much a beginner but have managed to set up HA, so that it now turns a Ikea bulb (connected via Zigbee2MQTT) on when the sun goes down.
I also have another Ikea bulb that automatically comes on at 6pm.
I am running HA on a Raspberry Pi3, with a USB speaker plugged into it.
My next project is to try and have HA announce when the bulbs are turned on - for example, it will say “Bedroom Light On”, when said bulb turns on.
Via these pages:
I have updated my yaml configuration, so it shows the following:
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
media_player:
- platform: mpd
host: 192.168.1.4
tts:
- platform: google_translate
service_name: google_say
notify:
- platform: tts
name: in_the_living_room
tts_service: tts.google_say
media_player: media_player.living_room
What I have, now, is a grey box on my Overview that I can type a phrase in and it will play that phrase back over the speaker.
I am sort of getting there but what do I do now to get HA to announce when each of the bulbs turns on?
I need two messages:
-
Bedroom light on
-
Kitchen light on