Installing SCC CC1101 module GPIO

Moderator: leecollings

Post Reply
sawo
Posts: 3
Joined: Monday 21 September 2015 12:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Installing SCC CC1101 module GPIO

Post by sawo »

Hi all,

I hope that someone can assist or better help me with installing a SCC CC1101 (busware) GPIO to controll my 868mhz devices.
I got it from a friend, he used it with fhem, but switched to a different system now and is no longer in use.

can any one tell my how to get it work with domoticz?
on the website from busware they have a howto, but I have no idea what to do.

When I look at the log I see the message:
Error: GPIO: Failed to detect any pins, make sure you exported them!

Hope someone can help me.

THX
SAWO
sawo
Posts: 3
Joined: Monday 21 September 2015 12:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Installing SCC CC1101 module GPIO

Post by sawo »

Hi,

does no one have a hint for me?
:o :(

Thx
sawo
Kytrix
Posts: 2
Joined: Wednesday 14 October 2015 19:46
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Installing SCC CC1101 module GPIO

Post by Kytrix »

Hello,

I have the same error,
Error: GPIO: Failed to detect any pins, make sure you exported them!

but I am able to see pin exported with gpio exports:
GPIO Pins exported:
12: out 0 none
17: out 0 none
18: out 0 none
22: out 0 none
23: out 0 none
24: out 0 none
25: out 0 none
27: out 0 none

I try to launch domoticz with the same user, but I still get the same error :/

Of course it didn't work inside domoticz, I get a GPIO_INIT_ERROR in place of gpio pin choose :/

the gpio readall call is working
Kytrix
Posts: 2
Joined: Wednesday 14 October 2015 19:46
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Installing SCC CC1101 module GPIO

Post by Kytrix »

to be able to use my GPIO ports from domoticz, I use the workaround:
-I made a very basic script
gpio.sh placed in /home/pi/domoticz/scripts/

Code: Select all

#!/bin/bash
gpio write $1 $2
then I create a virtual button
and put actions in
On action: script:///home/pi/domoticz/scripts/gpio.sh 0 0
Off action: script:///home/pi/domoticz/scripts/gpio.sh 0 1

(my relay is on GPIO 0 and the state in inverted)

I still would use directly GPIO write from domoticz ..
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest