Github > Works for me.rensbr wrote: ↑Wednesday 28 August 2019 22:41 Thank you for all the work! It works like a charm.
I did however changed the dz script from anfelt, so now the played numbers / radio station are displayed in a seperate device. I also updated the icons from dhanjel, so now they don't have white borders anymore.
The script can be found at Github.
I had some problems with the auto-start of pm2, so I followed the steps from junr and that works like a charm. Of course you need pm2 in order for this to work, you can install that the help of this post. And pm2 do also need autostart, you can set that up with.
Sonos.zip
For myself I added the following.
Code: Select all
--How to use: URL change Room - domoticz.devices(Idx) - Make dzVents
...
currentvolume = jsonStatus['volume']
....
And during playback
.. "\nVolume: " .. currentvolume