Using Google dialog flow and Home assistant, I have managed to make a
pretty decent voice command front-end for the LMS system. Currently
supported commands include:

play / add album, song or artist t the current playlist
play / add playlist
play radio
select mediaplayer
set shuffle, repeat
set volume
pause, play, next track
Supports all defined players in LMS (using sonos, upnp, cast, squeeze
players)
Also Turn on/off lights, plugs, devices and soon dimmer functions
Uses DuckDNS / let's encrypt for secure internet access


Current limitations include:
- no spotty specific commands for search
- using loadtracks command so compound queries are not available (ie:
song money by pink floyd)
- voice app needs to be called specifically from google home or
assistant (ie: hey google, talk to LMS commander)

Decided to use Home Assistant (HASSIO) as the middle man to handle the
webhooks, security, etc as well this approach allows voice access to any
other home automation systems I may have in place, regardless of direct
compatibility with Google Home. 

Access to your system is available anywhere on any device using google
assistant (IOS, Android, Windows, google home, mini, etc..)

Gave up on the use of IFTTT as it did not support enough variables or
have enough flexibility to allow multiple commands or complex queries or
provide feedback for missing values.

If there is interest in this approach, I can provide further details.  A
work in progress, but a fun toy none the less.

Ynot


------------------------------------------------------------------------
ynot1234567890's Profile: http://forums.slimdevices.com/member.php?userid=66569
View this thread: http://forums.slimdevices.com/showthread.php?t=108388

_______________________________________________
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss

Reply via email to