Homegear lässt sich danach auch starten mit homegear -r, allerdings fehlt mir die BidCos Familie.
sieht bei mir so aus:
root@raspberrypi:/etc/homegear/families# homegear -r
Connected to Homegear (version 0.6.7-1545).
> families list
ID │ Name
──────┼───────────────────────────────
6 │ Sonos
9 │ Kodi
10 │ IPCam
254 │ Miscellaneous
──────┴───────────────────────────────
> families select 0
Device family not found.
>
Auf dem Raspberry sitzt der HM-MOD-RPI-PCB, habe auch in der homematicbidcos.conf die Einträge dafür angepasst.
#######################################
########### HM-MOD-RPI-PCB ###########
#######################################
## The device family this interface is for
#[HomeMatic Wireless Module for Raspberry Pi]
## Specify an unique id here to identify this device in Homegear
id = My-HM-MOD-RPI-PCB
## When default is set to "true" Homegear will assign this device
## to new peers.
default = true
## Options: cul, cc1100, coc, cunx, hmcfglan, hmlgw, hm-mod-rpi-pcb
deviceType = hm-mod-rpi-pcb
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
## "18" for HM-MOD-RPI-PCB
gpio1 = 18
Nein bin mir nicht sicher ob es das richtige Interface ist, habe nur die auskommentierungen entfernt.
Dachte das passt dann. Wo kann ich den sehen welches das richtige interface ist?
neugestartet habe ich Homegear mit service homegear restart
Allerdings existiert bei mir in etc keine inittab, meine cmdline.txt aus dem boot folder sieht so aus.
dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-se$
Alles andere habe ich gemacht inklusive der Änderung an der homematicbidcos.conf für den Pi2
device = /dev/ttyS0
Dnach habe ich den Pi neugestartet, der Fehler bleit aber leider
Ich würde mal “console=serial0,115200” aus der cmdline.txt entfernen und es dann noch mal probieren. Ich habe übrigens selbst keinen HM-MOD-RPI-PCB und helfe hier nur raten…
Hat leider auch nichts gebracht.
Sieht doch so aus als ob das Homematicbidcos Modul nicht startet oder?
Gibt es irgendwo ein Logfile in dem man sehen könnte warum es nicht startet?
Okay, das heißt, Du hast ein ttyAMA0 aber kein ttyS0. Hast Du die Kombination ttyAMA0 in der Konfigurationsdatei ohne den “serial…”-Eintrag in der cmdline.txt schon probiert?
[details=homegear.err]10/30/16 16:22:01.212 Error in file PhysicalInterfaces/EventServer.cpp line 98 in function void IpCam::EventServer::getAddress(): No IP address could be found: Success
10/30/16 16:22:01.897 Error in file Sockets/Ssdp.cpp line 94 in function void BaseLib::Ssdp::getAddress(): No IP address could be found: Success
10/30/16 16:22:01.945 Error in file PhysicalInterfaces/EventServer.cpp line 99 in function void Sonos::EventServer::getAddress(): No IP address could be found: Success
10/30/16 16:22:01.945 Module Sonos: Error: Could not get listen automatically. Please specify it in sonos.conf
10/30/16 16:22:01.961 RPC Server (Port 2001): Error in file RPC/RPCServer.cpp line 1674 in function void Rpc::RPCServer::getSocketDescriptor(): No IP address could be found: Success
10/30/16 16:22:02.054 RPC Server (Port 2002): Error in file RPC/RPCServer.cpp line 1674 in function void Rpc::RPCServer::getSocketDescriptor(): No IP address could be found: Success
10/30/16 16:22:02.102 RPC Server (Port 2003): Error in file RPC/RPCServer.cpp line 1674 in function void Rpc::RPCServer::getSocketDescriptor(): No IP address could be found: Success
10/30/16 16:22:02.104 UPnP Server: Error in file UPnP/UPnP.cpp line 188 in function void UPnP::getAddress(): No IP address could be found: No such file or directory
10/30/16 16:22:02.104 UPnP Server: Error: Could not get IP address.
10/30/16 16:22:02.105 Warning: Not starting server, because no suitable RPC server for serving the XML description is available (Necessary settings: No SSL, no auth, webserver enabled).
10/30/16 16:22:03.173 Error in file Sockets/Ssdp.cpp line 94 in function void BaseLib::Ssdp::getAddress(): No IP address could be found: Success
10/30/16 16:25:01.134 Error in file PhysicalInterfaces/EventServer.cpp line 98 in function void IpCam::EventServer::getAddress(): No IP address could be found: Success
10/30/16 16:25:01.762 Error in file Sockets/Ssdp.cpp line 94 in function void BaseLib::Ssdp::getAddress(): No IP address could be found: Success
10/30/16 16:25:01.813 Error in file PhysicalInterfaces/EventServer.cpp line 99 in function void Sonos::EventServer::getAddress(): No IP address could be found: Success
10/30/16 16:25:01.813 Module Sonos: Error: Could not get listen automatically. Please specify it in sonos.conf
10/30/16 16:25:01.832 RPC Server (Port 2001): Error in file RPC/RPCServer.cpp line 1674 in function void Rpc::RPCServer::getSocketDescriptor(): No IP address could be found: Success
10/30/16 16:25:01.913 RPC Server (Port 2002): Error in file RPC/RPCServer.cpp line 1674 in function void Rpc::RPCServer::getSocketDescriptor(): No IP address could be found: Success
10/30/16 16:25:01.960 RPC Server (Port 2003): Error in file RPC/RPCServer.cpp line 1674 in function void Rpc::RPCServer::getSocketDescriptor(): No IP address could be found: Success
10/30/16 16:25:01.962 UPnP Server: Error in file UPnP/UPnP.cpp line 188 in function void UPnP::getAddress(): No IP address could be found: No such file or directory
10/30/16 16:25:01.962 UPnP Server: Error: Could not get IP address.
10/30/16 16:25:01.962 Warning: Not starting server, because no suitable RPC server for serving the XML description is available (Necessary settings: No SSL, no auth, webserver enabled).
10/30/16 16:25:03.110 Error in file Sockets/Ssdp.cpp line 94 in function void BaseLib::Ssdp::getAddress(): No IP address could be found: Success
10/30/16 16:32:35.193 Error in file PhysicalInterfaces/EventServer.cpp line 98 in function void IpCam::EventServer::getAddress(): No IP address could be found: Success
10/30/16 16:32:35.846 Error in file Sockets/Ssdp.cpp line 94 in function void BaseLib::Ssdp::getAddress(): No IP address could be found: Success
10/30/16 16:32:35.902 Error in file PhysicalInterfaces/EventServer.cpp line 99 in function void Sonos::EventServer::getAddress(): No IP address could be found: Success
10/30/16 16:32:35.903 Module Sonos: Error: Could not get listen automatically. Please specify it in sonos.conf
10/30/16 16:32:35.922 RPC Server (Port 2001): Error in file RPC/RPCServer.cpp line 1674 in function void Rpc::RPCServer::getSocketDescriptor(): No IP address could be found: Success
10/30/16 16:32:36.007 RPC Server (Port 2002): Error in file RPC/RPCServer.cpp line 1674 in function void Rpc::RPCServer::getSocketDescriptor(): No IP address could be found: Success
10/30/16 16:32:36.055 RPC Server (Port 2003): Error in file RPC/RPCServer.cpp line 1674 in function void Rpc::RPCServer::getSocketDescriptor(): No IP address could be found: Success
10/30/16 16:32:36.057 UPnP Server: Error in file UPnP/UPnP.cpp line 188 in function void UPnP::getAddress(): No IP address could be found: No such file or directory
10/30/16 16:32:36.058 UPnP Server: Error: Could not get IP address.
10/30/16 16:32:36.058 Warning: Not starting server, because no suitable RPC server for serving the XML description is available (Necessary settings: No SSL, no auth, webserver enabled).
10/30/16 16:32:37.180 Error in file Sockets/Ssdp.cpp line 94 in function void BaseLib::Ssdp::getAddress(): No IP address could be found: Success
10/30/16 16:41:18.807 Error in file PhysicalInterfaces/EventServer.cpp line 98 in function void IpCam::EventServer::getAddress(): No IP address could be found: Success
10/30/16 16:41:19.499 Error in file Sockets/Ssdp.cpp line 94 in function void BaseLib::Ssdp::getAddress(): No IP address could be found: Success
10/30/16 16:41:19.547 Error in file PhysicalInterfaces/EventServer.cpp line 99 in function void Sonos::EventServer::getAddress(): No IP address could be found: Success
10/30/16 16:41:19.547 Module Sonos: Error: Could not get listen automatically. Please specify it in sonos.conf
10/30/16 16:41:19.563 RPC Server (Port 2001): Error in file RPC/RPCServer.cpp line 1674 in function void Rpc::RPCServer::getSocketDescriptor(): No IP address could be found: Success
10/30/16 16:41:19.655 RPC Server (Port 2002): Error in file RPC/RPCServer.cpp line 1674 in function void Rpc::RPCServer::getSocketDescriptor(): No IP address could be found: Success
10/30/16 16:41:19.702 RPC Server (Port 2003): Error in file RPC/RPCServer.cpp line 1674 in function void Rpc::RPCServer::getSocketDescriptor(): No IP address could be found: Success
10/30/16 16:41:19.704 UPnP Server: Error in file UPnP/UPnP.cpp line 188 in function void UPnP::getAddress(): No IP address could be found: No such file or directory
10/30/16 16:41:19.704 UPnP Server: Error: Could not get IP address.
10/30/16 16:41:19.704 Warning: Not starting server, because no suitable RPC server for serving the XML description is available (Necessary settings: No SSL, no auth, webserver enabled).
10/30/16 16:41:20.701 Error in file Sockets/Ssdp.cpp line 94 in function void BaseLib::Ssdp::getAddress(): No IP address could be found: Success
10/30/16 16:54:23.586 Error in file PhysicalInterfaces/EventServer.cpp line 98 in function void IpCam::EventServer::getAddress(): No IP address could be found: Success
10/30/16 16:54:24.296 Error in file Sockets/Ssdp.cpp line 94 in function void BaseLib::Ssdp::getAddress(): No IP address could be found: Success
10/30/16 16:54:24.345 Error in file PhysicalInterfaces/EventServer.cpp line 99 in function void Sonos::EventServer::getAddress(): No IP address could be found: Success
10/30/16 16:54:24.345 Module Sonos: Error: Could not get listen automatically. Please specify it in sonos.conf
10/30/16 16:54:24.370 RPC Server (Port 2001): Error in file RPC/RPCServer.cpp line 1674 in function void Rpc::RPCServer::getSocketDescriptor(): No IP address could be found: Success
10/30/16 16:54:24.451 RPC Server (Port 2002): Error in file RPC/RPCServer.cpp line 1674 in function void Rpc::RPCServer::getSocketDescriptor(): No IP address could be found: Success
10/30/16 16:54:24.500 RPC Server (Port 2003): Error in file RPC/RPCServer.cpp line 1674 in function void Rpc::RPCServer::getSocketDescriptor(): No IP address could be found: Success
10/30/16 16:54:24.503 UPnP Server: Error in file UPnP/UPnP.cpp line 188 in function void UPnP::getAddress(): No IP address could be found: No such file or directory
10/30/16 16:54:24.503 UPnP Server: Error: Could not get IP address.
10/30/16 16:54:24.503 Warning: Not starting server, because no suitable RPC server for serving the XML description is available (Necessary settings: No SSL, no auth, webserver enabled).
10/30/16 16:54:25.498 Error in file Sockets/Ssdp.cpp line 94 in function void BaseLib::Ssdp::getAddress(): No IP address could be found: Success
10/30/16 16:58:49.699 Error in file PhysicalInterfaces/EventServer.cpp line 98 in function void IpCam::EventServer::getAddress(): No IP address could be found: Success
10/30/16 16:58:50.301 Error in file Sockets/Ssdp.cpp line 94 in function void BaseLib::Ssdp::getAddress(): No IP address could be found: Success
10/30/16 16:58:50.345 Error in file PhysicalInterfaces/EventServer.cpp line 99 in function void Sonos::EventServer::getAddress(): No IP address could be found: Success
10/30/16 16:58:50.345 Module Sonos: Error: Could not get listen automatically. Please specify it in sonos.conf
10/30/16 16:58:50.361 RPC Server (Port 2001): Error in file RPC/RPCServer.cpp line 1674 in function void Rpc::RPCServer::getSocketDescriptor(): No IP address could be found: Success
10/30/16 16:58:50.442 RPC Server (Port 2002): Error in file RPC/RPCServer.cpp line 1674 in function void Rpc::RPCServer::getSocketDescriptor(): No IP address could be found: Success
10/30/16 16:58:50.488 RPC Server (Port 2003): Error in file RPC/RPCServer.cpp line 1674 in function void Rpc::RPCServer::getSocketDescriptor(): No IP address could be found: Success
10/30/16 16:58:50.490 UPnP Server: Error in file UPnP/UPnP.cpp line 188 in function void UPnP::getAddress(): No IP address could be found: No such file or directory
10/30/16 16:58:50.490 UPnP Server: Error: Could not get IP address.
10/30/16 16:58:50.491 Warning: Not starting server, because no suitable RPC server for serving the XML description is available (Necessary settings: No SSL, no auth, webserver enabled).
10/30/16 16:58:51.502 Error in file Sockets/Ssdp.cpp line 94 in function void BaseLib::Ssdp::getAddress(): No IP address could be found: Success
10/30/16 17:06:14.554 Error in file PhysicalInterfaces/EventServer.cpp line 98 in function void IpCam::EventServer::getAddress(): No IP address could be found: Success
10/30/16 17:06:15.206 Error in file Sockets/Ssdp.cpp line 94 in function void BaseLib::Ssdp::getAddress(): No IP address could be found: Success
10/30/16 17:06:15.262 Error in file PhysicalInterfaces/EventServer.cpp line 99 in function void Sonos::EventServer::getAddress(): No IP address could be found: Success
10/30/16 17:06:15.262 Module Sonos: Error: Could not get listen automatically. Please specify it in sonos.conf
10/30/16 17:06:15.283 RPC Server (Port 2001): Error in file RPC/RPCServer.cpp line 1674 in function void Rpc::RPCServer::getSocketDescriptor(): No IP address could be found: Success
10/30/16 17:06:15.367 RPC Server (Port 2002): Error in file RPC/RPCServer.cpp line 1674 in function void Rpc::RPCServer::getSocketDescriptor(): No IP address could be found: Success
10/30/16 17:06:15.415 RPC Server (Port 2003): Error in file RPC/RPCServer.cpp line 1674 in function void Rpc::RPCServer::getSocketDescriptor(): No IP address could be found: Success
10/30/16 17:06:15.418 UPnP Server: Error in file UPnP/UPnP.cpp line 188 in function void UPnP::getAddress(): No IP address could be found: No such file or directory
10/30/16 17:06:15.418 UPnP Server: Error: Could not get IP address.
10/30/16 17:06:15.418 Warning: Not starting server, because no suitable RPC server for serving the XML description is available (Necessary settings: No SSL, no auth, webserver enabled).
10/30/16 17:06:16.514 Error in file Sockets/Ssdp.cpp line 94 in function void BaseLib::Ssdp::getAddress(): No IP address could be found: Success
[/details]
Ja, jetzt konnte ich das Log laden. BidCoS wird nicht geladen, weil er das Interface nicht findet. Ich fürchte, da muß Dir jemand helfen, der sich mit dem HM-MOD-RPI-PCB auskennt. Wenn mir doch noch was einfällt, melde ich mich.