Ich habe folgendes verwendet für die Installation:
FHEM-Installation siehe --> https://debian.fhem.de/
Homebridge-Installation siehe --> https://github.com/homebridge/homebridge/wiki/Install-Homebridge-on-Raspbian
------------------------
Für die Installation der Homebridge auf dem Raspi siehe auch:
Install Homebridge on Debian or Ubuntu Linux · homebridge/homebridge Wiki · GitHub
Homebridge einrichten – FHEMWiki
Die Einbindung einer CCU bzw. des FHEM in eine Homebridge erfolgt mittels folgender config.json-Datei:
{
"bridge": {
"name": "Homebridge D6B0",
"username": "0E:BC:13:EE:D6:B0",
"port": 51484,
"pin": "581-48-xxx",
"advertiser": "avahi"
},
"platforms": [
{
"name": "Config",
"port": 8581,
"auth": "none",
"theme": "dark-mode",
"tempUnits": "c",
"lang": "auto",
"platform": "config"
},
{
"name": "FHEM",
"server": "127.0.0.1",
"port": 8083,
"filter": "room=Homekit",
"ssl": false,
"neverTimeout": true,
"platform": "FHEM"
},
{
"name": "HomeMatic CCU2",
"ccu_ip": "192.168.2.40",
"subsection": "Siri",
"enable_hmip": true,
"enable_wired": true,
"ios10": true,
"platform": "HomeMatic"
}
],
"accessories": [
{
"accessory": "mqttthing"
},
{
"type": "switch",
"name": "eg_r1_wz",
"url": "http://xxx.php-friends.de:1883",
"username": "xxx",
"password": "xxx",
"logMqtt": true,
"topics": {
"getOn": "oxolon/d_s_o/DE_LA_GS18/eg_r1_wz",
"setOn": "oxolon/d_s_o/DE_LA_GS18/eg_r1_wz"
},
"integerValue": true,
"onValue": "1",
"offValue": "0",
"accessory": "mqttthing"
},
{
"type": "switch",
"name": "eg_r2_wz",
"url": "http://xxx.php-friends.de:1883",
"username": "xxx",
"password": "xxx",
"logMqtt": true,
"topics": {
"getOn": "oxolon/d_s_o/DE_LA_GS18/eg_r2_wz",
"setOn": "oxolon/d_s_o/DE_LA_GS18/eg_r2_wz"
},
"integerValue": true,
"onValue": "1",
"offValue": "0",
"accessory": "mqttthing"
}
]
}