Hallo zusammen,
ich bin in neu in der Raspberry Welt und versuche mir langsam eine Heimautomatisierung aufzubauen.
Ich habe ein Raspberry 3 Modle B und das Modul HM-MOD-RPI-PCB für MAX! Produkte.
Auf dem Raspberry habe ich nun openHABien installiert und nach dieser Anleitung eingerichtet: https://community.openhab.org/t/openhabian-hassle-free-rpi-image/13379/490
Momentan habe ich das Problem, dass die Kommunikation mit dem HM-MOD-RPI-PCB nicht geht.
Ich weiß auch nicht ob ich es vllt. nicht kaputt gelötet habe, hatte bei den ersten Pins paar Probleme gehabt
Hier noch mal ein Auszug von paar der config files:
File: /boot/config.txt
[pi3] kernel=vmlinuz-4.4.0-1-rpi2 initramfs initrd.img-4.4.0-1-rpi2 followkernel # enable the serial console for the installed system enable_uart=1 gpu_mem=16 dtparam=audio=on
File: boot/cmdline.txt
> dwc_otg.lpm_enable=0 elevator=deadline net.ifnames=0 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait
File: /etc/inittab
#Spawn a getty on Raspberry Pi serial line #T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100
File: /etc/homegear/families/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
Und hier noch die Homegear logs:
homegear.log
> 3/04/17 00:14:55.081 Starting Homegear…
03/04/17 00:14:55.081 Homegear version 0.6.19-956 03/04/17 00:14:55.081 Git commit SHA of libhomegear-base: - 03/04/17 00:14:55.081 Git branch of libhomegear-base: - 03/04/17 00:14:55.081 Git commit SHA of Homegear: - 03/04/17 00:14:55.081 Git branch of Homegear: - 03/04/17 00:14:55.082 Info: Setting allowed core file size to "4294967295" for user with id 0 and group with id 0. 03/04/17 00:14:55.082 Info: Core file size now is "4294967295". 03/04/17 00:14:55.082 Info: Setting maximum thread priority to "4294967295" for user with id 0 and group with id 0. 03/04/17 00:14:55.082 Info: Maximum thread priority now is "4294967295". 03/04/17 00:14:55.087 Info: Backing up database... 03/04/17 00:14:58.031 Initializing database... 03/04/17 00:14:58.034 Debug: Loading licensing modules 03/04/17 00:14:58.034 Debug: Loading family modules 03/04/17 00:14:58.035 Info: Loading family module mod_homematicbidcos.so 03/04/17 00:14:58.046 /etc/homegear/families/homematicbidcos.conf 03/04/17 00:14:58.046 Debug: Loading section "General" 03/04/17 00:14:58.046 Debug: Family setting rfkey set to 935fejbf37834fjdbfkjsb3432454350 03/04/17 00:14:58.046 Debug: Family setting currentrfkeyindex set to 1 03/04/17 00:14:58.046 Debug: Family setting processbroadcastwithaesenabled set to false 03/04/17 00:14:58.047 Debug: Loading section "HomeMatic Wireless Module for Raspberry Pi" 03/04/17 00:14:58.047 Debug: id set to My-HM-MOD-RPI-PCB 03/04/17 00:14:58.047 Debug: default set to 1 03/04/17 00:14:58.047 Debug: deviceType set to hm-mod-rpi-pcb 03/04/17 00:14:58.047 Debug: device set to /dev/ttyAMA0 03/04/17 00:14:58.047 Debug: responseDelay set to 95 03/04/17 00:14:58.047 Debug: GPIO1 set to 18 03/04/17 00:14:58.047 Module HomeMatic BidCoS: Debug: Loading module... 03/04/17 00:14:58.047 Module HomeMatic BidCoS: Debug: Creating physical device. Type defined in homematicbidcos.conf is: hm-mod-rpi-pcb 03/04/17 00:14:58.048 Info: Loading family module mod_homematicwired.so 03/04/17 00:14:58.053 /etc/homegear/families/homematicwired.conf 03/04/17 00:14:58.054 Module HomeMatic Wired: Debug: Loading module... 03/04/17 00:14:58.054 Info: Loading family module mod_miscellaneous.so 03/04/17 00:14:58.057 /etc/homegear/families/miscellaneous.conf 03/04/17 00:14:58.058 Module Miscellaneous: Debug: Loading module... 03/04/17 00:14:58.058 Info: Setting up physical interfaces and GPIOs... 03/04/17 00:14:58.058 Debug: Setting up physical device. 03/04/17 00:14:58.058 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "My-HM-MOD-RPI-PCB": Debug: HM-MOD_RPI_PCB: Setting device permissions 03/04/17 00:14:58.058 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "My-HM-MOD-RPI-PCB": Debug: HM-MOD_RPI_PCB: Exporting GPIO 03/04/17 00:14:58.058 Debug: GPIO path for GPIO with index 1 and device hm-mod-rpi-pcb set to "/sys/class/gpio/gpio18". 03/04/17 00:14:58.058 Debug: Unexporting GPIO with index 1 and number 18 for device "hm-mod-rpi-pcb". 03/04/17 00:14:58.058 Debug: Exporting GPIO with index 1 and number 18 for device "hm-mod-rpi-pcb". 03/04/17 00:14:58.059 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "My-HM-MOD-RPI-PCB": Debug: HM-MOD_RPI_PCB: Setting GPIO permissions 03/04/17 00:14:58.059 Debug: GPIO path for GPIO with index 1 and device hm-mod-rpi-pcb set to "/sys/class/gpio/gpio18". 03/04/17 00:14:58.059 Info: Dropping privileges to user homegear (110) and group homegear (116) 03/04/17 00:14:58.060 Info: Homegear is (now) running as user with id 110 and group with id 116. 03/04/17 00:14:58.060 Starting script engine server... 03/04/17 00:14:58.093 Script Engine Server: Debug: Waiting for script engine server's client threads to finish. 03/04/17 00:14:58.094 Initializing licensing controller... 03/04/17 00:14:58.094 Loading licensing controller data... 03/04/17 00:14:58.094 Loading devices... 03/04/17 00:14:58.094 Loading XML RPC devices... 03/04/17 00:14:59.078 Loading device 2 03/04/17 00:14:59.078 Module HomeMatic BidCoS: Info: Central address set to 0xFD2AB5. 03/04/17 00:14:59.079 Info: Not initializing device family HomeMatic Wired, because no physical interface was found. 03/04/17 00:14:59.079 Debug: Disposing central... 03/04/17 00:14:59.079 Info: Disposing family module mod_homematicwired.so 03/04/17 00:14:59.079 Debug: Deleting factory pointer of module mod_homematicwired.so 03/04/17 00:14:59.079 Debug: Closing dynamic library module mod_homematicwired.so 03/04/17 00:14:59.079 Debug: Dynamic library mod_homematicwired.so disposed 03/04/17 00:14:59.080 Loading XML RPC devices... 03/04/17 00:14:59.080 Loading XML RPC device /etc/homegear/devices/254/Template.xml 03/04/17 00:14:59.082 Loading device 1 03/04/17 00:14:59.082 Start listening for packets... 03/04/17 00:15:01.082 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "My-HM-MOD-RPI-PCB": Connecting to HM-MOD-RPI-PCB... 03/04/17 00:15:01.083 Debug: GPIO 18 set to 0. 03/04/17 00:15:01.083 Initializing RPC client... 03/04/17 00:15:01.084 Starting XML RPC server RPCServer1 listening on :::2001... 03/04/17 00:15:01.088 Starting XML RPC server RPCServer2 listening on :::2002, SSL enabled... 03/04/17 00:15:01.088 RPC Server (Port 2001): Info: RPC Server started listening on address :: and port 2001 03/04/17 00:15:01.152 Starting XML RPC server RPCServer3 listening on :::2003, SSL enabled, authentication enabled... 03/04/17 00:15:01.153 RPC Server (Port 2002): Info: RPC Server started listening on address :: and port 2002 03/04/17 00:15:01.184 Debug: GPIO 18 set to 1. 03/04/17 00:15:01.192 Starting CLI server... 03/04/17 00:15:01.192 Debug: Waiting for CLI client threads to finish. 03/04/17 00:15:01.192 RPC Server (Port 2003): Info: RPC Server started listening on address :: and port 2003 03/04/17 00:15:01.192 Initializing event handler... 03/04/17 00:15:01.193 Loading events... 03/04/17 00:15:01.193 Starting flows server... 03/04/17 00:15:01.196 Startup complete. Waiting for physical interfaces to connect. 03/04/17 00:15:01.196 All physical interfaces are connected now. 03/04/17 00:15:01.196 Starting UPnP server... 03/04/17 00:15:01.197 Info: UPnP server: Binding to address: 192.168.2.115 03/04/17 00:15:01.197 UPnP Server: Info: Started listening. 03/04/17 00:15:08.202 Info: CLI connection accepted. Client number: 11 03/04/17 00:15:08.203 Listening for incoming commands from client number 11. 03/04/17 00:15:24.919 Connection to client number 11 closed. 03/04/17 00:15:31.184 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "My-HM-MOD-RPI-PCB": Error: No init packet received. 03/04/17 00:15:33.113 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "My-HM-MOD-RPI-PCB": Warning: Connection closed (1). Trying to reconnect... 03/04/17 00:15:33.114 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "My-HM-MOD-RPI-PCB": Connecting to HM-MOD-RPI-PCB... 03/04/17 00:15:35.114 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "My-HM-MOD-RPI-PCB": Connected to HM-MOD-RPI-PCB. 03/04/17 00:15:35.115 Debug: GPIO 18 set to 0. 03/04/17 00:15:35.240 Debug: GPIO 18 set to 1.
Homegear.err
> hier wird eigentlich nur das wiederholt
3/04/17 00:18:37.348 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "My-HM-MOD-RPI-PCB": Error: No init packet received. 03/04/17 00:18:43.278 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "My-HM-MOD-RPI-PCB": Warning: Connection closed (1). Trying to reconnect...
Das Paaren gelingt nicht, weiß jemand woran es liegen könnte ?
Danke schon mal und viele Grüße,
David