Families list -> kein bidCos

Hallo,

ich habe grad auf meinem Raspberry Pi 2 Homegear nach dieser Anleitung installiert.
https://www.homegear.eu/index.php/Downloads

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

Jemand eine Idee?

Bist Du sicher, daß /dev/ttyAMA0 das richtige Interface ist? Hat Du Homegear nach dem Anpassen der Konfiguration neu gestartet?

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

Hast Du das hier:

https://doc.homegear.eu/data/homegear-homematicbidcos/configuration.html#config-hm-mod-rpi-pcb

gelesen und beachtet?

Bisher nicht, habe es jetzt gemacht.

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 :frowning:

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?

/var/log/homegear/homegear.log
/var/log/homegear/homegear.err

Wie ist denn die Ausgabe von “ls /dev/tty*”?

root@raspberrypi:~# ls /dev/tty*
/dev/tty /dev/tty19 /dev/tty3 /dev/tty40 /dev/tty51 /dev/tty62
/dev/tty0 /dev/tty2 /dev/tty30 /dev/tty41 /dev/tty52 /dev/tty63
/dev/tty1 /dev/tty20 /dev/tty31 /dev/tty42 /dev/tty53 /dev/tty7
/dev/tty10 /dev/tty21 /dev/tty32 /dev/tty43 /dev/tty54 /dev/tty8
/dev/tty11 /dev/tty22 /dev/tty33 /dev/tty44 /dev/tty55 /dev/tty9
/dev/tty12 /dev/tty23 /dev/tty34 /dev/tty45 /dev/tty56 /dev/ttyAMA0
/dev/tty13 /dev/tty24 /dev/tty35 /dev/tty46 /dev/tty57 /dev/ttyprintk
/dev/tty14 /dev/tty25 /dev/tty36 /dev/tty47 /dev/tty58
/dev/tty15 /dev/tty26 /dev/tty37 /dev/tty48 /dev/tty59
/dev/tty16 /dev/tty27 /dev/tty38 /dev/tty49 /dev/tty6
/dev/tty17 /dev/tty28 /dev/tty39 /dev/tty5 /dev/tty60
/dev/tty18 /dev/tty29 /dev/tty4 /dev/tty50 /dev/tty61

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?

Steht in den Logdateien irgendwas relevantes?

Ja habe ich probiert, ohne Erfolg.

[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]

Da fällt mir auf Anhieb nichts mehr ein, sorry. Sicherheitshalber: Du hast den Pi nach der letzten Änderung an der cmdline neu gestartet, ja?

Die homegear.log musste ich hochladen, war zu lang um sie zu posten.
http://gofile.me/2KJCv/60gTApXaU

den pi habe ich nach der Änderung an der cmdline auch neugestartet.

Unter dem Link bekomme ich eine Fehlermeldung.

Was mir noch aufgefallen ist: Die cmdline.txt, die Du oben gepostet hast, war abgeschnitten. Wie sieht denn aktuell die komplette Zeile aus?

dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles

Den Link habe ich geändert müsste jetzt funktionieren.

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.

Diese Seite kennst Du?

http://www.fhemwiki.de/wiki/HM-MOD-RPI-PCB_HomeMatic_Funkmodul_für_Raspberry_Pi

Hast Du die dortigen Tips befolgt (enable_uart, disable serial-getty)?

Ja die Seite hatte ich heute auch schon offen, aber das enable_uart und disable serial-getty steht ja bereits hier.
https://doc.homegear.eu/data/homegear-homematicbidcos/configuration.html#config-hm-mod-rpi-pcb

Stimmt natürlich. Wenn Du das alles befolgt hast, habe ich auch keine Idee mehr.