RPi2 - Homebridge : Siri for the rest of us
Moderator: Co-Administratoren
Re: RPi2 - Homebridge : Siri for the rest of us
Ich habe die Homebridge und Plugins deinstalliert und wieder neu installiert. Nun kommt folgende Fehlermeldung:
[2017-11-2 21:36:55] [HomeMatic CCU] Fetching Homematic devices...
[2017-11-2 21:36:55] Loading 0 accessories...
/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:258
throw new Error("Cannot add a bridged Accessory with the same UUID as another bridged Accessory: " + existing.UUID);
^
Error: Cannot add a bridged Accessory with the same UUID as another bridged Accessory: 556776dc-7e52-4048-9f4d-b05b1852809a
at Bridge.Accessory.addBridgedAccessory (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:258:13)
at Server._configCachedPlatformAccessories (/usr/local/lib/node_modules/homebridge/lib/server.js:357:18)
at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:88:8)
at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:40:10)
at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.runMain (module.js:604:10)
at run (bootstrap_node.js:389:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:502:3
Woran liegt es? Was muss ich noch tun?
[2017-11-2 21:36:55] [HomeMatic CCU] Fetching Homematic devices...
[2017-11-2 21:36:55] Loading 0 accessories...
/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:258
throw new Error("Cannot add a bridged Accessory with the same UUID as another bridged Accessory: " + existing.UUID);
^
Error: Cannot add a bridged Accessory with the same UUID as another bridged Accessory: 556776dc-7e52-4048-9f4d-b05b1852809a
at Bridge.Accessory.addBridgedAccessory (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:258:13)
at Server._configCachedPlatformAccessories (/usr/local/lib/node_modules/homebridge/lib/server.js:357:18)
at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:88:8)
at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:40:10)
at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.runMain (module.js:604:10)
at run (bootstrap_node.js:389:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:502:3
Woran liegt es? Was muss ich noch tun?
-
- Beiträge: 2483
- Registriert: 13.02.2012, 20:23
- System: Alternative CCU (auf Basis OCCU)
- Hat sich bedankt: 302 Mal
- Danksagung erhalten: 116 Mal
Re: RPi2 - Homebridge : Siri for the rest of us
im verzeichnis /home/pi/.homebridge/ mal die persist und accessories Ordner leer machen.Becker_n hat geschrieben:Woran liegt es? Was muss ich noch tun?
Gruß Thomas
- sent from my dishwasher -
- Head of HomeControl for iOS -
- Steuerung der CCU über HomeKit (Siri) -
- Homematic Interface Layer - baut alles was HTTP kann in die CCU, ja auch Alexa-
- sent from my dishwasher -
- Head of HomeControl for iOS -
- Steuerung der CCU über HomeKit (Siri) -
- Homematic Interface Layer - baut alles was HTTP kann in die CCU, ja auch Alexa-
Re: RPi2 - Homebridge : Siri for the rest of us
Die Verzeichnisse persist und accessories sind leer und nun folgt dies Fehlermeldung:
Wie kann ich weiter vorgehen?
[2017-11-4 20:33:43] [HomeMatic CCU] Initializing platform accessory 'Homebridge Licht TV aus'...
/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/node-persist/src/local-storage.js:480
throw e;
^
Error: EACCES: permission denied, open '/home/pi/.homebridge/persist/AccessoryInfo.CC223DE3CE31.json'
at Error (native)
at Object.fs.openSync (fs.js:642:18)
at Object.fs.writeFileSync (fs.js:1348:33)
at Object.persistKeySync (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/node-persist/src/local-storage.js:476:16)
at Object.setItemSync (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/node-persist/src/local-storage.js:277:14)
at Object.nodePersist.setItemSync (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/node-persist/src/node-persist.js:99:29)
at AccessoryInfo.save (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/model/AccessoryInfo.js:165:11)
at Bridge.Accessory.publish (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:537:23)
at Server._publish (/usr/local/lib/node_modules/homebridge/lib/server.js:126:16)
at Server.<anonymous> (/usr/local/lib/node_modules/homebridge/lib/server.js:381:14)
at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/once.js:16:19
at regarequest.script.e (/usr/local/lib/node_modules/homebridge-homematic/index.js:300:4)
at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/homebridge-homematic/HomeMaticRegaRequest.js:43:9)
at emitNone (events.js:91:20)
at IncomingMessage.emit (events.js:185:7)
at endReadableNT (_stream_readable.js:974:12)
Wie kann ich weiter vorgehen?
[2017-11-4 20:33:43] [HomeMatic CCU] Initializing platform accessory 'Homebridge Licht TV aus'...
/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/node-persist/src/local-storage.js:480
throw e;
^
Error: EACCES: permission denied, open '/home/pi/.homebridge/persist/AccessoryInfo.CC223DE3CE31.json'
at Error (native)
at Object.fs.openSync (fs.js:642:18)
at Object.fs.writeFileSync (fs.js:1348:33)
at Object.persistKeySync (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/node-persist/src/local-storage.js:476:16)
at Object.setItemSync (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/node-persist/src/local-storage.js:277:14)
at Object.nodePersist.setItemSync (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/node-persist/src/node-persist.js:99:29)
at AccessoryInfo.save (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/model/AccessoryInfo.js:165:11)
at Bridge.Accessory.publish (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:537:23)
at Server._publish (/usr/local/lib/node_modules/homebridge/lib/server.js:126:16)
at Server.<anonymous> (/usr/local/lib/node_modules/homebridge/lib/server.js:381:14)
at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/once.js:16:19
at regarequest.script.e (/usr/local/lib/node_modules/homebridge-homematic/index.js:300:4)
at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/homebridge-homematic/HomeMaticRegaRequest.js:43:9)
at emitNone (events.js:91:20)
at IncomingMessage.emit (events.js:185:7)
at endReadableNT (_stream_readable.js:974:12)
-
- Beiträge: 61
- Registriert: 01.05.2016, 11:57
Re: RPi2 - Homebridge : Siri for the rest of us
Wenn du es Überhaupt nicht in den Griff bekommst (wie ich mit dem bose SoundTouch Plugin)
Schmiert auch immer mal wieder ab weil es eine ip Adresse nicht findet wenn ein lsp offline ist.
Installiere dir PM2
Der startet die Bridge neu Wenn Sie abfliegt.
Gesendet von iPhone mit Tapatalk
Schmiert auch immer mal wieder ab weil es eine ip Adresse nicht findet wenn ein lsp offline ist.
Installiere dir PM2
Der startet die Bridge neu Wenn Sie abfliegt.
Gesendet von iPhone mit Tapatalk
Re: RPi2 - Homebridge : Siri for the rest of us
Schau aus, als hättest Du das ganze als root angelegt und jetzt hat der PI User keinen Zugriff.Becker_n hat geschrieben: Error: EACCES: permission denied, open '/home/pi/.homebridge/persist/AccessoryInfo.CC223DE3CE31.json'
Code: Alles auswählen
sudo chown pi:pi /home/pi/.homebridge -R
Gruß Thomas
- sent from my dishwasher -
- Head of HomeControl for iOS -
- Steuerung der CCU über HomeKit (Siri) -
- Homematic Interface Layer - baut alles was HTTP kann in die CCU, ja auch Alexa-
- sent from my dishwasher -
- Head of HomeControl for iOS -
- Steuerung der CCU über HomeKit (Siri) -
- Homematic Interface Layer - baut alles was HTTP kann in die CCU, ja auch Alexa-
Re: RPi2 - Homebridge : Siri for the rest of us
Läuft, Vielen Dank!thkl hat geschrieben:Schau aus, als hättest Du das ganze als root angelegt und jetzt hat der PI User keinen Zugriff.Becker_n hat geschrieben: Error: EACCES: permission denied, open '/home/pi/.homebridge/persist/AccessoryInfo.CC223DE3CE31.json'
Code: Alles auswählen
sudo chown pi:pi /home/pi/.homebridge -R
Gesendet von iPad mit Tapatalk
-
- Beiträge: 10660
- Registriert: 21.09.2012, 08:09
- System: CCU
- Wohnort: Stuttgart
- Hat sich bedankt: 321 Mal
- Danksagung erhalten: 501 Mal
Re: RPi2 - Homebridge : Siri for the rest of us
Hallo,
ich habe kürzlich einen 4-Kanal-Funk-Schaltaktor HM-LC-Sw4-Ba-PCB zur Steuerung unseres Garagentors eingebunden (siehe hier). Wenn ich dessen Kanäle unter "doors" oder "windows" in der config.json eintrage, werden sie aber nicht als Tür oder Fensterantrieb erkannt. Stattdessen werden sie mir immer nur als Licht angzeigt.
Trage ich sie unter "Outlets" ein, kann ich sie wenigstens als "Steckdose" definieren.
Die Version von homebridge-homematic ist aktuell (0.0.96).
Ist zwar nicht wirklich wichtig, aber es wäre schön, wenn man den HM-LC-Sw4-Ba-PCB auch als Torantrieb für ein Garagentor definieren könnte.
Ach, und noch was. Ich bekomme es einfach nicht hin, ein Programm auszuführen. Wenn ich es unter "programs" eintrage, wird es mir zwar in der Home App angezeigt, aber es passiert nichts, wenn ich den Schalter betätige. Im WebUI lässt sich das Programm aber problemlos unter "Status und Bedienung" ausführen. Es enthält auch keine weitere Bedingung, die ein Ausführen behindern könnte. Jemand eine Idee?
Gruß,
Thorsten
ich habe kürzlich einen 4-Kanal-Funk-Schaltaktor HM-LC-Sw4-Ba-PCB zur Steuerung unseres Garagentors eingebunden (siehe hier). Wenn ich dessen Kanäle unter "doors" oder "windows" in der config.json eintrage, werden sie aber nicht als Tür oder Fensterantrieb erkannt. Stattdessen werden sie mir immer nur als Licht angzeigt.
Trage ich sie unter "Outlets" ein, kann ich sie wenigstens als "Steckdose" definieren.
Die Version von homebridge-homematic ist aktuell (0.0.96).
Ist zwar nicht wirklich wichtig, aber es wäre schön, wenn man den HM-LC-Sw4-Ba-PCB auch als Torantrieb für ein Garagentor definieren könnte.
Ach, und noch was. Ich bekomme es einfach nicht hin, ein Programm auszuführen. Wenn ich es unter "programs" eintrage, wird es mir zwar in der Home App angezeigt, aber es passiert nichts, wenn ich den Schalter betätige. Im WebUI lässt sich das Programm aber problemlos unter "Status und Bedienung" ausführen. Es enthält auch keine weitere Bedingung, die ein Ausführen behindern könnte. Jemand eine Idee?
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.
einige Projekte: zentrales Push-Nachrichten-Programm zPNP, DoorPi-Videotürsprechanlage, An- und Abwesenheitsdetektion per Haustürschloss, zentrales Programm zur Steuerung von Beschattungsgeräten zBSP.
-
- Beiträge: 2
- Registriert: 18.07.2017, 13:27
Re: RPi2 - Homebridge : Siri for the rest of us
Stehe irgendwie auf dem Schlauch.
Wie bekomme ich meinen wired IO 12 SW14 ins Homekit?
meine config:
Könnt ihr mir dabei Helfen?
Gruß
Sebastian
Wie bekomme ich meinen wired IO 12 SW14 ins Homekit?
Code: Alles auswählen
[HomeMatic CCU2] RPC server for interface BidCos-RF. is listening on port 9090.
[2017-11-05 23:17:22] [HomeMatic CCU2] Creating Local HTTP Client for CCU RPC Events
[2017-11-05 23:17:22] [HomeMatic CCU2] RPC server for interface BidCos-Wired. is listening on port 9091.
[2017-11-05 23:17:22] [HomeMatic CCU2] Creating Local HTTP Client for CCU RPC Events
[2017-11-05 23:17:23] [HomeMatic CCU2] if PONG is PONG CCU is alive
[2017-11-05 23:17:24] [HomeMatic CCU2] Fetch Response
[2017-11-05 23:17:24] [HomeMatic CCU2] There is no service for HMW-IO-12-Sw14-DR:DIGITAL_OUTPUT
[2017-11-05 23:17:24] [HomeMatic CCU2] There is no service for HMW-IO-12-Sw14-DR:DIGITAL_OUTPUT
[2017-11-05 23:17:24] [HomeMatic CCU2] There is no service for HMW-IO-12-Sw14-DR:DIGITAL_OUTPUT
[2017-11-05 23:17:24] [HomeMatic CCU2] There is no service for HMW-IO-12-Sw14-DR:DIGITAL_OUTPUT
[2017-11-05 23:17:24] [HomeMatic CCU2] There is no service for HMW-IO-12-Sw14-DR:DIGITAL_OUTPUT
[2017-11-05 23:17:24] [HomeMatic CCU2] There is no service for HMW-IO-12-Sw14-DR:DIGITAL_OUTPUT
[2017-11-05 23:17:24] [HomeMatic CCU2] There is no service for HMW-IO-12-Sw14-DR:DIGITAL_ANALOG_OUTPUT
[2017-11-05 23:17:24] [HomeMatic CCU2] There is no service for HMW-IO-12-Sw14-DR:DIGITAL_ANALOG_OUTPUT
[2017-11-05 23:17:24] [HomeMatic CCU2] There is no service for HMW-IO-12-Sw14-DR:DIGITAL_ANALOG_OUTPUT
[2017-11-05 23:17:24] [HomeMatic CCU2] Initializing platform accessory 'Flutlicht'...
[2017-11-05 23:17:24] [HomeMatic CCU2] Initializing platform accessory 'Oma Blumenbeet'...
[2017-11-05 23:17:24] [HomeMatic CCU2] Initializing platform accessory 'Steckdose Schwimmbad'...
[2017-11-05 23:17:24] [HomeMatic CCU2] Initializing platform accessory 'Steckdose Sitzplatz'...
[2017-11-05 23:17:24] [HomeMatic CCU2] Initializing platform accessory 'Steckdose Sitzecke'...
[2017-11-05 23:17:24] [HomeMatic CCU2] Initializing platform accessory 'Fenster Büro'...
[2017-11-05 23:17:24] [HomeMatic CCU2] Initializing platform accessory 'HM LC Dim1T DR OEQ1089899 1'...
[2017-11-05 23:17:24] [HomeMatic CCU2] Initializing platform accessory 'Flutlicht Oma'...
Code: Alles auswählen
{
"bridge" : {
"name" : "Homebridge",
"username" : "CC:22:3D:E3:CE:30",
"port" : 51826,
"pin" : "031-45-154"
},
"accessories" : [],
"platforms" : [{
"platform" : "HomeMatic",
"name" : "HomeMatic CCU2",
"ccu_ip" : "192.168.0.137",
"enable_wired" : "true",
"filter_device" : [],
"filter_channel" : [],
"outlets" : ["BidCos-RF.NEQ1574778:2", "BidCos-RF.NEQ1574778:3", "BidCos-RF.NEQ1574778:4"],
"windows" : ["BidCos-RF.NEQ1836764"],
"programs" : [],
"accessories" : [],
"subsection" : "Homekit"
}
],
"services" : [{
"type" : " HMW-IO-12-Sw14-DR:DIGITAL_OUTPUT",
"service" : "HomeMaticHomeKitSwitchService"
}, {
"type" : " HMW-IO-12-Sw14-DR:DIGITAL_ANALOG_OUTPUT",
"service" : "HomeMaticHomeKitSwitchService"
}
]
}
Gruß
Sebastian
meine Geräte:
CCU2, RF LAN Gateway, Wired Gateway, HM IO 12 SW14, HM-LC-Sw1-FM,hm-lc-sw4-dr,hm-lc-dim1t-dr,HM-RC-8
CCU2, RF LAN Gateway, Wired Gateway, HM IO 12 SW14, HM-LC-Sw1-FM,hm-lc-sw4-dr,hm-lc-dim1t-dr,HM-RC-8
-
- Beiträge: 1184
- Registriert: 09.01.2016, 17:42
- Wohnort: Sauerland
- Hat sich bedankt: 1 Mal
- Danksagung erhalten: 1 Mal
Re: RPi2 - Homebridge : Siri for the rest of us
@dtp
ich glaube der Fehler liegt in der config.json. Laut Beispiel auf Seite 1 von diesem Thread muss das true in "" gesetzt sein
@thkl auf github ist der Schalter "ios10": true ohne Anführungszeiten. Sollte beides funktionieren oder ist es ein Fehler auf Github?
@sebastian95
Die Meldung deutet darauf hin das der Aktor nicht unterstützt wird?
ich glaube der Fehler liegt in der config.json. Laut Beispiel auf Seite 1 von diesem Thread muss das true in "" gesetzt sein
Code: Alles auswählen
"ios10": "true"
@sebastian95
Die Meldung deutet darauf hin das der Aktor nicht unterstützt wird?
Code: Alles auswählen
There is no service for HMW-IO-12-Sw14-DR:DIGITAL_OUTPUT