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.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
Comments
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).
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
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 .
keep up the good work and keep us posted on a regular basis :-).
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.
Time for a new firmware, and a Sonos app offcourse
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?
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...
https://forum.athom.com/discussion/comment/16524/#Comment_16524
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.
https://forum.athom.com/discussion/2015/my-spotify-deezer-multiroom-homey-workaround
It's more of a Soon MT
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
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 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.
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.