The last few days I had problems that openhab was not able to change the volume of my onky avr (Main and Zone2).
I found out that restarting the avr solves the problem temporary.
To produce some meaningfull logs I did the following:
openhab> smarthome:send avr1Z1_Volume 30
openhab> smarthome:send avr1Z1_Volume 20
- increase Volume via remote
- increase Volume via remote once more
This is the og when it dod not work:
[DEBUG] [b.binding.onkyo.handler.OnkyoHandler] - handleCommand for channel zone1#volume: 30
[DEBUG] [b.binding.onkyo.handler.OnkyoHandler] - Sending command 'MVL' with value '1E' to Onkyo Receiver @192.168.1.31:60128
[DEBUG] [nding.onkyo.internal.OnkyoConnection] - Send command: [command=MVL, value=1E] to 192.168.1.31:60128 (Socket[addr=/192.168.1.31,port=60128,localport=35320])
[ItemCommandEvent ] - Item 'avr1Z1_Volume' received command 30
[TRACE] [g.onkyo.internal.eiscp.EiscpProtocol] - Created eISCP message: 4953435000000010000000080100000021314D564C31450D -> ISCP[00][00][00][10][00][00][00][08][01][00][00][00]!1MVL1E[CR]
[TRACE] [nding.onkyo.internal.OnkyoConnection] - Sending 24 bytes: 4953435000000010000000080100000021314D564C31450D
[ItemStateChangedEvent ] - avr1Z1_Volume changed from 36 to 30
[DEBUG] [nding.onkyo.internal.OnkyoConnection] - Test connection to 192.168.1.31:60128
[DEBUG] [nding.onkyo.internal.OnkyoConnection] - Send command: [command=PWR, value=QSTN] to 192.168.1.31:60128 (Socket[addr=/192.168.1.31,port=60128,localport=35320])
[TRACE] [g.onkyo.internal.eiscp.EiscpProtocol] - Created eISCP message: 49534350000000100000000A0100000021315057525153544E0D -> ISCP[00][00][00][10][00][00][00][LF][01][00][00][00]!1PWRQSTN[CR]
[TRACE] [nding.onkyo.internal.OnkyoConnection] - Sending 26 bytes: 49534350000000100000000A0100000021315057525153544E0D
[DEBUG] [b.binding.onkyo.handler.OnkyoHandler] - handleCommand for channel zone1#volume: 20
[DEBUG] [b.binding.onkyo.handler.OnkyoHandler] - Sending command 'MVL' with value '14' to Onkyo Receiver @192.168.1.31:60128
[DEBUG] [nding.onkyo.internal.OnkyoConnection] - Send command: [command=MVL, value=14] to 192.168.1.31:60128 (Socket[addr=/192.168.1.31,port=60128,localport=35320])
[ItemCommandEvent ] - Item 'avr1Z1_Volume' received command 20
[TRACE] [g.onkyo.internal.eiscp.EiscpProtocol] - Created eISCP message: 4953435000000010000000080100000021314D564C31340D -> ISCP[00][00][00][10][00][00][00][08][01][00][00][00]!1MVL14[CR]
[TRACE] [nding.onkyo.internal.OnkyoConnection] - Sending 24 bytes: 4953435000000010000000080100000021314D564C31340D
[ItemStateChangedEvent ] - avr1Z1_Volume changed from 30 to 20
[TRACE] [g.onkyo.internal.eiscp.EiscpProtocol] - Data size: 10
[TRACE] [g.onkyo.internal.eiscp.EiscpProtocol] - Received eISCP message, 49534350000000100000000A0100000021314D564C32351A0D0A -> ISCP[00][00][00][10][00][00][00][LF][01][00][00][00]!1MVL25[EOF][CR][LF]
[DEBUG] [b.binding.onkyo.handler.OnkyoHandler] - Received status update from Onkyo Receiver @192.168.1.31:60128: data=[command=MVL, value=25]
[DEBUG] [b.binding.onkyo.handler.OnkyoHandler] - Received command VOLUME
[DEBUG] [b.binding.onkyo.handler.OnkyoHandler] - Converted data '25' to openHAB state '37' (class org.eclipse.smarthome.core.library.types.PercentType)
[ItemStateChangedEvent ] - avr1Z1_Volume changed from 20 to 37
[TRACE] [g.onkyo.internal.eiscp.EiscpProtocol] - Data size: 10
[TRACE] [g.onkyo.internal.eiscp.EiscpProtocol] - Received eISCP message, 49534350000000100000000A0100000021314D564C32361A0D0A -> ISCP[00][00][00][10][00][00][00][LF][01][00][00][00]!1MVL26[EOF][CR][LF]
[DEBUG] [b.binding.onkyo.handler.OnkyoHandler] - Received status update from Onkyo Receiver @192.168.1.31:60128: data=[command=MVL, value=26]
[DEBUG] [b.binding.onkyo.handler.OnkyoHandler] - Received command VOLUME
[DEBUG] [b.binding.onkyo.handler.OnkyoHandler] - Converted data '26' to openHAB state '38' (class org.eclipse.smarthome.core.library.types.PercentType)
[ItemStateChangedEvent ] - avr1Z1_Volume changed from 37 to 38
This is the log after restarting the device - it worked:
[DEBUG] [b.binding.onkyo.handler.OnkyoHandler] - handleCommand for channel zone1#volume: 30
[DEBUG] [b.binding.onkyo.handler.OnkyoHandler] - Sending command 'MVL' with value '1E' to Onkyo Receiver @192.168.1.31:60128
[DEBUG] [nding.onkyo.internal.OnkyoConnection] - Send command: [command=MVL, value=1E] to 192.168.1.31:60128 (Socket[addr=/192.168.1.31,port=60128,localport=43982])
[TRACE] [g.onkyo.internal.eiscp.EiscpProtocol] - Created eISCP message: 4953435000000010000000080100000021314D564C31450D -> ISCP[00][00][00][10][00][00][00][08][01][00][00][00]!1MVL1E[CR]
[TRACE] [nding.onkyo.internal.OnkyoConnection] - Sending 24 bytes: 4953435000000010000000080100000021314D564C31450D
[ItemCommandEvent ] - Item 'avr1Z1_Volume' received command 30
[ItemStateChangedEvent ] - avr1Z1_Volume changed from 38 to 30
[TRACE] [g.onkyo.internal.eiscp.EiscpProtocol] - Data size: 10
[TRACE] [g.onkyo.internal.eiscp.EiscpProtocol] - Received eISCP message, 49534350000000100000000A0100000021314D564C31451A0D0A -> ISCP[00][00][00][10][00][00][00][LF][01][00][00][00]!1MVL1E[EOF][CR][LF]
[DEBUG] [b.binding.onkyo.handler.OnkyoHandler] - Received status update from Onkyo Receiver @192.168.1.31:60128: data=[command=MVL, value=1E]
[DEBUG] [b.binding.onkyo.handler.OnkyoHandler] - Received command VOLUME
[DEBUG] [b.binding.onkyo.handler.OnkyoHandler] - Converted data '1E' to openHAB state '30' (class org.eclipse.smarthome.core.library.types.PercentType)
[DEBUG] [b.binding.onkyo.handler.OnkyoHandler] - handleCommand for channel zone1#volume: 20
[DEBUG] [b.binding.onkyo.handler.OnkyoHandler] - Sending command 'MVL' with value '14' to Onkyo Receiver @192.168.1.31:60128
[DEBUG] [nding.onkyo.internal.OnkyoConnection] - Send command: [command=MVL, value=14] to 192.168.1.31:60128 (Socket[addr=/192.168.1.31,port=60128,localport=43982])
[ItemCommandEvent ] - Item 'avr1Z1_Volume' received command 20
[TRACE] [g.onkyo.internal.eiscp.EiscpProtocol] - Created eISCP message: 4953435000000010000000080100000021314D564C31340D -> ISCP[00][00][00][10][00][00][00][08][01][00][00][00]!1MVL14[CR]
[TRACE] [nding.onkyo.internal.OnkyoConnection] - Sending 24 bytes: 4953435000000010000000080100000021314D564C31340D
[ItemStateChangedEvent ] - avr1Z1_Volume changed from 30 to 20
[TRACE] [g.onkyo.internal.eiscp.EiscpProtocol] - Data size: 10
[TRACE] [g.onkyo.internal.eiscp.EiscpProtocol] - Received eISCP message, 49534350000000100000000A0100000021314D564C31341A0D0A -> ISCP[00][00][00][10][00][00][00][LF][01][00][00][00]!1MVL14[EOF][CR][LF]
[DEBUG] [b.binding.onkyo.handler.OnkyoHandler] - Received status update from Onkyo Receiver @192.168.1.31:60128: data=[command=MVL, value=14]
[DEBUG] [b.binding.onkyo.handler.OnkyoHandler] - Received command VOLUME
[DEBUG] [b.binding.onkyo.handler.OnkyoHandler] - Converted data '14' to openHAB state '20' (class org.eclipse.smarthome.core.library.types.PercentType)
[TRACE] [g.onkyo.internal.eiscp.EiscpProtocol] - Data size: 10
[TRACE] [g.onkyo.internal.eiscp.EiscpProtocol] - Received eISCP message, 49534350000000100000000A0100000021314D564C31351A0D0A -> ISCP[00][00][00][10][00][00][00][LF][01][00][00][00]!1MVL15[EOF][CR][LF]
[DEBUG] [b.binding.onkyo.handler.OnkyoHandler] - Received status update from Onkyo Receiver @192.168.1.31:60128: data=[command=MVL, value=15]
[DEBUG] [b.binding.onkyo.handler.OnkyoHandler] - Received command VOLUME
[DEBUG] [b.binding.onkyo.handler.OnkyoHandler] - Converted data '15' to openHAB state '21' (class org.eclipse.smarthome.core.library.types.PercentType)
[ItemStateChangedEvent ] - avr1Z1_Volume changed from 20 to 21
[TRACE] [g.onkyo.internal.eiscp.EiscpProtocol] - Data size: 10
[TRACE] [g.onkyo.internal.eiscp.EiscpProtocol] - Received eISCP message, 49534350000000100000000A0100000021314D564C31361A0D0A -> ISCP[00][00][00][10][00][00][00][LF][01][00][00][00]!1MVL16[EOF][CR][LF]
[DEBUG] [b.binding.onkyo.handler.OnkyoHandler] - Received status update from Onkyo Receiver @192.168.1.31:60128: data=[command=MVL, value=16]
[DEBUG] [b.binding.onkyo.handler.OnkyoHandler] - Received command VOLUME
[DEBUG] [b.binding.onkyo.handler.OnkyoHandler] - Converted data '16' to openHAB state '22' (class org.eclipse.smarthome.core.library.types.PercentType)
I don’t know if the problem is with the device or with the binding.
But the device was not updated.
Openhab (and therefore the binding) was updated in the past weeks to version 2.1.
I am using the slightly updated version of the binding from @pauli_anttila
(see: [onkyo] issues with volumes states since OH2.1)
Any idea what is causing this or how I can investigate it further?