Bei, bei dem usb heißt es, das sei optional und nicht dramatisch, wenn ich es richtig verstanden habe. Die pre Build binäres für Node 11.4 bekomme ich nicht hin, habe auf verschiedene Node Versionen down- und umgegründet, aber es hat bisher nicht geklappt. Kannst du mir kurz beschreiben, welche Schritte ich in welcher Reihenfolge ausführen sollte. Zünde ist der Bluetooth hci Stöcker nicht mit dem neueren Node kompatibel...

eQ-3 Smart Bluetooth Heizkörperthermostat
-
-
WARN Pre-built binaries not found
Ich habe mir 3 Stück der EQ3 Bluetooth Thermostate bestellt und heute verbaut. Leider bekomme ich den selben Fehler bei der Installation des Plugins (https://www.npmjs.com/package/homebridge-platform-eq3btsmart) Aber auch bei der Installation eines weiteren verfügbaren Plugins (https://www.npmjs.com/package/homebridge-eq3ble).
Was läuft da schief und wie kann das Problem behoben werden?
Mir ist außerdem aufgefallen, das beim Plugin homebridge-platform-eq3btsmart nur eine Platform eingefügt werden muss. Wie läuft denn dann dort die restliche Konfiguration und wie binde ich bei diesem Plugin die Thermostate ein? Dieses Plugin würde dann schon mal rausfallen aufgrund schlechter Dokumentation.
Beim Plugin homebridge-eq3ble ist die Dokumentation ausführlicher und macht auf den ersten Blick auch mehr Sinn. Dort muss allerdings für jedes Thermostat die Bluetooth Mac Adresse bei der Konfiguration mit angegeben werden.
Wie finde ich nun die Mac Adresse jedes Thermostats heraus, weiß das jemand hier? In der App "calor BT" mit der man die EQ3 Thermostate steuert kann ich leider die Bluetooth Mac Adressen nicht herausfinden.
Hat hier schon mal jemand die Thermostate in Homebridge eingebunden bekommen und kann Hilfe zu den Fragen geben?
Vielen Dank vorab!
Mit der Mac Adresse des Thermostats müssen die sich eigentlich finden...
Code"accessories": [{ "accessory": "EQ3-Thermostat", "name": "Thermostat", "address": "00:1a:22:07:48:77" }]
Die Bluetooth Mac Adresse kann man mit ein paar Terminalbefehlen auslesen
Hier ein Link dazu ->klick<-
Da wo CC-RT-BLE steht, das ist der Thermostat
Das Plug-In läuft bei mir absolut problemlos, Temperatur einstellen, Boostfunktion, die "Fenster auf" Funktion hätte ich auch gerne noch im HomeKit.
Keine Ahnung ob das aktuell ist, aber H1tch3r hatte das bereits weiter oben beantwortet. Weiter Infos kann ich dir leider nicht geben. Ich habe die Thermostate schon länger nicht mehr in Gebrauch.
Ich habe mir auch eins zum testen bestellt. Der Entwickler scheint sich wieder zu kümmern. Es ist eine neue (letzten Monat) Version 1.33 raus und eine 2.00 Beta. Das Problem mit der Zeitverstellung ist wohl auch gelöst.
Ich habe jetzt die Version 1.32 bei mir laufen. Da es mit 1.33 folgendes Problem gibt: https://github.com/maxnowack/homebridge-eq3ble/issues/22
Was ich noch nicht ganz verstanden habe sind die Einstellungen Modus: Aus, Heizung, Kühlung und Automatisch. Kann die mir jemand erklären? In wiefern haben die was mit der manuellen Programmierung am Thermostat zu tun? Irgendwas passt da nicht zusammen.
Soll ich die Automation komplett homekit überlassen oder lieber dem Thermostat selbst?
Hallo zusammen,
ich bin neu hier im Forum und auch neu im Thema Smart Home bzw. Homebridge. Ich habe mich über das letzte Wochenende mit dem Thema eq3 Bluetooth Thermometer einbinden beschäftig.
Ich bekomme mittlerweile beide Plugins (eq3ble & eq3btsmart) zum laufen. eq3ble habe ich in den Versionen 1.3.2 und die ganz neue Version 1.3.6 getestet.
Die händische Verstellung klappt auch in den meisten Fällen und unter allen drei Varianten zu 90% gut. (Davon abgesehen, dass eq3btsmart ständig das Datum verstellt)
Nur leider ist es mir mit keiner Variante gelungen, das Thermometer über Siri zu bedienen.
eq3smart: Es funktioniert irgendwie nur das einstellen von höheren Temperaturen. Nicht aber von niedrigeren
[email protected]: Funktioniert in meinen Augen grundsätzlich besser, das Thermostat wird von HomeKit gut erkannt. Bei Kühlung wird z.B. die Temperatur grün. Sprachbefehle werden trotzdem nicht angenommen.
[email protected] Das Thermostat wird immer als Aus dargestellt, also grau. Sprachbefehle werden gar nicht angenommen.
Meine Frage nun, ist das bei euch ebenfalls so? Habt ihr eine Lösung?
Die alternative wäre für mich das Max! System. Gibt es dazu Erfahrungen? Klappt hier die Spracheingabe?
Vielen Dank schon mal im Voraus!
Ich habe das Bluetooth System zurückgeschickt und mir jetzt das Max bestellt. Werde dann hier berichten.
Ich bekomme mittlerweile beide Plugins (eq3ble & eq3btsmart) zum laufen. eq3ble habe ich in den Versionen 1.3.2 und die ganz neue Version 1.3.6 getestet.
Wie hast du das Plugin installieren können?
Hier auf meinem Pi gibt es nur fehler bei der installation. Suche noch nach tips
Ich schließe mich der Suche nach hilfreichen Tipps hier einmal an.
Ich nutze drei der eq3 Thermostate und habe diese über das eq3btsmart platform Plugin in HomeKit eingebunden.
Das funktioniert auch einwandfrei. Der korrespondierende Eintrag in meiner config.json lautet tatsächlich nur
Und alle Thermostate werden problemlos erkannt. Füge ich ein Thermostat hinzu oder entferne eines, indem ich die Batterien herausnehme, wird die neue Anzahl nach dem Restart der homebridge in HomeKit sofort korrekt angezeigt. Also genau so, wie es bei einem platform plugin sein soll.
Jetzt das Problem: Ich möchte aufgrund von Altlasten und Ähnlichem meine homebridge auf ein neues System umziehen. Das funktioniert auch soweit, nehme ich das eq3btsmart Plugin heraus. HomeKit akzeptiert die neue Homebridge klaglos als wäre es die alte und keine Geräte mussten neu hinzugefügt werden. Versuche ich jedoch, das Plugin zu installieren, erhalte ich die gleiche Fehlermeldung wie meine Vorredner.
Ich weiß, dass ich damals (das Ganze läuft seit gefühlt fast zwei Jahren) ebenfalls Probleme bei der Installation und dem offenbar benötigten bluetooth_hci_socket hatte, ich kann mich aber einfach nicht daran erinnern, wie ich zur Lösung kam..
Allein daran scheitert nun leider mein homebridge Umzug, neue Heizkörperthermostate möchte ich mir schließlich ungern kaufen..
Ich habe aber wie gesagt eine laufende Instanz, bei der es einwandfrei funktioniert, vielleicht nützt uns diese zur Fehlersuche??
Ich bin bei der Problemlösung folgendermaßen vorgegangen und habe dies mit einem frischen System noch einmal erfolgreich reproduziert:
1. Entfernen der "Altlasten"
Im Anschluss habe ich über
meine laufende Instanz überprüft und gesehen, dass dort noch Node v9.9.0 lief.
2. Downgrade von Node
3. Neuinstallation der Plugins
Codesudo npm install -g --unsafe-perm homebridge-eq3ble sudo npm install -g --unsafe-perm homebridge-platform-eq3btsmart
4. Installation der Bluetooth Abhängigkeiten
5. Installation von setcap
6. "Running without root"
Zuletzt folgenden Eintrag in der config.json von Homebridge einfügen:
Nach einem Restart der Homebridge erscheinen alle Heizkörper automatisch in HomeKit und müssen dort nur noch korrekt benannt werden (Initialname = MAC Adresse).
PS: Ich habe die Anleitung nach bestem Wissen und Gewissen erstellt und bin damit reproduzierbar zum gewünschten Erfolg gekommen. Ob wirklich jeder Schritt notwendig oder sinnvoll ist, kann ich daher nicht mit Sicherheit sagen.
Vielleicht funktioniert das Ganze auch mit einer neueren Node Version, dies habe ich nicht mehr getestet.
ok danke. Dann werde ich mal ein Backup von meinem system machen. (sicher ist sicher
)
Und dann mal schauen ob ich das auch so mit Node 11.13.0 hinbekomme
Muss das wirklich so in die Config ?
Zitat{
"platform" : "eq3BTSmart",
"name" : "Kein Name"
},
Ich vermute mal, man kann den Namen einfach weglassen, er erscheint nirgendwo. Es steht aber genau so in meiner config..
Ich habe es mal unter node 11.13.0 versucht.
leider kein Erfolg.
ich werde mir mal einen TestPi mit node 9.9.0 bauen und mal schauen wie weit ich da komme
Ich hatte es zuvor schon einmal mit Node 11.9.0 versucht und dort nicht ans Laufen bekommen. Ich könnte mir noch vorstellen, dass es mit Node 10.x funktioniert, habe aber durch den Downgrade auf v9.9.0 keinerlei Einschränkungen feststellen können, alle anderen Geräte funktionieren wie gewohnt einwandfrei.
Also mit Node 9.9.0 bekomme ich das Plugin auch nicht installiert
Code
Alles anzeigenpi@raspberrypi:~ $ sudo npm install homebridge-platform-eq3btsmart -g > [email protected] install /usr/local/lib/node_modules/homebridge-platform-eq3btsmart/node_modules/usb > node-pre-gyp install --fallback-to-build node-pre-gyp WARN Using needle for node-pre-gyp https download node-pre-gyp WARN Pre-built binaries not installable for [email protected] and [email protected] (node-v59 ABI, glibc) (falling back to source compile with node-gyp) node-pre-gyp WARN Hit error EACCES: permission denied, mkdir '/usr/local/lib/node_modules/homebridge-platform-eq3btsmart/node_modules/usb/src/binding' gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/9.9.0" gyp WARN EACCES attempting to reinstall using temporary dev dir "/tmp/.node-gyp" gyp ERR! configure error gyp ERR! stack Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/homebridge-platform-eq3btsmart/node_modules/usb/build' gyp ERR! System Linux 4.14.98-v7+ gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/usr/local/lib/node_modules/homebridge-platform-eq3btsmart/node_modules/usb/src/binding/usb_bindings.node" "--module_name=usb_bindings" "--module_path=/usr/local/lib/node_modules/homebridge-platform-eq3btsmart/node_modules/usb/src/binding" "--napi_version=2" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v59" gyp ERR! cwd /usr/local/lib/node_modules/homebridge-platform-eq3btsmart/node_modules/usb gyp ERR! node -v v9.9.0 gyp ERR! node-gyp -v v3.6.2 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/usr/local/lib/node_modules/homebridge-platform-eq3btsmart/node_modules/usb/src/binding/usb_bindings.node --module_name=usb_bindings --module_path=/usr/local/lib/node_modules/homebridge-platform-eq3btsmart/node_modules/usb/src/binding --napi_version=2 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v59' (1) node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/homebridge-platform-eq3btsmart/node_modules/node-pre-gyp/lib/util/compile.js:83:29) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:180:13) node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:936:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:220:5) node-pre-gyp ERR! System Linux 4.14.98-v7+ node-pre-gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/homebridge-platform-eq3btsmart/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp ERR! cwd /usr/local/lib/node_modules/homebridge-platform-eq3btsmart/node_modules/usb node-pre-gyp ERR! node -v v9.9.0 node-pre-gyp ERR! node-pre-gyp -v v0.11.0 node-pre-gyp ERR! not ok Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/usr/local/lib/node_modules/homebridge-platform-eq3btsmart/node_modules/usb/src/binding/usb_bindings.node --module_name=usb_bindings --module_path=/usr/local/lib/node_modules/homebridge-platform-eq3btsmart/node_modules/usb/src/binding --napi_version=2 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v59' (1) > [email protected] install /usr/local/lib/node_modules/homebridge-platform-eq3btsmart/node_modules/bluetooth-hci-socket > node-gyp rebuild gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/9.9.0" gyp WARN EACCES attempting to reinstall using temporary dev dir "/tmp/.node-gyp" gyp ERR! configure error gyp ERR! stack Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/homebridge-platform-eq3btsmart/node_modules/bluetooth-hci-socket/build' gyp ERR! System Linux 4.14.98-v7+ gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /usr/local/lib/node_modules/homebridge-platform-eq3btsmart/node_modules/bluetooth-hci-socket gyp ERR! node -v v9.9.0 gyp ERR! node-gyp -v v3.6.2 gyp ERR! not ok npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/homebridge-platform-eq3btsmart/node_modules/xpc-connection): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/homebridge-platform-eq3btsmart/node_modules/usb): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `node-pre-gyp install --fallback-to-build` npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/homebridge-platform-eq3btsmart/node_modules/bluetooth-hci-socket): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `node-gyp rebuild` npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 + [email protected] updated 1 package in 13.052s pi@raspberrypi:~ $
Ich habe beim Reproduzieren meiner Lösung folgende Schritte als Vorbereitung getätigt:
1. Frisches Raspbian Stretch with Desktop auf eine micro SD Karte geschrieben
2. Homebridge nach der Forumsanleitung installiert (alle Schritte auf der Seite, inkl. Installation von Node & Versionsmanager)
3. Schritte 2-7 meiner Anleitung.
Und schon laufen die Thermostate...
Ich habe allerdings einen Unterschied zur normalen Anleitung bezüglich der Nutzerrechte des Nutzers „Homebridge“.
Dort steht bei mir lediglich
(siehe gelben Warnkasten auf Seite 2 der Forumsanleitung).
Vielleicht scheitert es ja an diesem Punkt, alles andere sollte ja bei uns nun gleich gelaufen sein..?
Ich setze heut Abend noch mal ein frisches Raspbian mit Homebridge auf und gehe meine Schritte durch, vielleicht fällt mir ja noch etwas ein, woran es sonst bei dir scheitern könnte...?
Also mit Node 9.9.0 bekomme ich das Plugin auch nicht installiert
Code
Alles anzeigenpi@raspberrypi:~ $ sudo npm install homebridge-platform-eq3btsmart -g > [email protected] install /usr/local/lib/node_modules/homebridge-platform-eq3btsmart/node_modules/usb > node-pre-gyp install --fallback-to-build node-pre-gyp WARN Using needle for node-pre-gyp https download node-pre-gyp WARN Pre-built binaries not installable for [email protected] and [email protected] (node-v59 ABI, glibc) (falling back to source compile with node-gyp) node-pre-gyp WARN Hit error EACCES: permission denied, mkdir '/usr/local/lib/node_modules/homebridge-platform-eq3btsmart/node_modules/usb/src/binding' gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/9.9.0" gyp WARN EACCES attempting to reinstall using temporary dev dir "/tmp/.node-gyp" gyp ERR! configure error gyp ERR! stack Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/homebridge-platform-eq3btsmart/node_modules/usb/build' gyp ERR! System Linux 4.14.98-v7+ gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/usr/local/lib/node_modules/homebridge-platform-eq3btsmart/node_modules/usb/src/binding/usb_bindings.node" "--module_name=usb_bindings" "--module_path=/usr/local/lib/node_modules/homebridge-platform-eq3btsmart/node_modules/usb/src/binding" "--napi_version=2" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v59" gyp ERR! cwd /usr/local/lib/node_modules/homebridge-platform-eq3btsmart/node_modules/usb gyp ERR! node -v v9.9.0 gyp ERR! node-gyp -v v3.6.2 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/usr/local/lib/node_modules/homebridge-platform-eq3btsmart/node_modules/usb/src/binding/usb_bindings.node --module_name=usb_bindings --module_path=/usr/local/lib/node_modules/homebridge-platform-eq3btsmart/node_modules/usb/src/binding --napi_version=2 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v59' (1) node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/homebridge-platform-eq3btsmart/node_modules/node-pre-gyp/lib/util/compile.js:83:29) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:180:13) node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:936:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:220:5) node-pre-gyp ERR! System Linux 4.14.98-v7+ node-pre-gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/homebridge-platform-eq3btsmart/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp ERR! cwd /usr/local/lib/node_modules/homebridge-platform-eq3btsmart/node_modules/usb node-pre-gyp ERR! node -v v9.9.0 node-pre-gyp ERR! node-pre-gyp -v v0.11.0 node-pre-gyp ERR! not ok Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/usr/local/lib/node_modules/homebridge-platform-eq3btsmart/node_modules/usb/src/binding/usb_bindings.node --module_name=usb_bindings --module_path=/usr/local/lib/node_modules/homebridge-platform-eq3btsmart/node_modules/usb/src/binding --napi_version=2 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v59' (1) > [email protected] install /usr/local/lib/node_modules/homebridge-platform-eq3btsmart/node_modules/bluetooth-hci-socket > node-gyp rebuild gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/9.9.0" gyp WARN EACCES attempting to reinstall using temporary dev dir "/tmp/.node-gyp" gyp ERR! configure error gyp ERR! stack Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/homebridge-platform-eq3btsmart/node_modules/bluetooth-hci-socket/build' gyp ERR! System Linux 4.14.98-v7+ gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /usr/local/lib/node_modules/homebridge-platform-eq3btsmart/node_modules/bluetooth-hci-socket gyp ERR! node -v v9.9.0 gyp ERR! node-gyp -v v3.6.2 gyp ERR! not ok npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/homebridge-platform-eq3btsmart/node_modules/xpc-connection): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/homebridge-platform-eq3btsmart/node_modules/usb): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `node-pre-gyp install --fallback-to-build` npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/homebridge-platform-eq3btsmart/node_modules/bluetooth-hci-socket): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `node-gyp rebuild` npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 + [email protected] updated 1 package in 13.052s pi@raspberrypi:~ $
Da oft in den logs errors dabei sind mit Rechteproblemen, hast du mal versucht das Plugin so zu installieren:
Oder so:
Ich habe es nun noch einmal frisch reproduziert und diesmal vollständig im Terminal gearbeitet (zuvor hatte ich noch das Homebridge-config-ui-x Plugin installiert und daraus die beiden Plugins installiert.)
Ich habe die Anleitung in #32 nun noch einmal angepasst.
Grober Ablauf:
1. Frisches Raspbian Stretch with Desktop auf micro SD Karte
2. Seite 2 der Forumsanleitung vollständig durchführen, dabei jedoch eine Anpassung der Rechte im Schritt "Homebridge-User einrichten" :
3. Schritt 1-6 aus meinem Post #32 durchführen (Befehle wurden dort noch einmal angepasst)
4. Eintrag in der config.json aus Post #32 hinzufügen
Bei der Installation hatte ich auch kleinere Warnungen bzgl. optionaler Abhängigkeiten (also anders als bei dir), habe diese aber einfach ignoriert.
Nach einem Restart der Homebridge wird die Platform geladen und die Heizkörper werden gefunden.