This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.

The Homey Community has been moved to https://community.athom.com.

This forum is now read-only for archive purposes.

Sonos app

When will the sonos app be ready? I mean to be able to send audio to a selected speaker or group of speakers? Besides that it would also be nice to control the sonos media player (pause, next, select playlist et ceteras).
«1

Comments

  • Athom demo'd it in several presentations/videos, so i think its ready :smile: 

  • RoelCollignonRoelCollignon Member
    edited February 2016
  • I'm interested in the specific features on an Sonos App; will it be the replacement of e.g. the IOS Sonos App ? Can I group/ungroup zones? Can I use my connected Deezer account to play tunes/playlists etc?

    I don't need another media manager, that is all connected already into Sonos. I'd like Homey to act as the remote control, just as the Sonos Apps on IOS/Mac/Android is functioning.

    From the demos I've seen, I get the feeling that sounds is 'gatewayed' through Homey towards Sonos devices. As I am playing "high-def" mediafiles, synchronized over multiple zones, the wireless connection of Homey will not be able to cope with it  (  the wireless connection of Sonos doesn't even cope with that, I have to hard-wire the sonos boxes).
     
  • keverjeroenkeverjeroen Member
    edited March 2016
    The Github is almost empty, just some default stuff over there.

    But Sonos can be controlled via some POST commands, so an app to controll the Sonos should not be very hard to program.. I guess..

    https://www.google.nl/search?q=sonos http post commands&rct=j

    Or use this Homey app..  https://forum.athom.com/discussion/770/new-app-in-store-now-simple-http-get-put-post-connector-for-flows

  • Hmm.. i like this library : https://github.com/jishi/node-sonos-http-api
    If Homey only supports streaming a local webradio channel to sonos rooms, then writing an app for more native Sonos support wil automaticaly put on my to-do list :smile: .
  • This is exactly why I started this topic. It's all about speculation whether it might be ready or not or the demos in the past that showed the usage. Could someone from Athom give some more insights? Why was sonos used in demos and doesn't it show up in the beta? What are further plans and timelines. To me this is an important item in the homey Eco system. @Emile could you give some more insight please? I'm really looking forward to start using homey with sonos!

    keep up the good work and keep us posted on a regular basis :-).
  • Searching through the forum it's not too hard to get an answer to your question:

    They are still busy with "Low Level Audio":
    https://forum.athom.com/discussion/comment/8725/#Comment_8725

    If this is done there should be an app for sonos pretty quick, and all audio streaming alike.

    In the demo they probably used a "hacky" kind of way with connecting to sonos like stated by emile a while ago he could do something like that, even though this was a little different:
    https://forum.athom.com/discussion/comment/4779/#Comment_4779

    But.. it was just a demo, of something that IS going to be happening for sure.
    That was just not in a "for the Public" kind of way.

    Just have a little patience, coding for audio isn't a thing that can be done in a day or even a few weeks.
    There are alot of things to think about, like Licenses, that you need to follow/stay within if you're working with consumer products.
  • Is there any news about the sonos connectivity ?
  • Hey Homey, play music 2 Live Crew Pop That Pussy........... Not even that will make my Homey do anything :(
    Time for a new firmware, and a Sonos app offcourse
  • Is there any news about the sonos connectivity ?
  • Afaik is the sonos app dependend on the media manager, so don't expect it before the media manager is released.
  • @Emile do you have an update on this?
  • aloftaloft Member
    Afaik is the sonos app dependend on the media manager, so don't expect it before the media manager is released.
    I am still trying to grasp this statement, which I see repeated with regards to Sonos. I need Homey to act as an remote controller to Sonos, not as the media gateway: Sonos is perfectly capable of getting the media by itself. 

    I use Deezer (Elite), which uses OGG files to play the music. I don't expect that Homey will be able to play these files to multiple Sonos devices ( even if Deezer would allow that ). CPU wise, but also network wise ( the 2.4 Ghz frequency is overloaded around here, my Sonos devices are plugged into Ethernet to keep the stream smooth ). 

    Maybe I have the wrong expectations, but I don't need another media manager for my music. The Sonos box already knows how to connect to my media ( on-site or streaming ). 

    TL;DR : will the Sonos app be a remote control or a AirSonos-kind-of-gateway ? 
  • I really would like Sonos integration, that is a must have.

    Like the example -> come home -> lights on - > music on. Wonder how they do that right now?

  • Me too... i use google music and do not see that being supported by homey
  • YamahaaYamahaa Member
    edited April 2016

    The first thing is to let it play (the stream from radio) or wachtrij from your NAS etc. So OK homey play music in "name of the room "start stop louder etc shoud be the first thing in my opinion....and use that in a flow.


    now using homewizard for that ..sleep is music off f.o.....i want that in Homey. Now i let Homey trigger a flow in HW to do that...

  • Does someone have a synology and a Sonos? Maybe the following also works for Sonos?
    https://forum.athom.com/discussion/comment/16524/#Comment_16524

  • aloftaloft Member
    Based on a question in another topic, I tried. And succeeded:

    I installed https://github.com/jishi/node-sonos-http-api/blob/master/README.md in a Docker image outside of Homey. On a Synology, but everywhere were Docker can run, this would work.  You can also run it on a Raspberry without Docker, just install nodejs and run the software.

    You can use HTTP GETs to issue the commands: 
    e.g. : http://192.168.89.2:6005/2. Keuken Stereo/favorite/Deezer Flow

    (Keep in mind, I switched ports from the default)

    This flow will then start the Deezer Flow favorite configured in your Homey. 

    I have also programmed a Kaku remote to turn the volume up and down : http://192.168.89.2:6005/2. Keuken Stereo/volume/+5

    The node-sonos-http-api has all sorts of commands and presets, so possibilities seem endless. 

    I expect that the Homey provided Sonos app will integrate it much better, but for now, this is a workable solution to get my favorite stations playing via Homey. 
  • @Emile any news on the sonos app? It's been mentioned and mentioned a lot but I don't see any progress. 
  • If you are the owner of a android tablet/phone you could use this workaround with sonos instead of chromecast, too.

    https://forum.athom.com/discussion/2015/my-spotify-deezer-multiroom-homey-workaround
  • This message was on slack! So it think it wouldn't take long but don't pin me on it.
    It's more of a Soon MT


    jeroenvollenbrock [7:59 PM]  
    bluetooth LE is working in our development channel, but crashes after a running tests for a few hours, once that’s fixed it can be shipped in an…it can be shipped in an update (0.11, soon TM). Media and bluetooth speakers are currently under development, and will either be released with 0.11.0,…

  • @tim1990 Thanx for your reply,  i don't see The link between Bluetooth LE and Sonos (which is WiFi Based). According to Trello Sonos has been under Development for month already.
  • On 2 September Emile wrote 
    Music
    Almost done, just needs a fancy front-end and some apps. Give or take a few weeks! It's gonna be really cool.

    A few weeks is 2/4 but athom thinks a week has 30 days at least 
  • The "Music" part does not exactly mean "Sonos". Not sure what the plans are (but interested in it :))
  • I guess the Media Manager is tied to Sonos?
    Got some inside information some time ago, while working on Logitech Media Server.
    With the media manager apps could be an output device or an input device.
    Sonos would, obviously, be an output device.
    Spotify would be an input device.
  • I guess the Media Manager is tied to Sonos?
    Got some inside information some time ago, while working on Logitech Media Server.
    With the media manager apps could be an output device or an input device.
    Sonos would, obviously, be an output device.
    Spotify would be an input device.
    wow,    perhaps we can use the inputside for a better microfoon     :o
  • @Emile when will there be any news about this, I think that most Homey users are waiting for this to work
  • parodyparody Member
    edited October 2016
    Hi

    I just bought my homey and very disappointed there is no sonos integration. Almost every other smart home hub has this.  There is an enormous picture of a sonos play one on the device compatibility page (I didn't even search for sonos because of that, should have done).

    To be quite honest I'm so far disappointed in the experience. Yes I know it's beta but too many things don't work - don't publish them if they don't work!  Weather and phone location being two major ones, and the most differentiating feature of voice control is next to useless when it can't here you from more than a foot away.  Homey is very expensive for what it is. I'm still in my 14 day period so may be sending back.

  • Hmm.. i like this library : https://github.com/jishi/node-sonos-http-api
    If Homey only supports streaming a local webradio channel to sonos rooms, then writing an app for more native Sonos support wil automaticaly put on my to-do list :smile: .
    how do i set this file on the app in homey github
  • jordenjorden Member
    edited October 2016
    The Node-sonos-http-api works, but you need another device to run that one. It can't run like that on Homey (or someone has to hack it a bit).
    I found https://github.com/bencevans/node-sonos that worked for the major part (play/pause/stop), but getting a list of playlists didn't work with that.
    And because that didn't work, I couldn't make a function to make it play a specific playlist yet (because I don't know how to add my "spotify playlist" to Sonos via javascript). So I'll either have to spend a lot of time to figure out how it exactly works, or I'll have to wait until Athom releases their Sonos app.

    I'm actually feeling more like the latter, because all time I spend into this will be useless once the Athom Sonos app is available.

    UPDATE I just found out that in the Spotify desktop client, you can right-click on your playlist and select "Copy Spotify URL" which looks like this;
    spotify:user:12345:playlist:longcodehere

    As far as I can see now, you can use that to start playing Sonos. But haven't tested.
Sign In or Register to comment.