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
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.
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.