thkl / homebridge-homematic

Homematic plugin for homebridge: https://github.com/nfarina/homebridge
180 stars 50 forks source link

Keine neuen Geräte möglich #398

Closed AndreasLehmann closed 5 years ago

AndreasLehmann commented 5 years ago

Ich habe die Homebridge mit Homematic PlugIn laufen und mittlerweile auch 6 Fensterkontakte, einen Außensensor und eine Steckdose am Laufen. (Nachdem ich gelernt habe, dass ich sie der Subsection 'Homekit' hinzufügen muss....) Nun wollte ich weitere Geräte hinzufügen, aber es gelingt mir einfach nicht. Ich habe bereits die ccu.json Cache gelöscht, die Geräte manuell eingetragen, die Bridge komplett neu angelernt. Keine Chance. Weder weitere CUxD Geräte, noch originale Homematic Steckdosen, noch Heizungsthermostate (obwohl ich in der Debug-Ausgabe sehe, dass die Daten beim Plugin ankommen!). Was habe ich vergessen?

Version ist 0.0.109 NPM 4.6.1

Konfig: { "platform": "HomeMatic", "name": "HomeMatic CCU", "ccu_ip": "192.168.10.218", "filter_device":[], "filter_channel":[], "outlets":[], "variables":[], "doors":[], "programs":[], "subsection":"Homekit" }

thkl commented 5 years ago

Eigentlich nicht. Wenn die passenden Kanäle im Homekit Gewerk sind sollten sie übertragen werden. Das ist im Debug hier zu sehen: Initializing platform accessory 'Kanalname' ....

ggf wird das Gerät(der ausgewählte Kanal) nicht unterstützt - There is no service for .....

AndreasLehmann commented 5 years ago

Hier mein Logfile:

[2019-3-10 19:44:05] Loaded config.json with 0 accessories and 1 platforms.
[2019-3-10 19:44:06] ---
[2019-3-10 19:44:07] Loaded plugin: homebridge-homematic
[2019-3-10 19:44:07] Registering platform 'homebridge-homematic.HomeMatic'
[2019-3-10 19:44:07] ---
[2019-3-10 19:44:07] Loading 1 platforms...
[2019-3-10 19:44:07] [HomeMatic CCU] Initializing HomeMatic platform...
[2019-3-10 19:44:07] [HomeMatic CCU] Homematic Plugin Version 0.0.109
[2019-3-10 19:44:07] [HomeMatic CCU] Plugin by thkl  https://github.com/thkl
[2019-3-10 19:44:07] [HomeMatic CCU] Homematic is a registered trademark of the EQ-3 AG
[2019-3-10 19:44:07] [HomeMatic CCU] Please report any issues to https://github.com/thkl/homebridge-homematic/issues
[2019-3-10 19:44:07] [HomeMatic CCU] running in production mode
[2019-3-10 19:44:07] [HomeMatic CCU] will connect to your ccu at 192.168.xx.yy
[2019-3-10 19:44:07] [HomeMatic CCU] using xmprpc for communication with BidCos-RF
[2019-3-10 19:44:07] [HomeMatic CCU] init RPC for BidCos-RF.
[2019-3-10 19:44:07] [HomeMatic CCU] local ip used : 192.168.xx.yy. you may change that with local_ip parameter in config
[2019-3-10 19:44:07] [HomeMatic CCU] Fetching Homematic devices...
[2019-3-10 19:44:07] [HomeMatic CCU] Local cache is set to /home/xxx/.homebridge/ccu.json
[2019-3-10 19:44:07] Loading 0 accessories...
[2019-3-10 19:44:07] [HomeMatic CCU] RPC server for interface BidCos-RF. is listening on port 9090.
[2019-3-10 19:44:07] [HomeMatic CCU] Creating Local HTTP Client for CCU RPC Events
[2019-3-10 19:44:07] [HomeMatic CCU] CCU RPC Init Call on port 2001 for interface BidCos-RF.
[2019-3-10 19:44:07] [HomeMatic CCU] if PONG is PONG CCU is alive
[2019-3-10 19:44:07] [HomeMatic CCU] Method call params for 'system.listMethods': ["homebridge_BidCos-RF."]
[2019-3-10 19:44:07] [HomeMatic CCU] rpc <- listDevices on BidCos-RF. - Zero Reply
[2019-3-10 19:44:07] [HomeMatic CCU] rpc <- system.multicall on BidCos-RF.
[2019-3-10 19:44:07] [HomeMatic CCU] RPC event for BidCos-RF.NEQ1729765:0 UNREACH with value true
[2019-3-10 19:44:07] [HomeMatic CCU] RPC event for BidCos-RF.OEQ0653785:0 STICKY_UNREACH with value true
[2019-3-10 19:44:07] [HomeMatic CCU] RPC event for BidCos-RF.OEQ0653785:0 UNREACH with value true
[2019-3-10 19:44:07] [HomeMatic CCU] CCU Response for init at BidCos-RF. with http://192.168.xx.yy:9090...Value ("") Error : (null)
[2019-3-10 19:44:08] [HomeMatic CCU] rpc <- newDevices on BidCos-RF. nobody is interested in newdevices ...
[2019-3-10 19:44:08] [HomeMatic CCU] CCU response on device query are 48618 bytes
[2019-3-10 19:44:08] [HomeMatic CCU] Load BuildIn Service Class HomeMaticHomeKitThermostatWeatherService
[2019-3-10 19:44:08] [HomeMatic CCU] service for HM-WDS10-TH-O:WEATHER is HomeMaticHomeKitThermostatWeatherService
[2019-3-10 19:44:08] [HomeMatic CCU] Check config for HM-WDS10-TH-O:WEATHER
[2019-3-10 19:44:08] [HomeMatic CCU] Adding Log Service for AußensensorNode 1
[2019-3-10 19:44:08] [HomeMatic CCU] ** Fakegato-storage AddWriter : AußensensorNode 1
[2019-3-10 19:44:08] [HomeMatic CCU] {"storage":"fs","path":"/home/ladmin/.homebridge/ccu.json","adress":"CUxD.CUX9002019:1","keyPath":"/home/ladmin/.homebridge"}
[2019-3-10 19:44:08] [HomeMatic CCU] Loading...
[2019-3-10 19:44:08] [HomeMatic CCU] ** Fakegato-storage read FS file: /home/ladmin/.homebridge/ccu.json/odroid01_CUxD.CUX9002019:1_persist.json
[2019-3-10 19:44:08] [HomeMatic CCU] Registring Events AußensensorNode 1
[2019-3-10 19:44:08] [HomeMatic CCU] Accessory AußensensorNode 1
[2019-3-10 19:44:08] [HomeMatic CCU] Load BuildIn Service Class HomeMaticHomeKitSwitchService
[2019-3-10 19:44:08] [HomeMatic CCU] service for HM-LC-Sw1-FM:SWITCH is HomeMaticHomeKitSwitchService
[2019-3-10 19:44:08] [HomeMatic CCU] Check config for HM-LC-Sw1-FM:SWITCH
[2019-3-10 19:44:08] [HomeMatic CCU] Load BuildIn Service Class HomeMaticHomeKitContactService
[2019-3-10 19:44:08] [HomeMatic CCU] service for HM-Sec-SCo:SHUTTER_CONTACT is HomeMaticHomeKitContactService
[2019-3-10 19:44:08] [HomeMatic CCU] Check config for HM-Sec-SCo:SHUTTER_CONTACT
[2019-3-10 19:44:08] [HomeMatic CCU] RPC getValue Call for MEQ0815488:1 STATE
[2019-3-10 19:44:08] [HomeMatic CCU] Load BuildIn Service Class HomeMaticHomeKitContactService
[2019-3-10 19:44:08] [HomeMatic CCU] service for HM-Sec-SCo:SHUTTER_CONTACT is HomeMaticHomeKitContactService
[2019-3-10 19:44:08] [HomeMatic CCU] Check config for HM-Sec-SCo:SHUTTER_CONTACT
[2019-3-10 19:44:08] [HomeMatic CCU] RPC getValue Call for LEQ1178237:1 STATE
[2019-3-10 19:44:08] [HomeMatic CCU] Load BuildIn Service Class HomeMaticHomeKitContactService
[2019-3-10 19:44:08] [HomeMatic CCU] service for HM-Sec-SCo:SHUTTER_CONTACT is HomeMaticHomeKitContactService
[2019-3-10 19:44:08] [HomeMatic CCU] Check config for HM-Sec-SCo:SHUTTER_CONTACT
[2019-3-10 19:44:08] [HomeMatic CCU] RPC getValue Call for LEQ1468532:1 STATE
[2019-3-10 19:44:08] [HomeMatic CCU] Load BuildIn Service Class HomeMaticHomeKitContactService
[2019-3-10 19:44:08] [HomeMatic CCU] service for HM-Sec-SCo:SHUTTER_CONTACT is HomeMaticHomeKitContactService
[2019-3-10 19:44:08] [HomeMatic CCU] Check config for HM-Sec-SCo:SHUTTER_CONTACT
[2019-3-10 19:44:08] [HomeMatic CCU] RPC getValue Call for LEQ1177955:1 STATE
[2019-3-10 19:44:08] [HomeMatic CCU] Load BuildIn Service Class HomeMaticHomeKitContactService
[2019-3-10 19:44:08] [HomeMatic CCU] service for HM-Sec-SCo:SHUTTER_CONTACT is HomeMaticHomeKitContactService
[2019-3-10 19:44:08] [HomeMatic CCU] Check config for HM-Sec-SCo:SHUTTER_CONTACT
[2019-3-10 19:44:08] [HomeMatic CCU] RPC getValue Call for LEQ1178190:1 STATE
[2019-3-10 19:44:08] [HomeMatic CCU] There is no service for VIR-LG-WHITE-DIM:VIR-LG-WHITE-DIM-CH
[2019-3-10 19:44:08] [HomeMatic CCU] There is no service for VIR-LG-WHITE-DIM:VIP-MAINTENANCE
[2019-3-10 19:44:08] [HomeMatic CCU] There is no service for VIR-LG-WHITE-DIM:VIR-LG-WHITE-DIM-CH
[2019-3-10 19:44:08] [HomeMatic CCU] Programs :
[2019-3-10 19:44:08] [HomeMatic CCU] Number of mapped devices : 7
[2019-3-10 19:44:08] [HomeMatic CCU] Initializing platform accessory 'AußensensorNode 1'...
[2019-3-10 19:44:08] [HomeMatic CCU] Initializing platform accessory 'Büro 2erLicht 1'...
[2019-3-10 19:44:08] [HomeMatic CCU] Initializing platform accessory 'Kontakt Bürotür 1'...
[2019-3-10 19:44:08] [HomeMatic CCU] Initializing platform accessory 'Kontakt Haustür 1'...
[2019-3-10 19:44:08] [HomeMatic CCU] Initializing platform accessory 'Kontakt Küche N 1'...
[2019-3-10 19:44:08] [HomeMatic CCU] Initializing platform accessory 'Kontakt Küche O 1'...
[2019-3-10 19:44:08] [HomeMatic CCU] Initializing platform accessory 'Kontakt Wohnzimmertür 1'...
Setup Payload:
X-HM://0023ISYWZM8IK
Scan this code with your HomeKit app on your iOS device to pair with Homebridge:

Or enter this code with your HomeKit app on your iOS device to pair with Homebridge:
xxxx
[2019-3-10 19:44:08] Homebridge is running on port 51826.
[2019-3-10 19:44:08] [HomeMatic CCU] will cache ccu response to /home/ladmin/.homebridge/ccu.json
[2019-3-10 19:44:08] [HomeMatic CCU] RPC getValue (MEQ0815488:1 STATE) Response false Errors: null
[2019-3-10 19:44:08] [HomeMatic CCU] RPC getValue (LEQ1178190:1 STATE) Response false Errors: null
[2019-3-10 19:44:08] [HomeMatic CCU] RPC getValue (LEQ1178237:1 STATE) Response false Errors: null
[2019-3-10 19:44:08] [HomeMatic CCU] RPC getValue (LEQ1468532:1 STATE) Response false Errors: null
[2019-3-10 19:44:08] [HomeMatic CCU] RPC getValue (LEQ1177955:1 STATE) Response false Errors: null
[2019-3-10 19:44:08] [HomeMatic CCU] First entry AußensensorNode 1: 0
[2019-3-10 19:44:08] [HomeMatic CCU] Last entry AußensensorNode 1: 2
[2019-3-10 19:44:08] [HomeMatic CCU] Used memory AußensensorNode 1: 2
[2019-3-10 19:44:08] [HomeMatic CCU] 116 AußensensorNode 1: 00000000000000007892352203 0102 0202 03020300c00f00000000000000000101
[2019-3-10 19:44:09] [HomeMatic CCU] ** Fakegato-storage write FS file: /home/ladmin/.homebridge/ccu.json/odroid01_CUxD.CUX9002019:1_persist.json "firstEntry":0,"lastEntry":2,"usedMemory":2,"refTime":573936248,"initialTime":15
[2019-3-10 19:44:13] [HomeMatic CCU] NPM 0.0.109 vs Local 0.0.109
[2019-3-10 19:44:51] [HomeMatic CCU] rpc <- system.multicall on BidCos-RF.
[2019-3-10 19:44:51] [HomeMatic CCU] RPC event for BidCos-RF.MEQ1584255:4 CONTROL_MODE with value 0
[2019-3-10 19:44:52] [HomeMatic CCU] rpc <- system.multicall on BidCos-RF.
[2019-3-10 19:44:52] [HomeMatic CCU] RPC event for BidCos-RF.MEQ1584255:4 FAULT_REPORTING with value 0
[2019-3-10 19:44:52] [HomeMatic CCU] RPC event for BidCos-RF.MEQ1584255:4 BATTERY_STATE with value 2.4
[2019-3-10 19:44:52] [HomeMatic CCU] RPC event for BidCos-RF.MEQ1584255:4 VALVE_STATE with value 0
[2019-3-10 19:44:52] [HomeMatic CCU] RPC event for BidCos-RF.MEQ1584255:4 BOOST_STATE with value 0
[2019-3-10 19:44:52] [HomeMatic CCU] RPC event for BidCos-RF.MEQ1584255:4 ACTUAL_TEMPERATURE with value 20.9
[2019-3-10 19:44:52] [HomeMatic CCU] RPC event for BidCos-RF.MEQ1584255:4 SET_TEMPERATURE with value 18
[2019-3-10 19:44:52] [HomeMatic CCU] RPC event for BidCos-RF.MEQ1584255:4 PARTY_TEMPERATURE with value 5
[2019-3-10 19:44:52] [HomeMatic CCU] RPC event for BidCos-RF.MEQ1584255:4 PARTY_START_TIME with value 0
[2019-3-10 19:44:52] [HomeMatic CCU] RPC event for BidCos-RF.MEQ1584255:4 PARTY_START_DAY with value 1
[2019-3-10 19:44:52] [HomeMatic CCU] RPC event for BidCos-RF.MEQ1584255:4 PARTY_START_MONTH with value 1
[2019-3-10 19:44:52] [HomeMatic CCU] RPC event for BidCos-RF.MEQ1584255:4 PARTY_START_YEAR with value 0
[2019-3-10 19:44:52] [HomeMatic CCU] RPC event for BidCos-RF.MEQ1584255:4 PARTY_STOP_TIME with value 0
[2019-3-10 19:44:52] [HomeMatic CCU] RPC event for BidCos-RF.MEQ1584255:4 PARTY_STOP_DAY with value 1
[2019-3-10 19:44:52] [HomeMatic CCU] RPC event for BidCos-RF.MEQ1584255:4 PARTY_STOP_MONTH with value 1
[2019-3-10 19:44:52] [HomeMatic CCU] RPC event for BidCos-RF.MEQ1584255:4 PARTY_STOP_YEAR with value 0
[2019-3-10 19:44:53] [HomeMatic CCU] rpc <- system.multicall on BidCos-RF.
[2019-3-10 19:44:53] [HomeMatic CCU] RPC event for BidCos-RF.NEQ1493788:4 CONTROL_MODE with value 0
[2019-3-10 19:44:53] [HomeMatic CCU] rpc <- system.multicall on BidCos-RF.
[2019-3-10 19:44:53] [HomeMatic CCU] RPC event for BidCos-RF.NEQ1493788:4 FAULT_REPORTING with value 0
AndreasLehmann commented 5 years ago

Das hier sieht komisch aus:

[2019-3-10 19:44:07] [HomeMatic CCU] CCU Response for init at BidCos-RF. with http://192.168.xx.yy:9090...Value ("") Error : (null) [2019-3-10 19:44:08] [HomeMatic CCU] rpc <- newDevices on BidCos-RF. nobody is interested in newdevices ...

thkl commented 5 years ago

nö komisch ist das nicht ... es wird nur newDevices der Schnittstelle ignoriert, weil zur Laufzeit der HB eh keine neuen Geräte hinzugefügt werden können.

Laut Log sollte die HB 1 Thermostat , 5 Kontakte und 1 Switch (also Schaltaktor) haben. Die VIR-LG-WHITE-DIM werden mangels Serviceklasses ignoriert.

Diese werdenunter den Namen 'AußensensorNode 1', 'Büro 2erLicht 1','Kontakt Bürotür 1', 'Kontakt Haustür 1', 'Kontakt Küche N 1', 'Kontakt Küche O 1', 'Kontakt Wohnzimmertür 1 an HomeKit geliefert.

Ggf mal in der HomeApp schauen wenn Du die Bridge auswählst, dann zeigt er alle dahinter hängenden Geräte.

AndreasLehmann commented 5 years ago

Ok, ich habe jetzt noch eimal alles frisch installiert. Jetzt ist auch die Heizungssteuerung sichtbar (die Kontakte für die Fenster konnte ich schon vorher sehen )!

Das mit den Virtual Devices habe ich erwartet. Es sind die Philips Hue Lampen, die über das Homematic-Plugin eingebunden sind. Ich werde hier mal das separate homebridge-hue Plugin ausprobieren.

Vielen Dank für die schnelle Hilfe und übrigens die Homebridge ist eine super Leistung!

thkl commented 5 years ago

Prima.
Ja die Hue Lampen sollten über ihr eigenes Plugin gesteuert werden. Das macht mehr Sinn als das durch 3 Systeme zu schleifen.

AndreasLehmann commented 5 years ago

Danke. Klappt hervorragend! (bis auf den Status, der in der CCU nicht aktualisiert wird - ist aber verschmerzbar ).

Gruß Andreas

Am 10.03.2019 um 21:10 schrieb Thomas Kluge notifications@github.com:

Prima. Ja die Hue Lampen sollten über ihr eigenes Plugin gesteuert werden. Das macht mehr Sinn als das durch 3 Systeme zu schleifen.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/thkl/homebridge-homematic/issues/398#issuecomment-471339616, or mute the thread https://github.com/notifications/unsubscribe-auth/AF_VSSAXWHYkdRs0uYAmt58cVBNmgYnjks5vVWacgaJpZM4bkFzP.