Docker Openhab Homegear pairen klappt nicht (solved)

Hallo Zusammen,

ich bin absoluter Neuling. Ich setze ein Raspberry Pi 3 Model B Rev 1.2 ein. Hierzu habe ich mir das Funkmodul von ELV HM-MOD-RPI-PCB zusammengelötet. Daraufhin habe ich es erfolgreich in Verbindung mit einem Openhab-Image und mit nachinstalliertem Homegear zum laufen gebracht. Danke erstmal für die gute Dokumentation.

Zur Zeit steuere ich zwei vom folgenden Heizungsthermostat:

http://www.eq-3.de/produkte/homematic/heizung-und-klima/homematic-funk-heizkoerperthermostat.html

Jetzt möchte ich das ganze mit Docker zum laufen bringen. Ich habe Openhab bereits als Container am laufen und kann das Funkmodul in PaperUI einbinden. Bei der Einrichtung von Homegear habe ich mich zuerst an die Anleitung hier gehalten:

https://hub.docker.com/r/homegear/homegear/

Anschließend habe ich mich an die Standarddokumentation von Homegear gehalten.

https://doc.homegear.eu/data/homegear-homematicbidcos/configuration.html#raspberry-pi-3

Mein Problem ist, dass ich nicht pairen kann. Wenn ich mich in Homegear anmelde dann sehe ich Homematic nicht.

Connected to Homegear (version 0.7.10-1397).
> families list
   ID │ Name                          
──────┼───────────────────────────────
    6 │ Sonos                         
    9 │ Kodi                          
   10 │ IPCam                         
  254 │ Miscellaneous                 
──────┴───────────────────────────────

Auf dem Host habe ich einen User mit homegear(106) mit der Gruppe homegear(108) und entsprechende Ordner zum persistieren.

Den initialen Aufruf von Homegear habe ich mit folgendem Befehl durchgeführt:

docker run \
          -v /etc/localtime:/etc/localtime:ro \
          -v /etc/timezone:/etc/timezone:ro \
          -v /opt/homegear/etc:/etc/homegear:Z \
          -v /opt/homegear/lib:/var/lib/homegear:Z \
          -v /opt/homegear/etc:/var/log/homegear:Z \
          -p 2001:2001 \
          -p 2002:2002 \
          -p 2003:2003 \
          -d \
          --restart=always \
          --name homegear homegear/rpi-homegear:stable

homegear.log:

12/02/17 23:05:08.360 Starting Homegear...
12/02/17 23:05:08.361 Homegear version 0.7.10-1397
12/02/17 23:05:08.361 Git commit SHA of libhomegear-base: -
12/02/17 23:05:08.362 Git branch of libhomegear-base:     -
12/02/17 23:05:08.362 Git commit SHA of Homegear:         -
12/02/17 23:05:08.362 Git branch of Homegear:             -
12/02/17 23:05:08.362 Info: Setting allowed core file size to "4294967295" for user with id 0 and group with id 0.
12/02/17 23:05:08.363 Info: Core file size now is "4294967295".
12/02/17 23:05:08.363 Info: Setting maximum thread priority to "0" for user with id 0 and group with id 0.
12/02/17 23:05:08.363 Info: Maximum thread priority now is "0".
12/02/17 23:05:08.363 Starting Homegear...
12/02/17 23:05:08.364 Homegear version 0.7.10-1397
12/02/17 23:05:08.364 Git commit SHA of libhomegear-base: -
12/02/17 23:05:08.364 Git branch of libhomegear-base:     -
12/02/17 23:05:08.364 Git commit SHA of Homegear:         -
12/02/17 23:05:08.364 Git branch of Homegear:             -
12/02/17 23:05:08.366 Info: Setting allowed core file size to "4294967295" for user with id 0 and group with id 0.
12/02/17 23:05:08.367 Info: Core file size now is "4294967295".
12/02/17 23:05:08.367 Info: Setting maximum thread priority to "0" for user with id 0 and group with id 0.
12/02/17 23:05:08.367 Info: Maximum thread priority now is "0".
12/02/17 23:05:08.392 Info: Backing up database...
12/02/17 23:05:08.509 Initializing database...
12/02/17 23:05:08.522 Info: Loading family module mod_sonos.so
12/02/17 23:05:08.532 /etc/homegear/families/sonos.conf
12/02/17 23:05:08.534 Info: Loading family module mod_beckhoff.so
12/02/17 23:05:08.541 /etc/homegear/families/beckhoff.conf
12/02/17 23:05:08.541 Info: Loading family module mod_insteon.so
12/02/17 23:05:08.548 /etc/homegear/families/insteon.conf
12/02/17 23:05:08.549 Info: Loading family module mod_max.so
12/02/17 23:05:08.556 /etc/homegear/families/max.conf
12/02/17 23:05:08.557 Info: Loading family module mod_intertechno.so
12/02/17 23:05:08.562 /etc/homegear/families/intertechno.conf
12/02/17 23:05:08.563 Info: Loading family module mod_kodi.so
12/02/17 23:05:08.567 /etc/homegear/families/kodi.conf
12/02/17 23:05:08.568 Info: Loading family module mod_philipshue.so
12/02/17 23:05:08.574 /etc/homegear/families/philipshue.conf
12/02/17 23:05:08.575 Info: Loading family module mod_miscellaneous.so
12/02/17 23:05:08.578 /etc/homegear/families/miscellaneous.conf
12/02/17 23:05:08.579 Info: Loading family module mod_homematicbidcos.so
12/02/17 23:05:08.591 /etc/homegear/families/homematicbidcos.conf
12/02/17 23:05:08.593 Info: Loading family module mod_ipcam.so
12/02/17 23:05:08.597 /etc/homegear/families/ipcam.conf
12/02/17 23:05:08.599 Info: Loading family module mod_knx.so
12/02/17 23:05:08.606 /etc/homegear/families/knx.conf
12/02/17 23:05:08.607 Info: Loading family module mod_homematicwired.so
12/02/17 23:05:08.613 /etc/homegear/families/homematicwired.conf
12/02/17 23:05:08.614 Info: Loading family module mod_enocean.so
12/02/17 23:05:08.619 /etc/homegear/families/enocean.conf
12/02/17 23:05:08.620 Info: Setting up physical interfaces and GPIOs...
12/02/17 23:05:08.621 Info: Dropping privileges to user homegear (106) and group homegear (108)
12/02/17 23:05:08.621 Info: Homegear is (now) running as user with id 106 and group with id 108.
12/02/17 23:05:08.627 Starting script engine server...
12/02/17 23:05:08.634 Initializing licensing controller...
12/02/17 23:05:08.634 Loading licensing controller data...
12/02/17 23:05:08.634 Loading devices...
12/02/17 23:05:08.635 Info: Not initializing device family HomeMatic BidCoS, because no physical interface was found.
12/02/17 23:05:08.635 Info: Disposing family module mod_homematicbidcos.so
12/02/17 23:05:08.636 Info: Not initializing device family HomeMatic Wired, because no physical interface was found.
12/02/17 23:05:08.636 Info: Disposing family module mod_homematicwired.so
12/02/17 23:05:08.636 Info: Not initializing device family Insteon, because no physical interface was found.
12/02/17 23:05:08.636 Info: Disposing family module mod_insteon.so
12/02/17 23:05:08.637 Info: Not initializing device family MAX!, because no physical interface was found.
12/02/17 23:05:08.637 Info: Disposing family module mod_max.so
12/02/17 23:05:08.637 Info: Not initializing device family Philips hue, because it is disabled in it's configuration file.
12/02/17 23:05:08.637 Info: Disposing family module mod_philipshue.so
12/02/17 23:05:08.638 Loading XML RPC devices...
12/02/17 23:05:08.649 Loading device 1
12/02/17 23:05:08.651 Loading XML RPC devices...
12/02/17 23:05:08.653 Loading device 2
12/02/17 23:05:08.653 Loading XML RPC devices...
12/02/17 23:05:08.655 Loading device 3
12/02/17 23:05:08.655 Info: Not initializing device family Beckhoff, because no physical interface was found.
12/02/17 23:05:08.655 Info: Disposing family module mod_beckhoff.so
12/02/17 23:05:08.656 Info: Not initializing device family KNX, because no physical interface was found.
12/02/17 23:05:08.656 Info: Disposing family module mod_knx.so
12/02/17 23:05:08.656 Info: Not initializing device family EnOcean, because no physical interface was found.
12/02/17 23:05:08.656 Info: Disposing family module mod_enocean.so
12/02/17 23:05:08.657 Info: Not initializing device family Intertechno, because no physical interface was found.
12/02/17 23:05:08.657 Info: Disposing family module mod_intertechno.so
12/02/17 23:05:08.657 Loading XML RPC devices...
12/02/17 23:05:08.659 Loading device 4
12/02/17 23:05:08.660 Initializing RPC client...
12/02/17 23:05:08.660 Starting XML RPC server RPCServer1 listening on :::2001...
12/02/17 23:05:08.662 Starting XML RPC server RPCServer2 listening on :::2002, SSL enabled...
12/02/17 23:05:08.663 RPC Server (Port 2001): Info: RPC Server started listening on address :: and port 2001
12/02/17 23:05:08.702 Starting XML RPC server RPCServer3 listening on :::2003, SSL enabled, authentication enabled...
12/02/17 23:05:08.702 RPC Server (Port 2002): Info: RPC Server started listening on address :: and port 2002
12/02/17 23:05:08.736 Starting CLI server...
12/02/17 23:05:08.736 RPC Server (Port 2003): Info: RPC Server started listening on address :: and port 2003
12/02/17 23:05:08.736 Initializing event handler...
12/02/17 23:05:08.737 Loading events...
12/02/17 23:05:08.739 Starting flows server...
12/02/17 23:05:08.754 Starting IPC server...
12/02/17 23:05:08.760 Start listening for packets...
12/02/17 23:05:08.761 Could not set thread priority. The executing user does not have enough privileges. Please run "ulimit -r 100" before executing Homegear.
12/02/17 23:05:08.761 Module Sonos: Event server "My-Sonos-1234": Info: Started listening on address 172.17.0.2 and port 7373
12/02/17 23:05:08.761 Startup complete. Waiting for physical interfaces to connect.
12/02/17 23:05:08.762 All physical interfaces are connected now.
12/02/17 23:05:08.762 Starting UPnP server...
12/02/17 23:05:08.764 Info: UPnP server: Binding to address: 172.17.0.2
12/02/17 23:05:08.764 UPnP Server: Info: Started listening.
12/02/17 23:05:23.526 RPC Server (Port 2001): Info: Connection from ::ffff:172.17.0.1:50978 accepted. Client number: 9
12/02/17 23:05:23.527 RPC Server (Port 2001): Info: RPC server client id for client number 9 is: 0
12/02/17 23:05:23.528 RPC Server (Port 2001): Info: Client number 9 is calling RPC method: listBidcosInterfaces (2) Parameters:
12/02/17 23:05:38.566 RPC Server (Port 2001): Info: Connection from ::ffff:172.17.0.1:50986 accepted. Client number: 10
12/02/17 23:05:38.567 RPC Server (Port 2001): Info: RPC server client id for client number 10 is: 1
12/02/17 23:05:38.568 RPC Server (Port 2001): Info: Client number 10 is calling RPC method: listBidcosInterfaces (2) Parameters:
12/02/17 23:05:53.573 RPC Server (Port 2001): Info: Client number 10 is calling RPC method: listBidcosInterfaces (2) Parameters:
12/02/17 23:06:08.586 RPC Server (Port 2001): Info: Client number 10 is calling RPC method: listBidcosInterfaces (2) Parameters:
12/02/17 23:06:23.590 RPC Server (Port 2001): Info: Client number 10 is calling RPC method: listBidcosInterfaces (2) Parameters:
12/02/17 23:06:38.597 RPC Server (Port 2001): Info: Client number 10 is calling RPC method: listBidcosInterfaces (2) Parameters:
12/02/17 23:06:53.602 RPC Server (Port 2001): Info: Client number 10 is calling RPC method: listBidcosInterfaces (2) Parameters:
12/02/17 23:07:08.609 RPC Server (Port 2001): Info: Client number 10 is calling RPC method: listBidcosInterfaces (2) Parameters:
12/02/17 23:07:23.615 RPC Server (Port 2001): Info: Client number 10 is calling RPC method: listBidcosInterfaces (2) Parameters:
12/02/17 23:07:38.622 RPC Server (Port 2001): Info: Client number 10 is calling RPC method: listBidcosInterfaces (2) Parameters:
12/02/17 23:07:53.627 RPC Server (Port 2001): Info: Client number 10 is calling RPC method: listBidcosInterfaces (2) Parameters:
12/02/17 23:08:08.635 RPC Server (Port 2001): Info: Client number 10 is calling RPC method: listBidcosInterfaces (2) Parameters:
12/02/17 23:08:23.640 RPC Server (Port 2001): Info: Client number 10 is calling RPC method: listBidcosInterfaces (2) Parameters:
12/02/17 23:08:38.647 RPC Server (Port 2001): Info: Client number 10 is calling RPC method: listBidcosInterfaces (2) Parameters:
12/02/17 23:08:53.652 RPC Server (Port 2001): Info: Client number 10 is calling RPC method: listBidcosInterfaces (2) Parameters:
12/02/17 23:09:08.659 RPC Server (Port 2001): Info: Client number 10 is calling RPC method: listBidcosInterfaces (2) Parameters:
12/02/17 23:09:23.664 RPC Server (Port 2001): Info: Client number 10 is calling RPC method: listBidcosInterfaces (2) Parameters:
12/02/17 23:09:34.793 RPC Server (Port 2001): Info: Connection from ::ffff:192.168.178.93:50920 accepted. Client number: 11
12/02/17 23:09:34.793 RPC Server (Port 2001): Info: RPC server client id for client number 11 is: 2
12/02/17 23:09:34.795 Web server (Port 2001): Client is requesting: / (translated to /var/lib/homegear/www/rpc/index.php, method: GET)
12/02/17 23:09:34.796 Script Engine Server: Info: Spawning new script engine process.
12/02/17 23:09:35.921 Info: Setting allowed core file size to "4294967295" for user with id 106 and group with id 108.
12/02/17 23:09:35.922 Info: Core file size now is "4294967295".
12/02/17 23:09:35.922 Info: Setting maximum thread priority to "0" for user with id 106 and group with id 108.
12/02/17 23:09:35.922 Info: Maximum thread priority now is "0".
12/02/17 23:09:35.953 Script Engine Server: Info: Connection accepted. Client number: 12
12/02/17 23:09:35.954 Script Engine Server: Info: Client with pid 418 successfully registered.
12/02/17 23:09:35.954 Script Engine Server: Info: Script engine process successfully spawned. Process id is 418. Client id is: 0.
12/02/17 23:09:35.955 Script Engine Server: Info: Starting script "/var/lib/homegear/www/rpc/index.php" with id 1.
12/02/17 23:09:35.962 Script Engine Server: Info: Client number 0 is calling RPC method: getVersion Parameters:
12/02/17 23:09:35.963 Script Engine Server: Info: Client number 0 is calling RPC method: listFamilies Parameters:
12/02/17 23:09:35.964 Script Engine Server: Info: Client number 0 is calling RPC method: listDevices Parameters:
12/02/17 23:09:35.977 Script Engine Server: Info: Client number 0 is calling RPC method: scriptHeaders
12/02/17 23:09:35.978 Script Engine Server: Info: Client number 0 is calling RPC method: scriptOutput
12/02/17 23:09:35.981 Info: Script with id 1 finished with exit code 0
12/02/17 23:09:36.104 RPC Server (Port 2001): Info: Connection from ::ffff:192.168.178.93:50921 accepted. Client number: 13
12/02/17 23:09:36.104 RPC Server (Port 2001): Info: RPC server client id for client number 13 is: 3
12/02/17 23:09:36.105 RPC Server (Port 2001): Info: Connection from ::ffff:192.168.178.93:50922 accepted. Client number: 14
12/02/17 23:09:36.106 RPC Server (Port 2001): Info: RPC server client id for client number 14 is: 4
12/02/17 23:09:36.106 Web server (Port 2001): Client is requesting: /assets/bootstrap/css/bootstrap.min.css (translated to /var/lib/homegear/www/rpc/assets/bootstrap/css/bootstrap.min.css, method: GET)
12/02/17 23:09:36.107 Web server (Port 2001): Client is requesting: /assets/css/main.css (translated to /var/lib/homegear/www/rpc/assets/css/main.css, method: GET)
12/02/17 23:09:36.143 RPC Server (Port 2001): Info: Connection from ::ffff:192.168.178.93:50923 accepted. Client number: 15
12/02/17 23:09:36.143 RPC Server (Port 2001): Info: RPC server client id for client number 15 is: 5
12/02/17 23:09:36.144 Web server (Port 2001): Client is requesting: /assets/images/Logo.png (translated to /var/lib/homegear/www/rpc/assets/images/Logo.png, method: GET)
12/02/17 23:09:36.177 RPC Server (Port 2001): Info: Connection from ::ffff:192.168.178.93:50924 accepted. Client number: 16
12/02/17 23:09:36.177 RPC Server (Port 2001): Info: RPC server client id for client number 16 is: 6
12/02/17 23:09:36.178 RPC Server (Port 2001): Info: Connection from ::ffff:192.168.178.93:50925 accepted. Client number: 17
12/02/17 23:09:36.178 Web server (Port 2001): Client is requesting: /assets/fonts/icomoon/icomoon.ttf (translated to /var/lib/homegear/www/rpc/assets/fonts/icomoon/icomoon.ttf, method: GET)
12/02/17 23:09:36.179 RPC Server (Port 2001): Info: RPC server client id for client number 17 is: 7
12/02/17 23:09:36.180 Web server (Port 2001): Client is requesting: /assets/bootstrap/fonts/glyphicons-halflings-regular.woff2 (translated to /var/lib/homegear/www/rpc/assets/bootstrap/fonts/glyphicons-halflings-regular.woff2, method: GET)
12/02/17 23:09:38.672 RPC Server (Port 2001): Info: Client number 10 is calling RPC method: listBidcosInterfaces (2) Parameters:
12/02/17 23:09:53.677 RPC Server (Port 2001): Info: Client number 10 is calling RPC method: listBidcosInterfaces (2) Parameters:
12/02/17 23:10:08.684 RPC Server (Port 2001): Info: Client number 10 is calling RPC method: listBidcosInterfaces (2) Parameters:
12/02/17 23:10:23.689 RPC Server (Port 2001): Info: Client number 10 is calling RPC method: listBidcosInterfaces (2) Parameters:
12/02/17 23:10:38.696 RPC Server (Port 2001): Info: Client number 10 is calling RPC method: listBidcosInterfaces (2) Parameters:
12/02/17 23:10:53.701 RPC Server (Port 2001): Info: Client number 10 is calling RPC method: listBidcosInterfaces (2) Parameters:
12/02/17 23:11:07.332 RPC Server (Port 2001): Info: Client number 10 is calling RPC method: init (2) Parameters:
(String) binary://169.254.226.188:9126
12/02/17 23:11:07.334 Info: Client with IP ::ffff:172.17.0.1 is calling "init".
12/02/17 23:11:07.341 RPC Server (Port 2001): Info: Client number 10 is calling RPC method: init (2) Parameters:
(String) binary://169.254.226.188:9126
(String) RF-BAEE4A82-F4DE-8EE3-AEB3-D9E59903848C
12/02/17 23:11:07.342 Info: Client with IP ::ffff:172.17.0.1 is calling "init".
12/02/17 23:11:07.343 Info: Adding server "binary://169.254.226.188".
12/02/17 23:11:07.344 Info: Calling init methods on server "binary://169.254.226.188".
12/02/17 23:11:08.710 RPC Server (Port 2001): Info: Connection from ::ffff:172.17.0.1:51100 accepted. Client number: 19
12/02/17 23:11:08.711 RPC Server (Port 2001): Info: RPC server client id for client number 19 is: 8
12/02/17 23:11:08.712 RPC Server (Port 2001): Info: Client number 19 is calling RPC method: listBidcosInterfaces (2) Parameters:
12/02/17 23:11:20.589 Error in file RPC/RpcClient.cpp line 476 in function void Rpc::RpcClient::sendRequest(Rpc::RemoteRpcServer*, std::vector<char>&, std::vector<char>&, bool, bool&): Could not connect to server 169.254.226.188 on port 9126. Poll failed with error code: 1.
12/02/17 23:11:20.589 Removing server. Server has to send "init" again.
12/02/17 23:11:23.718 RPC Server (Port 2001): Info: Client number 19 is calling RPC method: listBidcosInterfaces (2) Parameters:
12/02/17 23:11:38.727 RPC Server (Port 2001): Info: Client number 19 is calling RPC method: listBidcosInterfaces (2) Parameters:
12/02/17 23:11:53.731 RPC Server (Port 2001): Info: Client number 19 is calling RPC method: listBidcosInterfaces (2) Parameters:
12/02/17 23:12:07.361 RPC Server (Port 2001): Info: Client number 19 is calling RPC method: init (2) Parameters:
(String) binary://169.254.226.188:9126
12/02/17 23:12:07.361 Info: Client with IP ::ffff:172.17.0.1 is calling "init".
12/02/17 23:12:07.362 Info: Removing server "binary://169.254.226.188".
12/02/17 23:12:07.367 RPC Server (Port 2001): Info: Client number 19 is calling RPC method: init (2) Parameters:
(String) binary://169.254.226.188:9126
(String) RF-BAEE4A82-F4DE-8EE3-AEB3-D9E59903848C
12/02/17 23:12:07.367 Info: Client with IP ::ffff:172.17.0.1 is calling "init".
12/02/17 23:12:07.368 Info: Adding server "binary://169.254.226.188".
12/02/17 23:12:07.369 Info: Calling init methods on server "binary://169.254.226.188".
12/02/17 23:12:08.740 RPC Server (Port 2001): Info: Connection from ::ffff:172.17.0.1:51128 accepted. Client number: 23
12/02/17 23:12:08.740 RPC Server (Port 2001): Info: RPC server client id for client number 23 is: 9
12/02/17 23:12:08.741 RPC Server (Port 2001): Info: Client number 23 is calling RPC method: listBidcosInterfaces (2) Parameters:
12/02/17 23:12:20.589 Error in file RPC/RpcClient.cpp line 476 in function void Rpc::RpcClient::sendRequest(Rpc::RemoteRpcServer*, std::vector<char>&, std::vector<char>&, bool, bool&): Could not connect to server 169.254.226.188 on port 9126. Poll failed with error code: 1.
12/02/17 23:12:20.590 Removing server. Server has to send "init" again.
12/02/17 23:12:23.746 RPC Server (Port 2001): Info: Client number 23 is calling RPC method: listBidcosInterfaces (2) Parameters:
12/02/17 23:12:38.756 RPC Server (Port 2001): Info: Client number 23 is calling RPC method: listBidcosInterfaces (2) Parameters:
12/02/17 23:12:53.761 RPC Server (Port 2001): Info: Client number 23 is calling RPC method: listBidcosInterfaces (2) Parameters:
12/02/17 23:13:07.382 RPC Server (Port 2001): Info: Client number 23 is calling RPC method: init (2) Parameters:
(String) binary://169.254.226.188:9126
12/02/17 23:13:07.383 Info: Client with IP ::ffff:172.17.0.1 is calling "init".
12/02/17 23:13:07.383 Info: Removing server "binary://169.254.226.188".
12/02/17 23:13:07.391 RPC Server (Port 2001): Info: Client number 23 is calling RPC method: init (2) Parameters:
(String) binary://169.254.226.188:9126
(String) RF-BAEE4A82-F4DE-8EE3-AEB3-D9E59903848C
12/02/17 23:13:07.392 Info: Client with IP ::ffff:172.17.0.1 is calling "init".
12/02/17 23:13:07.393 Info: Adding server "binary://169.254.226.188".
12/02/17 23:13:07.394 Info: Calling init methods on server "binary://169.254.226.188".
12/02/17 23:13:08.766 RPC Server (Port 2001): Info: Connection from ::ffff:172.17.0.1:51156 accepted. Client number: 27
12/02/17 23:13:08.767 RPC Server (Port 2001): Info: RPC server client id for client number 27 is: 10
12/02/17 23:13:08.768 RPC Server (Port 2001): Info: Client number 27 is calling RPC method: listBidcosInterfaces (2) Parameters:
12/02/17 23:13:20.589 Error in file RPC/RpcClient.cpp line 476 in function void Rpc::RpcClient::sendRequest(Rpc::RemoteRpcServer*, std::vector<char>&, std::vector<char>&, bool, bool&): Could not connect to server 169.254.226.188 on port 9126. Poll failed with error code: 1.
12/02/17 23:13:20.590 Removing server. Server has to send "init" again.
12/02/17 23:13:23.772 RPC Server (Port 2001): Info: Client number 27 is calling RPC method: listBidcosInterfaces (2) Parameters:
12/02/17 23:13:38.781 RPC Server (Port 2001): Info: Client number 27 is calling RPC method: listBidcosInterfaces (2) Parameters:
12/02/17 23:13:53.786 RPC Server (Port 2001): Info: Client number 27 is calling RPC method: listBidcosInterfaces (2) Parameters:
12/02/17 23:14:07.410 RPC Server (Port 2001): Info: Client number 27 is calling RPC method: init (2) Parameters:
(String) binary://169.254.226.188:9126
12/02/17 23:14:07.410 Info: Client with IP ::ffff:172.17.0.1 is calling "init".
12/02/17 23:14:07.410 Info: Removing server "binary://169.254.226.188".
12/02/17 23:14:07.416 RPC Server (Port 2001): Info: Client number 27 is calling RPC method: init (2) Parameters:
(String) binary://169.254.226.188:9126
(String) RF-BAEE4A82-F4DE-8EE3-AEB3-D9E59903848C
12/02/17 23:14:07.416 Info: Client with IP ::ffff:172.17.0.1 is calling "init".
12/02/17 23:14:07.417 Info: Adding server "binary://169.254.226.188".
12/02/17 23:14:07.417 Info: Calling init methods on server "binary://169.254.226.188".
12/02/17 23:14:08.793 RPC Server (Port 2001): Info: Connection from ::ffff:172.17.0.1:51184 accepted. Client number: 31
12/02/17 23:14:08.795 RPC Server (Port 2001): Info: RPC server client id for client number 31 is: 11
12/02/17 23:14:08.796 RPC Server (Port 2001): Info: Client number 31 is calling RPC method: listBidcosInterfaces (2) Parameters:
12/02/17 23:14:20.669 Error in file RPC/RpcClient.cpp line 476 in function void Rpc::RpcClient::sendRequest(Rpc::RemoteRpcServer*, std::vector<char>&, std::vector<char>&, bool, bool&): Could not connect to server 169.254.226.188 on port 9126. Poll failed with error code: 1.
12/02/17 23:14:20.670 Removing server. Server has to send "init" again.
12/02/17 23:14:23.804 RPC Server (Port 2001): Info: Client number 31 is calling RPC method: listBidcosInterfaces (2) Parameters:
12/02/17 23:14:38.811 RPC Server (Port 2001): Info: Client number 31 is calling RPC method: listBidcosInterfaces (2) Parameters:
12/02/17 23:14:53.819 RPC Server (Port 2001): Info: Client number 31 is calling RPC method: listBidcosInterfaces (2) Parameters:
12/02/17 23:15:07.436 RPC Server (Port 2001): Info: Client number 31 is calling RPC method: init (2) Parameters:
(String) binary://169.254.226.188:9126
12/02/17 23:15:07.436 Info: Client with IP ::ffff:172.17.0.1 is calling "init".
12/02/17 23:15:07.437 Info: Removing server "binary://169.254.226.188".
12/02/17 23:15:07.442 RPC Server (Port 2001): Info: Client number 31 is calling RPC method: init (2) Parameters:
(String) binary://169.254.226.188:9126
(String) RF-BAEE4A82-F4DE-8EE3-AEB3-D9E59903848C
12/02/17 23:15:07.443 Info: Client with IP ::ffff:172.17.0.1 is calling "init".
12/02/17 23:15:07.444 Info: Adding server "binary://169.254.226.188".
12/02/17 23:15:07.444 Info: Calling init methods on server "binary://169.254.226.188".
12/02/17 23:15:08.827 RPC Server (Port 2001): Info: Connection from ::ffff:172.17.0.1:51212 accepted. Client number: 36
12/02/17 23:15:08.828 RPC Server (Port 2001): Info: RPC server client id for client number 36 is: 12
12/02/17 23:15:08.829 RPC Server (Port 2001): Info: Client number 36 is calling RPC method: listBidcosInterfaces (2) Parameters:
12/02/17 23:15:20.669 Error in file RPC/RpcClient.cpp line 476 in function void Rpc::RpcClient::sendRequest(Rpc::RemoteRpcServer*, std::vector<char>&, std::vector<char>&, bool, bool&): Could not connect to server 169.254.226.188 on port 9126. Poll failed with error code: 1.
12/02/17 23:15:20.670 Removing server. Server has to send "init" again.
12/02/17 23:15:23.833 RPC Server (Port 2001): Info: Client number 36 is calling RPC method: listBidcosInterfaces (2) Parameters:
12/02/17 23:15:38.842 RPC Server (Port 2001): Info: Client number 36 is calling RPC method: listBidcosInterfaces (2) Parameters:
12/02/17 23:15:53.846 RPC Server (Port 2001): Info: Client number 36 is calling RPC method: listBidcosInterfaces (2) Parameters:
12/02/17 23:16:07.467 RPC Server (Port 2001): Info: Client number 36 is calling RPC method: init (2) Parameters:
(String) binary://169.254.226.188:9126
12/02/17 23:16:07.468 Info: Client with IP ::ffff:172.17.0.1 is calling "init".
12/02/17 23:16:07.469 Info: Removing server "binary://169.254.226.188".
12/02/17 23:16:07.477 RPC Server (Port 2001): Info: Client number 36 is calling RPC method: init (2) Parameters:
(String) binary://169.254.226.188:9126
(String) RF-BAEE4A82-F4DE-8EE3-AEB3-D9E59903848C
12/02/17 23:16:07.477 Info: Client with IP ::ffff:172.17.0.1 is calling "init".
12/02/17 23:16:07.478 Info: Adding server "binary://169.254.226.188".
12/02/17 23:16:07.479 Info: Calling init methods on server "binary://169.254.226.188".
12/02/17 23:16:08.855 RPC Server (Port 2001): Info: Connection from ::ffff:172.17.0.1:51240 accepted. Client number: 42
12/02/17 23:16:08.856 RPC Server (Port 2001): Info: RPC server client id for client number 42 is: 13
12/02/17 23:16:08.858 RPC Server (Port 2001): Info: Client number 42 is calling RPC method: listBidcosInterfaces (2) Parameters:
12/02/17 23:16:20.669 Error in file RPC/RpcClient.cpp line 476 in function void Rpc::RpcClient::sendRequest(Rpc::RemoteRpcServer*, std::vector<char>&, std::vector<char>&, bool, bool&): Could not connect to server 169.254.226.188 on port 9126. Poll failed with error code: 1.
12/02/17 23:16:20.670 Removing server. Server has to send "init" again.
12/02/17 23:16:23.867 RPC Server (Port 2001): Info: Client number 42 is calling RPC method: listBidcosInterfaces (2) Parameters:
12/02/17 23:16:38.875 RPC Server (Port 2001): Info: Client number 42 is calling RPC method: listBidcosInterfaces (2) Parameters:

Eingesetzte Docker Version:
Docker version 17.09.0-ce, build afdb6d4

pi@raspberrypi:~ $ uname -a
Linux raspberrypi 4.9.59-v7+ #1047 SMP Sun Oct 29 12:19:23 GMT 2017 armv7l GNU/Linux

pi@raspberrypi:~ $ docker version
Client:
 Version:      17.09.0-ce
 API version:  1.32
 Go version:   go1.8.3
 Git commit:   afdb6d4
 Built:        Tue Sep 26 22:58:36 2017
 OS/Arch:      linux/arm

Server:
 Version:      17.09.0-ce
 API version:  1.32 (minimum version 1.12)
 Go version:   go1.8.3
 Git commit:   afdb6d4
 Built:        Tue Sep 26 22:52:15 2017
 OS/Arch:      linux/arm
 Experimental: false

Ich bin für jede Hilfe dankbar.

VG haupt

morgen!

Gemäss deinem Log file ist kein Homematic Device vorhanden. Ich habe noch nie mit Docker, Raspberry UND Homegear gespielt, aber… wenn ich mein Analoges Modem auf /dev/tty… aus Docker ansprechen will, muss ich das dem Docker Container mitgeben.

Dazu kommen noch die GPIO’s…
https://blog.hypriot.com/post/lets-get-physical/

Gruss

1 Like

Hi Nufer,

danke für deine Antwort. Ich habe Docker schon versucht mit der Option --device /dev/ttyAMA0:/dev/ttyAMA0 laufen zu lassen aber damit klappt es auch nicht.

    docker run \
          -v /etc/localtime:/etc/localtime:ro \
          -v /etc/timezone:/etc/timezone:ro \
          -v /opt/homegear/etc:/etc/homegear:Z \
          -v /opt/homegear/lib:/var/lib/homegear:Z \
          -v /opt/homegear/etc:/var/log/homegear:Z \
          -p 2001:2001 \
          -p 2002:2002 \
          -p 2003:2003 \
          -d \
          --device /dev/ttyAMA0:/dev/ttyAMA0 \
          --restart=always \
          --name homegear homegear/rpi-homegear:stable

danach habe ich es mit --device /dev/ttyAMA0 versucht und es führte leider auch nicht zum Erfolg. “Info: Not initializing device family HomeMatic BidCoS, because no physical interface was found.”

Guten Morgen!

Ich beziehe mich auf:

Gemäss der Homegear Doku benötigt dein Adapter neben /dev/ttyAMA* auch noch den GPIO-Pin 18.

Darum vermute ich dass Dir lediglich noch das /dev/gpiomem fehlt:

 docker run \
          -v /etc/localtime:/etc/localtime:ro \
          -v /etc/timezone:/etc/timezone:ro \
          -v /opt/homegear/etc:/etc/homegear:Z \
          -v /opt/homegear/lib:/var/lib/homegear:Z \
          -v /opt/homegear/etc:/var/log/homegear:Z \
          -p 2001:2001 \
          -p 2002:2002 \
          -p 2003:2003 \
          -d \
          --device /dev/ttyAMA0:/dev/ttyAMA0 \
          --device /dev/gpiomem  \
          --restart=always \
          --name homegear homegear/rpi-homegear:stable

Viel Erfolg!

2 Likes

Hi Nufer,

vielen Dank für Deine Unterstützung. Ich bin den Fehlern auf die schliche gekommen und konnte nun alles zum Laufen bringen. Ich hatte mehrere Fehler gemacht, die mit dem Aufruf nicht viel zu tun hatten.

Falls man bei der Einrichtung alles richtig gemacht hat - bei war in der Datei homematicbidcos.conf die Zeile passend zu meinem verwendetem Modul:
[HomeMatic Wireless Module for Raspberry Pi]
nicht einkommentiert. Zusätzlich hatte ich in einer der Config-Dateien ein überflüssiges Semikolon eingebaut - ist der korrekte Aufruf:

docker run \
-v /etc/localtime:/etc/localtime:ro \
-v /etc/timezone:/etc/timezone:ro \
-v /opt/homegear/etc:/etc/homegear:Z \
-v /opt/homegear/etc:/etc/homegear.config:Z \
-v /opt/homegear/lib:/var/lib/homegear:Z \
-v /opt/homegear/log:/var/log/homegear:Z \
-p 2001:2001 \
-p 2002:2002 \
-p 2003:2003 \
-d \
–privileged \
–device /dev/ttyAMA0 \
–device /dev/gpiomem \
–restart=always \
–name homegear homegear/rpi-homegear:stable

Gruß haupt

1 Like