Rpircswitch Binding question

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.

Any recommendations?

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:
http://smarthome.hallojapan.de/2014/11/controlling-lights-with-openhab-raspberry-pi-and-433mhz-remote-switches/

Thanks.
The exec binding is my current solution - I wanted to get rid of this. :slight_smile:

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.

Hi all,

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.

Thanks

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
un-documented pre-requesite.

2016-02-08 21:27 GMT+01:00 Hans Digi bot@community.openhab.org: