Hi, I’m too new here and I want to use some homematic devices with opeanhab 2 and raspberry pi 3 model b+.
I installed openhabian to raspberry pi and I installed homematic bindings with homegear (homematic bidcos - homematic wired) to openhabian.
So, I want get help after this. What should I do for pairing with my homematic devices and how do I use them?
And my devices are HM-CFG-LAN, HM-Sec-MDIR-2, HM-Sec-SC-2.
[General]
The BidCoS address of Homegear. It is recommended to change this to a random 3 byte hexadecimal
value starting with 0xFD (e. g. 0xFD43AB). Only change this, when no HomeMatic BidCoS devices
are paired to Homegear as existing pairings will not work anymore!
#centralAddress = 0xFDD394
Specify a 16 byte (32 characters) long AES key here to protect your wireless communication
!!! IMPORTANT: It is highly recommended to change this key before pairing the first device.
!!! IMPORTANT: Never ever lose this key. That would render your devices useless.
To remove the key from your devices, you need to factory reset them using Homegear. The factory
reset on the device is not possible!!!
rfKey = 00112233445566778899AABBCCDDEEFF
Please make yourself familar on how to edit config files. You have to “comment in” the centralAddress to make homegear recognize it - remove the # in front of the line.
ALSO please read the config. Don’t use the example rfKey as this has security liabilities.
This also applies for the communication module:
#######################################
############# HM-CFG-LAN #############
#######################################
The device family this interface is for
#[HM-CFG-LAN]
Specify an unique id here to identify this device in Homegear
#id = My-HM-CFG-LAN
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, homegeargateway
#deviceType = hmcfglan
IP address of your HM-CFG-LAN
#host = 192.168.1.222
Port number your HM-CFG-LAN listens on. Normally 1000.
#port = 1000
Put the AES key printed on your HM-CFG-LAN here
#lanKey = A[...]3
Default: responseDelay = 95
Should be “95” for CUL or COC, “100” for TI CC1101 and “60” for HM-CFG-LAN or HM-LGW
#responseDelay = 60
You have to comment in the corresponding lines. Currently you don’t have any device configured.
Don’t forget to comment in the section (#[HM-CFG-LAN]).
After that, restart homegear with sudo service homegear restart and check the logs afterwards.
---------------------------- HomeMatic BidCoS ----------------------------
___________________________________________________________________________
[General]
moduleEnabled = true
#######################################
########## General Settings ##########
#######################################
[General]
The BidCoS address of Homegear. It is recommended to change this to a random 3 $
value starting with 0xFD (e. g. 0xFD43AB). Only change this, when no HomeMatic $
are paired to Homegear as existing pairings will not work anymore!
centralAddress = 0xFDD394
Specify a 16 byte (32 characters) long AES key here to protect your wireless communication
!!! IMPORTANT: It is highly recommended to change this key before pairing the first device.
!!! IMPORTANT: Never ever lose this key. That would render your devices useless.
To remove the key from your devices, you need to factory reset them using Homegear. The factory
reset on the device is not possible!!!
rfKey =11447788552233669900QWERTYUIOPAS
## With each key change currentRFKeyIndex needs to be
## incremented by 1
currentRfKeyIndex = 1
## When you change rfKey, put the old key here. To change the key Homegear needs to know the
## old and the new one.
## !!! Do not set oldRFKey when you set rfKey for the first time !!!
##oldRfKey = 00112233445566778899AABBCCDDEEFF
## When set to "true" unsigned broadcast packets are processed by Homegear. This could enable an
## attacker to make Homegear do things, you don't want. That means, this option is a security
## risk.
processBroadcastWithAesEnabled = false
...
#######################################
############# HM-CFG-LAN #############
#######################################
## The device family this interface is for
[HM-CFG-LAN]
## Specify an unique id here to identify this device in Homegear
id = L...0
## 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, homegeargateway
deviceType = hmcfglan
## IP address of your HM-CFG-LAN
host = 192.168.1.222
## Port number your HM-CFG-LAN listens on. Normally 1000.
port = 1000
## Put the AES key printed on your HM-CFG-LAN here
lanKey = A...3
## Default: responseDelay = 95
## Should be “95” for CUL or COC, “100” for TI CC1101 and “60” for HM-CFG-LAN or HM-LGW
responseDelay = 60
should be easy enough to solve. If it’s still relevant, could you post a log of the pairing process? (You can also copy the text content here - it’s easier to read than the screenshots.) Also is the rfKey your real one? Only letters from A to F and numbers from 0 to 9 are allowed (those are hexadecimal numbers). There should have been an error message in the log. I fixed that now.