Re: [slim] Amazon Echo / Alexa integration how-to with IFTTT

2017-01-20 Thread Barnabas

FredFredrickson wrote: 
> 
> Maker url:
> http://username:password@youripaddress:9000/status.html?p0=pause=macaddress
> 
> 
> Example:
> 
> Alexa trigger squeezebox ambient
> 
> (this will play the ambient station on pandora, the values may differ
> per account)
> 
> http://username:password@youripaddress:9000/anyurl?p0=playlist=play=pandora%3A%2F%2F241611197772466.mp3=Ambient%20Radio=macaddress&_dc=1451159698107
> 
> 

Don't send your username/password in clear text http. It is the easiest
thing in the word to intercept. Use https. If the logitech server miss
that feature, then its safer to put it behind a proxy in an Apache httpd
and make that wrap in SSL.



rgds.
Nikolaj Hansen.

"Even on the highest throne in the world, we are seated, still, upon our
arses." - Montaigne

Barnabas's Profile: http://forums.slimdevices.com/member.php?userid=905
View this thread: http://forums.slimdevices.com/showthread.php?t=104890

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] Amazon Echo / Alexa integration how-to with IFTTT

2016-12-25 Thread Bixby

Can anyone walk me through how to get URL data for pandora channels?
Thanks!



Bixby's Profile: http://forums.slimdevices.com/member.php?userid=9411
View this thread: http://forums.slimdevices.com/showthread.php?t=104890

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] Amazon Echo / Alexa integration how-to with IFTTT

2016-12-23 Thread Bixby

Thanks!



Bixby's Profile: http://forums.slimdevices.com/member.php?userid=9411
View this thread: http://forums.slimdevices.com/showthread.php?t=104890

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] Amazon Echo / Alexa integration how-to with IFTTT

2016-12-23 Thread Michael Herger

Does a playlist have a useable/passable URL, and if so how do I get
that? I know how to access Chrome Developer tools etc., but don't have
much knowledge past that.


Local files (playlists or audio files) would use a url of type 
file://path/to/your/playlist.m3u or similar.


--
--

Michael
___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] Amazon Echo / Alexa integration how-to with IFTTT

2016-12-22 Thread Bixby

Thanks Michael.

I misunderstood about the P2 parameter.

I just got it working playing a web stream, which is great and the top
priority. So I'll keep playing with that info!

Does a playlist have a useable/passable URL, and if so how do I get
that? I know how to access Chrome Developer tools etc., but don't have
much knowledge past that.

Thanks again!



Bixby's Profile: http://forums.slimdevices.com/member.php?userid=9411
View this thread: http://forums.slimdevices.com/showthread.php?t=104890

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] Amazon Echo / Alexa integration how-to with IFTTT

2016-12-21 Thread Michael Herger

I'm able to get it to (resume) play, and stop play. But the commands
I've made for playing specific playlists seems to make Squeezebox Server
stop running, so I'm guessing there's something about the command that's
problematic.


I certainly hope those URLs don't make it crash?!? If so, please provide 
the server.log and more information about your installation.



http://myURL:9000/status.html?p0=playlist=play==MACaddressOfPlayer


p2 is expected to be a playable URL. You don't even set it, but have 
that invalid "news" parameter in there. You can't play an item by its 
menu name or the like.



--

Michael
___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] Amazon Echo / Alexa integration how-to with IFTTT

2016-12-21 Thread Bixby

Thanks for this info and thread. I just picked up a Dot and was hoping
to use it to do some simple commands.

I'm able to get it to (resume) play, and stop play. But the commands
I've made for playing specific playlists seems to make Squeezebox Server
stop running, so I'm guessing there's something about the command that's
problematic.

Here's the command I was using that causes the problem:

http://myURL:9000/status.html?p0=playlist=play==MACaddressOfPlayer

Any ideas or suggestions?



Bixby's Profile: http://forums.slimdevices.com/member.php?userid=9411
View this thread: http://forums.slimdevices.com/showthread.php?t=104890

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] Amazon Echo / Alexa integration how-to with IFTTT

2016-10-23 Thread Julf

paulsi wrote: 
> Ok, I am not that smart. What is IFTT.com??

"If This Then That", an online service where you can set simple action
rules to connect devices and services (such as twitter etc.).



"To try to judge the real from the false will always be hard. In this
fast-growing art of 'high fidelity' the quackery will bear a solid gilt
edge that will fool many people" - Paul W Klipsch, 1953

Julf's Profile: http://forums.slimdevices.com/member.php?userid=42050
View this thread: http://forums.slimdevices.com/showthread.php?t=104890

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] Amazon Echo / Alexa integration how-to with IFTTT

2016-10-22 Thread paulsi

Ok, I am not that smart. What is IFTT.com??



paulsi's Profile: http://forums.slimdevices.com/member.php?userid=5492
View this thread: http://forums.slimdevices.com/showthread.php?t=104890

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] Amazon Echo / Alexa integration how-to with IFTTT

2016-10-17 Thread dbinder101

FredFredrickson wrote: 
> I can only use it to control, not play through alexa's speaker. But
> that's alright, her speaker is kinda ho-hum.

Has anyone been able to go to the next step...have the echo actually
play songs from your LMS library?



dbinder101's Profile: http://forums.slimdevices.com/member.php?userid=36997
View this thread: http://forums.slimdevices.com/showthread.php?t=104890

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] Amazon Echo / Alexa integration how-to with IFTTT

2016-01-12 Thread FredFredrickson

monkmandolins wrote: 
> Are you able to get the Echo to function as one of your music players,
> or does this just serve as an additional way to control your server?
> Thanks, and great work!

I can only use it to control, not play through alexa's speaker. But
that's alright, her speaker is kinda ho-hum.



1 Touch
2 Receivers
1 Controller
1 Radio

FredFredrickson's Profile: http://forums.slimdevices.com/member.php?userid=16584
View this thread: http://forums.slimdevices.com/showthread.php?t=104890

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


[slim] Amazon Echo / Alexa integration how-to with IFTTT

2015-12-26 Thread FredFredrickson

Just got an Amazon Echo, and wanted to post how I got it to control the
squeezeboxen. It's a little hairy and requires a bit of a work around to
get it to do specific commands (for instance, playing a specific station
or genre requires you to program each genre individually), but it's
worth while since I only listen to a few pandora stations. You can
theoretically get it to do anything you'd like.

As a side note, a great way to intercept commands from logitech media
server's web interface is using firebug to see what post/get details are
sent when you submit a command. That's how I stole the pandora details.

Step 1. Connect your amazon echo to IFTTT.com

Step 2. Port Foward 9000 to your media server. Make sure it's password
protected!

Step 3. Add alexa commands to IFTTT, use alexa as the trigger, and Maker
as the THAT channel.

Note: You'll need the mac address of your players if you want to control
them individually.

Example:

Alexa trigger squeezebox pause kitchen

Maker url:
http://username:password@youripaddress:9000/status.html?p0=pause=macaddress


Example:

Alexa trigger squeezebox ambient

(this will play the ambient station on pandora, the values may differ
per account)

http://username:password@youripaddress:9000/anyurl?p0=playlist=play=pandora%3A%2F%2F241611197772466.mp3=Ambient%20Radio=macaddress&_dc=1451159698107


There's a good list of GET variables you can send to your server here:
http://tutoriels.domotique-store.fr/content/54/95/fr/api-logitech-squeezebox-server-_-player-http.html

Hope this helps, if anybody has questions I'll try to answer them.



1 Touch
2 Receivers
1 Controller
1 Radio

FredFredrickson's Profile: http://forums.slimdevices.com/member.php?userid=16584
View this thread: http://forums.slimdevices.com/showthread.php?t=104890

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss