so nun läuft wieder alles ![]()
wie mache ich am besten ein backup? reicht es ein image der sd karte zu erstellen?
so nun läuft wieder alles ![]()
wie mache ich am besten ein backup? reicht es ein image der sd karte zu erstellen?
hab jetzt alles runtergeworfen und installiere nun neu.
jetzt hab ich Probleme beim YAHM einrichten, da ist dieses mal der wurm drin ![]()
![]()
hab die Homebridge deinstalliert, node, npm, auch alles neu nun geht so gar nichts mehr ![]()
/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/node_modules/npm-package-arg/npa.js:6
let url
^^^
SyntaxError: Unexpected strict mode reserved word
at exports.runInThisContext (vm.js:73:16)
at Module._compile (module.js:443:25)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/dist-tags/add.js:6:11)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
npm ERR! Linux 4.9.59+
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "outdated" "-g"
npm ERR! node v0.12.6
npm ERR! npm v2.11.2
npm ERR! /usr/local/lib/node_modules/npm/node_modules/npm-registry-client/node_modules/npm-package-arg/npa.js:6
npm ERR! let url
npm ERR! ^^^
npm ERR! Unexpected strict mode reserved word
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
Alles anzeigenMan updated nie alles auf einmal, und bei produktiv Systemen, schon gar nicht aus purer Laune heraus.
Unter anderem genau aus dem Grund, welcher dir jetzt widerfahren ist.
Wo will man jetzt wissen wo der Hund begraben ist?
Bevor man stundenlang rumdoktort:
Schau ob das Node Update ordnungsgemäß gelaufen ist, ggf. nach justieren.
Homebridge restlos entfernen & neu installieren.
Benötigte Plugins wieder installieren
Config zurückspielen.
Damit sollte das Problem in einer halben Stunde erledigt sein.
Lehrgeld bezahlt ?
Uninstall und reinstall hab ich schon hinter mir. Jedoch ohne reboot. Werde ich nachher mal testen.
morgen bin am verzweifeln nachdem ich das homebridge-weather-station-extended nicht zum laufen bekommen habe und mir veraltete node, Homebridge und hue-plugin Versionen angezeigt wurden dachte ich mir ich update mal alles seitdem bekomme ich die Homebridge nicht mehr zum starten. ich habe rebuild usw versucht doch es wird weiterhin folgender Fehler ausgeworfen. woran kann es liegen
module.js:559
throw err;
^
Error: Cannot find module './lib/Accessory.js'
at Function.Module._resolveFilename (module.js:557:15)
at Function.Module._load (module.js:484:25)
at Module.require (module.js:606:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/index.js:1:79)
at Module._compile (module.js:662:30)
at Object.Module._extensions..js (module.js:673:10)
at Module.load (module.js:575:32)
at tryModuleLoad (module.js:515:12)
at Function.Module._load (module.js:507:3)
ich habe das plugin installiert und folgender Fehler wird ausgeworfen, ich kann diesen jedoch nicht zuordnen woran es liegt, habt ihr eine Idee?
/usr/local/lib/node_modules/homebridge-weather-station-extended/node_modules/fakegato-history/fakegato-history.js:498
homebridge.globalFakeGatoTimer.addData({entry: entry, service: this});
^
TypeError: homebridge.globalFakeGatoTimer.addData is not a function
at FakeGatoHistory.addEntry (/usr/local/lib/node_modules/homebridge-weather-station-extended/node_modules/fakegato-history/fakegato-history.js:498:38)
at Object.addHistory (/usr/local/lib/node_modules/homebridge-weather-station-extended/index.js:396:40)
at ontimeout (timers.js:386:14)
at tryOnTimeout (timers.js:250:5)
at Timer.listOnTimeout (timers.js:214:5)
config sieht wie folgt aus
{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:66",
"port": 51826,
"pin": "031-45-154"
},
"accessories": [{
"accessory": "SonoffTasmotaHTTP",
"name": "Sonoff",
"hostname": "192.168.178.50"
}],
"platforms": [{
"platform": "HomeMatic",
"name": "HomeMatic CCU2",
"ccu_ip": "192.168.178.57",
"filter_device": [],
"filter_channel": [],
"outlets": [],
"doors": [],
"programs": ["Jalousien hoch", "Jalousien runter"],
"ios10": true,
"accessories": [],
"subsection": "Siri"
}, {
"platform": "Hue",
"users": {
"001788FFFEA5BE21": "5Rf43mbPR5jnluwlZqS48p1GHtSjjWw8cWuLn13I"
},
"lights": true
}, {
"platform": "WeatherStation",
"name": "Weather Station",
"key": "XXXXXXXXXXX",
"location": "pws:XXXXX"
}]
}
Alles anzeigen
Gehts um den Token? Dann solltest du nach der Anleitung oben gehen.
Englisch Language pack hat übrigens heute geklappt
ja genau. ich habe leider alle backups verschlüsselt!
die andere Variante über den raspi ist im Endeffekt ja nichts anderes als wenn ich es über das Mac Terminal mache.
ich befinde mich im Sauger wlan jedoch sucht und sucht das miii plugin aber es passiert NICHTS!
ich versuche mich momentan auch daran den mi robot in die Homebridge zu integrieren und den token auszulesen.
an meinem mac erreiche ich über den Terminal jedoch nichts.
ich befinde mich im wlan des Saugers, aber das miii plugin sucht und sucht aber es kommt keine Rückmeldung. jmd eine Idee?
Nicht per Hue Bridge. Mit dem Raspbee Gateway von Dresden Elektronik und dem Hue Plugin geht das.
schade ?
Ist es mit dem Plugin also möglich die Xiaomi Module (Bewegungsmelder, Fenstersensor usw) per Hue Bridge einzubinden?
Wie sieht Deine Config.json aus ?
Hatte das gleiche Problem am Wochenende und es lag an der Config.json.
{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:66",
"port": 51826,
"pin": "031-45-154"
},
"platforms": [{
"platform": "HomeMatic",
"name": "HomeMatic CCU2",
"ccu_ip": "192.168.178.57",
"filter_device": [],
"filter_channel": [],
"outlets": [],
"doors": [],
"programs": ["Jalousien hoch", "Jalousien runter"],
"ios10": true,
"accessories": [],
"subsection": "Siri"
}],
"accessories": [{
"accessory": "SonoffTasmotaHTTP",
"name": "Sonoff",
"hostname": "192.168.178.50"
}, {}]
}
Alles anzeigen
versuch mal so zu installieren
sudo npm i -g homebridge-sonoff-tasmota-http
ok die installation hat schon mal funktioniert, danke!
aber ich bekomme beim Start der Homebridge folgende Fehlermeldung
[1/28/2018, 7:20:02 PM] Loading 2 accessories...
[1/28/2018, 7:20:02 PM] [Sonoff] Initializing SonoffTasmotaHTTP accessory...
[1/28/2018, 7:20:02 PM] [Sonoff] Sonoff Tasmota HTTP Initialized
/usr/local/lib/node_modules/homebridge/lib/api.js:50
if (name.indexOf('.') == -1) {
^
TypeError: Cannot read property 'indexOf' of undefined
at API.accessory (/usr/local/lib/node_modules/homebridge/lib/api.js:50:11)
at Server._loadAccessories (/usr/local/lib/node_modules/homebridge/lib/server.js:264:42)
at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:86:38)
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)
Alles anzeigen
habe das tasmota-http plugin installiert, leider gibt es einen Fehler bei der Installation, kann mir dort jmd weiterhelfen?
ZitatCodeAlles anzeigenpi@raspberrypi:~ $ sudo npm i homebridge-sonoff-tasmota-http npm WARN saveError ENOENT: no such file or directory, open '/home/pi/package.json' npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json' npm WARN pi No description npm WARN pi No repository field. npm WARN pi No README data npm WARN pi No license field. + [email protected] updated 1 package in 32.565s
CodeAlles anzeigen1/28/2018, 4:35:04 PM] Loading 1 accessories... /usr/local/lib/node_modules/homebridge/lib/api.js:64 throw new Error("The requested accessory '" + name + "' was not registered by any plugin."); ^ Error: The requested accessory 'SonoffTasmotaHTTP' was not registered by any plugin. at API.accessory (/usr/local/lib/node_modules/homebridge/lib/api.js:64:13) at Server._loadAccessories (/usr/local/lib/node_modules/homebridge/lib/server.js:264:42) at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:86:38) 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)