I now have this working with Google Assistant > IFTTT > HomeAssistant (HASS) > LMS. Difficult to set up HASS with SSL, IFTTT integration and Google Assistant integration but once done = Very very cool.
I now have near seamless control of my Squeezebox by voice. Here are some of my IFTTT applet configs: All use Google Assistant as Trigger. All use WebHooks as Action. URL https://YOURHASSDOMAIN:PORT/api/services/media_player/squeezebox_call_method?api_password=YOURHASSAPIPASSWORD METHOD:[/B]POST *CONTENT TYPE:*APPLICATION/JSON THEN BODY VARIES AS FOLLOWS, WITH ONE IFTTT APPLET, WITH ONE BODY FOR EACH SEPARATE COMMAND. ENSURE YOU CHANGE SBHIFI_TOUCH TO YOUR PLAYER NAME, THIS IS SHOWN IN THE HASS TERMINAL - IT SEEMS TO ESCAPE SPACES WITH _ . YES, YOU NEED SEPARATE IFTTT COMMAND APPLETS FOR EACH PLAYER. [B]PLAY ARTIST $ Trigger command:HiFi Play Artist $ Code: -------------------- { "entity_id": "media_player.sbhifi_touch", "command": "playlist", "parameters": ["loadtracks", "contributor.namesearch={{TextField}}"] } -------------------- PLAY TRACK $ Trigger command:HiFi play $ Code: -------------------- { "entity_id": "media_player.sbhifi_touch", "command": "playlist", "parameters": ["loadtracks", "track.titlesearch={{TextField}}"] } -------------------- PLAY NEXT TRACK Trigger command:HiFi Play Next Code: -------------------- { "entity_id": "media_player.sbhifi_touch", "command": "button", "parameters": "fwd"} -------------------- STOP Trigger command:HiFi stop Code: -------------------- { "entity_id": "media_player.sbhifi_touch", "command": "stop"} -------------------- PLAY Tigger command:HiFi play Code: -------------------- { "entity_id": "media_player.sbhifi_touch", "command": "play"} -------------------- POWER OFF Tigger command:HiFi Power Off Code: -------------------- { "entity_id": "media_player.sbhifi_touch", "command": "power", "parameters": "0"} -------------------- ------------------------------------------------------------------------ atca's Profile: http://forums.slimdevices.com/member.php?userid=56880 View this thread: http://forums.slimdevices.com/showthread.php?t=108579 _______________________________________________ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss