Toon app: Sonos Control

Forum about forum-provided applications on Toon

Moderators: marcelr, TheHogNL, TerrorSource, Toonz

Re: Toon app: Sonos Control

Postby Toonz » Mon Jun 24, 2019 4:21 pm

Hi all,

Since the original developer left the scene I decided to start looking after this app.
Happy to announce my first big update in the ToonStore with version 1.1.1.

Changelog:
1.1.1
- allow switch into dim state from the media screen

1.1.0
- taken over from Harmen who left the developer scene
- major rewrite of the internals of the app with a smaller footprint
- merged the functionality of the two tiles into one tile
- title of the song (from library or radio station) will be shown in dim state on the tile
- favourites screen now also contains a list of playlists to select (which will populate the queue)
- screen elements adjusted for the screen resolution of Toon 2
- various minor improvements, code cleanup ((almost) no warnings anymore in the console log)
- media screen has now fixed positions for the control buttons (not depending anymore on image size)
- screen elements are updated directly after selecting a track from the playlist
- play/pause buttons are only displayed after previous action has been completed
- tile and media screen are refreshed every 5 seconds during manual operations,
switching to every 20 seconds in dim state (to update current tracks on the tile)
- tile in dim state shows also if music is paused
- removed tiny thumbnails from the play queue list (saves memory)

Quite a lot of changes, hopefully seen as improvements by you as well.
Searching the media library is not possible yet (not sure if it support by the sonos-http-api).
At least you can make use of playlists now which hopefully compensates a bit.

Kind regardz,

Toonz
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1252
Joined: December 2016

Re: Toon app: Sonos Control

Postby Toonz » Tue Jul 02, 2019 7:51 pm

Hi all,

my probably last release for now (unless nice feature requests are pooring in :) ), release 1.1.2 is now available in the ToonStore.

Changelog 1.1.2
- zone selection dropbox replaced with separate zone selection screen to allow more status feedback
- menu screen is also redesigned now:
When having entered a valid ipadres/poortnr the media screen is shown directly if there is only one Sonos zone,
the zone selection screen is shown if more zones exist.
- fix of a bug in 1.1.1: when a new playlist was selected it was automatically applied to the first zone, not to the active one.
- various code improvements and gui improvements
- queue is cleared before switching to a radio station
- zone selection screen contains control buttons for all zones in one screen

Kind regardz,

Toonz
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1252
Joined: December 2016

Re: Toon app: Sonos Control

Postby Martini7 » Wed Aug 14, 2019 11:22 am

Hi Toonz,

I noticed that changing the volume does not affect all zones when playing in multiple zones at the same time (party mode like).
In fact only the 'master' zone (the one fetching the stream) is shown in the 'Room' overview and therefor I can also not update the volume of that room anymore.

I'm pretty new to the 'Toon app', but familiar with the node http api (I use it to control my sonos systems via Domoticz), so if you can guide me to the location on toon where the files are located I can have a look.

Thanks,
Martin
Martini7
Starting Member
Starting Member
 
Posts: 4
Joined: August 2019

Re: Toon app: Sonos Control

Postby Toonz » Wed Aug 14, 2019 4:54 pm

Hi, the app can be found in /qmf/qml/apps/sonos
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1252
Joined: December 2016

Re: Toon app: Sonos Control

Postby Toonz » Tue Oct 29, 2019 11:00 pm

Hi all,

a new version is available in the ToonStore.

Changelog 1.1.3:
- the selected zone is now saved in the settings file and automatically selected again after a gui-restart
- settings file is moved to /mnt/data/tsc, the sonos controller ip address needs to be reconfigured once.
the old setting (ip address) is not copied to simplify the install scripts
- this release is for firmware 5 only, firmware 4 support has been dropped.

Kind regardz,

Toonz
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1252
Joined: December 2016

Re: Toon app: Sonos Control

Postby yustmenl » Sun Nov 17, 2019 7:51 pm

since a while the IPadress in the settings is not beeing saved anymore.
After a reboor the ip adres is gone.

I thought it maybe be a problem of the old firmware and a new version of the app but after updating the firmware the problem stil exists.

any idea on this?
yustmenl
Starting Member
Starting Member
 
Posts: 11
Joined: May 2011

Re: Toon app: Sonos Control

Postby Xavier » Tue Nov 26, 2019 9:16 pm

Hi all,

Wondering if the Sonos http API is still needed?
Trying to install this on my Synology but can't get it running.

Any help is appriciated :)
Toon2 with 5.13.12 firmware TSC 2.1.0
Apps: Calender, garbagecalender, traffic information, webcam, doorcam, public transport and weather app.
Xavier
Member
Member
 
Posts: 83
Joined: January 2019

Re: Toon app: Sonos Control

Postby Toonz » Tue Nov 26, 2019 10:46 pm

Xavier wrote:Hi all,

Wondering if the Sonos http API is still needed?
Trying to install this on my Synology but can't get it running.

Any help is appriciated :)

yes, you still need that (have installed it on my raspberry Pi)
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1252
Joined: December 2016

Re: Toon app: Sonos Control

Postby Xavier » Tue Nov 26, 2019 11:41 pm

I just got it fixed!

Small manual for Synology users WITHOUT DOCKER!
1. Install on Toon the Sonos app
2. Login on Synology with Putty (SSH) as admin
3. Enter command: "sudo su-" (you will become root)
4. Go to folder /volume1/homes/admin/
5. Enter command: git clone https://github.com/jishi/node-sonos-http-api.git
6. Enter command: cd node-sonos-http-api
7. Enter command: sudo npm install --production
8. Open WinSCP and navigate to folder /volume1/homes/admin/node-sonos-http-api/
9. Open settings.js file
10. Enter the IP-address of your Synology NAS! (NOT Sonos' IP!) in row 19 of the script
11. ADJUST PORT!! to for example 5010 Since Synology uses 5005 itself
12. Save file (make sure it is saved on your Synology)
13. Enter command: node server.js
14. On Toon go to Sonos app
15. Go to Sonos "Instellingen"
16. Enter Synology IP-address (same as you entered in the settings.js file!)
17. Enter correct port (same as you entered in the settings.js file!), in the example 5010

When everything done ok you will be able to see your Sonos device.

Good luck!
Toon2 with 5.13.12 firmware TSC 2.1.0
Apps: Calender, garbagecalender, traffic information, webcam, doorcam, public transport and weather app.
Xavier
Member
Member
 
Posts: 83
Joined: January 2019

Re: Toon app: Sonos Control

Postby yustmenl » Fri Nov 29, 2019 8:48 pm

Xavier wrote:Hi all,

Wondering if the Sonos http API is still needed?
Trying to install this on my Synology but can't get it running.

Any help is appriciated :)


I installed a docker image on my synology and it runs very good, i don’t know the exact name but it’s something with home automation in name of the docker image
yustmenl
Starting Member
Starting Member
 
Posts: 11
Joined: May 2011

Re: Toon app: Sonos Control

Postby Toonz » Sat Nov 30, 2019 7:03 pm

Martini7 wrote:Hi Toonz,

I noticed that changing the volume does not affect all zones when playing in multiple zones at the same time (party mode like).
In fact only the 'master' zone (the one fetching the stream) is shown in the 'Room' overview and therefor I can also not update the volume of that room anymore.

I'm pretty new to the 'Toon app', but familiar with the node http api (I use it to control my sonos systems via Domoticz), so if you can guide me to the location on toon where the files are located I can have a look.

Thanks,
Martin


Hi, I took a look and you are right. I am now always setting the 'volume' parameter but if the speaker is part of a group I should set the 'groupvolume' parameter.
Couple of changes needed: identify a group while reading the Sonos status, change the volume commands based on this and change the screens to show it is a group (maybe with its members)
Something for a next release to implement, shouldn't be too difficult.
Just very busy at work these weeks and all the other stuff in december months.....



Kind regardz,

Toonz
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1252
Joined: December 2016

Re: Toon app: Sonos Control

Postby Toonz » Tue Dec 03, 2019 8:07 pm

Hi all,

version 1.1.4 is available in the ToonStore 5.
Changelog:
- added support for speakergroups (shown as 'Grp zonename'). Volume settings will apply to all speakers in the group.

Kind regardz,

Toonz
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1252
Joined: December 2016

Previous

Return to Toon Apps

Who is online

Users browsing this forum: No registered users and 1 guest