24.02.2017, 10:31
(24.02.2017, 09:26)Erwin van der Zwart Wrote: Hi Josep,Hi Erwin,
I think you update all the objects every loop (1 second) and this is what causes the CPU load to shoot in the air. When polling only the data to the controller without writng to objects you hardly notice a CPU increasement.
So i would poll slower and/or check first the old value before updating a object. This was the main reason for me to make a app to bypass the need of use KNX objects for this as there is a lot of data between controller and Sonos to be exchanged when you want real time data from Sonos...
You can use the URL to album art together with some custom javascript to update a image container in your visu.
Anyway, i would strongly advice you to use the app for real time data and KNX only for control so you won't have to poll every second with a LOT of data to KNX objects..
BR,
Erwin
I use KNX addresses because it's the only way that I know to use the variables into the visualization. We are making a custom visualization to control all the things in one place and I'm very interested in use my visualization to control basic Sonos functions... Can I use some type of internal variables different that KNX group address to represent that values into my custom visu?
Can you show me an example to implementate the album art with JavaScript?
Thank you very much!!!