Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble getting advanced mode to work #139

Open
jzajac2 opened this issue Mar 5, 2017 · 2 comments
Open

Trouble getting advanced mode to work #139

jzajac2 opened this issue Mar 5, 2017 · 2 comments

Comments

@jzajac2
Copy link

jzajac2 commented Mar 5, 2017

I have the standard presets working, however as soon as I add environment variable ADVANCED_MODE = false (not even enabling it), even the standard presets mode no longer works.

I am using a lambda_basic_execution role with AmazonSQSFullAccess and AmazonDynamoDBFullAccess:

image

as suggested by this closed issue: https://github.com/rgraciano/echo-sonos/issues/78

However alexa's response is "There was a problem with the requested skill's response" (with or without ADVANCED_MODE set to true or false in my aws env vars console). Further, using the "Enter Utterance" of "alexa, ask sonos to resume" (after successfully asking it to stop before I put in the Advanced Mode env var) returns lambda response: The remote endpoint could not be called, or the response it returned was invalid.

I'm sure I just need to be educated.. If I have advanced mode enabled and DEFAULT_MUSIC_SERVICE = spotify in env vars in my aws lambda, do I need to also connect Spotify to my echo dot device? (I've tried both ways, no dice).

Very cool stuff here..almost there, just need a little more help

@rgraciano
Copy link
Owner

guessing that this is all working now, since I saw you helping on another thread?

@jzajac2
Copy link
Author

jzajac2 commented Feb 6, 2018

Maybe I don't understand how it works. If I can simply say "Alexa ask sonos to turn repeat on" (without saying which room), is that the extent of 'Advanced Mode"?

Looking at #3 in the docs:
Take the node-sonos-http-api/presets.json that I have here and drop it into the "presets" folder in your node-sonos-http-api root directory. Modify it to use your speaker names and your favorite stations. Make sure the preset names are lowercase (like "test" and "rock" in my example). NOTE: You can skip this step if you only want to use Playlists, Favorites, or Advanced Mode, which require no configuration.

So - without any preset defined, I can simply utter 'Alexa ask sonos to play {Sonos Favorite Name} this will also work.

I think I got this mixed up with DEFAULT_MUSIC_SERVICE - not clear how that works. So this case is closed but I'll probably open one for DEFAULT_MUSIC_SERVICE if I can't figure it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants