Hallo FHEM Forum,
ich bin dabei mein Haus mit KNX und FHEM zu automatisieren. Das klappt auf meinem Teststand schon ganz gut. Ich bin jetzt auf Homebridge gestoßen, um den waf zu steigern. Bei der mauellen Installation wurden die FHEM Geräte auch durch Homekit erkannt. Ich konnte sie aber nicht schalten. Zurzeit habe ich auf einem frischen Raspberry pi per Homebridge App wieder Homebridge installiert. Die Geräte werden wieder erkannt, aber es passiert nichts. Wenn ich auf dem iphone ein Gerät schalte, passiert am Aktuator nichts. Oder schalte ich ein Gerät erfolgreich in FHEM zeigt Homekit ncht den neuen Zustand an. Was läuft hier falsch? Wahrscheinlich hat das Problem schon jemand anderes gehabt und schon beschrieben, habe es aber noch nicht gefunden. Könnt ihr bitte einen Blick auf meine config.json und fhem.cfg werfen, ob an diesen Stellen etwas falsh läuft?
config.json
{
"accessories" : [
{
"ip" : "192.168.178.1",
"accessory" : "NetworkDevice",
"pingInterval" : "15",
"mac" : "EX:AM:PL:E:PC",
"wakeGraceTime" : "20",
"name" : "Example PC",
"shutdownGraceTime" : "45"
},
{
"name" : "Pi Temp",
"accessory" : "RaspberryPiTemperature"
}
],
"bridge" : {
"username" : "CD:22:3D:E3:CE:61",
"name" : "Homebridge",
"pin" : "031-45-556",
"port" : 51826
},
"platforms" : [
{
"port" : "8083",
"name" : "Test",
"server" : "127.0.0.1",
"platform" : "FHEM"
}
]
}
fhem.cfg
attr global userattr cmdIcon devStateIcon devStateStyle genericDeviceType:switch,outlet,light,blind,speaker,thermostat homebridgeMapping:textField-long icon siriName sortby webCmd webCmdLabel:textField-long widgetOverride
attr global autoload_undefined_devices 1
attr global logfile ./log/fhem-%Y-%m.log
attr global modpath .
attr global motd SecurityCheck:\
WEB is not password protected\
WEBtablet is not password protected\
telnetPort is not password protected\
WEBphone is not password protected\
\
Protect this FHEM installation by defining an allowed device with define allowed allowed\
You can disable this message with attr global motd none
attr global statefile ./log/fhem.save
attr global updateInBackground 1
attr global verbose 3
define telnetPort telnet 7072 global
define WEB FHEMWEB 8083 global
attr WEB editConfig 1
attr WEB stylesheetPrefix default
define WEBphone FHEMWEB 8084 global
attr WEBphone stylesheetPrefix smallscreen
define WEBtablet FHEMWEB 8085 global
attr WEBtablet stylesheetPrefix touchpad
# Fake FileLog entry, to access the fhem log from FHEMWEB
define Logfile FileLog ./log/fhem-%Y-%m.log fakelog
define autocreate autocreate
attr autocreate filelog ./log/%NAME-%Y.log
define eventTypes eventTypes ./log/eventTypes.txt
# Disable this to avoid looking for new USB devices on startup
define initialUsbCheck notify global:INITIALIZED usb create
define KNX TUL knxd:localhost 1.1.101
define Spiegellampe KNX 1/1/6:dpt1
attr Spiegellampe IODev KNX
attr Spiegellampe genericDeviceType switch
attr Spiegellampe group Licht,
attr Spiegellampe icon light_wall_3
attr Spiegellampe room Gäste WC,Homekit
attr Spiegellampe webCmd on:off
define FileLog_KNX_0101006 FileLog ./log/KNX_0101006-%Y.log KNX_0101006
attr FileLog_KNX_0101006 logtype text
attr FileLog_KNX_0101006 room KNX
define Deckenlicht KNX 1/1/5:dpt1
attr Deckenlicht IODev KNX
attr Deckenlicht genericDeviceType light
attr Deckenlicht group Licht
attr Deckenlicht icon light_pendant_light
attr Deckenlicht room Homekit,Gäste WC
attr Deckenlicht webCmd ON:OFF
define FileLog_KNX_0101005 FileLog ./log/KNX_0101005-%Y.log KNX_0101005
attr FileLog_KNX_0101005 logtype text
attr FileLog_KNX_0101005 room KNX
define Deckenlicht_status KNX 2/1/4:MODEL_NOT_DEFINED
attr Deckenlicht_status IODev KNX
attr Deckenlicht_status room KNX
define KNX_0201004 KNX 2/1/4:MODEL_NOT_DEFINED
attr KNX_0201004 IODev KNX
attr KNX_0201004 room KNX
define siri siri
define FileLog_KNX_0201004 FileLog ./log/KNX_0201004-%Y.log KNX_0201004
attr FileLog_KNX_0201004 logtype text
attr FileLog_KNX_0201004 room KNX