RPi2 - Homebridge : Siri for the rest of us

diverse Zusatzsoftware

Moderator: Co-Administratoren

Benutzeravatar
Blackeye
Beiträge: 547
Registriert: 15.08.2015, 16:33
Hat sich bedankt: 2 Mal

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

Beitrag von Blackeye » 14.09.2016, 15:52

Hi,

in der Anleitung steht da auch Variablen mitgegeben werden können. In der Config fehlt der Eintrag variables aber.
Ist das ein Relikt oder kann der Punkt einfach ergänzt werden?

Danke

Lars

macintosh
Beiträge: 67
Registriert: 05.03.2014, 09:07

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

Beitrag von macintosh » 14.09.2016, 16:10

Blackeye hat geschrieben:Hi,

in der Anleitung steht da auch Variablen mitgegeben werden können. In der Config fehlt der Eintrag variables aber.
Ist das ein Relikt oder kann der Punkt einfach ergänzt werden?

Danke

Lars
Kann man nachtragen, wenn man die Variablen der CCU verarbeiten möchte.
Habe das mal getestet mit meiner Garagentor Automatik.
Hat prima funktioniert.


Gesendet von iPhone mit Tapatalk

Günni
Beiträge: 231
Registriert: 03.10.2013, 00:20
Wohnort: Nordstemmen
Danksagung erhalten: 1 Mal

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

Beitrag von Günni » 14.09.2016, 18:35

Hallo thkl,
ich habe jetzt einen neuen Raspberry 3B bekommen und die Homebridge installation hat sofort geklappt.
Aber leider werden meine Wired Geräte nicht angezeigt. Wie schreibe ich das genau in die config.json?

Code: Alles auswählen

{"bridge": {"name": "Homebridge", "username": "CC:22:3D:E3:CE:30","port": 51826,"pin": "031-45-154"},
"description": "This is an autogenerated config. only the homematic platform is enabled. see the sample for more",
"platforms": [
{"platform": "HomeMatic","name": "HomeMatic CCU","ccu_ip": "192.168.2.103",
"subsection":"Siri","enable_wired":"true",
"filter_device":[],"filter_channel":[],"outlets":[]}
],"accessories": []}
fehlt villeicht eine klammer?
Gruß Günni

Benutzeravatar
Blackeye
Beiträge: 547
Registriert: 15.08.2015, 16:33
Hat sich bedankt: 2 Mal

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

Beitrag von Blackeye » 14.09.2016, 18:55

Hi,

Ich habe jetzt mal eine Variable eingebaut, klappt aber nicht.

Code: Alles auswählen

{
	"bridge": {
		"name": "Homebridge",
		"username": "CC:22:3D:E3:CE:30",
		"port": 51826,
		"pin": "031-45-154"
	},
	"description": "This is an autogenerated config. only the homematic platform is enabled. see the sample for more",
	"platforms": [{
		"platform": "HomeMatic",
		"name": "HomeMatic CCU",
		"ccu_ip": "192.168.188.32",
		"subsection": "HomeKit",
		"filter_device": [],
		"filter_channel": [],
		"outlets": []
	}],
	"accessories": [],
	"variables": "Alarm"
}

macintosh
Beiträge: 67
Registriert: 05.03.2014, 09:07

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

Beitrag von macintosh » 15.09.2016, 09:04

Der Eintrag ist so nicht richtig.

Versuche mal:
"subsection": "Siri",
"variables": ["Licht Büro"]
}],
"accessories": []
}

Günni
Beiträge: 231
Registriert: 03.10.2013, 00:20
Wohnort: Nordstemmen
Danksagung erhalten: 1 Mal

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

Beitrag von Günni » 15.09.2016, 15:26

Hallo,
kann man die Variable "z.B Haustür"mit Siri z.B auf einen anderen wert setzen? Oder abfragen?
Wenn ich sage Haustür anzeigen! bekomme ich "Dein Schalter ist ausgeschaltet.
Bei Haustür ein "Haustür ist eingeschaltet.
Der Wert ändert sich nicht in der Systemvariablen.
Gruß Günni

thormann
Beiträge: 168
Registriert: 31.07.2011, 11:52

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

Beitrag von thormann » 15.09.2016, 16:05

Hallo,

seit einigen Wochen funktioniert bei mir das Einrichten der Szenen nicht mehr so richtig, wenn ich extern über ein ATV3 zugreife. Innerhalb des WLAN klappt es ohne Probleme.

Sowohl in Eve als auch in der Apple Home app erhalte ich immer die Rückmeldung "fehlgeschlagen" beim Ausführen einer Szene! Kurioserweise ist die Aktion aber trotzdem ausgeführt worden! Wenn ich über Siri gehe und z.B "Mach die Garage auf" (Name der Szene) sage, kommt die Rückantwort, dass das nicht möglich ist und ich meine Geräte überprüfen soll, trotzdem ist die Garage offen!

Gestern habe ich nochmal sowohl die Homebridge als auch das Homematic Plugin aktualisiert, leider ohne Verbesserung! Ich nutze mittlerweile IOS 10!

Ist das nur bei mir so?

Danke, Gert

Günni
Beiträge: 231
Registriert: 03.10.2013, 00:20
Wohnort: Nordstemmen
Danksagung erhalten: 1 Mal

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

Beitrag von Günni » 15.09.2016, 22:01

Hallo,
ich habe mehrere Systemvariable in der config.json stehen.

Code: Alles auswählen

{"bridge": {"name": "Homebridge", "username": "CC:22:3D:E3:CE:30","port": 51826,"pin": "031-45-154"},
"description": "This is an autogenerated config. only the homematic platform is enabled. see the sample for more",
"platforms": [
{"platform": "HomeMatic","name": "HomeMatic CCU","ccu_ip": "192.168.2.103",
"subsection":"Siri","enable_wired":"true",
"variables":["sicherung"],
"variables":["Siri_PC"],
"variables":["Siri_Nas"],
"filter_device":[],"filter_channel":[],"outlets":[]}
],"accessories": []}

Aber in der homebridge wird die letzte die in der config.json steht angezeigt. Wenn ich die angezeigte aus der config.json lösche wird eine andere angezeigt.

Code: Alles auswählen

[2016-09-15 21:56:40] [HomeMatic CCU] Initializing platform accessory 'HM-MOD-Re-8 MEQ0650938:1'...
[2016-09-15 21:56:40] [HomeMatic CCU] Initializing platform accessory 'HM-MOD-Re-8 MEQ0650938:2'...
[2016-09-15 21:56:40] [HomeMatic CCU] Initializing platform accessory 'HM-MOD-Re-8 MEQ0650938:3'...
[2016-09-15 21:56:40] [HomeMatic CCU] Initializing platform accessory 'HM-MOD-Re-8 MEQ0650938:4'...
[2016-09-15 21:56:40] [HomeMatic CCU] Initializing platform accessory 'HM-MOD-Re-8 MEQ0650938:6'...
[2016-09-15 21:56:40] [HomeMatic CCU] Initializing platform accessory 'Haustürlicht'...
[2016-09-15 21:56:40] [HomeMatic CCU] Initializing platform accessory 'Flurlicht'...
[2016-09-15 21:56:40] [HomeMatic CCU] Initializing platform accessory 'Jana Lichterkette - Modul 03/Relai 3'...
[2016-09-15 21:56:40] [HomeMatic CCU] Initializing platform accessory 'HM-LC-Sw1-Ba-PCB JEQ0655605:1'...
[2016-09-15 21:56:40] [HomeMatic CCU] Initializing platform accessory 'Bett Günter - HM-MOD-EM-8 LEQ1113826:7'...
[2016-09-15 21:56:40] [HomeMatic CCU] Initializing platform accessory 'Bett Inge - HM-MOD-EM-8 LEQ1113826:8'...
[2016-09-15 21:56:40] [HomeMatic CCU] Initializing platform accessory 'Temp Aussen 01:1'...
[2016-09-15 21:56:40] [HomeMatic CCU] Initializing platform accessory 'Temp Jana Bad 1'...
[2016-09-15 21:56:40] [HomeMatic CCU] Initializing platform accessory 'Temp Küche Jana 1'...
[2016-09-15 21:56:40] [HomeMatic CCU] Initializing platform accessory 'Temp Nena 1'...
[2016-09-15 21:56:40] [HomeMatic CCU] Initializing platform accessory 'Temp Schlafzimmer Jana 1'...
[2016-09-15 21:56:40] [HomeMatic CCU] Initializing platform accessory 'Temp Stube Jana 1'...
[2016-09-15 21:56:40] [HomeMatic CCU] Initializing platform accessory 'Temp Stube oben 1'...
[2016-09-15 21:56:40] [HomeMatic CCU] Initializing platform accessory 'Temp Waschküche 1'...
[2016-09-15 21:56:40] [HomeMatic CCU] Initializing platform accessory 'Siri_Nas'...
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
Was mache ich falsch? Danke
Gruß Günni

ak1
Beiträge: 77
Registriert: 29.08.2013, 11:46

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

Beitrag von ak1 » 16.09.2016, 09:30

Ich habe Schwierigkeiten mit der Installation. Nach scheinbar erfolgreicher Installation scheitert der Start der Homebridge:

Code: Alles auswählen

*** WARNING *** The program 'nodejs' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=nodejs>
*** WARNING *** The program 'nodejs' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=nodejs&f=DNSServiceRegister>
module.js:583
  return process.dlopen(module, path._makeLong(filename));
                 ^

Error: Module version mismatch. Expected 48, got 46.
    at Error (native)
    at Object.Module._extensions..node (module.js:583:18)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)
    at Module.require (module.js:483:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/usr/lib/node_modules/homebridge/node_modules/bignum/index.js:4:11)
    at Module._compile (module.js:556:32)
    at Object.Module._extensions..js (module.js:565:10)
Meine Installationsversuche finden auf einem Raspi 2 mit dem aktuelle Raspbian Jessie Lite statt.
Node Version ist 6.6.0. Vorher hatte ich eine Version 4.x drauf und hatte die gleiche Problematik.
Während der Installation (als User pi) gibt es lediglich die Warnung:

Code: Alles auswählen

gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/6.6.0"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/lib/node_modules/homebridge/node_modules/curve25519/.node-gyp"
Die Forumsuche nach "Error: Module version mismatch. Expected" hat mich nicht weitergebracht.

Hat jemand einen Tipp für mich?

macintosh
Beiträge: 67
Registriert: 05.03.2014, 09:07

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

Beitrag von macintosh » 16.09.2016, 12:22

Günni hat geschrieben: "variables":["sicherung"],
"variables":["Siri_PC"],
"variables":["Siri_Nas"],
Verusche den Eintrag mal so:
"variables":["sicherung","Siri_PC","Siri_Nas"],

Antworten

Zurück zu „Sonstige Addons“