Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 3 123 LastLast
Results 1 to 10 of 29
  1. #1
    Senior Member ModelCitizen's Avatar
    Join Date
    May 2005
    Location
    Sussex UK
    Posts
    3,159

    LMS with Google Home, Chromecast and IFTTT (maybe)?

    Hello all.

    I run a large Flac library via Windows based LMS to a number of Squeeze and Chromecast enable devices. Control is mostly by Orange Squeeze on Android devices.

    I am getting a Google Home device for Christmas and am trying to figure out if I can use it to voice control my Squeeze devices to play my flac library (preferably via LMS but think that's probably not likely). I've been pointed towards an app called IFTTT (IFTTT.com) but can't see how it can help (not being a developer). Has anyone any experience of Google Home and flac based local libraries? Any suggestions would be very welcome.

    Waffle: am quite excited by this device. It seems i will be able to use it to (at least) partially to voice control my Chromecast enabled TVs, and Spotify via my Chromecast enabled audio devices.

  2. #2
    Senior Member
    Join Date
    Feb 2008
    Posts
    5,120
    Quote Originally Posted by ModelCitizen View Post
    Hello all.

    I run a large Flac library via Windows based LMS to a number of Squeeze and Chromecast enable devices. Control is mostly by Orange Squeeze on Android devices.

    I am getting a Google Home device for Christmas and am trying to figure out if I can use it to voice control my Squeeze devices to play my flac library (preferably via LMS but think that's probably not likely). I've been pointed towards an app called IFTTT (IFTTT.com) but can't see how it can help (not being a developer). Has anyone any experience of Google Home and flac based local libraries? Any suggestions would be very welcome.

    Waffle: am quite excited by this device. It seems i will be able to use it to (at least) partially to voice control my Chromecast enabled TVs, and Spotify via my Chromecast enabled audio devices.
    LMS control - not available. Meep has an alexa plugin (alpha) which works (but not to choose from music library).

    Accessing local music via GH or Alexa is essentially impossible - you are stuck with what the devices offer (eg. Spotify, Google Play Music). You can upload your files to Google Play Music BUT there are many complaints that accessing them via the Home devices is very buggy. Spotify is good, but again accessing local files is badly implemented.

    The UK version of Home has a very restricted set of services compared to the US. Google support is very poor - no feedback on issues you might raise.
    LMS server: O2 Joggler with Jivelite, Pi Zero W with PcP 6.0

    Amp: Denon PMA-50

    Players/Speakers: Touch, Logitech Radios, Sonos Play 1s & Beam, Libratone Zipp, GGMM E2 & E3, Yamaha WXAD-010, Loewe Airspeaker, Google Chromecast Audio, Home Mini & Nest Hub, Amazon Echo 2,3 and Show5, Pioneer WX-SMA1, Roberts S1, O2 Joggler, Cisco Joggler, Fiio M6, Avantree Priva BT transmitter



    ------------------------------------------------------------------------------------

  3. #3
    Senior Member meep's Avatar
    Join Date
    Aug 2007
    Location
    Ireland
    Posts
    230
    Hi there

    Check out the hab-tunes videos to get an idea of how LMS voice control works on Alexa. I'm hoping to migrate this to Google Home once released (early new year)

    As Castalla says, there's no direct selection of music yet (working on favourites and playlists right now). It will always be for control of LMS and squeezeboxes - I've tried direct streaming music to the Echo device itself but it's hampered by very significant lag so playback of local files through an echo of google home is unlikely - you'll always need to play back via a SB device.

    Stay tuned to Alexa developments to get an idea of what might be coming to a Google Home near you.


    ALEXA LMS SKILL: http://www.hab-tunes.com | Twitter: #habtunes
    Personal HA BLOG: http://mediaserver8.blogspot.com

    Squeezebox x2 | Squeezebox Radio x 2 | Squeezebox Duet x2

  4. #4
    Senior Member
    Join Date
    Feb 2008
    Posts
    5,120
    Quote Originally Posted by meep View Post
    Hi there

    Check out the hab-tunes videos to get an idea of how LMS voice control works on Alexa. I'm hoping to migrate this to Google Home once released (early new year)

    As Castalla says, there's no direct selection of music yet (working on favourites and playlists right now). It will always be for control of LMS and squeezeboxes - I've tried direct streaming music to the Echo device itself but it's hampered by very significant lag so playback of local files through an echo of google home is unlikely - you'll always need to play back via a SB device.

    Stay tuned to Alexa developments to get an idea of what might be coming to a Google Home near you.
    OOOHHH! a possible Xmas gift?! followed by a New Year gift .... : )
    LMS server: O2 Joggler with Jivelite, Pi Zero W with PcP 6.0

    Amp: Denon PMA-50

    Players/Speakers: Touch, Logitech Radios, Sonos Play 1s & Beam, Libratone Zipp, GGMM E2 & E3, Yamaha WXAD-010, Loewe Airspeaker, Google Chromecast Audio, Home Mini & Nest Hub, Amazon Echo 2,3 and Show5, Pioneer WX-SMA1, Roberts S1, O2 Joggler, Cisco Joggler, Fiio M6, Avantree Priva BT transmitter



    ------------------------------------------------------------------------------------

  5. #5
    Senior Member ModelCitizen's Avatar
    Join Date
    May 2005
    Location
    Sussex UK
    Posts
    3,159
    Quote Originally Posted by meep View Post
    Hi there
    Check out the hab-tunes videos to get an idea of how LMS voice control works on Alexa. I'm hoping to migrate this to Google Home once released (early new year)
    As Castalla says, there's no direct selection of music yet (working on favourites and playlists right now). It will always be for control of LMS and squeezeboxes - I've tried direct streaming music to the Echo device itself but it's hampered by very significant lag so playback of local files through an echo of google home is unlikely - you'll always need to play back via a SB device.
    Stay tuned to Alexa developments to get an idea of what might be coming to a Google Home near you.
    Hi Meep.

    Well that looks great. Using Google Home to control a Squeezbox would be dead useful for me so I'll keep my eye on your work. Do you have a mailing list or something? I'd like to know when you've cracked the ability to choose music or playlist.

    One thing... I didn't quite understand your use of the word 'skill'. Is this an Alexa specific word or maybe a programming word?

    And.... once you've developed the app to work with Alexa, is it much work to port it to Google Home?
    Last edited by ModelCitizen; 2017-12-13 at 13:04.
    Somewhere, something incredible is waiting to be known
    Last.fm/user/ModelCitizen

  6. #6

    Yes!

    There are some limited options for setting up LMS with alexa / google home if you use IFTTT.

    I wrote about it before but here's a recap, using MAKER channel on IFTTT, you can trigger URLS upon certain commands. It can be tricky if you have a dynamic IP address at home. I use dynamic dns with a google domain so i can reference only the domain name even if my IP address changes.

    Step 1. Connect your amazon echo / Google home 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 / google home 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@youripaddre...yer=macaddress


    Example:

    Alexa trigger squeezebox ambient

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

    http://username:password@youripaddre...=1451159698107


    There's a good list of GET variables you can send to your server here: http://tutoriels.domotique-store.fr/...ayer-http.html

    Hope this helps, if anybody has questions I'll try to answer them.
    1 Touch
    2 Receivers
    1 Controller
    2 Radios

  7. #7
    Junior Member
    Join Date
    Sep 2016
    Posts
    14
    I don't know if I'm missing something but it won't work at home...

    I've forwarded the 9090 in my router. (sending command througt telnet works).

    But using webhooks in IFTTT doesn't work.
    How should I setup it ? GET, POST ? text/html or application/js ?... Any advice ?

    I've just try with http://serverip:9090/status.html?p0=...layermacadress (also tried with pause instead of play) but nothing happen.
    When I "check" the scritp in ifttt I get no error.

    In tasker I got the autosqueeze plugin which works well (guess it's also using CLI to communicate with the server...).

    Thanks for any help

  8. #8
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    2,930

    LMS with Google Home, Chromecast and IFTTT (maybe)?

    Did you replace serverip and macaddress with the correct details for your system?
    Also, the example above is using port 9000 not 9090.
    Last edited by Paul Webster; 2018-01-24 at 04:07.
    Paul Webster
    http://dabdig.blogspot.com
    Author of "Now Playing" plugins covering Radio France (FIP etc), KCRW, Supla Finland, ABC Australia, CBC/Radio-Canada and RTE Ireland

  9. #9
    Junior Member
    Join Date
    Sep 2016
    Posts
    14
    Sure I've replace with my server ip 192.168... and the port is 9090 (when setting up autosqueeze in tasker or using telnet works great with this port).

  10. #10
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    2,930
    IP needs to be the public IP address that reaches your router from the outside - not the internal 192... address because it is IFTTT that is trying to reach your system not your local Google Home box.
    Also - I presume that the working example from earlier is using port 9000 because it is using regular HTTP GET and not the telnet/CLI interface.
    Paul Webster
    http://dabdig.blogspot.com
    Author of "Now Playing" plugins covering Radio France (FIP etc), KCRW, Supla Finland, ABC Australia, CBC/Radio-Canada and RTE Ireland

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •