Homegear auf Beaglebone

Hallo zusammen,

ich nutze einen Beaglebone mit Debian und einem HM-CFG-LAN. Homegear habe ich über das deb-Paket installiert und der HM-CFG-LAN ist im Netz erreichbar. Ich kann über die original Konfigurations-Software Devices paaren.

Starte ich homegear, bekomme ich folgenden output (mit Debug)

beaglebone:/var/run/homegear# homegear 10/27/14 22:40:08.855 Debug: debugLevel set to 1006 10/27/14 22:40:08.857 Debug: devLog set to 1 10/27/14 22:40:08.857 Debug: databasePath set to /var/lib/homegear/db.sql 10/27/14 22:40:08.858 Debug: databaseMemoryJournal set to 1 10/27/14 22:40:08.858 Debug: databaseSynchronous set to 0 10/27/14 22:40:08.859 Debug: logfilePath set to /var/log/homegear/ 10/27/14 22:40:08.859 Debug: certPath set to /etc/homegear/homegear.crt 10/27/14 22:40:08.859 Debug: keyPath set to /etc/homegear/homegear.key 10/27/14 22:40:08.860 Debug: loadDHParamsFromFile set to 1 10/27/14 22:40:08.860 Debug: dhParamPath set to /etc/homegear/dh1024.pem 10/27/14 22:40:08.860 Debug: deviceDescriptionPath set to /etc/homegear/devices/ 10/27/14 22:40:08.861 Debug: clientSettingsPath set to /etc/homegear/rpcclients.conf 10/27/14 22:40:08.861 Debug: serverSettingsPath set to /etc/homegear/rpcservers.conf 10/27/14 22:40:08.861 Debug: physicalDeviceSettingsPath set to /etc/homegear/physicalinterfaces.conf 10/27/14 22:40:08.862 Debug: gpioPath set to /sys/class/gpio/ 10/27/14 22:40:08.862 Debug: scriptPath set to /var/lib/homegear/scripts/ 10/27/14 22:40:08.862 Debug: libraryPath set to /var/lib/homegear/modules/ 10/27/14 22:40:08.863 Debug: firmwarePath set to /var/lib/homegear/firmware/ 10/27/14 22:40:08.863 Debug: prioritizeThreads set to 1 10/27/14 22:40:08.864 Debug: workerThreadWindow set to 3000 10/27/14 22:40:08.865 Debug: rpcServerThreadPriority set to 0 10/27/14 22:40:08.865 Debug: rpcServerThreadPolicy set to 0 10/27/14 22:40:08.865 Debug: rpcClientThreadPriority set to 0 10/27/14 22:40:08.866 Debug: rpcClientThreadPolicy set to 0 10/27/14 22:40:08.866 Debug: workerThreadPriority set to 0 10/27/14 22:40:08.866 Debug: workerThreadPolicy set to 0 10/27/14 22:40:08.867 Debug: physicalInterfaceThreadPriority set to 45 10/27/14 22:40:08.867 Debug: physicalInterfaceThreadPolicy set to 1 10/27/14 22:40:08.867 Debug: packetReceivedThreadPriority set to 0 10/27/14 22:40:08.868 Debug: packetReceivedThreadPolicy set to 0 10/27/14 22:40:08.868 Debug: eventTriggerThreadPriority set to 0 10/27/14 22:40:08.868 Debug: eventTriggerThreadPolicy set to 0 10/27/14 22:40:08.869 Loading RPC server settings from /etc/homegear/rpcservers.conf 10/27/14 22:40:08.870 Debug: interface of RPC server RPCServer1 set to 0.0.0.0 10/27/14 22:40:08.870 Debug: port of RPC server RPCServer1 set to 2001 10/27/14 22:40:08.870 Debug: ssl of RPC server RPCServer1 set to 0 10/27/14 22:40:08.871 Debug: authType of RPC server RPCServer1 set to 0 10/27/14 22:40:08.871 Debug: interface of RPC server RPCServer2 set to 0.0.0.0 10/27/14 22:40:08.871 Debug: port of RPC server RPCServer2 set to 2002 10/27/14 22:40:08.872 Debug: ssl of RPC server RPCServer2 set to 1 10/27/14 22:40:08.872 Debug: authType of RPC server RPCServer2 set to 0 10/27/14 22:40:08.872 Debug: diffieHellmanKeySize of RPC server RPCServer2 set to 1024 10/27/14 22:40:08.873 Debug: interface of RPC server RPCServer3 set to 0.0.0.0 10/27/14 22:40:08.873 Debug: port of RPC server RPCServer3 set to 2003 10/27/14 22:40:08.873 Debug: ssl of RPC server RPCServer3 set to 1 10/27/14 22:40:08.874 Debug: authType of RPC server RPCServer3 set to 1 10/27/14 22:40:08.874 Debug: diffieHellmanKeySize of RPC server RPCServer3 set to 1024 10/27/14 22:40:08.875 Loading RPC client settings from /etc/homegear/rpcclients.conf 10/27/14 22:40:08.876 Debug: hostname of RPC client XML_RPC_Client set to myhostname 10/27/14 22:40:08.876 Debug: caFile of RPC client XML_RPC_Client set to /path/to/ca-certficate 10/27/14 22:40:08.877 Debug: verifyCertificate of RPC client XML_RPC_Client set to 1 10/27/14 22:40:08.877 Debug: forceSSL of RPC client XML_RPC_Client set to 0 10/27/14 22:40:08.878 Debug: authType of RPC client XML_RPC_Client set to 0 10/27/14 22:40:08.878 Debug: userName of RPC client XML_RPC_Client set to myuser 10/27/14 22:40:08.878 Debug: password of RPC client XML_RPC_Client was set. 10/27/14 22:40:08.884 Debug: Loading family modules 10/27/14 22:40:08.886 Info: Loading family module mod_philipshue.so 10/27/14 22:40:08.902 Module Philips hue: Debug: Loading module... 10/27/14 22:40:08.903 Info: Loading family module mod_max.so 10/27/14 22:40:08.923 Module MAX: Debug: Loading module... 10/27/14 22:40:08.924 Info: Loading family module mod_homematicwired.so 10/27/14 22:40:08.941 Module HomeMatic Wired: Debug: Loading module... 10/27/14 22:40:08.942 Info: Loading family module mod_homematicbidcos.so 10/27/14 22:40:08.968 Module HomeMatic BidCoS: Debug: Loading module... 10/27/14 22:40:08.969 Info: Loading family module mod_insteon.so 10/27/14 22:40:08.989 Module INSTEON: Debug: Loading module... 10/27/14 22:40:09.025 Debug: Reading config for physical device family HomeMatic BidCoS 10/27/14 22:40:09.026 Debug: id of family HomeMatic BidCoS set to My-HM-CFG-LAN 10/27/14 22:40:09.026 Debug: default of family HomeMatic BidCoS set to 1 10/27/14 22:40:09.027 Debug: deviceType of family HomeMatic BidCoS set to hmcfglan 10/27/14 22:40:09.027 Debug: Host of family HomeMatic BidCoS set to 10.0.2.5 10/27/14 22:40:09.028 Debug: Port of family HomeMatic BidCoS set to 1000 10/27/14 22:40:09.028 Debug: LANKey of family HomeMatic BidCoS set to ******************************** 10/27/14 22:40:09.029 Debug: RFKey of family HomeMatic BidCoS set to ******************************** 10/27/14 22:40:09.029 Debug: CurrentRFKeyIndex of family HomeMatic BidCoS set to 1 10/27/14 22:40:09.029 Debug: responseDelay of family HomeMatic BidCoS set to 60 10/27/14 22:40:09.030 Module HomeMatic BidCoS: Debug: Creating physical device. Type defined in physicalinterfaces.conf is: hmcfglan 10/27/14 22:40:09.030 Module HomeMatic BidCoS: LAN-Konfigurationsadapter "My-HM-CFG-LAN": Info: Enabling AES encryption for communication with HM-CFG-LAN. 10/27/14 22:40:09.031 Initializing database... 10/27/14 22:40:09.039 Initializing family controller... 10/27/14 22:40:09.039 Module HomeMatic BidCoS: Loading XML RPC devices... 10/27/14 22:40:09.041 Loading XML RPC device /etc/homegear/devices/0/rf_cc_tc.xml .... 10/27/14 22:40:10.110 Loading XML RPC device /etc/homegear/devices/0/rf_swi.xml 10/27/14 22:40:10.113 Info: Not initializing device family HomeMatic Wired, bacause no physical interface was found. 10/27/14 22:40:10.114 Info: Not initializing device family INSTEON, bacause no physical interface was found. 10/27/14 22:40:10.115 Info: Not initializing device family MAX!, bacause no physical interface was found. 10/27/14 22:40:10.115 Info: Not initializing device family Philips hue, bacause no physical interface was found. 10/27/14 22:40:10.116 Loading devices... 10/27/14 22:40:10.117 Module HomeMatic BidCoS: Loading HomeMatic BidCoS device 1 10/27/14 22:40:10.120 Module HomeMatic BidCoS: Loading HomeMatic BidCoS device 2 pure virtual method called terminate called without an active exception pure virtual method called terminate called recursively 10/27/14 22:42:56.611 Error: Signal SIGABRT (6) received. 10/27/14 22:42:56.611 Error: Signal SIGABRT (6) received. 10/27/14 22:42:56.61310/27/14 22:42:56.612 Error: Signal SIGABRT (6) received. Error: Signal SIGABRT (6) received. pure virtual method called terminate called recursively pure virtual method called terminate called recursively pure virtual method called terminate called recursively pure virtual method called terminate called recursively

Irgendetwas scheint da nicht so richtig zu wollen. Ich kann leider nicht erkennen, was das Problem ist.
Hat da jemand eine Idee?

Viele Grüße,
Paul

Hallo paule,

du musst auf dem Beaglebone leider Homegear manuell kompilieren (siehe [1]). Da du das Debian-Paket allerdings bereits installiert ist, ist es deutlich einfacher und mit wenigen Schritten getan:

sudo apt-get install build-essential sqlite3 libsqlite3-dev libreadline6 libreadline6-dev g++-4.7 unzip p7zip-full libgcrypt11 libgcrypt-dev libgpg-error0 libgpg-error-dev libgnutlsxx27 libgnutls-dev libxml2-utils liblzo2-dev python-lzo
cd /usr/src
wget https://homegear.eu/downloads/homegear_current.tar.gz
tar -zxf homegear_current.tar.gz
cd homegear-0.5.9
make config=release
sudo cp bin/Release/homegear /usr/bin
sudo chown root:root /usr/bin/homegear
sudo chmod 755 /usr/bin/homegear
sudo cp lib/Modules/Release/libhomematicbidcos.so /var/lib/homegear/modules/mod_homematicbidcos.so
sudo cp lib/Modules/Release/libhomematicwired.so /var/lib/homegear/modules/mod_homematicwired.so
sudo cp lib/Modules/Release/libmax.so /var/lib/homegear/modules/mod_max.so
sudo cp lib/Modules/Release/libinsteon.so /var/lib/homegear/modules/mod_insteon.so
sudo cp lib/Modules/Release/libphilipshue.so /var/lib/homegear/modules/mod_philipshue.so

Das wars.

Liebe Grüße

Sathya

[1] https://www.homegear.eu/index.php/Installing_and_Configuring_Homegear#Installing_from_Source

Hallo Sathya,

das war es. Danke :wink:

Viele Grüße,
Paul