I am trying to get my pioneer VSX-920 to work with OH2. I made a great start, but some small things are not working and I can’t figure out why.
I have a Zone 1 and Zone 2. The powerswitch on Zone 2 works perfect and I copied that line of code to Zone 1, without success. Also I’m trying to make a rule to leave Zone 2 always on, because my Pioneer doesn’t have network standby. These are my lines of code and I hope you can find out what’s wrong.
rule "Pioneerswitch"
when
Item Pioneer_on changed from OFF to ON
then
PowerSwitch.sendCommand(ON)
end
rule "Pioneerswitch OFF"
when
Item Pioneer_on changed from ON to OFF
then
PowerSwitch2.sendCommand(ON)
PowerSwitch.sendCommand(OFF)
end
Thanks for your reply!
I can see, for example my chromecast ID is a lot longer too.
I will delete and rediscover. But why do you think the Zone 2 still works?
Not sure what you mean by ‘Classic’. Neither my binding nor my items have such a string to be part of their names. I suspect you’re using an old version. What does this command tell on your system ?
openhab> bundle:list|grep -i pio
230 x Active x 80 x 2.4.0.201810111740 x PioneerAvr Binding
~ openhab>
I’ve put the binding in DEBUG mode and here is the log after a restart :
2019-01-03 12:56:28.309 [DEBUG] [org.openhab.binding.pioneeravr ] - ServiceEvent REGISTERED - {org.eclipse.smarthome.config.discovery.upnp.UpnpDiscoveryParticipant}={service.id=545, service.bundleid=253, service.scope=bundle, component.name=org.openhab.binding.pioneeravr.internal.discovery.PioneerAvrDiscoveryParticipant, component.id=365} - org.openhab.binding.pioneeravr
2019-01-03 12:56:28.311 [DEBUG] [org.openhab.binding.pioneeravr ] - ServiceEvent REGISTERED - {org.eclipse.smarthome.core.thing.binding.ThingHandlerFactory}={service.id=546, service.bundleid=253, service.scope=bundle, component.name=org.openhab.binding.pioneeravr.internal.handler.AvrHandlerFactory, component.id=366} - org.openhab.binding.pioneeravr
2019-01-03 12:56:28.312 [DEBUG] [org.openhab.binding.pioneeravr ] - BundleEvent STARTING - org.openhab.binding.pioneeravr
2019-01-03 12:56:28.313 [DEBUG] [org.openhab.binding.pioneeravr ] - BundleEvent STARTED - org.openhab.binding.pioneeravr
2019-01-03 12:56:28.323 [DEBUG] [.internal.handler.AbstractAvrHandler] - Initializing handler for Pioneer AVR @192.168.2.101:8102
2019-01-03 12:56:28.326 [WARN ] [.internal.handler.AbstractAvrHandler] - Unsupported command type received for channel zone1#power.
2019-01-03 12:56:28.327 [WARN ] [.internal.handler.AbstractAvrHandler] - Unsupported command type received for channel zone1#volumeDimmer.
2019-01-03 12:56:28.327 [WARN ] [.internal.handler.AbstractAvrHandler] - Unsupported command type received for channel zone1#mute.
2019-01-03 12:56:28.327 [WARN ] [.internal.handler.AbstractAvrHandler] - Unsupported command type received for channel zone1#setInputSource.
2019-01-03 12:56:29.324 [DEBUG] [.internal.handler.AbstractAvrHandler] - Checking status of AVR @192.168.2.101:8102
2019-01-03 12:56:30.328 [DEBUG] [internal.protocol.ip.IpAvrConnection] - Connected to 192.168.2.101:8102
2019-01-03 12:56:30.328 [DEBUG] [nternal.protocol.StreamAvrConnection] - Command sent to AVR @192.168.2.101:8102: ?P
2019-01-03 12:56:30.329 [DEBUG] [nternal.protocol.StreamAvrConnection] - Command sent to AVR @192.168.2.101:8102: ?AP
2019-01-03 12:56:30.329 [DEBUG] [nternal.protocol.StreamAvrConnection] - Command sent to AVR @192.168.2.101:8102: ?BP
And is it looping with the Command sent to AVR.
The items doesn’t reflect the state of the AVR nor the change I do to my items are reflected on the AVR.
It’s a VSX-1023-k.