# Faulty Homegear installation over openhabian-config?

**URL:** <https://community.openhab.org/t/faulty-homegear-installation-over-openhabian-config/102765>\
**Category:** Beginners\
**Tags:** homegear, homematic, openhab2\
**Created:** [July 25, 2020, 8:39am UTC](https://community.openhab.org/t/faulty-homegear-installation-over-openhabian-config/102765 "2020-07-25T08:39:50Z")\
**Posts on this page:** 1\
**Showing post:** 26

<div class="post-metadata">

**Author:** ![HeribertHechtersheim](https://community.openhab.org/letter_avatar_proxy/v4/letter/h/c6cbf5/32.png) [@HeribertHechtersheim](https://community.openhab.org/u/HeribertHechtersheim)\
**Post date:** [January 24, 2021, 2:52pm UTC](https://community.openhab.org/t/faulty-homegear-installation-over-openhabian-config/102765/26 "2021-01-24T14:52:49Z")

</div>

Hey,  
I had the same problem a couple weeks ago with the new openhabian 3 release and the CC1101 module. The simplest solution I could find was to execute `echo "24" > /sys/class/gpio/export` (maybe its a different pin for you) during start with a crontab. For details look at step 4.

For completeness, I wrote down all the steps I needed to get the CC1101 running with homegear und openHab 3. However, if you are using another module, you might need to make some changes in step 2 to 4, but I think the most important part is about exporting the reset pin at startup, which should be the same:

1. Install homgear via `sudo openhabian-config`. Then execute `10 | Apply Improvements` `14 | Fix Permissions`.

2. Uncomment `#dtparam=spi=on` in `/boot/config.txt`.

3. Uncomment the lines in `/etc/homegear/families/homematicbidcos.conf` below `########## TI CC1101 Module ##########` the following way:

4. Use `crontab -e` to open the cron task list and add the line `@reboot echo "24" > /sys/class/gpio/export` (or change to the pin number you need). Safe and shutdown the system with `sudo shutdown -h now`.

5. Disconnect power. If you haven’t done it already, connect SPI pins of the CC1101 with the ones of the RPi. Connect `homematicbidcos.conf` the CC1011 pin GDO2(GDO0) with RPi GPIO pin 24(25).

6. Reconnect power to the RPi.

* * *

I don’t know if its 100% guaranteed that the cron task will be executed before the start of homegear, but during the testing I did so far, it always worked.

---

_[View the full topic](https://community.openhab.org/t/faulty-homegear-installation-over-openhabian-config/102765)._
