Homebridge-philipshue Plugin funktioniert nicht

  • <p>&lt;p&gt;Jemand ne Ahnung was falsch ist ?&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;br&gt;&lt;p&gt;pi@raspberrypi:~ $ sudo homebridge&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;p&gt;[2018-7-24 01:56:37] config.json (/root/.homebridge/config.json) not found.&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;p&gt;[2018-7-24 01:56:37] Plugin /usr/local/lib/node_modules/homebridge-hue requires Node version of ^8.11.3 which does not satisfy the current Node version of v6.10.0. You may need to upgrade your installation of Node.&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;p&gt;[2018-7-24 01:56:38] ====================&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;p&gt;[2018-7-24 01:56:38] ERROR LOADING PLUGIN homebridge-hue:&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;p&gt;[2018-7-24 01:56:38] /usr/local/lib/node_modules/homebridge-hue/node_modules/homebridge-lib/lib/LibPlatform.js:127&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;p&gt;async _identify () {&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;p&gt;^^^^^^^^^&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;p&gt;SyntaxError: Unexpected identifier&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;p&gt;at Object.exports.runInThisContext (vm.js:76:16)&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;p&gt;at Module._compile (module.js:542:28)&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;p&gt;at Object.Module._extensions..js (module.js:579:10)&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;p&gt;at Module.load (module.js:487:32)&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;p&gt;at tryModuleLoad (module.js:446:12)&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;p&gt;at Function.Module._load (module.js:438:3)&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;p&gt;at Module.require (module.js:497:17)&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;p&gt;at require (internal/module.js:20:19)&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;p&gt;at Object.&amp;lt;anonymous&amp;gt; (/usr/local/lib/node_modules/homebridge-hue/node_modules/homebridge-lib/index.js:17:16)&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;p&gt;at Module._compile (module.js:570:32)&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;p&gt;[2018-7-24 01:56:38] ====================&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;p&gt;[2018-7-24 01:56:38] No plugins found. See the README for information on installing plugins.&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;p&gt;Setup Payload:&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;p&gt;X-HM://0023ISYWY6LF9&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;p&gt;Scan this code with your HomeKit app on your iOS device to pair with Homebridge:&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;p&gt;Or enter this code with your HomeKit app on your iOS device to pair with Homebridge:&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;br&gt;&lt;p&gt;??????????????&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;p&gt;? 031-45-154 ?&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;p&gt;??????????????&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;br&gt;&lt;p&gt;[2018-7-24 01:56:39] Homebridge is running on port 33771.&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;br&gt;&lt;p&gt;Und hier meine config.json:&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;br&gt;&lt;p&gt;{&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;p&gt;"bridge":{&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;p&gt;"name":"Homebridge",&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;p&gt;"username":"CC:22:3D:E3:CE:30",&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;p&gt;"port":51826,&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;p&gt;"pin":"031-45-154"&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;p&gt;},&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;p&gt;"accessories":[&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;br&gt;&lt;p&gt;],&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;p&gt;"platforms":[&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;p&gt;{&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;p&gt;"platform":"Hue",&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;p&gt;"users":{&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;p&gt;"001788FFFExxxxxx":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;p&gt;"001788FFFEyyyyyy":"yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy"&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;p&gt;},&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;p&gt;"lights":true&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;p&gt;}&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;p&gt;]&lt;/p&gt;</p>
    <br><p>&lt;br&gt;&lt;p&gt;}&lt;/p&gt;</p>

  • Sieht nach einem wilden Durcheinander aus. Lies mal das: https://forum.smartapfel.de/at…-setup-v36-compressed-pdf


    Stefan

  • Einmal wird als root gestartet aber er findet keine config im root Verzeichnis.

    Dann passt sie Node Version nicht. Des weiteren steht da, dass HB fuer den Port 33771 konfiguriert sei, jedoch in der config.json ist es 51826.


    Heißt, Homebridge ist entweder doppelt installiert und du startest die falsche, oder sie ist falsch konfiguriert durch die Installation und jetzt weiß man nicht mehr wo vorne und hinten ist...

  • Einmal wird als root gestartet aber er findet keine config im root Verzeichnis.
    Dann passt sie Node Version nicht. Des weiteren steht da, dass HB fuer den Port 33771 konfiguriert sei, jedoch in der config.json ist es 51826.


    Heißt, Homebridge ist entweder doppelt installiert und du startest die falsche, oder sie ist falsch konfiguriert durch die Installation und jetzt weiß man nicht mehr wo vorne und hinten ist...


    Bedeutet ich muss alles neu aufsetzen?



    Sent from my iPhone using Community

  • Die Installtion von der Anleitung sollte schon klappen, mich irritiert nur, dass du Homebridge per sudo startest und es anscheinend zwei configs gib?!

  • Ziemliches Durcheinander.


    Ich würde mal neu anfangen.