Ach ja F*ck man bin ich ein Scrippt Kiddie ![]()
Beiträge von sanja1254
-
-
Das kommt wenn ich das Plugin für die Lampe installieren will.
Code
Alles anzeigenpi@raspberrypi:~ $ npm install -g miio homebridge-mi-philips-light npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/miio npm ERR! path /usr/local/lib/node_modules/miio npm ERR! code EACCES npm ERR! errno -13 npm ERR! syscall access npm ERR! Error: EACCES: permission denied, access '/usr/local/lib/node_modules/miio' npm ERR! at Error (native) npm ERR! { [Error: EACCES: permission denied, access '/usr/local/lib/node_modules/miio'] npm ERR! stack: 'Error: EACCES: permission denied, access \'/usr/local/lib/node_modules/miio\'\n at Error (native)', npm ERR! errno: -13, npm ERR! code: 'EACCES', npm ERR! syscall: 'access', npm ERR! path: '/usr/local/lib/node_modules/miio' } npm ERR! npm ERR! Please try running this command again as root/Administrator. npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2017-12-20T12_21_34_757Z-debug.log -
Fritz und Fhem liefen gut.
pi@raspberrypi:~ $ sudo npm install -g miio homebridge-mi-robot_vacuum
/usr/local/bin/miio -> /usr/local/lib/node_modules/miio/cli/index.js
-
Okay, das installiert er gerade... Ist noch ein 1er Raspi der braucht ein wenig länger

Ach übrigens ihr seit Klasse!
-
Er will mit beiden konfigs nicht so richtig:
Code
Alles anzeigen[12/20/2017, 1:17:43 PM] Loading 4 platforms... [12/20/2017, 1:17:43 PM] [FHEM] Initializing FHEM platform... starting longpoll: http://127.0.0.1:8083/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON×tamp=1513772268211 [12/20/2017, 1:17:48 PM] [FHEM] Fetching FHEM devices... [12/20/2017, 1:17:48 PM] [HomeFritz] Initializing Fritz!Box platform... /usr/local/lib/node_modules/homebridge/lib/api.js:122 throw new Error("The requested platform '" + name + "' was not registered by any plugin."); ^ Error: The requested platform 'MiPhilipsLightPlatform' was not registered by any plugin. at API.platform (/usr/local/lib/node_modules/homebridge/lib/api.js:122:13) at Server.str.replace.Server._loadPlatforms (/usr/local/lib/node_modules/homebridge/lib/server.js:294:45) at Server.str.replace.Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:85:36) 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:409:26) at Object.Module._extensions..js (module.js:416:10) at Module.load (module.js:343:32) at Function.Module._load (module.js:300:12) at Function.Module.runMain (module.js:441:10) at startup (node.js:140:18) at node.js:1043:3 -
Er kommt jetzt etwas weiter als vorher:
Code
Alles anzeigen[12/20/2017, 1:14:30 PM] [HomeFritz] Initializing Fritz!Box platform... /usr/local/lib/node_modules/homebridge/lib/api.js:122 throw new Error("The requested platform '" + name + "' was not registered by any plugin."); ^ Error: The requested platform 'MiRobotVacuumPlatform' was not registered by any plugin. at API.platform (/usr/local/lib/node_modules/homebridge/lib/api.js:122:13) at Server.str.replace.Server._loadPlatforms (/usr/local/lib/node_modules/homebridge/lib/server.js:294:45) at Server.str.replace.Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:85:36) 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:409:26) at Object.Module._extensions..js (module.js:416:10) at Module.load (module.js:343:32) at Function.Module._load (module.js:300:12) at Function.Module.runMain (module.js:441:10) at startup (node.js:140:18) at node.js:1043:3 -
Ich habe rumgefummelt
jetzt komme ich nicht mehr weiter 
Danke dir

-
Hi Gemeinde,
ich habe seit längerem den Xiaomi Vacuum und Phlips/ Xiaomi Deckenleuchte und wollte diesen gerne einbinden. Jetzt habe ich im grundegenommen alles fertig gemacht und bekomme immer einen Fehler beim starten von Homebridge.
Ich habe die Json konfig schon hier https://jsonlint.com/ durchgejagt doch finde ich den Fehler einfach nicht. Das wird vermutlich nur was kleines sein, aber ich sehe den Fehler nicht

Sieht jemand von euch das Problem?
Danke euch
Code
Alles anzeigen{ "bridge": { "name": "Homebridge", "username": "CC:22:3D:E3:CE:35", "port": 51826, "pin": "031-45-154" }, "platforms": [{ "platform": "FHEM", "name": "FHEM", "server": "127.0.0.1", "port": "8083", "filter": "room=Homekit" }, { "platform": "Fritz!Box", "name": "HomeFritz", "username": "alex", "password": "**********", "url": "http://fritz.box", "interval": 300, "options": { "strictSSL": false } ] }, { "type": "MiPhilipsCeilingLamp", "ip": "192.168.5.58", "token": "286711f8da7eb6e60bd6ee52092f5d62", "lightName": "Wohnzimmer Lampe", "lightDisable": false, "updatetimer": false, "interval": 3 }, [{ "platform": "MiRobotVacuumPlatform", "deviceCfgs": [{ "type": "MiRobotVacuum", "ip": "192.168.5.202", "token": "52576562584f6636524435626355796a", "robotVacuumName": "Saugi", "enablePauseToCharge": true, "robotVacuumDisable": false }], "accessories": [] }