AmpliPi icon indicating copy to clipboard operation
AmpliPi copied to clipboard

Feature Request: Add Alexa Skill

Open linknum23 opened this issue 5 years ago • 7 comments

We would like to add full Alexa support for the following command structures

  • Support Volume up, volume down, mute controls to zones and groups of zones
  • Support Play ______ on (Pandora/Spotify/...) on (Group or Zone)

Some interesting links to investigate: See: https://developer.amazon.com/en-US/docs/alexa/music-skills/steps-to-create-a-music-skill.html Python audio support: https://github.com/alexa/skill-sample-python-audio-player/tree/master/MultiStream Basic integration with Volumio: https://github.com/alior101/Alexa-Volumio-Plugin

linknum23 avatar Nov 12 '20 21:11 linknum23

This might be a good place to start: https://github.com/alior101/Alexa-Volumio-Plugin

linknum23 avatar Feb 11 '21 18:02 linknum23

+1 for this. It's the only thing stopping me from dropping Sonos at this point. I'd be looking at a core and 2 expanders for my house.

topperge avatar Feb 15 '21 19:02 topperge

It looks like it would be pretty easy to control volume and mute based on an interface similar to this one adapted for home bridge. We will try to start looking at this in the next couple of weeks.

linknum23 avatar Feb 15 '21 20:02 linknum23

Thanks, Lincoln, my biggest thing would be able to add each zone as a device that Alexa would be able to recognize. For example, I'd love to let my kids say "Alexa play Kids Bop Radio on Pandora (or Spotify) on the Deck" This is the only way my kids know how to make that happen today (under 10) and without that the wife acceptance factor would fall through the floor.

topperge avatar Feb 16 '21 04:02 topperge

That is exactly how we would want it to work! Jason's house, which is currently getting the brunt of our testing has about 10 Alexa devices scattered around, so adding support for this is high up on our priority list.

linknum23 avatar Feb 16 '21 16:02 linknum23

I'm down in Novi if you want a second complex test location with 14 zones

topperge avatar Feb 16 '21 23:02 topperge

Wow that is close! We might reach out sometime in the future when we have something ready to test.

linknum23 avatar Feb 18 '21 15:02 linknum23