Beiträge von Decoderm

    Hallo Leute,

    ich versuche vergeblich das Vorwerk Plugin bei mir zu integrieren. Meine config sieht im Moment so aus:



    {

    "bridge": {

    "name": "Homebridge",

    "username": "xx:xx:xx:xx:xx:xx",

    "port": 51826,

    "pin": "xxx-xx-xxx"

    },


    "accessories": [

    ],


    "platforms" : [

    {

    "name" : "HarmonyHub",

    "platform" : "HarmonyHub"

    },

    {

    "platform": "Fritz!Box",

    "name": "FRITZ!Box",

    "username": "name",

    "password": "password",

    "url": "http://fritz.box",

    "interval": 60,

    "hide": ["wifi", "<ain>"],

    "options": {

    "strictSSL": false

    },

    {

    "platform": "VorwerkVacuumRobot",

    "email": "YourEmail",

    "password": "YourPassword"

    }

    }

    ]

    }


    Weis irgendwie nicht wo der Fehler liegt. Ohne Vorwerk Plugin funktioniert das bei mir..

    Das habe ich gerade bekommen beim


    sudo service homebridge start


    Job for homebridge.service failed because the control process exited with error code.

    See "systemctl status homebridge.service" and "journalctl -xe" for details.


    Was kann ich jetzt am besten machen?

    Das ist von heute. Da sieht man das es gestern um 20:47 lief. Um 06:05 habe ich es von Hand gestartet.


    [2018-2-20 20:47:14] Homebridge is running on port 51826.

    [2018-2-21 06:05:21] Loaded plugin: homebridge-fritz

    [2018-2-21 06:05:21] Registering platform 'homebridge-fritz.Fritz!Box'

    [2018-2-21 06:05:21] ---

    [2018-2-21 06:05:22] Loaded plugin: homebridge-harmonyhub

    [2018-2-21 06:05:22] Registering platform 'homebridge-harmonyhub.HarmonyHub'

    [2018-2-21 06:05:22] ---

    [2018-2-21 06:05:22] Loaded plugin: homebridge-http-switch

    [2018-2-21 06:05:22] Registering accessory 'homebridge-http-switch.HTTP-SWITCH'

    [2018-2-21 06:05:22] ---

    [2018-2-21 06:05:22] Loaded config.json with 0 accessories and 2 platforms.

    [2018-2-21 06:05:22] ---

    [2018-2-21 06:05:22] Loading 2 platforms...

    [2018-2-21 06:05:22] [HarmonyHub] Initializing HarmonyHub platform...

    [2018-2-21 06:05:22] [HarmonyHub] Searching for Logitech Harmony remote hubs...

    [2018-2-21 06:05:22] [FRITZ!Box] Initializing Fritz!Box platform...

    [2018-2-21 06:05:22] Loading 0 accessories...

    Failed to find plugin to handle accessory Harmony

    [2018-2-21 06:05:23] [FRITZ!Box] Fritz!Box platform login successful

    [2018-2-21 06:05:23] [FRITZ!Box] Discovering accessories

    [2018-2-21 06:05:23] [FRITZ!Box] Outlets found: 087610083856

    [2018-2-21 06:05:24] [HarmonyHub] Found Logitech Harmony remote hub: 192.168.1.180

    [2018-2-21 06:05:24] [HarmonyHub] Connecting to Logitech Harmony remote hub...

    [2018-2-21 06:05:24] [FRITZ!Box] Thermostats found: none

    [2018-2-21 06:05:24] [FRITZ!Box] Sensors found: none

    [2018-2-21 06:05:24] [FRITZ!Box] Initializing platform accessory 'FRITZ!DECT 200 #3'...

    [2018-2-21 06:05:24] [HarmonyHub] Connected to Logitech Harmony remote hub

    [2018-2-21 06:05:24] [HarmonyHub] Fetching Logitech Harmony devices and activites...

    [2018-2-21 06:05:24] [HarmonyHub] Fetching Logitech Harmony activities...

    [2018-2-21 06:05:25] [HarmonyHub] Found activities:

    Kartina

    PowerOff

    Musik hören

    Apple - TV

    Fernsehen

    [2018-2-21 06:05:25] [HarmonyHub] Initializing platform accessory 'Apple - TV'...

    [2018-2-21 06:05:25] [HarmonyHub] Initializing platform accessory 'Fernsehen'...

    [2018-2-21 06:05:25] [HarmonyHub] Initializing platform accessory 'Kartina'...

    [2018-2-21 06:05:25] [HarmonyHub] Initializing platform accessory 'Musik hören'...

    Setup Payload:

    X-HM://0023ISYWYG9D2

    Scan this code with your HomeKit app on your iOS device to pair with Homebridge:


    [2018-2-21 06:05:25] Homebridge is running on port 51826.

    [2018-2-21 06:05:33] [FRITZ!Box] Getting outlet 087610083856 state

    [2018-2-21 06:05:33] [FRITZ!Box] Getting outlet 087610083856 temperature

    [2018-2-21 06:06:23] [FRITZ!Box] Updating outlet 087610083856

    [2018-2-21 06:06:23] [FRITZ!Box] Getting outlet 087610083856 state

    [2018-2-21 06:06:23] [FRITZ!Box] Getting outlet 087610083856 power usage

    [2018-2-21 06:06:23] [FRITZ!Box] Getting outlet 087610083856 in use

    [2018-2-21 06:06:23] [FRITZ!Box] Getting outlet 087610083856 energy consumption

    [2018-2-21 06:06:23] [FRITZ!Box] Getting outlet 087610083856 temperature

    [2018-2-21 06:07:24] [FRITZ!Box] Updating outlet 087610083856

    [2018-2-20 06:14:09] Loaded plugin: homebridge-fritz

    [2018-2-20 06:14:09] Registering platform 'homebridge-fritz.Fritz!Box'

    [2018-2-20 06:14:09] ---

    [2018-2-20 06:14:09] Loaded plugin: homebridge-harmonyhub

    [2018-2-20 06:14:09] Registering platform 'homebridge-harmonyhub.HarmonyHub'

    [2018-2-20 06:14:09] ---

    [2018-2-20 06:14:10] Loaded plugin: homebridge-http-switch

    [2018-2-20 06:14:10] Registering accessory 'homebridge-http-switch.HTTP-SWITCH'

    [2018-2-20 06:14:10] ---

    [2018-2-20 06:14:10] Loaded config.json with 1 accessories and 2 platforms.

    [2018-2-20 06:14:10] ---

    [2018-2-20 06:14:10] Loading 2 platforms...

    [2018-2-20 06:14:10] [HarmonyHub] Initializing HarmonyHub platform...

    [2018-2-20 06:14:10] [HarmonyHub] Searching for Logitech Harmony remote hubs...

    [2018-2-20 06:14:10] [FRITZ!Box] Initializing Fritz!Box platform...

    [2018-2-20 06:14:10] Loading 1 accessories...

    [2018-2-20 06:14:10] [Dreambox] Initializing HTTP-SWITCH accessory...

    Failed to find plugin to handle accessory Harmony

    [2018-2-20 06:14:11] [FRITZ!Box] Fritz!Box platform login successful

    [2018-2-20 06:14:11] [FRITZ!Box] Discovering accessories

    [2018-2-20 06:14:11] [FRITZ!Box] Outlets found: 087610083856

    [2018-2-20 06:14:11] [HarmonyHub] Found Logitech Harmony remote hub: 192.168.1.180

    [2018-2-20 06:14:11] [HarmonyHub] Connecting to Logitech Harmony remote hub...

    [2018-2-20 06:14:12] [FRITZ!Box] Thermostats found: none

    [2018-2-20 06:14:12] [FRITZ!Box] Sensors found: none

    [2018-2-20 06:14:12] [FRITZ!Box] Initializing platform accessory 'FRITZ!DECT 200 #3'...

    [2018-2-20 06:14:12] [HarmonyHub] Connected to Logitech Harmony remote hub

    [2018-2-20 06:14:12] [HarmonyHub] Fetching Logitech Harmony devices and activites...

    [2018-2-20 06:14:12] [HarmonyHub] Fetching Logitech Harmony activities...

    [2018-2-20 06:14:13] [HarmonyHub] Found activities:

    Kartina

    PowerOff

    Musik hören

    Apple - TV

    Fernsehen

    [2018-2-20 06:14:13] [HarmonyHub] Initializing platform accessory 'Apple - TV'...

    [2018-2-20 06:14:13] [HarmonyHub] Initializing platform accessory 'Fernsehen'...

    [2018-2-20 06:14:13] [HarmonyHub] Initializing platform accessory 'Kartina'...

    [2018-2-20 06:14:13] [HarmonyHub] Initializing platform accessory 'Musik hören'...

    Sorry bin ganz neu in der Materie.:rolleyes:

    Anscheinend ist die Datei nicht vorhanden


    chown: cannot access '/var/log/homebridge.log': No such file or directory


    habe den raspberry pi komplett neu gestartet, jetzt kann die homebridge mit sudo /etc/init.d/homebridge start gestartet werden.

    ich habe folgende Plugins installiert:


    [email protected]

    https://www.npmjs.com/package/homebridge-fritzbox

    https://www.npmjs.com/package/http-switch (werde ich wieder runter schmeißen)


    habe die Zeile abgeändert.


    kann die Homebridge jetzt mit

    Code
    sudo /etc/init.d/homebridge start

    nicht mehr starten.


    kommt folgende Meldung:


    -su: /var/log/homebridge.log: Permission denied


    mit nohup homebridge &

    kommt jetzt


    nohup: ignoring input and appending output to 'nohup.out'

    #!/bin/sh

    ### BEGIN INIT INFO

    # Provides: homebridge

    # Required-Start: $network $remote_fs $syslog

    # Required-Stop: $remote_fs $syslog

    # Default-Start: 2 3 4 5

    # Default-Stop: 0 1 6

    # Short-Description: Start daemon at boot time for homebridge

    # Description: Enable service provided by daemon.

    ### END INIT INFO

    export PATH=$PATH:/usr/local/bin

    export NODE_PATH=$NODE_PATH:/usr/local/lib/node_modules

    PID=`pidof homebridge`

    case "$1" in

    start)

    if ps -p $PID > /dev/null 2>&1; then

    echo "Homebridge is already running"

    else

    su - pi -c "homebridge > /dev/null 2>&1 &"

    echo "Homebridge starting"

    $0 status

    fi

    ;;

    stop)

    if ! ps -p $PID > /dev/null 2>&1; then

    echo "Homebridge is not running"

    else

    kill $PID

    echo "Homebridge closed"

    fi

    ;;

    restart)

    if ! ps -p $PID > /dev/null 2>&1; then

    $0 start

    else

    $0 stop

    $0 start

    fi

    ;;

    status)

    if ps -p $PID > /dev/null 2>&1; then

    echo "Homebridge is running PID $PID"

    else

    echo "Homebridge is not running"

    fi

    ;;

    *)

    echo "Usage: $0 {start|stop|status|restart}"

    exit 1

    ;;

    esac

    exit 0