Hi all, based on the great plugin from Thomas I changed the script so that it fits my needs. I used large part of his code and the images.
BTW the images you must place in folder /www/images in your domoticz home folder....
That is I wanted to have and have added:
- 1 input device (per zone)
- Add my own description to the inputs
- Add PARTY/all zone volume control that changes volume in all zones equally
If you run this script as per Thomas instruction it will create 6 devices:
1) Party & status that shows and switches Party mode ON/Off and shows Surround decode
2) Main zone Volume that also switches Main ON/OFF
3) Main zone Input (if you push Off as Input also Main will be switched OFF)
4) Zone2 Volume that also switches Zone2 ON/OFF
5) Zone2 Input (if you push Off as Input also Zone2 will be switched OFF)
6) Party/all zone Volume that also switches all zones ON/OFF
It is working great for me, and again THANKS to Thomas!!
PS attached Python script must be renamed to plugin.py and replace the file of Thomas
PS2 I use the Homebridge to be able to use Homekit from Apple. And these devices allow you to voice control your stereo, how cool is that 'He Siri, increase the volume a little' and 'turn party mode on', although I haven't been able to find a nice integration for the input selection or showing status....