Onkyo binding problem


I am very new to openHAB, but I have run into a problem with Onkyo binding. It seem to only work in “read-mode”: I am able to see how the status on the receiver is in Paper UI, but I am not able to control it. This is a bit of log:
2018-03-04 17:45:44.492 [vent.ItemStateChangedEvent] - TXNR727_Zone1_Power changed from OFF to ON
2018-03-04 17:47:52.198 [vent.ItemStateChangedEvent] - TXNR727_Zone1_Power changed from ON to OFF
(this is when I use an iPhone with the Onkyo “Remote 3” app. The receiver reacts as expected).

2018-03-04 17:49:41.858 [ome.event.ItemCommandEvent] - Item ‘TXNR727_Zone1_Power’ received command ON
2018-03-04 17:49:41.871 [vent.ItemStateChangedEvent] - TXNR727_Zone1_Power changed from OFF to ON
2018-03-04 17:50:12.551 [vent.ItemStateChangedEvent] - TXNR727_Zone1_Power changed from ON to OFF
(this is when I try to control the receiver from Paper UI).

It seems like the receiver is not accepting the command when they are send from openHAB.

Any help is much appreciated.

Kind regards

Hello @Pangel

I use the Onkyo binding without any problems.
In order to help you further, you must provide the following:

  • your OH version (it is listed when you log into the karaf console: ssh openhab@localhost -p 8101)
  • your binding version (from karaf: openhab> bundle:list | grep -i onk)
  • you .items definitions
  • your .rules rule

Also please use Pre-formatted text (Ctr+shift+C on selection) or use the </> button on the selection.

Hi Ole.

Thanks for your reply.
From karaf:
Version 2.2.0 Release Build (on Raspberry Pi 3)
Onkyo binding version 2.2.0

I do not have an *.items-file with the Onkyo receiver as I have used the Web-gui to configure it. Here it says “ONLINE” and when I check the log with the logviewer on port 9001 I see what the receiver is doing:

2018-03-05 20:52:29.840 [vent.ItemStateChangedEvent] - OnkyoTXNR727AVReceiver_Zone1_Volume changed from 25 to 26

I try to control the receiver for “Paper UI” - “Control” and I can see that in the log:
2018-03-05 21:56:32.606 [ome.event.ItemCommandEvent] - Item ‘TXNR727_Zone1_Power’ received command OFF
2018-03-05 21:56:32.623 [vent.ItemStateChangedEvent] - TXNR727_Zone1_Power changed from ON to OFF
2018-03-05 21:57:12.748 [vent.ItemStateChangedEvent] - TXNR727_Zone1_Power changed from OFF to ON

Is there some other kind of log or other information that would be useful in figuring out what is wrong?


Kind regards

You are getting there with the preformatted text. Just remember you need a blank line before and after for the fencing to work. :slight_smile: (hint, check the preview pane at the right)

Anyway, what you are trying should work. My log looks like this:

2018-03-05 22:11:53.677 [ome.event.ItemCommandEvent] - Item 'onkyo_onkyoUnsupported_15b0ac73_adac_73b9_7ba5_7309adb9a41d_zone1_power' received command ON
2018-03-05 22:11:53.679 [vent.ItemStateChangedEvent] - onkyo_onkyoUnsupported_15b0ac73_adac_73b9_7ba5_7309adb9a41d_zone1_power changed from OFF to ON

But your log shows that the power is turned ON again 40s later.
Is that you using the APP?
During that 40s, is the receiver OFF?

Edit: FYI, I’m on:
2.3.0-SNAPSHOT Build #1220
openhab> bundle:list | grep -i onk
223 | Active | 80 | | Onkyo Binding

I gave up on the Onkyo binding and found a python script that was able to control my Onkyo receiver. So I am calling a script instead of the binding:


But thanks for your help.