@mwittig: I’m using the http-protocol. Here is my config:
{
"plugin": "denon-avr",
"host": "192.168.2.12",
"protocol": "HTTP",
"port": 80,
"debug": false,
"active": true
},
{
"id": "Denon-Volume",
"name": "🎚 Lautstärke",
"class": "DenonAvrZoneVolume",
"zone": "MAIN",
"interval": 10,
"volumeDecibel": true,
"maxAbsoluteVolume": 50,
"xAttributeOptions": [
{
"name": "volume",
"displaySparkline": false,
"hidden": true
}
]
},
But i’m also using a curl command to get the volume value. => I just realize that this is unnecessary.
Because I also could have used the value provided by the above mentioned device: Denon-Volume.volume.
{
"id": "Denon-Volume-Status",
"name": "Denon Volume Status",
"class": "ShellSensor",
"attributeName": "volume",
"attributeType": "number",
"command": "curl -s http://192.168.2.12/goform/formMainZone_MainZoneXmlStatusLite.xml | head -n6 | tail -n1 | sed 's/<MasterVolume><value>//' | sed 's/<\\/value><\\/MasterVolume>//'",
"interval": 5000
},
please let me know if I can help with testing some cases like switching to TELNET protocol or however…