/habpanel-spotify-playlister

Spotify Playlists Widget for OpenHAB Habpanel

Primary LanguageJavaScript

Spotify Playlists for openHAB Habpanel

  • Shows your Spotify playlists (max 50)
  • Allows searching for albums, tracks, artists, playlists
  • Allows to play selected item on your configured player

Requirements

  • Spotify Binding for openHAB. Read here or here
  • Configured items from binding: accessToken and devicePlayer, eg:
Player Spotify_Squeezebox_Player "Spotify Squeezebox"        { channel="spotify:device:squeezebox:devicePlayer" }
String Spotify_Squeezebox_Play "Spotify Play on Squeezebox"  { channel="spotify:device:squeezebox:trackPlay" }

Instalation

  • Add Spotify Playlister.json to habpanel
  • Place release/spotify-playlister.js file into openHAB html dir under spotify-playlister directory, eg:
$ cd /etc/openhab2/html/
$ mkdir spotify-playlister && cd "$_"
$ wget https://raw.githubusercontent.com/gytisgreitai/habpanel-spotify-playlister/master/release/spotify-playlister.js
  • Configure widget selecting your Player and Access token items
  • Select Don't wrap in container or else it will break the layout