I installed the binding.
Configured the gpio-port in openhab.cfg within: rpircswitch:gpioPin=5
When I try to comunicate with it I get this log message:
2016-01-11 20:03:44.210 [ERROR] [.r.internal.RPiRcSwitchBinding] - Transmitter has not been initialized. Please configure it correctly in your OpenHAB configuration.
I have the same here. I tested a lot, no clue. Sorry. But I’d be interested in a solution.
The source code is at github.com ; openhab/openhab/pull/2567/files?diff=unified
Look for “RPiRcSwitchBinding.java”; Line 80 to 99
For a workaround using the “exec”-binding, please look here:
The exec binding is my current solution - I wanted to get rid of this.
News: this binding seems to need “root” rights.
When changing openhab to run as “root” in /etc/defaults/openhab (USER_AND_GROUP=root:root)
this error message …
00:00:34.622 [ERROR] [.r.internal.RPiRcSwitchBinding:99 ] - Transmitter has not been initialized. Please configure it correctly in your OpenHAB configuration.
… goes away.
But still then: it’s not functioning. No more error messages, but the transmitter sends nothing.
Any update on this? I’d really like to switch to the rpircswitch binding as well, but no luck getting it to work so far.
Still stuck with the same issue.
I’m somehow assuming that I would have to install and configure the
gpio-binding as well but have not found the time if this could be an
2016-02-08 21:27 GMT+01:00 Hans Digi firstname.lastname@example.org: