Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 4 of 4
  1. #1
    Senior Member
    Join Date
    Mar 2007
    Posts
    402

    Interesting home assistant update

    It looks like Home Assistant is updating their Squeezebox support in their next release.

    https://github.com/home-assistant/core/pull/35669

    From the notes:
    This moves the squeezebox integration to the configuration flow so that it can be configured from the frontend and loaded without restarting home assistant. Servers will automatically be discovered by the "discovery" integration, or by this integration once it is loaded. If the user adds this integration from frontend, it will attempt to automatically discover the server as well.

    Relatedly, the squeezebox integration will now handle individual players coming online or going offline while home assistant is running. Previously, the integration would only detect players that were present during startup.


    I'm glad to see the dynamic updating of players, as that was a pet peeve of mine.

    I'd be curious if anyone's done anything extensive with Squeezebox and Home Assistant. I've done some simple setup such as coordinating the shutdown of my receiver via my Harmony Hub if the player was paused for a certain period (basically emulating the power off plugin).

    The biggest thing I'd be interested in would be the ability to get the list of favorites from Squeezebox so it could be added to a drop down in Home Assistant if anyone's done that. Ideally in the long run Home Assistant would be the gateway to everything in my house, while navigating all of Squeezebox sounds painful, I think navigating favorites would be useful. I am currently able to play a specific url on a specific player, but something more dynamic would be more great.

    Lastly I saw this project a while back which sends alerts to players, but never got ambitious enough to check it out: https://community.home-assistant.io/...cript/11774/50

  2. #2
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    2,705
    The media player card had a bit of a revamp a little while ago as well and I think it looks good.
    Basically it takes the cover art and then uses the colour of it to extend as the background to the rest of the interface.

    You can see an example at https://www.home-assistant.io/lovelace/media-control/
    (although I think it looks better than that in practice)
    Paul Webster
    http://dabdig.blogspot.com
    Author of "Now Playing" plugins covering Radio France (FIP etc), KCRW, Supla Finland, ABC Australia, CBC/Radio-Canada and RTE Ireland

  3. #3
    Senior Member
    Join Date
    Apr 2019
    Location
    Wunstorf, Germany
    Posts
    330
    Quote Originally Posted by sander View Post
    Relatedly, the squeezebox integration will now handle individual players coming online or going offline while home assistant is running.
    This is working now and it is great because I don't have all the players switched on all the time.

    I am using the "mini-media-player" card to display the players in my UI. There I have a few favorites by hand integrated that point to some radio stations from tunein.
    The configuration looks like this:

    Code:
              - type: 'custom:mini-media-player'
                artwork: cover
                entity: media_player.dachboden
                hide:
                  icon: true
                  power: false
                  volume: false
                info: short
                name: Dachboden
                scale: 0.9
                source: icon
                shortcuts:
                  buttons:
                    - id: http://opml.radiotime.com/Tune.ashx?id=xxxxx1&formats=aac,ogg,mp3&partnerId=16&serial=yyyyyyyyyyyyyyyyyy
                      name: 
                      image: /hacsfiles/lms-bilder/NDR 2.png
                      type: playlist
                    - id: http://opml.radiotime.com/Tune.ashx?id=xxxxx2&formats=aac,ogg,mp3&partnerId=16&serial=yyyyyyyyyyyyyyyyyy
                      name: 
                      image: /hacsfiles/lms-bilder/ffn.png
                      type: playlist
                    - id: http://opml.radiotime.com/Tune.ashx?id=xxxxx3&formats=aac,ogg,mp3&partnerId=16&serial=yyyyyyyyyyyyyyyyyy
                      name: 
                      image: /hacsfiles/lms-bilder/Radio 21.png
                      type: playlist
                    - id: http://opml.radiotime.com/Tune.ashx?id=xxxxx4&formats=aac,ogg,mp3&partnerId=16&serial=yyyyyyyyyyyyyyyyyy
                      name: 
                      image: /hacsfiles/lms-bilder/Radio BOB!.png
                      type: playlist
                    - id: http://opml.radiotime.com/Tune.ashx?id=xxxxx5&formats=aac,ogg,mp3&partnerId=16&serial=yyyyyyyyyyyyyyyyyy
                      name: 
                      image: /hacsfiles/lms-bilder/Meer Radio.png
                      type: playlist
                    - id: http://opml.radiotime.com/Tune.ashx?id=xxxxx6&formats=aac,ogg,mp3&partnerId=16&serial=yyyyyyyyyyyyyyyyyy
                      name: 
                      image: /hacsfiles/lms-bilder/WDR 2.png
                      type: playlist
                    - id: http://opml.radiotime.com/Tune.ashx?id=xxxxx7&formats=aac,ogg,mp3&partnerId=16&serial=yyyyyyyyyyyyyyyyyy
                      name: 
                      image: /hacsfiles/lms-bilder/1live.jpg
                      type: playlist
                    - id: http://opml.radiotime.com/Tune.ashx?id=xxxxx8&formats=aac,ogg,mp3&partnerId=16&serial=yyyyyyyyyyyyyyyyyy
                      name: 
                      image: /hacsfiles/lms-bilder/NDR 1.png
                      type: playlist
                  columns: 4
    With this card you can also use extra buttons for grouping players and so on but I never used it.
    Pi4 4GB piCorePlayer with LMS and Squeezelite for USB; Pi3B+ (7" Display, Hifiberry DAC+ Pro) piCoreplayer with Squeezlite/Jivelite for Hifiberry and Bluetooth headphone; two Airport Express

  4. #4
    Senior Member
    Join Date
    Oct 2010
    Posts
    119
    I use this with hass, very nice addition imo
    https://github.com/ynot123/LMS_Controls

    (I'm not the developer )

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •