Hallo zusammen,
bin noch neu hier, Frischfleisch, Frischling, Greenhorn usw....
Habe mir den Pi 3 +B aufgesetzt, soweit so gut.
Ich bekomme eine Fehlermeldung bei....
sudo /etc/init.d/homebridge status
sudo: /etc/init.d/homebridge: Befehl nicht gefunden
habe trotzdem erstmal weiter gemacht und mich um das Rademacher plugin gekümmert...
Nachdem ich es in der config.json eingefügt habe (mittels JSON Formatter) bekam ich bei der Überprüfung mit :
"sudo homebridge" den nächsten Fehler. jemand eine Idee oder einen tipp ?
Marcel@raspberrypi:~/.homebridge $ sudo homebridge
[Thu Mar 14 2019 22:53:17 GMT+0100 (CET)] config.json (/root/.homebridge/config.json) not found.
[Thu Mar 14 2019 22:53:18 GMT+0100 (CET)] Loaded plugin: homebridge-rademacher-homepilot
[Thu Mar 14 2019 22:53:18 GMT+0100 (CET)] Registering platform 'homebridge-rademacher-homepilot.RademacherHomePilot'
[Thu Mar 14 2019 22:53:18 GMT+0100 (CET)] ---
Load homebridge-rademacher-homepilot.RademacherHomePilot
/usr/local/lib/node_modules/homebridge-rademacher-homepilot/index.js:27
this.url = config["url"];
^
TypeError: Cannot read property 'url' of null
at new RademacherHomePilot (/usr/local/lib/node_modules/homebridge-rademacher-homepilot/index.js:27:22)
at Server.str.replace.Server._loadDynamicPlatforms (/usr/local/lib/node_modules/homebridge/lib/server.js:347:30)
at Server.str.replace.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:45:10)
at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Function.Module.runMain (module.js:467:10)
UND
Marcel@raspberrypi:~/.homebridge $ homebridge
[Thu Mar 14 2019 23:11:09 GMT+0100 (CET)] Loaded config.json with 1 accessories and 0 platforms.
[Thu Mar 14 2019 23:11:09 GMT+0100 (CET)] ---
[Thu Mar 14 2019 23:11:10 GMT+0100 (CET)] Loaded plugin: homebridge-rademacher-homepilot
[Thu Mar 14 2019 23:11:10 GMT+0100 (CET)] Registering platform 'homebridge-rademacher-homepilot.RademacherHomePilot'
[Thu Mar 14 2019 23:11:10 GMT+0100 (CET)] ---
[Thu Mar 14 2019 23:11:10 GMT+0100 (CET)] Loading 1 accessories...
/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.str.replace.Server._loadAccessories (/usr/local/lib/node_modules/homebridge/lib/server.js:286:42)
at Server.str.replace.Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:87:38)
at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:45:10)
at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Function.Module.runMain (module.js:467:10)
Mein Anfänger Latein ist am Ende, eventuell und das mit großer Wahrscheinlichkeit seht ihr mehr als ich
Liebe Grüße Marcel
Wer Rechtschreibfehler außerhalb der entsprechenden logs findet darf sie behalten