Good day,
I’m hoping for some troubleshooting advice with my Onkyo add-on.
My set up is Openhabian 2.3 running on a Pi3. Add-on ver 2 installed.
I have an Onkyo TX-616, running the latest firmware.
Sitemap looks like this:
'''php
Frame label="Lounge" {
Switch item=avr1Z1_Power label="Lounge Receiver"
Switch item=avr1Z1_Input label="Select Input" mappings=[0="Dstv", 1="Kodi", 16="Dvd", 43="Spotify"]
Slider item=avr1Z1_Volume label="Volume [%s]"
}
Frame label="Patio" {
Switch item=avr1Z2_Power label="Patio Amp"
Switch item=avr1Z2_Input label="Select Input" mappings=[43='Net', 05='Bluetooth', 36='FM Radio']
Slider item=avr1Z2_Volume label="Volume [%s]"
'''
Items file looks like this:
‘’'csv
Switch avr1Z1_Power "Lounge Receiver On/Off" <receiver> [ "Switchable" ] { channel="onkyo:TX-NR616:myOnkyo:zone1#power" }
String avr1Z1_Input "Select" <sofa> { channel="onkyo:TX-NR616:myOnkyo:zone1#input" }
Dimmer avr1Z1_Volume "Volume [%d]" <soundvolume> { channel="onkyo:TX-NR616:myOnkyo:zone1#volume" }
‘’’
The item I’m having trouble with is Input select on Zone 1, our Lounge. When I select inputs, nothing happens on the receiver.
It must be noted that Zone 2, or patio works perfectly.
Things I have tried so far:
reinstalled the Add-on a number of times.
I have verified the input values (0,1,16,43) as valid numbers. (from the demo add-on config)
I also noticed the input values (0,1,16,43) I found were very different from the add-on examples, as well as the Onkyo documentation. Even if the values are wrong, the input sellect should switch to a “wrong” input, but in my case no select change happens.
I have also tried replacing “switch” with “select” as per the sitemap documentation.
The thing I find interesting, if I do a tcpdump on the Pi Interface, there is no tcp/udp output to the receiver from the Pi. For all the other commands, (volume, power and all 3 the zone 2 commands) I see tcp & udp packets to the receiver, but not the Z1 Input commands.
Over the years, I have added and reinstalled the add-on so many times, I fear it may have become broken/confused within Openhab.
Anyway I can look under the hood?
Your advice will be greatly appreciated.