Beiträge von Sebastian1984

    Es ist die Originaldatei gepostet, habe es nochmal wie folgt ausgeführt:

    pi@RaspberryPi:~ $ cp /home/pi/hbridge_install/files/config.json /var/homebridge/

    pi@RaspberryPi:~ $ sudo systemctl restart homebridge

    pi@RaspberryPi:~ $ sudo systemctl status homebridge

    ? homebridge.service - Node.js HomeKit Server

    Loaded: loaded (/etc/systemd/system/homebridge.service; enabled)

    Active: activating (auto-restart) (Result: exit-code) since Mi 2017-06-21 21:35:06 CEST; 5s ago

    Process: 20784 ExecStart=/usr/local/bin/homebridge $HOMEBRIDGE_OPTS (code=exited, status=1/FAILURE)

    Main PID: 20784 (code=exited, status=1/FAILURE)

    CGroup: /system.slice/homebridge.service


    Jun 21 21:35:06 RaspberryPi systemd[1]: Unit homebridge.service entered fail....

    Hint: Some lines were ellipsized, use -l to show in full.



    Scheint ein anders Problem zu sein, welches hier beschrieben wird:

    pi@RaspberryPi:~ $ homebridge


    ---

    [2017-6-21 21:48:46] Homebridge is running on port 51826.

    Loading custom types: Got an parser error: SyntaxError: Unexpected end of JSON input

    at JSON.parse (<anonymous>)

    at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/homebridge-knx/lib/customtypes/knxthermostat.js:53:29)

    at emitNone (events.js:91:20)

    at IncomingMessage.emit (events.js:188:7)

    at endReadableNT (_stream_readable.js:975:12)

    at _combinedTickCallback (internal/process/next_tick.js:80:11)

    at process._tickCallback (internal/process/next_tick.js:104:9)

    Don't care, continue...




    Post #261

    Hallo, habe das HomeKit auch installiert, funktionierte gut (die Installation) habe dann per angegeben Skript homekit-knx installiert.


    Nun läuft HomeBridige nicht mehr, nur wenn ich folgendes eingebe läuft sie mit einem Fehlerhinweis:

    pi@RaspberryPi:~ $ homebridge

    ...

    [2017-6-19 18:34:11] [homebridge-knx.KNX] Saving config file!

    ---

    [2017-6-19 18:34:11] Homebridge is running on port 51826.

    Loading custom types: Got an parser error: SyntaxError: Unexpected end of JSON input

    at JSON.parse (<anonymous>)

    at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/homebridge-knx/lib/customtypes/knxthermostat.js:53:29)

    at emitNone (events.js:91:20)

    at IncomingMessage.emit (events.js:188:7)

    at endReadableNT (_stream_readable.js:975:12)

    at _combinedTickCallback (internal/process/next_tick.js:80:11)

    at process._tickCallback (internal/process/next_tick.js:104:9)

    Don't care, continue...


    Kann mir jemand helfen?



    Über die angegebenen Kommando kommt folgendes:

    pi@RaspberryPi:~/hbridge_install $ sudo systemctl status homebridge

    ? homebridge.service - Node.js HomeKit Server

    Loaded: loaded (/etc/systemd/system/homebridge.service; enabled)

    Active: activating (auto-restart) (Result: exit-code) since Mo 2017-06-19 18:37:45 CEST; 9s ago

    Process: 20666 ExecStart=/usr/local/bin/homebridge $HOMEBRIDGE_OPTS (code=exited, status=1/FAILURE)

    Main PID: 20666 (code=exited, status=1/FAILURE)

    CGroup: /system.slice/homebridge.service


    Jun 19 18:37:45 RaspberryPi systemd[1]: homebridge.service: main process exi...E

    Jun 19 18:37:45 RaspberryPi systemd[1]: Unit homebridge.service entered fail....

    Hint: Some lines were ellipsized, use -l to show in full.