Removed the “-s” and that seemed to do the trick, also seemed to have three bundles of pioneer installed so i disabled the two lower ones and then actived 181 with bundle:start 181.
Bingo, now it works, big thanks!
I’ll try it out some more but seems to be working as intended.
I too had varying success with bundle:install -s ..., I’m still getting familiar with the new console.
I would imagine you could just swap bundles but I couldn’t try. The 2.0.0.b2 bundle assigns my AVR a Thing UID of pioneeeravr:ipUnsupportedAvr and my 2.0.0.201603141816 bundle assigns it a pioneeeravr:ipAvr Thing UID. The different UID is what I think made OH2 pull its hair out when I tried to just swap bundles.
There’s still a little refactoring to be done on my patch before I can submit a PR upstream - it was a quick 'n dirty implementation. I’ll let you know when I have something else to test and hopefully I’ll figure out an easier way to swap the bundles.
@mgbowman sounds good, let me know when you need more assistance. Also, it might be worth to see if @Kai has any insights on the above or my question below.
Is there an agreed upon/standardized way for bindings.to report an unknown state, right now it’s UNDEF for the Pioneer binding, when receiver turned off, for items like mute/volume/input. I’d like to.know if that’s correct/undecided/incorrect before i push for support for that state, in Rotini as an example.
Did you include the TCP KEEPALIVE change posted above or is that missing in your release? I’m wonderin cause after two days of running your binding one of my pioneer receivers has a broken pipe, same behavior as I had before that patch above.
@tobo On it! I will pull in the latest openhab/master changes and apply my latest work on top. Will report back when I have another build that needs testing.
Thanks for the quick assist, unfortunately I had no time to test this today, maybe tomorrow but it’s looking bad, Saturday at the latest. Then I’ll report back!
It seems that something isn’t working with regards to status updates, input and volume don’t change when turning off the receiver for one, they stay the same which was not the case before. Anything in particular you want me to test with regards to this?
I tried out the binding more thoroughly during Sunday and what I wrote above seems correct, your changes are having the desired effects in terms of being able to use percentage and so on. The TCP has not flaked out so far so hopefully the keepalive is fine as well, time will tell.
However, basically no status updates are received, I can increase decrease volume without the percentage for the volume being changed. Inputs and volume stay set on the last value when receiver is shut off and so on, a change in behavior from before.
I have three pi1s and one pi2 in a drawer not doing much after “cancelled” projects, might be time to go dedicated Oh2 on one of them just for the help of it!
@mgbowman I’ve had to revert now to the @Stratehm build, yours was good in terms of the volume but displayed some funkiness in terms of updating statuses and not loosing the connection over time. I’ll get back to it when you need me to for more OH2 testing.
@mgbowman have you had a chance to test the OH2 binding yourself?
@Stratehm I think I might have found a “bug”, looking at the below it seems that Mute and Volume are correctly updated to UNDEF when the receiver is shut off, but not input?
2016-05-25 15:49:33.014 [INFO ] [marthome.event.ItemStateChangedEvent] - LivingRC_Power changed from ON to OFF
2016-05-25 15:49:33.051 [INFO ] [marthome.event.ItemStateChangedEvent] - LivingRC_Mute changed from OFF to UNDEF
2016-05-25 15:49:33.052 [INFO ] [marthome.event.ItemStateChangedEvent] - LivingRC_Input changed from 19 to
2016-05-25 15:49:33.052 [INFO ] [marthome.event.ItemStateChangedEvent] - LivingRC_Vol changed from 41 to UNDEF
Hello@all,
I have a Pioneer XC-HM81 Micro-Hifi-System and use the Pioneer AVR binding (binding-pioneeravr - 2.5.2) for controlling it remotely via network. The command set of this system is very limited, but at least it is possible to control power, mute, volume up/down (no numbers, only VU/VD), source selection via telnet.
With the binding i am able to switch the box on/off and un-/mute. But increase/decrease the volume with the binding fails.
This is my current items-configuration which is working for power and mute. It is also possible to receive the actual volume value, but increasing/decreasing volume won’t work.
Following warning messages are thrown in the Log Viewer after the respective vol+/- buttons are pushed in the basic ui:
[WARN ] [rest.core.internal.item.ItemResource] - Received HTTP POST request at 'items/XCHM81_Zone1VolumeDb' with an invalid status value 'ON'.
[WARN ] [rest.core.internal.item.ItemResource] - Received HTTP POST request at 'items/XCHM81_Zone1VolumeDb' with an invalid status value 'OFF'.
[WARN ] [rest.core.internal.item.ItemResource] - Received HTTP POST request at 'items/XCHM81_Zone1VolumeDb' with an invalid status value 'INCREASE'.
[WARN ] [rest.core.internal.item.ItemResource] - Received HTTP POST request at 'items/XCHM81_Zone1VolumeDb' with an invalid status value 'DECREASE'.
[WARN ] [rest.core.internal.item.ItemResource] - Received HTTP POST request at 'items/XCHM81_Zone1VolumeDb' with an invalid status value 'UP'.
[WARN ] [rest.core.internal.item.ItemResource] - Received HTTP POST request at 'items/XCHM81_Zone1VolumeDb' with an invalid status value 'DOWN'.
[nt.ItemStatePredictedEvent] - XCHM81_Zone1VolumeDb predicted to become -53
[vent.ItemStateChangedEvent] - XCHM81_Zone1VolumeDb changed from -54.0 to -53
[vent.ItemStateChangedEvent] - XCHM81_Zone1VolumeDb changed from -53 to -54.0
Is it actually possible to send the VU/VD commands with this binding version and if so, how can I do this?