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

Invocation #181

Open
donwatermelon opened this issue Jun 18, 2017 · 1 comment
Open

Invocation #181

donwatermelon opened this issue Jun 18, 2017 · 1 comment

Comments

@donwatermelon
Copy link

donwatermelon commented Jun 18, 2017

Hi All,

Great to meet you all. Seriously new to echo, GitHub and coding et all in general but definitely looking to spend more time on this side of the world. It's awesome! :-)

So I've got a problem whereby I've configured everything the way I think I should, whenever I "Alexa" a song to any Sonos, it says it's starting but does nothing. So if I were to say "Alexa, ask Sonos to play Michael Jackson, Alexa responds and says it's starting to play Michael Jackson but nothing can be heard from the speakers or the dot (can't see anything running in the Sonos app either).

All I see in the terminal session running npm is this:

2017-06-18T14:03:57.413Z INFO http server listening on port 5005
2017-06-18T14:04:50.246Z ERROR
StatusCodeError: 401 - [object Object]
at new StatusCodeError (/home/pi/node-sonos-http-api/node_modules/request-promise/lib/errors.js:26:15)
at Request.RP$callback [as _callback] (/home/pi/node-sonos-http-api/node_modules/request-promise/lib/rp.js:68:32)
at Request.self.callback (/home/pi/node-sonos-http-api/node_modules/request/request.js:188:22)
at emitTwo (events.js:87:13)
at Request.emit (events.js:172:7)
at Request. (/home/pi/node-sonos-http-api/node_modules/request/request.js:1171:10)
at emitOne (events.js:77:13)
at Request.emit (events.js:169:7)
at IncomingMessage. (/home/pi/node-sonos-http-api/node_modules/request/request.js:1091:12)
at IncomingMessage.g (events.js:260:16)
at emitNone (events.js:72:20)
at IncomingMessage.emit (events.js:166:7)
at endReadableNT (_stream_readable.js:905:12)
at doNTCallback2 (node.js:441:9)
at process._tickDomainCallback (node.js:396:17)

In terms of setup, I'm running the latest version echo-sonos file set on a Raspberry Pi Zero; 64Gb SD, Debian (Jessie) v8, node v.4.2.4, pm 5.0.3 and 6 x Sonos Play:1 grouped together (for testing purposes) with a few Echo Dot's "dotted around". I've tried it on a Raspberry Pi B as well with the same result.

Lambda service appears to be configured fine and tests without issue (invocations can be seen in the dashboard). The Alexa skills have been created and installed on the Echo Dot without issue but still nothing beyond that.

The only thing I can think of is the configuration of the echo-sonos not being correct. It is accessible via DNS and IP on TCP Port 5005 but I haven't really changed anything with regards to presets, zones et all.

Any ideas or suggestions? Would appreciate any help, advice or suggestions. Happy to send more useful logs if required/request.

Thanks in advance everyone.
DW

@donwatermelon
Copy link
Author

donwatermelon commented Jun 18, 2017

Okay. I've sort of half fixed my problem where the invocation works and it does start playlists but doesn't when requesting specific artists or rooms (e.g. "Kitchen" works but "Back Bedroom")

I've got a long list of artists and rooms in my Alexa NAMES and ROOMS interactions models. Are there any limitations on the format these need to take, .e.g. spaces between room names, capitalizations of rooms or artists names, etc.?

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

No branches or pull requests

1 participant