Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95919

Volumio not resuming Songs

$
0
0

@The-May wrote:

Hi Guys,

I recently managed to get a Raspberry Pi 2b working with Volumio to handle as an additional Speaker for my Phone.
I currently have two additional Sonos Speakers and I managed to create automations to “transfer” my currently playing Spotify-Song (via Spotify Connect) from one to the respective Sonos-Speaker and they work flawlessly.
They either:

  • pass the song from one Sonos-Speaker to each other (depending what automation gets triggered)
    or
  • they “grab” the currently playing Song on my Mobile phone and start playing it. (When I come in Home e.g. )
    One specific Example for my bathroom:
- id: '1578940391679'
  alias: Auto_Bad_Beleuchtung_An_Morgens_Abends
  description: ''
  trigger:
  - device_id: ccb3a8a9976f4d408686a7b669a6c3ee
    domain: binary_sensor
    entity_id: binary_sensor.prox_bad
    platform: device
    type: motion
  condition:
  - after: '23:00'
    before: '11:00'
    condition: time
  action:
  - data:
      brightness_pct: 10
      transition: 5
    entity_id: light.bad
    service: light.turn_on
  - entity_id: media_player.sonos_bed
    service: media_player.media_pause
  - entity_id: media_player.volumio
    service: media_player.media_pause
  - entity_id: media_player.sonos_bad
    service: media_player.media_play

To my Problem:

I tried the same thing on Volumio thanks to the “Spotify Connect” Plugin, but it seems to not fully “follow/grab” what I was playing and it starts playing the last played song (or a random one) in the Playlist of Volumio and completely ignores what has been played on my Sonos-Speakers OR my Phone.

The only thing that bugs me is that the sonos-speakers DO grab the song from Volumio, (they resume the song that is currently playing) so Volumio is keeping somehow the connection to the Servers.

My automation for Volumio uses the same scheme:
(please dont mind the trigger and the alias)

- id: '1580321733318'
  alias: test
  description: ''
  trigger:
  - event: sunrise
    platform: sun
  condition: []
  action:
  - entity_id: media_player.sonos_bed
    service: media_player.media_pause
  - entity_id: media_player.volumio
    service: media_player.play_media

I am afraid that this is a Volumio-Specific thing, but I thought maybe someone got it working by doing something like a snapshot of the attributes of the currently playing song from the last active speaker and apply it to the media_player (volumio)? Is this even possible?

Please advise and tell me what you might think of it and maybe how you managed to get it working.
I am always open for other solutions.

Thank you for the wall of text and cheers.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95919

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>