# Rpircswitch Binding question

**URL:** <https://community.openhab.org/t/rpircswitch-binding-question/6069>\
**Category:** Bindings\
**Created:** [January 11, 2016, 7:24pm UTC](https://community.openhab.org/t/rpircswitch-binding-question/6069 "2016-01-11T19:24:14Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ThomasM](https://community.openhab.org/user_avatar/community.openhab.org/thomasm/32/37506_2.png) [@ThomasM](https://community.openhab.org/u/ThomasM)\
**Post date:** [January 11, 2016, 7:24pm UTC](https://community.openhab.org/t/rpircswitch-binding-question/6069/1 "2016-01-11T19:24:14Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![WolfgangK](https://community.openhab.org/letter_avatar_proxy/v4/letter/w/eb8c5e/32.png) [@WolfgangK](https://community.openhab.org/u/WolfgangK)\
**Post date:** [January 19, 2016, 9:33pm UTC](https://community.openhab.org/t/rpircswitch-binding-question/6069/2 "2016-01-19T21:33:36Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ThomasM](https://community.openhab.org/user_avatar/community.openhab.org/thomasm/32/37506_2.png) [@ThomasM](https://community.openhab.org/u/ThomasM)\
**Post date:** [January 20, 2016, 9:58am UTC](https://community.openhab.org/t/rpircswitch-binding-question/6069/3 "2016-01-20T09:58:56Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![WolfgangK](https://community.openhab.org/letter_avatar_proxy/v4/letter/w/eb8c5e/32.png) [@WolfgangK](https://community.openhab.org/u/WolfgangK)\
**Post date:** [January 21, 2016, 5:23pm UTC](https://community.openhab.org/t/rpircswitch-binding-question/6069/4 "2016-01-21T17:23:43Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Hans\_Lree](https://community.openhab.org/user_avatar/community.openhab.org/hans_lree/32/194704_2.png) [@Hans\_Lree](https://community.openhab.org/u/Hans_Lree)\
**Post date:** [February 8, 2016, 8:22pm UTC](https://community.openhab.org/t/rpircswitch-binding-question/6069/5 "2016-02-08T20:22:39Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ThomasM](https://community.openhab.org/user_avatar/community.openhab.org/thomasm/32/37506_2.png) [@ThomasM](https://community.openhab.org/u/ThomasM)\
**Post date:** [February 9, 2016, 8:46am UTC](https://community.openhab.org/t/rpircswitch-binding-question/6069/6 "2016-02-09T08:46:19Z")

</div>

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](mailto:bot@community.openhab.org):
