Moin,
habe gestern angefangen und openHab auf einen rpi3 installiert. Jetzt wollte ich einen nanoCUL in Betrieb nehmen und bin über diesen Blog gestolpert >> CUL an Homematic über Homegear auf dem Raspberry Pi unter Debian – Jessie.
Soweit so gut, flashen musste ich ja nicht mehr (V1.66) und die Installation von HG war soweit unauffällig. Dann kam hier aber die Konfiguration der Datei "physicalinterfaces.conf " welche bei mir nicht vorhanden war. Ich habe dann in der “homematicbidcos.conf” konfiguriert:
centralAddress = 0xFD99AB
rfKey = 1b61906f87434c6a0ebc63b0c84a73d8
currentRfKeyIndex = 1
processBroadcastWithAesEnabled = false
[CUL]
id = nanoCUL
default = true
deviceType = cul
device = /dev/ttyUSB0
responseDelay = 95
Mit “service homegear start” lässt sich HG auch starten und ein “service homegear status” zeigt zunächst:
- homegear.service - Homegear
Loaded: loaded (/lib/systemd/system/homegear.service; enabled)
Active: active (running) since Do 2016-10-13 11:26:36 CEST; 1s ago
Process: 29299 ExecStartPre=/usr/bin/homegear -u homegear -g homegear -p /var/run/homegear/homegear.pid -pre (code=exited, status=0/SUCCESS)
Main PID: 29304 (homegear)
CGroup: /system.slice/homegear.service
|-29304 /usr/bin/homegear -u homegear -g homegear -p /var/run/homegear/homegear.pid
|-29306 sh -c /usr/bin/homegear -tc
`-29307 /usr/bin/homegear -tc
Okt 13 11:26:36 raspberrypi homegear[29299]: 10/13/16 11:26:36.810 Debug: port of server RPCServer3 set to 2003
Okt 13 11:26:36 raspberrypi homegear[29299]: 10/13/16 11:26:36.810 Debug: xmlrpcServer of server RPCServer3 set to 1
Okt 13 11:26:36 raspberrypi homegear[29299]: 10/13/16 11:26:36.810 Debug: jsonrpcServer of server RPCServer3 set to 1
Okt 13 11:26:36 raspberrypi homegear[29299]: 10/13/16 11:26:36.810 Debug: webServer of server RPCServer3 set to 1
Okt 13 11:26:36 raspberrypi homegear[29299]: 10/13/16 11:26:36.810 Debug: contentPath of RPC server RPCServer3 set to /var/lib/homegear/www/rpc/
Okt 13 11:26:36 raspberrypi homegear[29299]: 10/13/16 11:26:36.810 Debug: webSocket of server RPCServer3 set to 1
Okt 13 11:26:36 raspberrypi homegear[29299]: 10/13/16 11:26:36.810 Debug: ssl of server RPCServer3 set to 1
Okt 13 11:26:36 raspberrypi homegear[29299]: 10/13/16 11:26:36.810 Debug: authType of server RPCServer3 set to 1
Okt 13 11:26:36 raspberrypi homegear[29299]: 10/13/16 11:26:36.810 Debug: websocketauthtype of server RPCServer3 set to 2
Okt 13 11:26:36 raspberrypi homegear[29299]: 10/13/16 11:26:36.810 Debug: diffieHellmanKeySize of server RPCServer3 set to 1024
alles jut? - nö, ein weiteres status zeigt:
- homegear.service - Homegear
Loaded: loaded (/lib/systemd/system/homegear.service; enabled)
Active: failed (Result: start-limit) since Do 2016-10-13 11:26:43 CEST; 18s ago
Process: 30088 ExecStart=/usr/bin/homegear -u homegear -g homegear -p /var/run/homegear/homegear.pid (code=killed, signal=ABRT)
Process: 30084 ExecStartPre=/usr/bin/homegear -u homegear -g homegear -p /var/run/homegear/homegear.pid -pre (code=exited, status=0/SUCCESS)
Main PID: 30088 (code=killed, signal=ABRT)
Okt 13 11:26:43 raspberrypi systemd[1]: Unit homegear.service entered failed state.
Okt 13 11:26:43 raspberrypi systemd[1]: homegear.service holdoff time over, scheduling restart.
Okt 13 11:26:43 raspberrypi systemd[1]: Stopping Homegear…
Okt 13 11:26:43 raspberrypi systemd[1]: Starting Homegear…
Okt 13 11:26:43 raspberrypi systemd[1]: homegear.service start request repeated too quickly, refusing to start.
Okt 13 11:26:43 raspberrypi systemd[1]: Failed to start Homegear.
Okt 13 11:26:43 raspberrypi systemd[1]: Unit homegear.service entered failed state.
Im errorlog wiederholen sich diese Meldungen:
Stack trace:
[__GI_raise] (2641)
nptl/sysdeps/unix/sysv/linux/raise.c:56 (2641)
^@pure virtual method called
terminate called without an active exception
Aborted (thread 1971647392, pid 2902)
Stack trace:
[__GI_raise] (2902)
nptl/sysdeps/unix/sysv/linux/raise.c:56 (2902)
^@pure virtual method called
Im log kommt dies:
10/13/16 11:26:36.274 Starting Homegear…
10/13/16 11:26:36.274 Homegear version 0.6.7-1480
10/13/16 11:26:36.274 Git commit SHA of libhomegear-base: -
10/13/16 11:26:36.274 Git branch of libhomegear-base: -
10/13/16 11:26:36.274 Git commit SHA of Homegear: -
10/13/16 11:26:36.274 Git branch of Homegear: -
10/13/16 11:26:36.275 Info: Setting allowed core file size to “4294967295” for user with id 0 and group with id 0.
10/13/16 11:26:36.275 Info: Core file size now is “4294967295”.
10/13/16 11:26:36.275 Info: Setting maximum thread priority to “4294967295” for user with id 0 and group with id 0.
10/13/16 11:26:36.276 Info: Maximum thread priority now is “4294967295”.
10/13/16 11:26:38.098 Starting Homegear…
10/13/16 11:26:38.098 Homegear version 0.6.7-1480
10/13/16 11:26:38.098 Git commit SHA of libhomegear-base: -
10/13/16 11:26:38.098 Git branch of libhomegear-base: -
10/13/16 11:26:38.098 Git commit SHA of Homegear: -
10/13/16 11:26:38.099 Git branch of Homegear: -
10/13/16 11:26:38.100 Info: Setting allowed core file size to “4294967295” for user with id 0 and group with id 0.
10/13/16 11:26:38.100 Info: Core file size now is “4294967295”.
10/13/16 11:26:38.100 Info: Setting maximum thread priority to “4294967295” for user with id 0 and group with id 0.
10/13/16 11:26:38.100 Info: Maximum thread priority now is “4294967295”.
10/13/16 11:26:38.322 Info: Backing up database…
10/13/16 11:26:38.323 Info: Process with id 29560 ended.
10/13/16 11:26:39.976 Starting Homegear…
10/13/16 11:26:39.976 Homegear version 0.6.7-1480
10/13/16 11:26:39.976 Git commit SHA of libhomegear-base: -
10/13/16 11:26:39.976 Git branch of libhomegear-base: -
10/13/16 11:26:39.976 Git commit SHA of Homegear: -
10/13/16 11:26:39.976 Git branch of Homegear: -
10/13/16 11:26:39.977 Info: Setting allowed core file size to “4294967295” for user with id 0 and group with id 0.
10/13/16 11:26:39.977 Info: Core file size now is “4294967295”.
10/13/16 11:26:39.977 Info: Setting maximum thread priority to “4294967295” for user with id 0 and group with id 0.
10/13/16 11:26:39.978 Info: Maximum thread priority now is “4294967295”.
10/13/16 11:26:41.837 Starting Homegear…
10/13/16 11:26:41.837 Homegear version 0.6.7-1480
10/13/16 11:26:41.837 Git commit SHA of libhomegear-base: -
10/13/16 11:26:41.837 Git branch of libhomegear-base: -
10/13/16 11:26:41.837 Git commit SHA of Homegear: -
10/13/16 11:26:41.837 Git branch of Homegear: -
10/13/16 11:26:41.838 Info: Setting allowed core file size to “4294967295” for user with id 0 and group with id 0.
10/13/16 11:26:41.838 Info: Core file size now is “4294967295”.
10/13/16 11:26:41.839 Info: Setting maximum thread priority to “4294967295” for user with id 0 and group with id 0.
10/13/16 11:26:41.839 Info: Maximum thread priority now is “4294967295”.
10/13/16 11:26:42.051 Info: Backing up database…
10/13/16 11:26:43.486 Starting Homegear…
10/13/16 11:26:43.486 Homegear version 0.6.7-1480
10/13/16 11:26:43.486 Git commit SHA of libhomegear-base: -
10/13/16 11:26:43.486 Git branch of libhomegear-base: -
10/13/16 11:26:43.486 Git commit SHA of Homegear: -
10/13/16 11:26:43.486 Git branch of Homegear: -
10/13/16 11:26:43.488 Info: Setting allowed core file size to “4294967295” for user with id 0 and group with id 0.
10/13/16 11:26:43.488 Info: Core file size now is “4294967295”.
10/13/16 11:26:43.488 Info: Setting maximum thread priority to “4294967295” for user with id 0 and group with id 0.
10/13/16 11:26:43.488 Info: Maximum thread priority now is “4294967295”.
Kann mich mal jemand orientieren … was mache ich falsch?