RPi2 - Homebridge : Siri for the rest of us

diverse Zusatzsoftware

Moderator: Co-Administratoren

svonbentzel
Beiträge: 61
Registriert: 01.05.2016, 11:57

Re: RPi2 - Homebridge : Siri for the rest of us

Beitrag von svonbentzel » 01.08.2017, 19:46

Hallo Cash

Es funktioniert mit einem oder 30 Geräten gleich

Ein paar Stunden / Minuten alles ok

Dann steigt das System aus

Hab nun zwei Homebridges im Einsatz

Um auch die Bridge Hardware auszuschließen

Bei beiden das gleiche

Einmal raspi und einmal Mac mini


Gesendet von iPhone mit Tapatalk

matze-pe
Beiträge: 757
Registriert: 11.02.2013, 08:38
Hat sich bedankt: 1 Mal
Danksagung erhalten: 1 Mal

Re: RPi2 - Homebridge : Siri for the rest of us

Beitrag von matze-pe » 20.08.2017, 12:51

Hi,
ich habe einen Jalousie/Rolladen Aktor (Bausatz) bei mir gestern verbaut, und der wird von Homebridge nicht eingelesen, in dem Gewerk "HomeKit" ist es aufgenommen:

Die Nummer lautet: HM-LC-Ja1PBU-FM
Der Anzeigename ist: Jalousie Emily

Dann habe ich eine weitere Frage, kann man einen Rolladenaktor sagen, dass er kein Rolladen ist? Ich habe ein Rolladen Aktor für die Markise verbaut. Und wenn ich morgens sage "Öffne alle Rolladen", dann fährt auch die Markise raus :lol:
Ich habe sie jetzt erstmal aus dem Gewerk "HomeKit" genommen.

Code: Alles auswählen

[2017-08-20 12:31:31] Loaded plugin: homebridge-homematic
[2017-08-20 12:31:32] Registering platform 'homebridge-homematic.HomeMatic'
[2017-08-20 12:31:32] ---
[2017-08-20 12:31:35] Loaded plugin: homebridge-http
[2017-08-20 12:31:35] Registering accessory 'homebridge-http.Http'
[2017-08-20 12:31:35] ---
[2017-08-20 12:31:35] Loaded config.json with 2 accessories and 1 platforms.
[2017-08-20 12:31:35] ---
[2017-08-20 12:31:35] Loading 1 platforms...
[2017-08-20 12:31:35] [HomeMatic CCU] Initializing HomeMatic platform...
[2017-08-20 12:31:35] [HomeMatic CCU] Homematic Plugin Version 0.0.76
[2017-08-20 12:31:35] [HomeMatic CCU] Plugin by thkl  https://github.com/thkl
[2017-08-20 12:31:35] [HomeMatic CCU] Homematic is a registered trademark of the EQ-3 AG
[2017-08-20 12:31:35] [HomeMatic CCU] Please report any issues to https://github.com/thkl/homebridge-homematic/issues
[2017-08-20 12:31:35] [HomeMatic CCU] will connect to your ccu at 192.168.1.11
[2017-08-20 12:31:35] [HomeMatic CCU] using binrpc for communication with BidCos-RF
[2017-08-20 12:31:35] [HomeMatic CCU] init RPC for BidCos-RF.
[2017-08-20 12:31:35] [HomeMatic CCU] init RPC for BidCos-Wired.
[2017-08-20 12:31:35] [HomeMatic CCU] Fetching Homematic devices...
[2017-08-20 12:31:35] Loading 2 accessories...
[2017-08-20 12:31:35] [Reinigung unten] Initializing Http accessory...
[2017-08-20 12:31:35] [Reinigung oben] Initializing Http accessory...
[2017-08-20 12:31:35] [HomeMatic CCU] RPC server for interface BidCos-RF. is listening on port 9090.
[2017-08-20 12:31:35] [HomeMatic CCU] Creating Local HTTP Client for CCU RPC Events
[2017-08-20 12:31:35] [HomeMatic CCU] RPC server for interface BidCos-Wired. is listening on port 9091.
[2017-08-20 12:31:35] [HomeMatic CCU] Creating Local HTTP Client for CCU RPC Events
[2017-08-20 12:31:35] [HomeMatic CCU] if PONG is PONG CCU is alive
[2017-08-20 12:31:44] [HomeMatic CCU] Fetch Response
[2017-08-20 12:31:44] [HomeMatic CCU] set Flurbeleuchtung 2 to read only
[2017-08-20 12:31:44] [HomeMatic CCU] set Flurbeleuchtung 3 to read only
[2017-08-20 12:31:45] [HomeMatic CCU] set Jalousie WoZi links to read only
[2017-08-20 12:31:45] [HomeMatic CCU] set Jalousie WoZi rechts to read only
[2017-08-20 12:31:45] [HomeMatic CCU] set Waschmaschine 2 to read only
[2017-08-20 12:31:45] [HomeMatic CCU] Program Beregnungsteuerung - kurz added as SWITCH cause of IOS 10
[2017-08-20 12:31:45] [HomeMatic CCU] Program Beregnungsteuerung - lang added as SWITCH cause of IOS 10
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Garten Licht vorne'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Hofbeleuchtung'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Kochfeld Licht'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'indirekte Beleuchtung Küche'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Beregnung vorne'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Beregnung Seite'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Beregnung hinten'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Garten Licht hinten'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Bewegungsmelder Flur'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Bewegungsmelder Hof'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Bewegungsmelder Küche'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Fenster Bad links'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Fenster Bad rechts'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Fenster Büro'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Fenster Emily'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Fenster Flur'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Fenster Gäste WC'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Fenster Gästezimmer'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Fenster HWR'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Fenster Küche links'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Fenster Küche rechts'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Fenster Schlafzimmer'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Fenster WoZi links'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Fenster Wozi rechts'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Flurbeleuchtung'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Flurbeleuchtung 2'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Flurbeleuchtung 3'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Funksteckdose Dimmer'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Funksteckdose Steinwand'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Funksteckdose Treppe'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Garagentor'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Haustür'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Haustürbeleuchtung'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Haustürbeleuchtung 2'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Haustürbeleuchtung 3'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Heizung Bad'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Heizung Flur'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Heizung Gäste WC'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Heizung Küche'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Heizung Windfang'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Heizung WoZi'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Jalousie Gäste WC'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Jalousie Küche'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Jalousie Schlafzimmer'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Jalousie WoZi links'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Jalousie WoZi rechts'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Kellertür'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'LED Deckenbeleuchtung'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Rasenmäher 1'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Rasenmäher 2'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Terrassentür Drehgriff'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'TV Schlafzimmer'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'TV Wohnzimmer 1'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'TV Wohnzimmer 2'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'TV Licht unten'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Waschmaschine 1'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Waschmaschine 2'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Windfang Licht'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Beregnungsteuerung   kurz'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Beregnungsteuerung   lang'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Alarmanlage'...
[2017-08-20 12:31:45] [HomeMatic CCU] Initializing platform accessory 'Fenster offen'...
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
                       
    ┌────────────┐     
    │ 031-45-154 │     
    └────────────┘     
                       
[2017-08-20 12:31:46] [HomeMatic CCU] Number of mapped devices : 62
[2017-08-20 12:31:46] Homebridge is running on port 51826.
[2017-08-20 12:31:46] [HomeMatic CCU] NPM 0.0.76 vs Local 0.0.76
[2017-08-20 12:31:46] [HomeMatic CCU] will cache ccu response ...
Zum HM-LC-Ja1PBU-FM Aktor, an welche Stelle muss ich die Nummer aufnehmen, damit es als Rolladen erkannt wird?


Viele Grüße
Matthias
CCU3 (80 Geräte, 105 Variablen, 50 Programme) * CCU.IO + DashUI + Apple HomeKit (Homebridge) auf Raspi2

dtp
Beiträge: 10658
Registriert: 21.09.2012, 08:09
System: CCU
Wohnort: Stuttgart
Hat sich bedankt: 320 Mal
Danksagung erhalten: 501 Mal

Re: RPi2 - Homebridge : Siri for the rest of us

Beitrag von dtp » 20.08.2017, 13:39

matze-pe hat geschrieben: Die Nummer lautet: HM-LC-Ja1PBU-FM
Versuch's mal damit: Klick!
CCU3 mit stets aktueller FW und den Addons "CUxD" und "Programmedrucken", ioBroker auf Synology DiskStation DS718+ im Docker-Container;
einige Projekte: zentrales Push-Nachrichten-Programm zPNP, DoorPi-Videotürsprechanlage, An- und Abwesenheitsdetektion per Haustürschloss, zentrales Programm zur Steuerung von Beschattungsgeräten zBSP.

matze-pe
Beiträge: 757
Registriert: 11.02.2013, 08:38
Hat sich bedankt: 1 Mal
Danksagung erhalten: 1 Mal

Re: RPi2 - Homebridge : Siri for the rest of us

Beitrag von matze-pe » 20.08.2017, 17:47

dtp hat geschrieben:
matze-pe hat geschrieben: Die Nummer lautet: HM-LC-Ja1PBU-FM
Versuch's mal damit: Klick!
Danke für den Link, wenn ich die Zeile mit in der config.json mit aufnehme und homebridge neue starte, werden keine Geräte mehr eingelesen

config.json erweitert:

Code: Alles auswählen

"services": [ "type":"HM-LC-Ja1PBU-FM:JALOUSIE", "service": "HomeMaticHomeKitBlindService" ]
mehr wird nicht geladen:

Code: Alles auswählen

[2017-08-20 17:42:56] Loaded plugin: homebridge-homematic
[2017-08-20 17:42:57] Registering platform 'homebridge-homematic.HomeMatic'
[2017-08-20 17:42:57] ---
[2017-08-20 17:42:59] Loaded plugin: homebridge-http
[2017-08-20 17:42:59] Registering accessory 'homebridge-http.Http'
[2017-08-20 17:42:59] ---

Gruß
Matthias
CCU3 (80 Geräte, 105 Variablen, 50 Programme) * CCU.IO + DashUI + Apple HomeKit (Homebridge) auf Raspi2

dtp
Beiträge: 10658
Registriert: 21.09.2012, 08:09
System: CCU
Wohnort: Stuttgart
Hat sich bedankt: 320 Mal
Danksagung erhalten: 501 Mal

Re: RPi2 - Homebridge : Siri for the rest of us

Beitrag von dtp » 21.08.2017, 10:33

Hallo Matthias,

hast Du es so gemacht, wie hier? Damit hat zumindest bei mir die Verknüpfung eines Services mit einem bisher nicht registrierten Gerät geklappt.

Immer auch daran denken, dass am Ende ggf. noch ein Komma folgen oder weggelassen werden muss. Ein Kommafehler führt sofort zum Ausstieg aus der config.json.

Gruß,

Thorsten
CCU3 mit stets aktueller FW und den Addons "CUxD" und "Programmedrucken", ioBroker auf Synology DiskStation DS718+ im Docker-Container;
einige Projekte: zentrales Push-Nachrichten-Programm zPNP, DoorPi-Videotürsprechanlage, An- und Abwesenheitsdetektion per Haustürschloss, zentrales Programm zur Steuerung von Beschattungsgeräten zBSP.

matze-pe
Beiträge: 757
Registriert: 11.02.2013, 08:38
Hat sich bedankt: 1 Mal
Danksagung erhalten: 1 Mal

Re: RPi2 - Homebridge : Siri for the rest of us

Beitrag von matze-pe » 21.08.2017, 10:40

Hallo Torsten,
danke jetzt hat es geklappt, hatte die gescheifte Klammer beim letzten Mal vergessen :roll:


Danke


Gruß
Matthias
CCU3 (80 Geräte, 105 Variablen, 50 Programme) * CCU.IO + DashUI + Apple HomeKit (Homebridge) auf Raspi2

lklages
Beiträge: 36
Registriert: 16.02.2017, 08:03

Re: RPi2 - Homebridge : Siri for the rest of us

Beitrag von lklages » 21.08.2017, 23:11

Ich bin kurz vorm Verzweifeln.
Das Script von der ersten Seite läuft ohne Problem durch. Ich findie die Homebridge auch und kann mich auch verbinden. Doch sobald mein IPhone versucht die Datn zu Aktualisieren stürzt die HB mi folgenden fehler ab.

Code: Alles auswählen

Error: This callback function has already been called by someone else; it can only be called one time.
    at /usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/once.js:12:13
    at /usr/lib/node_modules/homebridge-homematic/ChannelServices/HomeMaticHomeKitSwitchService.js:87:23
    at /usr/lib/node_modules/homebridge-homematic/ChannelServices/HomeKitGenericService.js:105:32
    at /usr/lib/node_modules/homebridge-homematic/ChannelServices/HomeKitGenericService.js:215:9
    at /usr/lib/node_modules/homebridge-homematic/HomeMaticRPC.js:212:9
    at Object.callback (/usr/lib/node_modules/homebridge-homematic/node_modules/binrpc/lib/client.js:173:25)
    at /usr/lib/node_modules/homebridge-homematic/node_modules/binrpc/lib/client.js:149:29
    at _combinedTickCallback (internal/process/next_tick.js:77:11)
    at process._tickCallback (internal/process/next_tick.js:104:9)
Leider hab ich nicht brauchbares bisher gefunden wie ich den fehler beheben kann.

lklages
Beiträge: 36
Registriert: 16.02.2017, 08:03

Re: RPi2 - Homebridge : Siri for the rest of us

Beitrag von lklages » 21.08.2017, 23:52

Nach vielen vielen vielen test habe ich den schuldigen gefunden. Undzwar habe ich einen 2-Kanal Aktor im Betrieb (HM--Sw2-FM). Sobald ich den in das Entsprechende Gewerk rein mache Stürzt die HB ab. Komisch ist nur das es ne ganze weile mit dem Teil funktioniert hat.

Stebo
Beiträge: 5
Registriert: 22.08.2017, 18:31

Re: RPi2 - Homebridge : Siri for the rest of us

Beitrag von Stebo » 22.08.2017, 18:43

Ich habe gerade angefangen mein Haus mit Homematic aufzurüsten und habe im Moment zwei Rolladenaktoren HmIP-BROLL hier. Betrieben wird das ganze auf Rasperymatic. Leider habe ich bisher keine eindeutige Aussage gefunden, ob ich Homematic IP Geräte über die Homebridge mit Apple HomeKit verbinden kann. Kann mir dazu jemand etwas sagen?

dtp
Beiträge: 10658
Registriert: 21.09.2012, 08:09
System: CCU
Wohnort: Stuttgart
Hat sich bedankt: 320 Mal
Danksagung erhalten: 501 Mal

Re: RPi2 - Homebridge : Siri for the rest of us

Beitrag von dtp » 23.08.2017, 12:41

Stebo hat geschrieben:Leider habe ich bisher keine eindeutige Aussage gefunden, ob ich Homematic IP Geräte über die Homebridge mit Apple HomeKit verbinden kann. Kann mir dazu jemand etwas sagen?
Steht das nicht im allerersten Posting dieses Threads?
CCU3 mit stets aktueller FW und den Addons "CUxD" und "Programmedrucken", ioBroker auf Synology DiskStation DS718+ im Docker-Container;
einige Projekte: zentrales Push-Nachrichten-Programm zPNP, DoorPi-Videotürsprechanlage, An- und Abwesenheitsdetektion per Haustürschloss, zentrales Programm zur Steuerung von Beschattungsgeräten zBSP.

Antworten

Zurück zu „Sonstige Addons“