Hallo!
Ich versuche mein Haus zu automatisieren.
Die Basis ist ein RPi2+ und ein USB-Cul von Busware.
Leider stehe ich etwas auf dem Schlauch bei dem ersten Pairingversuch.
Ich möchte ein “MAX! Radiator Thermostat basic” (BC-RT-TRX-CyN-KH) mit Homegear verbinden.
Dafür müsste ich doch folgendes machen…
-sudo homegear -r
-families select 4
-devices select central
-pairing on
GNU nano 2.2.6 Datei: homegear.log
11/03/16 09:53:52.954 Starting Homegear...
11/03/16 09:53:52.955 Homegear version 0.6.7-1545
11/03/16 09:53:52.955 Git commit SHA of libhomegear-base: -
11/03/16 09:53:52.955 Git branch of libhomegear-base: -
11/03/16 09:53:52.955 Git commit SHA of Homegear: -
11/03/16 09:53:52.955 Git branch of Homegear: -
11/03/16 09:53:52.956 Info: Setting allowed core file size to "4294967295" for $
11/03/16 09:53:52.956 Info: Core file size now is "4294967295".
11/03/16 09:53:52.956 Info: Setting maximum thread priority to "4294967295" for$
11/03/16 09:53:52.957 Info: Maximum thread priority now is "4294967295".
11/03/16 09:53:53.531 Initializing database...
11/03/16 09:53:54.427 Info: Loading family module mod_miscellaneous.so
11/03/16 09:53:54.449 /etc/homegear/families/miscellaneous.conf
11/03/16 09:53:54.451 Info: Loading family module mod_philipshue.so
11/03/16 09:53:54.477 /etc/homegear/families/philipshue.conf
11/03/16 09:53:54.480 Info: Loading family module mod_homematicbidcos.so
11/03/16 09:53:54.531 /etc/homegear/families/homematicbidcos.conf
11/03/16 09:53:54.546 Info: Loading family module mod_kodi.so
11/03/16 09:53:54.568 /etc/homegear/families/kodi.conf
[ 2475 Zeilen gelesen ]
Da steht ja schon das nicht alle family module geladen werden.
Was habe ich denn falsch installiert?
GNU nano 2.2.6 Datei: max.conf
___________________________________________________________________________
---------------------------------- MAX! ----------------------------------
___________________________________________________________________________
#######################################
################# CUL #################
#######################################
## The device family this interface is for
#[CUL]
## Specify an unique id here to identify this device in Homegear
#id = My-MAX-CUL
## When default is set to "true" Homegear will assign this device
## to new peers.
#default = true
## Options: cul, coc, cc1100
#deviceType = cul
#device = /dev/ttyACM0
## Should be "40" for MAX!
#responseDelay = 40
#######################################
########## TI CC1101 Module ##########
#######################################
## The device family this interface is for
#[TI CC1101 Module]
## Specify an unique id here to identify this device in Homegear
#id = My-MAX-CC1101
## When default is set to "true" Homegear will assign this device
## to new peers.
#default = true
## Options: cul, coc, cc1100
#deviceType = cc1100
#device = /dev/spidev0.0
## Default: responseDelay = 95
## Should be "40" for CUL or COC and "45" for TI CC1101.
#responseDelay = 45
## The interrupt pin to use. "0" for GDO0 or "2" for GDO2.
## You only need to connect one of them. Specify the GPIO
## you connected the interrupt pin to below.
#interruptPin = 2
## The GPIO GDO0 or GDO2 is connected to. Specify which GDO to use above.
#gpio1 = 23
### Additional TI CC1190 Config ###
## The GPIO high gain mode of the CC1190 is connected to.
## Default: -1 (disabled)
#gpio2 = 5
## The hexadecimal value for the PATABLE of the TI CC1101.
## Default:
## - Without high gain mode: 0xC2
## - With high gain mode: 0x27 (maximum legally allowed setting)
#txPowerSetting = 0x27
#######################################
################ CUNX ################
#######################################
## The device family this interface is for
#[CUNX]
## Specify an unique id here to identify this device in Homegear
#id = My-CUNX
## When default is set to "true" Homegear will assign this device
## to new peers.
#default = true
## Options: cul, cc1100, coc, cunx, hmcfglan, hmlgw
#deviceType = cunx
## IP address of your CUNO
#host = 192.168.178.100
## Port number your CUNX listens on. Normally 2323.
#port = 2323
## Default: responseDelay = 95
## Should be "40" for CUNX
#responseDelay = 40
Im Log siehst du nur, dass die Module der angegeben Familien geladen werden. Das ist soweit völlig ok.
Interessanter wären diesen Zeilen nach dem Modulen… da wo Max! auftaucht.
In deiner Config ist kein CUL für Max! konfiguriert, die Zeilen sind alle auskommentiert (#). Somit weiß homegear nicht mit welchem Gerät es das Max!-Protokoll sprechen soll.
Poste mal die nachfolgenden Zeilen des homegear.log und konfiguriere mal deinen CUL für Max!.
root@raspberrypi://var/log/homegear# vi homegear.log
11/03/16 09:53:52.954 Starting Homegear...
11/03/16 09:53:52.955 Homegear version 0.6.7-1545
11/03/16 09:53:52.955 Git commit SHA of libhomegear-base: -
11/03/16 09:53:52.955 Git branch of libhomegear-base: -
11/03/16 09:53:52.955 Git commit SHA of Homegear: -
11/03/16 09:53:52.955 Git branch of Homegear: -
11/03/16 09:53:52.956 Info: Setting allowed core file size to "4294967295" for user with id 0 and group with id 0.
11/03/16 09:53:52.956 Info: Core file size now is "4294967295".
11/03/16 09:53:52.956 Info: Setting maximum thread priority to "4294967295" for user with id 0 and group with id 0.
11/03/16 09:53:52.957 Info: Maximum thread priority now is "4294967295".
11/03/16 09:53:53.531 Initializing database...
11/03/16 09:53:54.427 Info: Loading family module mod_miscellaneous.so
11/03/16 09:53:54.449 /etc/homegear/families/miscellaneous.conf
11/03/16 09:53:54.451 Info: Loading family module mod_philipshue.so
11/03/16 09:53:54.477 /etc/homegear/families/philipshue.conf
11/03/16 09:53:54.480 Info: Loading family module mod_homematicbidcos.so
11/03/16 09:53:54.531 /etc/homegear/families/homematicbidcos.conf
11/03/16 09:53:54.546 Info: Loading family module mod_kodi.so
11/03/16 09:53:54.568 /etc/homegear/families/kodi.conf
11/03/16 09:53:54.571 Info: Loading family module mod_ipcam.so
11/03/16 09:53:54.594 /etc/homegear/families/ipcam.conf
11/03/16 09:53:54.598 Error in file PhysicalInterfaces/EventServer.cpp line 98 in function void IpCam::EventServer::getAddress(): No IP address could be found: Success
11/03/16 09:53:54.599 Info: Loading family module mod_insteon.so
11/03/16 09:53:54.633 /etc/homegear/families/insteon.conf
11/03/16 09:53:54.639 Info: Loading family module mod_beckhoff.so
11/03/16 09:53:54.668 /etc/homegear/families/beckhoff.conf
11/03/16 09:53:54.670 Info: Loading family module mod_enocean.so
11/03/16 09:53:54.690 /etc/homegear/families/enocean.conf
11/03/16 09:53:54.695 Info: Loading family module mod_sonos.so
11/03/16 09:53:54.721 /etc/homegear/families/sonos.conf
11/03/16 09:53:54.730 Info: Loading family module mod_homematicwired.so
11/03/16 09:53:54.764 /etc/homegear/families/homematicwired.conf
11/03/16 09:53:54.766 Info: Loading family module mod_max.so
11/03/16 09:53:54.808 /etc/homegear/families/max.conf
11/03/16 09:53:54.810 Info: Loading family module mod_intertechno.so
11/03/16 09:53:54.833 /etc/homegear/families/intertechno.conf
11/03/16 09:53:54.835 Info: Loading family module mod_knx.so
11/03/16 09:53:54.875 /etc/homegear/families/knx.conf
11/03/16 09:53:54.878 Info: Setting up physical interfaces and GPIOs...
11/03/16 09:53:54.878 Info: Dropping privileges to user homegear (112) and group homegear (119)
11/03/16 09:53:54.879 Info: Homegear is (now) running as user with id 112 and group with id 119.
11/03/16 09:53:54.880 Starting script engine server...
11/03/16 09:53:55.211 Initializing licensing controller...
Auf die Frage meinte ich, dass ich keine Protokolle habe. Bzw. nicht dass ich wüsste.
Ich kämpfe noch etwas mit Linux. Aber viele beiträge hier und auch in anderen Foren helfen
nur da weiss ich jetzt nicht weiter, da es so bis jetzt noch keiner hatte.
Ich habe:
-Debian Jessy installiert,
-Dann den Cul mit der Firmware versehen (der schmeist auch die Versionsnummer raus wenn ich mit dem screen V eingebe)
-jetzt homegear Installiert mit:
Wenn du Max! ansprechen willst, solltest du nichts in der homematicbidcos.conf einkommentieren. Auch wenn beide auf 868MHz laufen und vom gleichen Hersteller sind, sind es doch unterschiedliche Protokolle.
Wenn du magst, kannst du die nicht benötigten Homegear-Pakete deinstallieren
apt-get remove homegear-insteon
Dann hast du schon mal die Meldungen nicht mehr im homegear log.
Ahh!
Also habe ich jetzt in der homematicbidcos.conf den Cul wieder auskommentiert und dafür in der max.conf den cul einkommentiert.
Aber ich muss doch zum pairen folgende Schritte durchführen: (oder?)
-sudo homegear -r
-families select 4
-devices select central
-pairing on