Hallo,
ich versuche nun schon seit einigen Tagen HM-MOD-RPI-PCB an meinen Raspberry PI 3 mit Homegear und openHAB2 zum laufen zu bringen.
Bei der Installation habe ich mich an die Homegear Dokumentation gehalten. Alles mehrfach ĂŒberprĂŒft und alle BeitrĂ€ge egelesen die ich finden kann.
Meine HM-MOD-RPI-PCB ist mit der Firmware ./flash-hmmoduart -U /dev/ttyAMA0 coprocessor_update.eq3 geupdated.
Das Modul ist ĂŒbrigens funktionsfĂ€hig (Ich hatte es zwischenzeitlich mit einem RaspberryMatic Image getestet).
Wenn ich den pairing mode (pon) an beiden GerÀten aktiviere, laufen die 60/30 Sekunden ab, aber in meiner Liste (ls) ist nichts zu finden (No peers are paired to this central) .
Als Ausgangspunkt ist ein openHabian Image installiert mit dem ich HomeGear installiert habe.
Serielle Consolen sind deaktiviert. Die homematicbidcos.conf sieht genau so aus wie in der Anleitung beschriebenâŠ
id = My-HM-MOD-RPI-PCB
default = true
deviceType = hm-mod-rpi-pcb
device = /dev/ttys0
gpio1 = 18
Ein âsudo chown homegear:homegear /dev/ttyAMA0â ĂŒberlebt aber einen neustart nicht.
Es steht wieder auf root:dialout anschlieĂend.
Hat da evtl. jmd eine Idee? WĂ€re fĂŒr jede Hilfe dankbar.
mfg
Klaus
#######
[21:53:55] openhabian@openHABianPi:~$ cat /etc/issue
Raspbian GNU/Linux 9 \n \l
#######
[21:55:17] openhabian@openHABianPi:~$ homegear -v
Homegear version 0.7.19-1846
Copyright © 2013-2018 Homegear GmbH
Git commit SHA of libhomegear-base: -
Git branch of libhomegear-base: -
Git commit SHA of Homegear: -
Git branch of Homegear: -
PHP (License: PHP License):
This product includes PHP software, freely available from <http://www.php.net/software/>
Copyright (c) 1999-2018 The PHP Group. All rights reserved.
#######
meine config.txt
[21:15:15] openhabian@openHABianPi:~$ cat /boot/config.txt
# 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
enable_uart=1
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
dtoverlay=pi3-miniuart-bt
########
meine cmdline.txt
[21:19:51] openhabian@openHABianPi:~$ cat /boot/cmdline.txt
dwc_otg.lpm_enable=0 console=tty1 root=PARTUUID=895091fd-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
########
homegear.log
06/13/18 21:47:28.052 Starting Homegear...
06/13/18 21:47:28.052 Homegear version 0.7.19-1846
06/13/18 21:47:28.052 Git commit SHA of libhomegear-base: -
06/13/18 21:47:28.052 Git branch of libhomegear-base: -
06/13/18 21:47:28.052 Git commit SHA of Homegear: -
06/13/18 21:47:28.052 Git branch of Homegear: -
06/13/18 21:47:28.053 Info: Setting allowed core file size to "4294967295" for user with id 0 and group with id 0.
06/13/18 21:47:28.053 Info: Core file size now is "4294967295".
06/13/18 21:47:28.053 Info: Setting maximum thread priority to "4294967295" for user with id 0 and group with id 0.
06/13/18 21:47:28.053 Info: Maximum thread priority now is "4294967295".
06/13/18 21:47:28.160 Info: Backing up database...
06/13/18 21:47:29.441 Initializing database...
06/13/18 21:47:29.487 Info: Loading family module mod_homematicbidcos.so
06/13/18 21:47:29.545 /etc/homegear/families/homematicbidcos.conf
06/13/18 21:47:29.612 Info: Loading family module mod_miscellaneous.so
06/13/18 21:47:29.635 /etc/homegear/families/miscellaneous.conf
06/13/18 21:47:29.635 Info: Loading family module mod_homematicwired.so
06/13/18 21:47:29.679 /etc/homegear/families/homematicwired.conf
06/13/18 21:47:29.689 Info: Setting up physical interfaces and GPIOs...
06/13/18 21:47:29.695 Info: Dropping privileges to user homegear (110) and group homegear (115)
06/13/18 21:47:29.695 Info: Homegear is (now) running as user with id 110 and group with id 115.
06/13/18 21:47:29.719 Starting script engine server...
06/13/18 21:47:29.733 Initializing licensing controller...
06/13/18 21:47:29.734 Loading licensing controller data...
06/13/18 21:47:29.734 Loading devices...
06/13/18 21:47:29.734 Loading XML RPC devices...
06/13/18 21:47:31.292 Loading device 1
06/13/18 21:47:31.293 Module HomeMatic BidCoS: Info: Central address set to 0xFD073E.
06/13/18 21:47:31.315 Loading XML RPC devices...
06/13/18 21:47:31.418 Loading device 2
06/13/18 21:47:31.424 Loading XML RPC devices...
06/13/18 21:47:31.432 Loading device 3
06/13/18 21:47:31.433 Initializing RPC client...
06/13/18 21:47:31.433 Starting XML RPC server RPCServer1 listening on :::2001...
06/13/18 21:47:31.436 RPC Server (Port 2001): Warning: SSL is not enabled for this RPC server. It is strongly recommended to disable all unencrypted RPC servers when the connected clients support it.
06/13/18 21:47:31.437 RPC Server (Port 2001): Warning: RPC server has no authorization enabled. Everybody on your local network can login into this installation. It is strongly recommended to enable authorization on all RPC servers when the connected clients support it.
06/13/18 21:47:31.437 Starting XML RPC server RPCServer2 listening on :::2002, SSL enabled...
06/13/18 21:47:31.438 RPC Server (Port 2001): Info: RPC Server started listening on address :: and port 2001
06/13/18 21:47:31.441 RPC Server (Port 2002): Warning: RPC server has no authorization enabled. Everybody on your local network can login into this installation. It is strongly recommended to enable authorization on all RPC servers when the connected clients support it.
06/13/18 21:47:31.516 Starting XML RPC server RPCServer3 listening on :::2003, SSL enabled, authentication enabled...
06/13/18 21:47:31.518 RPC Server (Port 2002): Info: RPC Server started listening on address :: and port 2002
06/13/18 21:47:31.550 Starting CLI server...
06/13/18 21:47:31.550 RPC Server (Port 2003): Info: RPC Server started listening on address :: and port 2003
06/13/18 21:47:31.550 Initializing event handler...
06/13/18 21:47:31.550 Loading events...
06/13/18 21:47:31.551 Start listening for packets...
06/13/18 21:47:31.551 Starting Node-BLUE server...
06/13/18 21:47:31.561 Starting IPC server...
06/13/18 21:47:31.565 Startup complete. Waiting for physical interfaces to connect.
06/13/18 21:47:31.566 Info: Waiting for physical interfaces to connect (0 of 180s).
06/13/18 21:47:31.566 All physical interfaces are connected now.
06/13/18 21:47:31.566 Starting UPnP server...
06/13/18 21:47:31.567 Info: UPnP server: Binding to address: 192.168.2.51
06/13/18 21:47:31.567 UPnP Server: Info: Started listening.
06/13/18 21:48:31.138 RPC Server (Port 2001): Info: Connection from ::ffff:192.168.2.9:41799 accepted. Client number: 8
06/13/18 21:48:31.138 RPC Server (Port 2001): Info: RPC server client id for client number 8 is: 0
06/13/18 21:48:35.701 RPC Server (Port 2001): Info: Connection from ::ffff:192.168.2.9:41809 accepted. Client number: 9
06/13/18 21:48:35.702 RPC Server (Port 2001): Info: RPC server client id for client number 9 is: 1
06/13/18 21:48:36.014 RPC Server (Port 2001): Info: Connection from ::ffff:192.168.2.9:41810 accepted. Client number: 10
06/13/18 21:48:36.014 RPC Server (Port 2001): Info: RPC server client id for client number 10 is: 2
06/13/18 21:48:38.084 RPC Server (Port 2001): Info: Connection from ::ffff:192.168.2.51:42374 accepted. Client number: 11
06/13/18 21:48:38.084 RPC Server (Port 2001): Info: RPC server client id for client number 11 is: 3
06/13/18 21:48:38.091 RPC Server (Port 2001): Info: Client number 11 is calling RPC method: getDeviceDescription (1) Parameters:
(String) BidCoS-RF
06/13/18 21:48:38.164 RPC Server (Port 2001): Info: Connection from ::ffff:192.168.2.51:42378 accepted. Client number: 12
06/13/18 21:48:38.164 RPC Server (Port 2001): Info: RPC server client id for client number 12 is: 4
06/13/18 21:48:38.167 RPC Server (Port 2001): Info: Client number 12 is calling RPC method: listBidcosInterfaces (1) Parameters:
06/13/18 21:48:38.429 RPC Server (Port 2001): Info: Connection from ::ffff:192.168.2.51:42390 accepted. Client number: 13
06/13/18 21:48:38.429 RPC Server (Port 2001): Info: RPC server client id for client number 13 is: 5
06/13/18 21:48:38.433 RPC Server (Port 2001): Info: Client number 13 is calling RPC method: init (2) Parameters:
(String) binary://192.168.2.51:9126
(String) RF-c28e855a
(Integer) 34
06/13/18 21:48:38.433 Info: Client with IP ::ffff:192.168.2.51 is calling "init".
06/13/18 21:48:38.434 Info: Adding server "binary://192.168.2.51".
06/13/18 21:48:38.435 Info: Calling init methods on server "binary://192.168.2.51".
06/13/18 21:48:38.482 RPC Server (Port 2001): Info: Connection from ::ffff:192.168.2.51:42392 accepted. Client number: 14
06/13/18 21:48:38.483 RPC Server (Port 2001): Info: RPC server client id for client number 14 is: 6
06/13/18 21:48:38.484 RPC Server (Port 2001): Info: Client number 14 is calling RPC method: listDevices (2) Parameters:
06/13/18 21:48:38.498 RPC Server (Port 2001): Info: Client number 14 is calling RPC method: getDeviceInfo (2) Parameters:
06/13/18 21:48:38.503 RPC Server (Port 2001): Info: Client number 14 is calling RPC method: getAllSystemVariables (2) Parameters:
06/13/18 21:48:38.518 RPC Server (Port 2001): Info: Client number 14 is calling RPC method: getAllScripts (2) Parameters:
06/13/18 21:48:38.589 RPC Server (Port 2001): Info: Connection from ::ffff:192.168.2.9:41815 accepted. Client number: 15
06/13/18 21:48:38.589 RPC Server (Port 2001): Info: RPC server client id for client number 15 is: 7
06/13/18 21:48:40.828 RPC Server (Port 2001): Info: Connection from ::ffff:192.168.2.9:41818 accepted. Client number: 17
06/13/18 21:48:40.828 RPC Server (Port 2001): Info: RPC server client id for client number 17 is: 8
06/13/18 21:48:43.135 RPC Server (Port 2001): Info: Connection from ::ffff:192.168.2.9:41821 accepted. Client number: 18
06/13/18 21:48:43.136 RPC Server (Port 2001): Info: RPC server client id for client number 18 is: 9
06/13/18 21:48:44.977 RPC Server (Port 2001): Info: Connection from ::ffff:192.168.2.9:41824 accepted. Client number: 19
06/13/18 21:48:44.978 RPC Server (Port 2001): Info: RPC server client id for client number 19 is: 10
06/13/18 21:48:45.249 RPC Server (Port 2001): Info: Connection from ::ffff:192.168.2.9:41825 accepted. Client number: 20
06/13/18 21:48:45.249 RPC Server (Port 2001): Info: RPC server client id for client number 20 is: 11
06/13/18 21:48:45.588 RPC Server (Port 2001): Info: Connection from ::ffff:192.168.2.9:41827 accepted. Client number: 21
06/13/18 21:48:45.588 RPC Server (Port 2001): Info: RPC server client id for client number 21 is: 12
06/13/18 21:48:47.946 RPC Server (Port 2001): Info: Connection from ::ffff:192.168.2.9:41834 accepted. Client number: 22
06/13/18 21:48:47.947 RPC Server (Port 2001): Info: RPC server client id for client number 22 is: 13
06/13/18 21:48:50.083 RPC Server (Port 2001): Info: Connection from ::ffff:192.168.2.9:41837 accepted. Client number: 23
06/13/18 21:48:50.084 RPC Server (Port 2001): Info: RPC server client id for client number 23 is: 14
06/13/18 21:49:08.638 RPC Server (Port 2001): Info: Client number 14 is calling RPC method: ping (2) Parameters:
(String) c28e855a
06/13/18 21:49:23.646 RPC Server (Port 2001): Info: Client number 14 is calling RPC method: ping (2) Parameters:
(String) c28e855a
06/13/18 21:49:38.651 RPC Server (Port 2001): Info: Client number 14 is calling RPC method: ping (2) Parameters:
(String) c28e855a
06/13/18 21:49:49.457 RPC Server (Port 2001): Info: Connection from ::ffff:192.168.2.9:41910 accepted. Client number: 27
06/13/18 21:49:49.458 RPC Server (Port 2001): Info: RPC server client id for client number 27 is: 15
06/13/18 21:49:53.654 RPC Server (Port 2001): Info: Client number 14 is calling RPC method: ping (2) Parameters:
(String) c28e855a
06/13/18 21:50:08.658 RPC Server (Port 2001): Info: Client number 14 is calling RPC method: ping (2) Parameters:
(String) c28e855a
06/13/18 21:50:23.662 RPC Server (Port 2001): Info: Client number 14 is calling RPC method: ping (2) Parameters:
(String) c28e855a
06/13/18 21:50:38.666 RPC Server (Port 2001): Info: Client number 14 is calling RPC method: ping (2) Parameters:
(String) c28e855a
06/13/18 21:50:49.143 RPC Server (Port 2001): Info: Connection from ::ffff:192.168.2.9:41999 accepted. Client number: 32
06/13/18 21:50:49.143 RPC Server (Port 2001): Info: RPC server client id for client number 32 is: 16
06/13/18 21:50:53.670 RPC Server (Port 2001): Info: Client number 14 is calling RPC method: ping (2) Parameters:
(String) c28e855a
06/13/18 21:51:08.674 RPC Server (Port 2001): Info: Client number 14 is calling RPC method: ping (2) Parameters:
(String) c28e855a
06/13/18 21:51:23.678 RPC Server (Port 2001): Info: Client number 14 is calling RPC method: ping (2) Parameters:
(String) c28e855a
06/13/18 21:51:38.682 RPC Server (Port 2001): Info: Client number 14 is calling RPC method: ping (2) Parameters:
(String) c28e855a
06/13/18 21:51:49.319 RPC Server (Port 2001): Info: Connection from ::ffff:192.168.2.9:42075 accepted. Client number: 37
06/13/18 21:51:49.319 RPC Server (Port 2001): Info: RPC server client id for client number 37 is: 17
06/13/18 21:51:53.686 RPC Server (Port 2001): Info: Client number 14 is calling RPC method: ping (2) Parameters:
(String) c28e855a
06/13/18 21:52:08.690 RPC Server (Port 2001): Info: Client number 14 is calling RPC method: ping (2) Parameters:
(String) c28e855a
06/13/18 21:52:23.694 RPC Server (Port 2001): Info: Client number 14 is calling RPC method: ping (2) Parameters:
[21:52:28] openhabian@openHABianPi:~$
########
homegear.err
06/13/18 21:47:31.436 RPC Server (Port 2001): Warning: SSL is not enabled for this RPC server. It is strongly recommended to disable all unencrypted RPC servers when the connected clients support it.
06/13/18 21:47:31.437 RPC Server (Port 2001): Warning: RPC server has no authorization enabled. Everybody on your local network can login into this installation. It is strongly recommended to enable authorization on all RPC servers when the connected clients support it.
06/13/18 21:47:31.441 RPC Server (Port 2002): Warning: RPC server has no authorization enabled. Everybody on your local network can login into this installation. It is strongly recommended to enable authorization on all RPC servers when the connected clients support it.
#########