Hallo,
ich versuche einen CC1101 (868MHz, Pollin) mit Homegear zu verwenden, um HomeMatic Geräte zu steuern.
Der Chip ist per SPI an einen Raspberry Pi angeschlossen:
[code]CC1101 <-> Raspberry Pi:
ANT <-> Antenna wire
GND <-> Ground (Pin 6)
+Ub <-> 3V power (Pin 1)
SI <-> MOSI (Pin 19)
CLK <-> SCLK (Pin 23)
SO <-> MISO (Pin 21)
CS <-> CE0 (Pin 24)
GDO0 <-> GPIO 25 (Pin 22)[/code]
physicalinterfaces.conf:
[code]## The device family this interface is for
[HomeMaticBidCoS]
Specify an unique id here to identify this device in Homegear
id = My-CC1101
When default is set to “true” Homegear will assign this device
to new peers.
default = true
Options: cul, cc1100, coc, cuno, hmcfglan, hmlgw
deviceType = cc1100
device = /dev/spidev0.0
Default: responseDelay = 95
Should be “95” for CUL or COC, “100” for TI CC1101 and “60” for HM-CFG-LAN or HM-LGW
responseDelay = 100
The interrupt pin to use. “0” for GDO0 or “2” for GDO2.
You only need to connect one of them. Specify the GPIO
you connected the interrupt pin to below.
interruptPin = 0
The GPIO GDO0 or GDO2 is connected to. Specify which GDO to use above.
gpio1 = 25[/code]
/dev/spidev0.0 existiert im System.
Die Logs sind unten angehängt.
homegear.err.txt (11.4 KB)
homegear.log.txt (15.4 KB)