Update:
Finally got TIDAL working though Home Assistant! (But also a very custom solution!)
So for anyone interested in Tidal playback with control options from Home Assistant here is what you need.
What you get: Play “Top 100” or any other playlist from TIDAL on my AVR in 1-single click
Reason: Simplicity, Instant playback & WAF…and Pioneer app for Tidal playback is slooooow!
-1 x Tidal subscription(HiFi or Premium)
-1 x Logitech Media Server as backend + Either chromecast or AirPlay Bridge
-1 x Playback device(like Chromecast or AVR with AitPlay/ChromeCast support)
Install LMS + bridge addon and verify from the webinterface that you can play music on your playback device through the bridge.
I run LMS through Docker on my QNAP NAS - Use this image https://hub.docker.com/r/larsks/logitech-media-server/
Configure your playback device as media_player in HASS.
Use a combination of shell_command(curl) and template switch to expose the LMS URLs you want to config in HASS. See squeezebox and how to control it with a webbrowser or with the arduino for more inspiration
Play playlist example:
Have the Tidal managed playlists saved as favorite playlist in LMS - then I use this link for playback of the playlist:
http://192.168.0.107:9002/plugins/Favorites/index.html?action=play&index=0 (change index number for the favorite entry you want to playback - First Favorite entry = 0)
This method have been verified working with both Chromecast and AirPlay
Personally I had issues with the chromecast bridge - Seems to be very slow on my Pioneer AVR - But Airplay works well.
I have choosen to set it all up in my Lovelace config with the following:
- type: picture-glance
title: Tidal
entities:
- entity: switch.tidalplaytop100
icon: mdi:star-circle
- entity: switch.tidalplaydanceelectronic
icon: mdi:track-light
- entity: switch.tidalplaydinner
icon: mdi:silverware-fork-knife
- entity: switch.tidalnext
icon: mdi:skip-next
- entity: switch.tidalstop
icon: mdi:stop
- entity: media_player.am335x_opt
icon: mdi:dots-horizontal
tap_action:
action: call-service
service: media_player.turn_off
service_data:
entity_id: media_player.am335x_opt
image: 12264-tidal-logo.gif
What works well:
- Native basic TIDAL functions can be controlled from HASS…Free of charge! (MyVolumio charges € 28.99 yearly)
- AVR powers on automatically via AirPlay/Chromecast and starts playback in 1-single click.
- Chromecast bridge supports native Back/Next on Android lock screen (Assume Airplay does as well…not tested)
- LMS supports multiple playback devices - So possibility for further customizations/setup options.
What does not work that well.
- The whole overhead of LMS - It works and is stable, but is somewhat old-school!
- Automatic shuffle of the playlist - Not natively supported, but can be worked around with a couple of extra curl commands(Load playlist + shuffle link + skip next) in the switch definition.
*Mix of Media_player actions and LMS URLs in the Lovelace card/Hass config.
Final Result:
-TIDAL lovelace Card with shortcuts(from left) for AVR control, 3 x favorited playlists, “Skip next” and “Stop” buttons.
Please give your input, questions or pm me for further details