web controller for sonos !! runs on linux ..


well, sort of 😉 Just thought that I would share this with the community - I am running a sonos controller from my web browser under linux ! happy times

I just installed an extension called "arc welder" (https://developer.chrome.com/apps/getstarted_arc) into my chrome browser. Arc welder lets you run android apps in your chrome browser

and guess what ? the 5.3.1 apk of sonos controller for android works a treat

go forth, run your sonos controller under linux. at last.

All features of the android controller seem to work perfectly.

Julian

This topic has been closed for further comments. You can use the search bar to find a similar topic, or create a new one by clicking Create Topic at the top of the page.

37 replies

Userlevel 2
Badge
If anyone is still looking for a controller that works on Linux, I’m working on a controller for the web browser. Install process is very simple. The goal is for it to be the best controller out there for the desktop or tablet.

Check it out here:
https://github.com/Villarrealized/sonos-web
Userlevel 7
Badge +22
I just tried the AppImage version of this that supports a lot of different Linux distributions and it installed on my OpenSuse with no problems and the parts I've tried so far are working great.

Supported distributions: https://appimage.org/

The spouse may well try using our Sonos gear again, she can't do touch screens and doesn't have Windows or a Apple to use.
Thanks for posting this pascalo. I recently installed Ubuntu as my main OS for personal use and was hoping to find a good Sonos controller solution. I just installed your latest build and it's solid and works well. Happy to help test any streaming services. It seems like Spotify and Soundcloud both basically work right now but there are some bugs with updating the queue (seems to only work after a fresh launch of the software). Thanks for your hard work and for sharing this with the community!
Badge +1
Guys, with Chrome announcing the wind down of Chrome Apps and many issues being reported on chrome books, I have decided to move to an Electron app for Linux only. You can grab the .deb file from the github project page. http://pascalopitz.github.io/unoffical-sonos-controller-for-linux/
Badge +1
For those having problems, or a slightly simpler solution check out Sonos Controller for Chrome available from the webstore directly (https://chrome.google.com/webstore/detail/sonos-controller-for-chro/cojfokmeikpnickdpoopoockilamcmoc?hl=en-GB)

I have it running on Linux Mint 17.2/Chrome 48.0.2564.82

Source code also available https://github.com/pascalopitz/sonos-controller-for-chrome

Nice work Pascal Opitz!

-paul


FANTASTIC!! ... Finally, I get to have a Sonos Controller on my Linux Mint Cinnamon 17.3. Running just as described above. At last!! .. and Sonos: Why does it take a member of the public to do this? .. You should have sorted out a Controller for Linux a long time ago.
Convergent UI allow application to support desktop screen or phone screen
@doced

The controller has dependencies with ubuntu-ui-toolkit, ubuntu-thumbnailler and icons theme provided by Ubuntu. The reason is the controller works for convergent platform from Ubuntu including phone, touch pad, and desktop. It could be possible to make rpm for them because all have their source code opened. Maybe someone will do that. For instance the easy way is to run an Ubuntu platform.
Userlevel 1
Badge
@janbar

Is there a way to install your controller on an rpm based distro (opensuse)?
@janbar thanks for sharing I'm going to check it out
I bold a sonos controller for Ubuntu phone, touch and desktop for release >= 15.10. The controller doesn't handle services like Spotify, deezer etc... It handles only radios and share music index. It is licensed under GPLv3

http://janbar.github.io/noson-app/index.html
Badge
For those having problems, or a slightly simpler solution check out Sonos Controller for Chrome available from the webstore directly (https://chrome.google.com/webstore/detail/sonos-controller-for-chro/cojfokmeikpnickdpoopoockilamcmoc?hl=en-GB)

I have it running on Linux Mint 17.2/Chrome 48.0.2564.82

Source code also available https://github.com/pascalopitz/sonos-controller-for-chrome

Nice work Pascal Opitz!

-paul
6.0 with Google Chrome 46.0.2490.80 on ubuntu 15.10 x_64 works. only issue is all the cores of the cpu are maxed out.
5.5 with Google Chrome 46.0.2490.80 on ubuntu 15.10 x_64 works. only issue is all the cores of the cpu are maxed out.
All right, while I was pretty excited earlier, this seems to be not as good as I thought.

Running the Sonos apk with the chrome extension maxed my Core i7 4790.
I was wondering why my fan is so loud and then saw that all 8 cores were running at 100%.
So much Kudos for this find!

Running the SONOS-App successfully on Linux Mint 17.2 now. 🙂
Badge
I am using Sonos_com.sonos.acr_5.3.1_28186172.apk.  I extracted it from my tablet using APK Extractor.
Yay! Running the latest Sonos app for Android in Arc Welder on Chrome 44 on Ubuntu 15.04 now!
Still not working here. It's starting, has A LOT of load and only tackles down my whole Computer, but it won't find my system anymore. 

Sonos: 29.5-90261-1-11.apk
Chrome: Version 43.0.2357.134 (64-bit)

Do you mind posting the exact version of the Sonos-App you are successfully using?
Badge
Yay! Running the latest Sonos app for Android in Arc Welder on Chrome 44 on Ubuntu 15.04 now!
Yay... I also got it working, kind of, under google chrome. nacl_helper makes huge cpu load. Is that what to expect or might I have an issue that has a resolution? This is on a Fedora 22, x86_64 system (with Intel(R) Core(M)2 Duo CPU     T9600  @ 2.80GHz, so not the latest or greatest).
Yay! Running the latest Sonos app for Android in Arc Welder on Chrome 44 on Ubuntu 15.04 now!
Userlevel 2
I cannot make the windows app under wine working. On some forums people say is no longer possible and it was working with older version of the app (no longer accepted by the sonos system).
Do you have any suggestion?
Userlevel 2
Sonos would be better off to make a web based controller that solely relies on message exchange then adding another OS. Don't get me wrong, I am using Linux myself in different flavors (Fedora, Ubuntu, Arch Linux, and Suse but in the end none of those are used in production.
I think the Linux Community should react to this. It could be interesting to hack and block sonos service asking for justice.
Userlevel 2
Thanks,good way to test apps! I have it working on a acer aspire one with ubuntu 14.04 lts.. With google-chrome and the APK-Downloader extension it is even more easy to setup. For APK-Downloader (2.0.11 + oid) you must own an android device on which you have access to google-play and the right device-id app. After installing the extension you enter a valid device-id and you can access google play store using a browser on your linux or freebsd device. In google-play site next to the button for installing app you will discover a new button "Download APK". .
But i did test this and i'm not happy with the slow response on mouseclicks etc. So i prefer running the sonos windows application using wine. Which is much faster. Also every time you use ARC Welder for some other app, chrome forgets all settings and you have to setup sonos-controller again.

I think the Linux Community should react to this. It could be interesting to hack and block sonos service asking for justice.
Sonos would be better off to make a web based controller that solely relies on message exchange then adding another OS. Don't get me wrong, I am using Linux myself in different flavors (Fedora, Ubuntu, Arch Linux, and Suse but in the end none of those are used in production.
Ok, i partly agree but the way i see this is that android is proprietary os that is adapted from and making use of many open source unix, gnu, linux and bsd developing efforts.
There are many many unix, bsd and linux systems that are used in production environments today from which you are also depending. I dare to say that there would be no Internet without.
Sonos wants to protect their development but i think they earned it back at this time  by long and they wil be overtaken by the competition if they do not see linux is a market. Just put the sources plus a precompiled binary of their own in a repo and let people using / install it on Linux. Piece of cake. 
Thanks,good way to test apps! I have it working on a acer aspire one with ubuntu 14.04 lts.. With google-chrome and the APK-Downloader extension it is even more easy to setup. For APK-Downloader (2.0.11 + oid) you must own an android device on which you have access to google-play and the right device-id app. After installing the extension you enter a valid device-id and you can access google play store using a browser on your linux or freebsd device. In google-play site next to the button for installing app you will discover a new button "Download APK". .
But i did test this and i'm not happy with the slow response on mouseclicks etc. So i prefer running the sonos windows application using wine. Which is much faster. Also every time you use ARC Welder for some other app, chrome forgets all settings and you have to setup sonos-controller again.
Userlevel 2
Sonos would be better off to make a web based controller that solely relies on message exchange then adding another OS. Don't get me wrong, I am using Linux myself in different flavors (Fedora, Ubuntu, Arch Linux, and Suse but in the end none of those are used in production.
They already have a Windows controller - and it used to work with wine until version 3.7, which would be fine for all the Linux users. I suspect the resources to get it going with wine again would be reasonable, or they could offer the windows controller in version 3.6. (one which does not complain it is not up-to-date anymore), because almost everything would probably work. These would be easy fixes. They also have a Mac OS version of the controller which maybe could be adapted.

Even better would be something like a java-based controller for the different platforms. A web based controller does not seem ideal in my opinion - you already need a working setup for that, and I think it would generally be more limited. But opening up their API and inciting some integration in other products would be great too.