Hallo,
habe schon eine weile probiert und gegoogelt aber leider bin ich mit meinem Latein am Ende. Ich bin auch kein Linux Experte, daher bitte ich um Nachsicht.
Ein Frisches Rasperian Jessy installiert.
Dann nach Anleitung von Busware vorgegangen: busware.de/tiki-index.php?page=CCD2_Installation und den FHEM teil weggelassen
Nach Anleitung Homegear installiert
wget http://homegear.eu/packages/Release.key && apt-key add Release.key && rm Release.key
echo 'deb http://homegear.eu/packages/Raspbian/ jessie/' >> /etc/apt/sources.list.d/homegear.list
apt-get update
apt-get install homegear
die config angepasst:
[code]#######################################
######### COC, SCC, CSM, CCD #########
#######################################
The device family this interface is for
[HomeMaticBidCoS]
Specify an unique id here to identify this device in Homegear
id = My-CCD
When default is set to “true” Homegear will assign this device
to new peers.
#default = true
Options: cul, cc1100, coc, cuno, hmcfglan, hmlgw
Also use “coc” for SCC, CCD and CSM
deviceType = coc
device = /dev/ttyAMA0
Default: responseDelay = 95
Should be “95” for CUL or COC, “100” for TI CC1101 and “60” for HM-CFG-LAN or HM-LGW
responseDelay = 95
Default: gpio1 = 0
“17” for COC, SCC and CCD. Empty for CSM.
gpio1 = 17
Default: gpio2 = 0
“18” for COC and SCC. “22” for CCD. Empty for CSM.
gpio2 = 22
[/code]
Der service scheint zu laufen
[code]root@raspberrypi:/etc# service homegear status
● homegear.service - LSB: Start Homegear
Loaded: loaded (/etc/init.d/homegear)
Active: active (exited) since Fr 2015-11-27 22:41:59 UTC; 18min ago
Process: 3888 ExecStop=/etc/init.d/homegear stop (code=exited, status=0/SUCCESS)
Process: 3899 ExecStart=/etc/init.d/homegear start (code=exited, status=0/SUCCESS)
Nov 27 22:41:58 raspberrypi homegear[3899]: 11/27/15 22:41:58.977 Info: Disposing family module mod_max.so
Nov 27 22:41:58 raspberrypi homegear[3899]: 11/27/15 22:41:58.977 Info: Disposing family module mod_insteon.so
Nov 27 22:41:59 raspberrypi homegear[3899]: 11/27/15 22:41:58.978 Info: Disposing family module mod_homematicwired.so
Nov 27 22:41:59 raspberrypi homegear[3899]: 11/27/15 22:41:58.978 Info: Disposing family module mod_homematicbidcos.so
Nov 27 22:41:59 raspberrypi homegear[3899]: 11/27/15 22:41:58.979 Info: Waiting for event threads to finish.
Nov 27 22:41:59 raspberrypi homegear[3899]: Starting Homegear: homegear11/27/15 22:41:59.056 Loading RPC server settings from /etc/homegear/rpcservers.conf
Nov 27 22:41:59 raspberrypi homegear[3899]: 11/27/15 22:41:59.058 Loading RPC client settings from /etc/homegear/rpcclients.conf
Nov 27 22:41:59 raspberrypi homegear[3899]: 11/27/15 22:41:59.059 Info: Waiting for event threads to finish.
Nov 27 22:41:59 raspberrypi homegear[3899]: .
Nov 27 22:41:59 raspberrypi systemd[1]: Started LSB: Start Homegear.
Hint: Some lines were ellipsized, use -l to show in full.
[/code]
leider kann ich keine Verbindung aufbauen:
root@raspberrypi:/etc# homegear -r
11/27/15 23:13:03.983 Could not connect to socket. Error: No such file or directory
11/27/15 23:13:03.983 Could not connect to socket. Error: No such file or directory
Habe die Firmware der CCD jedoch nicht geflashed, da ich keine passede Anleitung gefunden habe! Es scheint ja min. ein GPIO Pin anders zu sein (22 anstatt 18) - grusel
Wenn ich die Karte über
if test ! -d /sys/class/gpio/gpio17; then echo 17 > /sys/class/gpio/export; fi
echo out > /sys/class/gpio/gpio17/direction
echo 1 > /sys/class/gpio/gpio17/value
einschalte blinkt eine orangene LED. Diese geht beim homegear neustart aber aus.
Error.log ist leer und die homegear.log sagt auch nix besonders:
11/27/15 23:23:37.268 Info: Loading family module mod_miscellaneous.so
11/27/15 23:23:37.279 Info: Loading family module mod_philipshue.so
11/27/15 23:23:37.290 Info: Loading family module mod_homematicbidcos.so
11/27/15 23:23:37.309 Info: Loading family module mod_max.so
11/27/15 23:23:37.322 Info: Loading family module mod_insteon.so
11/27/15 23:23:37.333 Info: Loading family module mod_homematicwired.so
11/27/15 23:23:37.380 Initializing database...
11/27/15 23:23:37.388 Initializing family controller...
11/27/15 23:23:37.388 Module HomeMatic BidCoS: Loading XML RPC devices...
11/27/15 23:23:38.261 Info: Not initializing device family HomeMatic Wired, because no physical interface was found.
11/27/15 23:23:38.261 Info: Not initializing device family INSTEON, because no physical interface was found.
11/27/15 23:23:38.261 Info: Not initializing device family MAX!, because no physical interface was found.
11/27/15 23:23:38.261 Info: Not initializing device family Philips hue, because no physical interface was found.
11/27/15 23:23:38.261 Module Miscellaneous: Loading XML RPC devices...
11/27/15 23:23:38.263 Loading devices...
Was mache ich falsch? Habe ich was übersehen? Hat jemand die ccd schon zum laufen gebracht? Bin für jeden Tip dankbar.