Hi,
I finally came to around to give the onkyo binding a try. I am using the Onkyo receiver TX-NR616. The receiver was discovered correctly (all items are created via PaperUI) and so far I have tested the basic features. Power, volume, mute works, however selecting the InputSource did not. Using Karaf I changed the Log level to TRACE. From what I see, in comparison to changing the Volume, no command is sent to the receiver when changing the InputSource, only the item’s state is updated.
I guess this is an issue with the binding and I hope somebody knows how to fix it or direct me to the mistake I made. For the time being I created a rule to circumvent the issue. Maybe it is of help to somebody with the same issue.
rule "Onkyo switch source"
when Item TXNR616_Zone1_InputSource received command
then
logInfo("onkyo.rules", "receivedCommand: " + receivedCommand)
val onkyoActions = getActions("onkyo","onkyo:TX-NR616:cdb074b8-7674-b8b9-b37d-b80976b97fc6")
if(null === onkyoActions) {
logInfo("onkyo.rules", "Actions not found, check thing ID")
return
}
logInfo("onkyo.rules", "onkyoActions: " + onkyoActions)
switch (receivedCommand)
{
case 0: { onkyoActions.sendRawCommand("SLI", '00') }
case 1: { onkyoActions.sendRawCommand("SLI", '01') }
case 2: { onkyoActions.sendRawCommand("SLI", '02') }
case 3: { onkyoActions.sendRawCommand("SLI", '03') }
case 4: { onkyoActions.sendRawCommand("SLI", '04') }
case 5: { onkyoActions.sendRawCommand("SLI", '05') }
case 16: { onkyoActions.sendRawCommand("SLI", '10') }
case 32: { onkyoActions.sendRawCommand("SLI", '20') }
case 33: { onkyoActions.sendRawCommand("SLI", '21') }
case 34: { onkyoActions.sendRawCommand("SLI", '22') }
case 35: { onkyoActions.sendRawCommand("SLI", '23') }
case 36: { onkyoActions.sendRawCommand("SLI", '24') }
case 37: { onkyoActions.sendRawCommand("SLI", '25') }
case 38: { onkyoActions.sendRawCommand("SLI", "\u201C26\u201D") }
case 39: { onkyoActions.sendRawCommand("SLI", '27') }
case 40: { onkyoActions.sendRawCommand("SLI", '28') }
case 41: { onkyoActions.sendRawCommand("SLI", '29') }
case 42: { onkyoActions.sendRawCommand("SLI", '2A') }
case 43: { onkyoActions.sendRawCommand("SLI", '2B') }
case 45: { onkyoActions.sendRawCommand("SLI", '2D') }
case 48: { onkyoActions.sendRawCommand("SLI", '30') }
case 50: { onkyoActions.sendRawCommand("SLI", '32') }
}
end
Good day