Skip to content

Instantly share code, notes, and snippets.

@ByTheHugo
Last active December 2, 2019 12:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ByTheHugo/a2b5c9830bc00127cde547962fd77072 to your computer and use it in GitHub Desktop.
Save ByTheHugo/a2b5c9830bc00127cde547962fd77072 to your computer and use it in GitHub Desktop.
OpenHAB configuration files for Logitech Squeezebox binding.
Group gSqueezebox "Squeezebox" <logitech> (Home, gService)
Group gSqueezeboxServer "Squeezebox Server" <logitech> (gSqueezebox)
Group gSqueezeboxClient "Squeezebox Clients" <logitech> (gSqueezebox)
Group gSqueezeboxPlaylists "Squeezebox Playlists" <logitech> (gSqueezebox)
String SqueezeboxServerFavList "Fav List" <heart> (gSqueezeboxServer) {channel="squeezebox:squeezeboxserver:lms:favoritesList"}
Group gSqueezeboxClientHomeMini "Google Home Mini" <googlehome> (gSqueezeboxClient)
Switch SqueezeboxClientHomeMiniPower "Power" <switch> (gSqueezeboxClientHomeMini) {channel="squeezebox:squeezeboxplayer:lms:cccc90483a64:power"}
Switch SqueezeboxClientHomeMiniMute "Mute" <empty> (gSqueezeboxClientHomeMini) {channel="squeezebox:squeezeboxplayer:lms:cccc90483a64:mute"}
Dimmer SqueezeboxClientHomeMiniVolume "Volume" <empty> (gSqueezeboxClientHomeMini) {channel="squeezebox:squeezeboxplayer:lms:cccc90483a64:volume"}
Switch SqueezeboxClientHomeMiniStop "Stop" <empty> (gSqueezeboxClientHomeMini) {channel="squeezebox:squeezeboxplayer:lms:cccc90483a64:stop"}
Switch SqueezeboxClientHomeMiniPlayPause "Play/Pause" <empty> (gSqueezeboxClientHomeMini) {channel="squeezebox:squeezeboxplayer:lms:cccc90483a64:playPause"}
Switch SqueezeboxClientHomeMiniNext "Next" <empty> (gSqueezeboxClientHomeMini) {channel="squeezebox:squeezeboxplayer:lms:cccc90483a64:next",autoupdate="false"}
Switch SqueezeboxClientHomeMiniPrevious "Previous" <empty> (gSqueezeboxClientHomeMini) {channel="squeezebox:squeezeboxplayer:lms:cccc90483a64:prev",autoupdate="false"}
Player SqueezeboxClientHomeMiniControl "Control" <empty> (gSqueezeboxClientHomeMini) {channel="squeezebox:squeezeboxplayer:lms:cccc90483a64:control"}
String SqueezeboxClientHomeMiniStreamUrl "Stream URL" <empty> (gSqueezeboxClientHomeMini) {channel="squeezebox:squeezeboxplayer:lms:cccc90483a64:stream"}
Switch SqueezeboxClientHomeMiniSync "Sync Player" <empty> (gSqueezeboxClientHomeMini) {channel="squeezebox:squeezeboxplayer:lms:cccc90483a64:sync"}
Switch SqueezeboxClientHomeMiniUnsync "Unsync Player" <empty> (gSqueezeboxClientHomeMini) {channel="squeezebox:squeezeboxplayer:lms:cccc90483a64:unsync"}
Number SqueezeboxClientHomeMiniListIndex "Playlist Index" <empty> (gSqueezeboxClientHomeMini) {channel="squeezebox:squeezeboxplayer:lms:cccc90483a64:playListIndex"}
Number SqueezeboxClientHomeMiniPlayingTime "Current Playing Time" <empty> (gSqueezeboxClientHomeMini) {channel="squeezebox:squeezeboxplayer:lms:cccc90483a64:currentPlayingTime"}
Number SqueezeboxClientHomeMiniTrackDuration "Track Duration" <empty> (gSqueezeboxClientHomeMini) {channel="squeezebox:squeezeboxplayer:lms:cccc90483a64:duration"}
Number SqueezeboxClientHomeMiniShuffle "Shuffle Mode" <empty> (gSqueezeboxClientHomeMini) {channel="squeezebox:squeezeboxplayer:lms:cccc90483a64:currentPlaylistShuffle"}
Number SqueezeboxClientHomeMiniRepeat "Repeat Mode" <empty> (gSqueezeboxClientHomeMini) {channel="squeezebox:squeezeboxplayer:lms:cccc90483a64:currentPlaylistRepeat"}
String SqueezeboxClientHomeMiniTitle "Title" <empty> (gSqueezeboxClientHomeMini) {channel="squeezebox:squeezeboxplayer:lms:cccc90483a64:title"}
String SqueezeboxClientHomeMiniRemoteTitle "Remote Title" <empty> (gSqueezeboxClientHomeMini) {channel="squeezebox:squeezeboxplayer:lms:cccc90483a64:remotetitle"}
String SqueezeboxClientHomeMiniAlbum "Album" <empty> (gSqueezeboxClientHomeMini) {channel="squeezebox:squeezeboxplayer:lms:cccc90483a64:album"}
String SqueezeboxClientHomeMiniArtist "Artist" <empty> (gSqueezeboxClientHomeMini) {channel="squeezebox:squeezeboxplayer:lms:cccc90483a64:artist"}
String SqueezeboxClientHomeMiniYear "Year" <empty> (gSqueezeboxClientHomeMini) {channel="squeezebox:squeezeboxplayer:lms:cccc90483a64:year"}
String SqueezeboxClientHomeMiniGenre "Genre" <empty> (gSqueezeboxClientHomeMini) {channel="squeezebox:squeezeboxplayer:lms:cccc90483a64:genre"}
Image SqueezeboxClientHomeMiniCover "Cover Art" <empty> (gSqueezeboxClientHomeMini) {channel="squeezebox:squeezeboxplayer:lms:cccc90483a64:coverartdata"}
String SqueezeboxClientHomeMiniIrCode "IR Code" <empty> (gSqueezeboxClientHomeMini) {channel="squeezebox:squeezeboxplayer:lms:cccc90483a64:ircode"}
Number SqueezeboxClientHomeMiniNumberPlaylist "Number of playlist tracks" <empty> (gSqueezeboxClientHomeMini) {channel="squeezebox:squeezeboxplayer:lms:cccc90483a64:numberPlaylistTracks"}
String SqueezeboxClientHomeMiniPlayFav "Play Favorite [%s]" <empty> (gSqueezeboxClientHomeMini) {channel="squeezebox:squeezeboxplayer:lms:cccc90483a64:playFavorite"}
Bridge squeezebox:squeezeboxserver:lms [ ipAddress="192.168.1.232", webport=9000, cliport=9090 ] {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment