09.03.2016, 05:19
(09.03.2016, 00:04)Erwin van der Zwart Wrote: Hi Ruben,
I never said i don't want to update (; but i did say i want to port it into a App for appstore making it not needed anymore to do update.
I want to make it more client side (were we can) to reduce the load on the controller and to make it plug and play. Upload to FTP, add additional server side scripts and done...
Server side will only need command from KNX, feedback and albumart can be client side if you ask me. I don't see the need to have remote acces for track feedback/albumart if you
can't hear the music, so client side should be enough for those extra's (;
I changed the original script above with version 1.1 and i changed some items. Play / Pauze and Title should work now, also added some extra artist info for streaming content.
Albumart URL should work now with local content, i'm still searching for a good solution for streaming content album art, but that's a hard one to tackle, when i solved it i let you know.
For using albumart URL in visu i need to create a html file with small piece of javascript
with a event listener on the object. The URL is set to image and when object change the image
automaticly follows. Upload the html to background image and add to frame in visu.
When i have it upload it. I think within a few days.
BR,
Erwin van der Zwart
Ok. I haven't gotten into the hole mosaic/app visu as i like the possibility to customize everything.
I have used your script and some commands from the orginal sonos controller and made some great buttons in my house. I will tell u how i use the gateway for sonos in our house.
When pushing a push button on the elsner co2/temp/humidity thermostat with display. The sonos units automatically erases que, adds a pre def playlist and starts to play with preset sound. On the the display playlist name, artist, title is shown before changing to display inside co2, temp and outside temp
I use this in the living room and on the kids room. So when he goes to bed i can just push the button on his room and the sonos starts playing.
This can also be changes into a scenario where time of day can do different tasks.
Ruben