For those who may be interested, I have opened a github project here: https://github.com/ynot123/LMS_Controls that contains the code required to voice enable much of your LMS Player services. An audio demo is also available there.
The project allows voice control for your Logitech Media Server from Google Home or Google Assistant (on your iPhone / Android device) with Home Assistant (HA) acting as the middle man. The following functions are supported:
A Home Assistant web GUI front-end for the query tool is also included. Using HA you can further enhance the LMS tools to create home automation scenes (ie: play your favorite radio station when you get home, turn down the lights when listening to music, etc..).
Warning, there is some configuration required to make this work (checkout the REAME.md files).
The prerequisites for this are:
If interested give it a go. Been using it for sometime now and find it "cute" and convenient for simple listening and I especially enjoy the sleep timer feature.
Ynot
The project allows voice control for your Logitech Media Server from Google Home or Google Assistant (on your iPhone / Android device) with Home Assistant (HA) acting as the middle man. The following functions are supported:
- Perform queries for songs, albums, artists and playlists from the LMS server or from the music source Spotify
- Compound queries are supported (ie: "Play album Breakfast in America by Supertramp in the Kitchen with Shuffle on")
- Play queried items on selected player
- Add queried items to select player's playlist
- Set music source (local LMS database or Spotify (using spotty)
- Set selected default player (can be changed on the fly)
- Set volume
- Set sleep timer
- Set shuffle on / off
- Set repeat on / off
- Next track
- Pause and re-start players
A Home Assistant web GUI front-end for the query tool is also included. Using HA you can further enhance the LMS tools to create home automation scenes (ie: play your favorite radio station when you get home, turn down the lights when listening to music, etc..).
Warning, there is some configuration required to make this work (checkout the REAME.md files).
The prerequisites for this are:
- Logitech Media Server (obviously :))
- Home Assistant (HASSIO) - open source home automation package (can be run on a PI or even on your LMS server)
- Google Home (or google assistant for android or Iphone devices)
- Developer account for Dialogflow for the voice activation part
- Spotify account with Client_ID and Client_Secret to allow query processing
If interested give it a go. Been using it for sometime now and find it "cute" and convenient for simple listening and I especially enjoy the sleep timer feature.
Ynot