forked from rgraciano/echo-sonos
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated readme to reflect options.js.sample
- Loading branch information
Jeff Champagne
committed
Dec 15, 2015
1 parent
059f25e
commit 10f1cfb
Showing
1 changed file
with
14 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10f1cfb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the life of me I cannot get this to work even though my RPi server is confirmed to be live and functioning. I even had it working with rgraciano's code but you've got some great additional features! I just keep getting the "Sorry, I'm having trouble connecting to Sonos..." error both verbally and via Lambda. I'm a bit of a noob so pardon any ignorance! From the log in Lambda:
10f1cfb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@BrakesTilApex, can you hit the FQDN and port combination that you're specifying in your options.js file from the internet (not a device on your home network)? You can try hitting the URI from your smart phone or some other device that isn't on your local network.
For example: http://mylocalserver.mydomain.com:5005/zones
You should get back a bunch of JSON
10f1cfb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jeffchampagne Sure can! From my smartphone (via cell service), I can hit the server (and pauseall).
EDIT: I don't need to put "http://" into the " " right? I didn't with the other build I had going last night.
10f1cfb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@BrakesTilApex Nope, you don't need http://, just the FQDN. The socket hang up message is being generated because the socket is closing before receiving the end message. This is most likely because we're timing out the connection too fast. I set the timeout to 1.5 sec and Lambda will timeout after 3 seconds and throw a fatal error. I might need to add some better handling for timeouts.
If you want to send me your FQDN via email (I'll set my email to public), I can check it out a bit more. I promise not to play all of your zones :-)
10f1cfb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Email sent!