You've probably seen scenes in movies where people enter an apartment or a room and the light automatically turn on and pleasant music starts playing. Today we will repeat this automation. This is a translation of my article in Zen. Also, do not forget to read us in other services: Instagram, telegram (RU, EN, DE). Medium, LiveJournal, YouTube. Today we will create a simple automation in home assistant. When you enter the room, the music automatically turns on, as well as the background lighting. To implement the scene, such a backlight + a media device must be installed in the room. In my case, the backlight is implemented by Xiaomi mi light strip (Yeelight) and a "stereo pair" on Google nest mini speakers. 1. So, the first action is very simple. We create automation and get a name for it 2. Let's select a trigger. This can be a sensor on the door or a motion sensor in the room 3. As an action: turn on the lamp and call the media_player.play_media service. In the parameters of this se
Music automation in a smart home or media streams in home assistant
28 августа 202128 авг 2021
8
1 мин