hi, ich bin allmählich am verzweifeln…
ich habe einen Raspberry Pi3 und das Homematic Sendemodul HD-MOD-RPI-PCB. Ich möchte gerne meine Homematic Geräte mit Homegear pairen um sie dann mit Homeassistant zu nutzen.
ich habe es schon mehrfach probiert und mich an die Anleitung gehalten. Mit sudo homegear -r startet homegear auch korrekt aber mit families select 0 findet er einfach kein device =(
Ich habe alle ähnlichen Themen durchgearbeitet und konnte das Problem trotzdem nicht lösen.
Mit Raspberrymatic funktioniert alles einwandfrei deshalb ist es kein Hardwarefehler.
Meine Vorgehensweise beim Installieren:
Raspbian Stretch Lite komplett neu installiert
sudo apt-get update
sudo apt-get rpi-update
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
als root:
apt install apt-transport-https
wget https://homegear.eu/packages/Release.key && apt-key add Release.key && rm Release.key
echo 'deb https://homegear.eu/packages/Raspbian/ stretch/' >> /etc/apt/sources.list.d/homegear.list
apt update
apt install homegear homegear-nodes-core
apt install homegear-homematicbidcos
cmdline.txt wie unten angepasst
config.txt wie unten angepasst
systemctl disable serial-getty@ttyAMA0.service
systemctl disable serial-getty@serial0.service
systemctl disable serial-getty@ttyS0.service
/etc/udev/rules.d/99-com.rules gelöscht
homematicbidcos.conf wie unten angepasst
die Firmware des Moduls ist: 2.29.22.20170902
Anbei sind die log Datei, meine config.txt und die cmdline.txt
homegear.log:
09/25/17 18:22:14.852 Info: SIGHUP received...
09/25/17 18:22:19.193 RPC Server (Port 2001): Error: Server could not start listening on port 2001: Address already in use
09/25/17 18:22:19.193 RPC Server (Port 2002): Error: Server could not start listening on port 2002: Address already in use
09/25/17 18:22:19.193 RPC Server (Port 2003): Error: Server could not start listening on port 2003: Address already in use
09/25/17 18:22:19.194 Info: Backing up database...
09/25/17 18:22:19.194 Closing database...
09/25/17 18:22:19.194 Error: Can't execute "PRAGMA journal_mode = DELETE": database is locked
09/25/17 18:22:19.198 Info: Reloading...
09/25/17 18:22:19.198 Error: Cannot reload. Startup is not completed.
09/25/17 18:22:19.203 Info: Backing up database...
09/25/17 18:22:19.211 Can't execute "PRAGMA journal_mode=DELETE": database is locked
09/25/17 18:22:22.367 Reloading flows server...
09/25/17 18:22:22.368 Reloading script engine server...
09/25/17 18:22:22.368 Info: Reload complete.
09/25/17 18:22:22.368 Stopping UPnP server...
09/25/17 18:22:22.433 (Shutdown) => Stopping Event handler
09/25/17 18:22:22.434 (Shutdown) => Stopping RPC servers
09/25/17 18:22:24.194 RPC Server (Port 2001): Info: RPC Server started listening on address :: and port 2001
09/25/17 18:22:24.194 RPC Server (Port 2003): Info: RPC Server started listening on address :: and port 2003
09/25/17 18:22:24.194 RPC Server (Port 2002): Info: RPC Server started listening on address :: and port 2002
09/25/17 18:22:24.195 RPC Server (Port 2001): Info: Waiting for threads to finish.
09/25/17 18:22:24.295 RPC Server (Port 2002): Info: Waiting for threads to finish.
09/25/17 18:22:24.395 RPC Server (Port 2003): Info: Waiting for threads to finish.
09/25/17 18:22:24.399 (Shutdown) => Stopping RPC client
09/25/17 18:22:24.400 (Shutdown) => Closing physical interfaces
09/25/17 18:22:24.400 (Shutdown) => Stopping IPC server...
09/25/17 18:22:24.413 (Shutdown) => Stopping flows server...
09/25/17 18:22:24.515 (Shutdown) => Stopping script engine server...
09/25/17 18:22:24.600 (Shutdown) => Saving device families
09/25/17 18:22:24.601 (Shutdown) => Saving devices
09/25/17 18:22:24.601 (Shutdown) => Saving Miscellaneous central...
09/25/17 18:22:24.601 (Shutdown) => Disposing device families
09/25/17 18:22:24.601 (Shutdown) => Disposing database
09/25/17 18:22:24.602 Closing database...
09/25/17 18:22:26.217 (Shutdown) => Disposing family modules
09/25/17 18:22:26.217 Info: Disposing family module mod_miscellaneous.so
09/25/17 18:22:26.217 (Shutdown) => Disposing licensing modules
09/25/17 18:22:26.262 (Shutdown) => Shutdown complete.
09/25/17 18:22:40.911 Starting Homegear...
09/25/17 18:22:40.913 Homegear version 0.7.9-1375
09/25/17 18:22:40.913 Git commit SHA of libhomegear-base: -
09/25/17 18:22:40.913 Git branch of libhomegear-base: -
09/25/17 18:22:40.913 Git commit SHA of Homegear: -
09/25/17 18:22:40.914 Git branch of Homegear: -
09/25/17 18:22:40.915 Info: Setting allowed core file size to "4294967295" for user with id 0 and group with id 0.
09/25/17 18:22:40.915 Info: Core file size now is "4294967295".
09/25/17 18:22:40.915 Info: Setting maximum thread priority to "4294967295" for user with id 0 and group with id 0.
09/25/17 18:22:40.915 Info: Maximum thread priority now is "4294967295".
09/25/17 18:22:41.024 Info: Backing up database...
09/25/17 18:22:45.835 Initializing database...
09/25/17 18:22:45.839 Info: Loading family module mod_miscellaneous.so
09/25/17 18:22:45.876 /etc/homegear/families/miscellaneous.conf
09/25/17 18:22:45.879 Info: Loading family module mod_homematicbidcos.so
09/25/17 18:22:45.950 /etc/homegear/families/homematicbidcos.conf
09/25/17 18:22:45.975 Info: Setting up physical interfaces and GPIOs...
09/25/17 18:22:45.975 Info: Dropping privileges to user homegear (110) and group homegear (114)
09/25/17 18:22:45.976 Info: Homegear is (now) running as user with id 110 and group with id 114.
09/25/17 18:22:46.003 Starting script engine server...
09/25/17 18:22:46.029 Initializing licensing controller...
09/25/17 18:22:46.029 Loading licensing controller data...
09/25/17 18:22:46.029 Loading devices...
09/25/17 18:22:46.029 Info: Not initializing device family HomeMatic BidCoS, because no physical interface was found.
09/25/17 18:22:46.029 Info: Disposing family module mod_homematicbidcos.so
09/25/17 18:22:46.030 Loading XML RPC devices...
09/25/17 18:22:46.087 Loading device 1
09/25/17 18:22:46.092 Initializing RPC client...
09/25/17 18:22:46.092 Starting XML RPC server RPCServer1 listening on :::2001...
09/25/17 18:22:46.104 Starting XML RPC server RPCServer2 listening on :::2002, SSL enabled...
09/25/17 18:22:46.105 RPC Server (Port 2001): Info: RPC Server started listening on address :: and port 2001
09/25/17 18:22:46.226 Starting XML RPC server RPCServer3 listening on :::2003, SSL enabled, authentication enabled...
09/25/17 18:22:46.226 RPC Server (Port 2002): Info: RPC Server started listening on address :: and port 2002
09/25/17 18:22:46.286 Starting CLI server...
09/25/17 18:22:46.286 RPC Server (Port 2003): Info: RPC Server started listening on address :: and port 2003
09/25/17 18:22:46.286 Initializing event handler...
09/25/17 18:22:46.286 Loading events...
09/25/17 18:22:46.287 Starting flows server...
09/25/17 18:22:46.362 Starting IPC server...
09/25/17 18:22:46.367 Start listening for packets...
09/25/17 18:22:46.367 Startup complete. Waiting for physical interfaces to connect.
09/25/17 18:22:46.367 All physical interfaces are connected now.
09/25/17 18:22:46.367 Starting UPnP server...
09/25/17 18:22:46.368 Info: UPnP server: Binding to address: 192.168.178.48
09/25/17 18:22:46.368 UPnP Server: Info: Started listening.
09/25/17 18:23:58.853 Info: CLI connection accepted. Client number: 8
09/25/17 18:24:13.190 Info: Connection to CLI client number 8 closed.
config.txt:
# For more op
tions and information see
# http://rpf.io/configtxt
# Some settings may impact device functionality. See link above for details
# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1
# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
#disable_overscan=1
# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16
# uncomment to force a console size. By default it will be display's size minus
# overscan.
#framebuffer_width=1280
#framebuffer_height=720
# uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1
# uncomment to force a specific HDMI mode (this will force VGA)
#hdmi_group=1
#hdmi_mode=1
# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
#hdmi_drive=2
# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4
# uncomment for composite PAL
#sdtv_mode=2
#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800
# Uncomment some or all of these to enable the optional hardware interfaces
dtparam=i2c_arm=on
dtparam=i2s=on
dtparam=spi=on
# Uncomment this to enable the lirc-rpi module
#dtoverlay=lirc-rpi
# Additional overlays and parameters are documented /boot/overlays/README
# Enable audio (loads snd_bcm2835)
dtparam=audio=on
gpu_mem=16
enable_uart=1
# For more options and information see
# http://rpf.io/configtxt
# Some settings may impact device functionality. See link above for details
# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1
# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
#disable_overscan=1
# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16
# uncomment to force a console size. By default it will be display's size minus
# overscan.
#framebuffer_width=1280
#framebuffer_height=720
# uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1
# uncomment to force a specific HDMI mode (this will force VGA)
#hdmi_group=1
#hdmi_mode=1
# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
#hdmi_drive=2
# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4
# uncomment for composite PAL
#sdtv_mode=2
#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800
# Uncomment some or all of these to enable the optional hardware interfaces
dtparam=i2c_arm=on
dtparam=i2s=on
dtparam=spi=on
# Uncomment this to enable the lirc-rpi module
#dtoverlay=lirc-rpi
# Additional overlays and parameters are documented /boot/overlays/README
# Enable audio (loads snd_bcm2835)
dtparam=audio=on
gpu_mem=16
enable_uart=1
dtoverlay=pi3-disable-bt
dtoverlay=pi3-disable-wifi
cmdline.txt:
dwc_otg.lpm_enable=0 console=tty1 root=PARTUUID=760588c5-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
homematicbidcos.conf;
#######################################
########### 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
ich hoffe ihr seht daraus woran es liegt.
P.s.: in raspberrymatic wird mein Modul angezeigt als: HM-RCV-50 BidCoS-RF, dabei ist es das HD-MOD-RPI-PCB Modul von ELV.
Danke schonmal und Gruß