fixtSE
FixtSEFixtSE
Blog
Membership
Shop
Booking
About
Login

YoutubeInstagramRSSGithubPatreonPrivacy
Fixt â€ĸ Š 2025
Published: Nov 4, 2023—3 min read

Make you music follow you with ESPresense Room Presence Detection

Written by: Fixt

If you're subscribed to our Channel
Login with your Google account to get our Smart Tutorial Experience!

TABLE OF CONTENTS
PrerequisitesESPresense: Tolerance UpdateCreate input_selectMusic BlueprintsRoom Music Follow - SpotifyRoom Music Follow - YT MusicAutomation Example

Featured

Room Presence Detection with ESPHome and Home AssistantRoom Presence Detection with ESPHome and Home Assistant
Beginner DIY ESPHome mmWave Presence SensorBeginner DIY ESPHome mmWave Presence Sensor

Related

Tags

Integration
Home-Assistant
Blueprint
Presence-Detection
Tutorial
Automation
Music

If you like my work, please consider supporting me on Ko-fi! ☕🎉

← Back to the blog

You can use the Spotify and YT Music Blueprints without ESPresense

Prerequisites
#

Espresense Tutorial
Spotify Tutorial
Youtube Music Tutorial

ESPresense: Tolerance Update
#

Create input_select
#

Open your Home Assistant instance and show your helper entities.

config/configuration.yaml

input_select:
  fixt_ble_dropdown:
    name: Fixt BLE Dropdown
    options:
      - Away
      - Bedroom
      - Living Room
      - Kitchen
      - Entrance
      - Restroom
    initial: Away

Music Blueprints
#

Room Music Follow - Spotify
#

Room Music Follow - YT Music
#

  • Added media selector to select playlist or album to play

Automation Example
#

config/configuration.yaml

description: ""
mode: single
trigger:
  - platform: state
    entity_id:
      - input_select.fixt_ble_dropdown
condition:
  - condition: state
    entity_id: input_boolean.bedroom_sleep
    state: "off"
action:
  - choose:
      - conditions:
          - condition: state
            entity_id: input_select.fixt_ble_dropdown
            state: Living Room
        sequence:
          - service: script.room_music_follow_living_room
            data: {}
      - conditions:
          - condition: state
            entity_id: input_select.fixt_ble_dropdown
            state: Bedroom
        sequence:
          - service: script.room_music_follow_bedroom
            data: {}
      - conditions:
          - condition: state
            entity_id: input_select.fixt_ble_dropdown
            state: Entrance
        sequence:
          - service: script.room_music_follow_entrance
            data: {}
      - conditions:
          - condition: state
            entity_id: input_select.fixt_ble_dropdown
            state: Kitchen
        sequence:
          - service: script.room_music_follow_kitchen
            data: {}
      - conditions:
          - condition: state
            entity_id: input_select.fixt_ble_dropdown
            state: Restroom
        sequence:
          - service: script.room_music_follow_restroom
            data: {}
      - conditions:
          - condition: state
            entity_id: input_select.fixt_ble_dropdown
            state: Away
        sequence:
          - service: media_player.media_stop
            data: {}
            target:
              # Change to your Spotify or Youtube Music Player
              entity_id: media_player.ytube_music_player              
alias: Music Follow

Tags

Integration
Home-Assistant
Blueprint
Presence-Detection
Tutorial
Automation
Music
← Back to the blog

Featured

Room Presence Detection with ESPHome and Home AssistantRoom Presence Detection with ESPHome and Home Assistant
Beginner DIY ESPHome mmWave Presence SensorBeginner DIY ESPHome mmWave Presence Sensor

Related

Tags

Integration
Home-Assistant
Blueprint
Presence-Detection
Tutorial
Automation
Music
YouTube Subscriber Access
BLUEPRINT

YouTube Subscriber Benefit

This blueprint is free for all our YouTube subscribers!

Log in with your Google account to access it on our website.

Subscribe to our channel
YouTube Subscriber Access
BLUEPRINT

YouTube Subscriber Benefit

This blueprint is free for all our YouTube subscribers!

Log in with your Google account to access it on our website.

Subscribe to our channel
YouTube Subscriber Access
BLUEPRINT

YouTube Subscriber Benefit

This blueprint is free for all our YouTube subscribers!

Log in with your Google account to access it on our website.

Subscribe to our channel