Homebridge läuft aber das wars auch schon

  • Guten abend zusammen,


    Ich habe meine Homebridge nach der Anleitung hier eingerichtet. Wenn ich das Log aufrufe erscheint mir der geünsche Bildschirm mit QR Code und erstmal sieht alles gut aus.

    Aber, ich kann über die IP und Port 8080 Eingabe keine Weboberfläche aufrufen, es erscheint die Meldung Website nicht erreichbar.

    Das 2. Problem ist:

    Ich wollte das Samsung Tizen Pluin installieren was nach kompatibilitäts check auch geklappt hat, dann nach Anleitung weiter gemacht. Alles sieht aus wie abgebildet aber es läuft nicht.

    So sieht meine config aus:


    {

    "bridge": {

    "name": "Homebridge",

    "username": "CC:22:3D:E3:CE:30",

    "manufacturer": "homebridge.io",

    "model": "homebridge",

    "port": 51826,

    "pin": "031-45-154"

    },

    "description": "Home Smart Home",

    "platforms": [

    {

    "platform": "config",

    "name": "Config",

    "port": 8080,

    "auth": "form",

    "theme": "red",

    "restart": "sudo -n systemctl restart homebridge",

    "temp": "/sys/class/thermal/thermal_zone0/temp",

    "sudo": true,

    "log": {

    "method": "custom",

    "command": "journalctl -o cat -n 500 -f -u homebridge"

    }

    }

    ],

    "accessories": [

    ],


    "platforms": [

    {

    "platform": "SamsungTizen",

    "app_list": false,

    "devices": [

    {

    "name": "TV--Living-room",

    "ip": "192.168.178.28",

    "mac": "CC:B1:1A:o2:oA:C4",

    "switches": [

    {"name": "Mute", "mute": true},

    {"name": "Sleep", "sleep": 60},

    {"name": "Channel", "channel": 13},

    {"name": "Command 1", "command": "KEY_VOLUP"},

    {"name": "Command 2", "command": "KEY_VOLUP*5"},

    {"name": "Command 3", "command": ["KEY_VOLUP", "KEY_VOLDOWN"]},

    {"name": "Command 4", "command": ["KEY_VOLUP*5", "KEY_VOLDOWN*3"]},


    {

    "bridge": {

    "name": "Homebridge",

    "username": "CC:22:3D:E3:CE:30",

    "manufacturer": "homebridge.io",

    "model": "homebridge",

    "port": 51826,

    "pin": "031-45-154"

    },

    "description": "Home Smart Home",

    "platforms": [

    {

    "platform": "config",

    "name": "Config",

    "port": 8080,

    "auth": "form",

    "theme": "red",

    "restart": "sudo -n systemctl restart homebridge",

    "temp": "/sys/class/thermal/thermal_zone0/temp",

    "sudo": true,

    "log": {

    "method": "custom",

    "command": "journalctl -o cat -n 500 -f -u homebridge"

    }

    }

    ],

    "accessories": [

    ],


    "platforms": [

    {

    "platform": "SamsungTizen",

    "app_list": false,

    "devices": [

    {

    "name": "TV--Living-room",

    "ip": "192.168.178.28",

    "mac": "CC:B1:1A:o2:oA:C4",

    "switches": [

    {"name": "Mute", "mute": true},

    {"name": "Sleep", "sleep": 60},

    {"name": "Channel", "channel": 13},

    {"name": "Command 1", "command": "KEY_VOLUP"},

    {"name": "Command 2", "command": "KEY_VOLUP*5"},

    {"name": "Command 3", "command": ["KEY_VOLUP", "KEY_VOLDOWN"]},

    {"name": "Command 4", "command": ["KEY_VOLUP*5", "KEY_VOLDOWN*3"]},

    "command": "journalctl -o cat -n 500 -f -u homebridge"

    }

    }

    ],

    "accessories": [

    ],


    "platforms": [

    {

    "platform": "SamsungTizen",

    "app_list": false,

    "devices": [

    {

    "name": "TV--Living-room",

    "ip": "192.168.178.28",

    "mac": "CC:B1:1A:o2:oA:C4",

    "switches": [

    {"name": "Mute", "mute": true},

    {"name": "Sleep", "sleep": 60},

    {"name": "Channel", "channel": 13},

    {"name": "Command 1", "command": "KEY_VOLUP"},

    {"name": "Command 2", "command": "KEY_VOLUP*5"},

    {"name": "Command 3", "command": ["KEY_VOLUP", "KEY_VOLDOWN"]},

    {"name": "Command 4", "command": ["KEY_VOLUP*5", "KEY_VOLDOWN*3"]},

    {"name": "All", "sleep": 60, "mute": true, "command": ["KEY_VOLUP", "KEY_VOLDOWN"], "channel": 13}

    ],

    "accessories": [

    ],


    "platforms": [

    {

    "platform": "SamsungTizen",

    "app_list": false,

    "devices": [

    {

    "name": "TV--Living-room",

    "ip": "192.168.178.28",

    "mac": "CC:B1:1A:o2:oA:C4",

    "command": "journalctl -o cat -n 500 -f -u homebridge"

    }

    }

    ],

    "accessories": [

    ],


    "platforms": [

    {

    "platform": "SamsungTizen",

    "app_list": false,

    "devices": [

    {

    "name": "TV--Living-room",

    "ip": "192.168.178.28",

    "mac": "CC:B1:1A:o2:oA:C4",

    "switches": [

    {"name": "Mute", "mute": true},

    {"name": "Sleep", "sleep": 60},

    {"name": "Channel", "channel": 13},

    {"name": "Command 1", "command": "KEY_VOLUP"},

    {"name": "Command 2", "command": "KEY_VOLUP*5"},

    {"name": "Command 3", "command": ["KEY_VOLUP", "KEY_VOLDOWN"]},

    {"name": "Command 4", "command": ["KEY_VOLUP*5", "KEY_VOLDOWN*3"]},

    {"name": "All", "sleep": 60, "mute": true, "command": ["KEY_VOLUP", "KEY_VOLDOWN"], "channel": 13}

    "switches": [

    {"name": "Mute", "mute": true},

    {"name": "Sleep", "sleep": 60},

    {"name": "Channel", "channel": 13},

    {"name": "Command 1", "command": "KEY_VOLUP"},

    {"name": "Command 2", "command": "KEY_VOLUP*5"},

    {"name": "Command 3", "command": ["KEY_VOLUP", "KEY_VOLDOWN"]},

    {"name": "Command 4", "command": ["KEY_VOLUP*5", "KEY_VOLDOWN*3"]},

    {"name": "All", "sleep": 60, "mute": true, "command": ["KEY_VOLUP", "KEY_VOLDOWN"], "channel": 13}

    "name": "TV--Living-room",

    "ip": "192.168.178.28",

    "mac": "CC:B1:1A:o2:oA:C4",

    "command": "journalctl -o cat -n 500 -f -u homebridge"

    }

    }

    ],

    "accessories": [

    ],


    "platforms": [

    {

    "platform": "SamsungTizen",

    "app_list": false,

    "devices": [

    {

    "name": "TV--Living-room",

    "ip": "192.168.178.28",

    "mac": "CC:B1:1A:o2:oA:C4",

    "switches": [

    {"name": "Mute", "mute": true},

    {"name": "Sleep", "sleep": 60},

    {"name": "Channel", "channel": 13},

    {"name": "Command 1", "command": "KEY_VOLUP"},

    {"name": "Command 2", "command": "KEY_VOLUP*5"},

    {"name": "Command 3", "command": ["KEY_VOLUP", "KEY_VOLDOWN"]},

    {"name": "Command 4", "command": ["KEY_VOLUP*5", "KEY_VOLDOWN*3"]},

    {"name": "All", "sleep": 60, "mute": true, "command": ["KEY_VOLUP", "KEY_VOLDOWN"], "channel": 13}

    "switches": [

    {"name": "Mute", "mute": true},

    {"name": "Sleep", "sleep": 60},

    {"name": "Channel", "channel": 13},

    {"name": "Command 1", "command": "KEY_VOLUP"},

    {"name": "Command 2", "command": "KEY_VOLUP*5"},

    {"name": "Command 3", "command": ["KEY_VOLUP", "KEY_VOLDOWN"]},

    {"name": "Command 4", "command": ["KEY_VOLUP*5", "KEY_VOLDOWN*3"]},

    {"name": "All", "sleep": 60, "mute": true, "command": ["KEY_VOLUP", "KEY_VOLDOWN"], "channel": 13}

    "switches": [

    {"name": "Mute", "mute": true},

    {"name": "Sleep", "sleep": 60},

    {"name": "Channel", "channel": 13},

    {"name": "Command 1", "command": "KEY_VOLUP"},

    {"name": "Command 2", "command": "KEY_VOLUP*5"},

    {"name": "Command 3", "command": ["KEY_VOLUP", "KEY_VOLDOWN"]},

    {"name": "Command 4", "command": ["KEY_VOLUP*5", "KEY_VOLDOWN*3"]},

    {"name": "All", "sleep": 60, "mute": true, "command": ["KEY_VOLUP", "KEY_VOLDOWN"], "channel": 13}

    ],

    {

    "platform": "SamsungTizen",

    "app_list": false,

    "devices": [

    {

    "name": "TV--Living-room",

    "ip": "192.168.178.28",

    "mac": "CC:B1:1A:o2:oA:C4",

    "switches": [

    {"name": "Mute", "mute": true},

    {"name": "Sleep", "sleep": 60},

    {"name": "Channel", "channel": 13},

    {"name": "Command 1", "command": "KEY_VOLUP"},

    {"name": "Command 2", "command": "KEY_VOLUP*5"},

    {"name": "Command 3", "command": ["KEY_VOLUP", "KEY_VOLDOWN"]},

    {"name": "Command 4", "command": ["KEY_VOLUP*5", "KEY_VOLDOWN*3"]},

    {"name": "All", "sleep": 60, "mute": true, "command": ["KEY_VOLUP", "KEY_VOLDOWN"], "channel": 13}

    "switches": [

    {"name": "Mute", "mute": true},

    {"name": "Sleep", "sleep": 60},

    {"name": "Channel", "channel": 13},

    {"name": "Command 1", "command": "KEY_VOLUP"},

    {"name": "Command 2", "command": "KEY_VOLUP*5"},

    {"name": "Command 3", "command": ["KEY_VOLUP", "KEY_VOLDOWN"]},

    {"name": "Command 4", "command": ["KEY_VOLUP*5", "KEY_VOLDOWN*3"]},

    {"name": "All", "sleep": 60, "mute": true, "command": ["KEY_VOLUP", "KEY_VOLDOWN"], "channel": 13}

    "switches": [

    {"name": "Mute", "mute": true},

    {"name": "Sleep", "sleep": 60},

    {"name": "Channel", "channel": 13},

    {"name": "Command 1", "command": "KEY_VOLUP"},

    {"name": "Command 2", "command": "KEY_VOLUP*5"},

    {"name": "Command 3", "command": ["KEY_VOLUP", "KEY_VOLDOWN"]},

    {"name": "Command 4", "command": ["KEY_VOLUP*5", "KEY_VOLDOWN*3"]},

    {"name": "All", "sleep": 60, "mute": true, "command": ["KEY_VOLUP", "KEY_VOLDOWN"], "channel": 13}

    ],

    "switches": [

    {"name": "Mute", "mute": true},

    {"name": "Sleep", "sleep": 60},

    {"name": "Channel", "channel": 13},

    {"name": "Command 1", "command": "KEY_VOLUP"},

    {"name": "Command 2", "command": "KEY_VOLUP*5"},

    {"name": "Command 3", "command": ["KEY_VOLUP", "KEY_VOLDOWN"]},

    {"name": "Command 4", "command": ["KEY_VOLUP*5", "KEY_VOLDOWN*3"]},

    {"name": "All", "sleep": 60, "mute": true, "command": ["KEY_VOLUP", "KEY_VOLDOWN"], "channel": 13}

    ],

    "inputs": [

    {

    "name": "Netflix",

    "type": "app",

    "value": "11101200001"

    },

    {

    "name": "VUDU",

    "type": "app",

    "value": "111012010001"

    },

    {

    "name": "YouTube",

    "type": "app",

    "value": "111299001912"

    }

    ]

    }

    ]

    }

    ]

    }]

    }



    Ich hoffe ihr könnt mir helfen, ich wäre für jede Hife sehr dankbar.:)

  • Deine Config sieht schrecklich aus, das kann so nicht funktionieren.

    Aber mal schritt für Schritt....

    Schmeiß alles was mit deinem Fernseher zu tun hat mal raus und starte die HB neu. Ich habe verstanden, dass dann dein QR angezeigt wird und das sollte dir die Möglichkeit bieten, HB zu Home hinzuzufügen.

    Wenn das schonmal klappt kannst du uns noch dein Log mitteilen, dann können wir vielleicht auch rausfinden, warum deine Config UI über die Raspi-IP:8080 nicht erreichbar ist.

  • Vermutlich weil er die Config doppelt drin hat. Sowohl für die HB als auch config-ui-x. Ich kann dir da nur zustimmen. Das sieht schrecklich aus.

  • Also jetzt sieht es so aus.




    geht aber trotzdem nicht. Vielen Dank schonmal für eure Hilfe:)

    Einmal editiert, zuletzt von Spy ()

  • Nun, wir brauchen schon eine Konkrete Fehlermeldung sonst wird es mit dem helfen schwer. "Geht nicht" bringt uns nicht weiter.


    Bitte verwende die Code Tags. Das "</>" Symbol. So kann man Code besser lesen

  • Frage:


    - startet die Homebridge richtig? Kannst du das im log sehen?


    - wo hast du die config.json ausgelesen (ich nehme an im Terminal mit einem editor?)



    sonst einfach mal folgendes:



    sudo systemctl daemon-reload


    sudo systemctl enable homebridge


    sudo systemctl start homebridge

  • Ich hab alle Befehle eingegeben. Passiert nichts also keine Fehlermeldung.

    Wenn ich diesen Befehle bzw Befehle eingebe:


    1 sudo systemctl restart homebridge; sudo journalctl -fau homebridge

    Erscheint das in der Abbildung gezeigte Bild mit dem QR Code. aber die HB über den Webbrowser aufrufen geht nicht.

  • IErscheint das in der Abbildung gezeigte Bild mit dem QR Code. aber die HB über den Webbrowser aufrufen geht nicht.

    Wir haben weder eine Abbildung von dir noch dein Log. Rätselraten macht zwar Spaß, dauert aber unendlich bis eine Lösung dabei raus kommt.

    Also, am besten hier dein komplettes Log posten und zu 90% steht darin dein Problem.


    Vielleicht auch einfach aus der Langeweile nochmal die Config-UI-X installieren und uns wissen lassen, ob die Installation sauber durchgelaufen ist.

    Code
    sudo npm install -g --unsafe-perm homebridge-config-ui-x
  • Also die Instalation ist durchgelaufen ohne Fehlermeldung. Hab ein Bild eingefügt. Oder war mit Log was anderes gemeint? Da kommt mir gleich noch eine Frage wenn ich das Log öffne, wie komme ich wieder zurück in den normalen Eingabemodus?

  • -- Logs begin at Fri 2021-01-15 15:17:01 CET. --

    Jan 15 15:22:40 raspberrypi homebridge[390]: │ 031-45-154 │

    Jan 15 15:22:40 raspberrypi homebridge[390]: └─────────────

    Jan 15 15:22:40 raspberrypi homebridge[390]:

    Jan 15 15:22:40 raspberrypi homebridge[390]: [15.1.2021, 15:22:40] Homebridge is running on port 51826.

    Jan 15 17:14:34 raspberrypi systemd[1]: Stopping Node.js HomeKit Server...

    Jan 15 17:14:34 raspberrypi homebridge[390]: [15.1.2021, 17:14:34] Got SIGTERM, shutting down Homebridge...

    Jan 15 17:14:39 raspberrypi systemd[1]: homebridge.service: Main process exited, code=exited, status=143/n/a

    Jan 15 17:14:39 raspberrypi systemd[1]: homebridge.service: Failed with result 'exit-code'.

    Jan 15 17:14:39 raspberrypi systemd[1]: Stopped Node.js HomeKit Server.

    Jan 15 17:14:39 raspberrypi systemd[1]: Started Node.js HomeKit Server.

    Jan 15 17:14:40 raspberrypi homebridge[2037]: [15.1.2021, 17:14:40] Loaded config.json with 0 accessories and 0 platforms.

    Jan 15 17:14:40 raspberrypi homebridge[2037]: [15.1.2021, 17:14:40] ---

    Jan 15 17:14:41 raspberrypi homebridge[2037]: [15.1.2021, 17:14:41] Loaded plugin: [email protected]

    Jan 15 17:14:41 raspberrypi homebridge[2037]: [15.1.2021, 17:14:41] Registering platform 'homebridge-config-ui-x.config'

    Jan 15 17:14:41 raspberrypi homebridge[2037]: [15.1.2021, 17:14:41] ---

    Jan 15 17:14:41 raspberrypi homebridge[2037]: [15.1.2021, 17:14:41] Loaded plugin: [email protected]

    Jan 15 17:14:41 raspberrypi homebridge[2037]: [15.1.2021, 17:14:41] Registering platform 'homebridge-samsung-tizen.SamsungTizen'

    Jan 15 17:14:41 raspberrypi homebridge[2037]: [15.1.2021, 17:14:41] ---

    Jan 15 17:14:41 raspberrypi homebridge[2037]: Setup Payload:

    Jan 15 17:14:41 raspberrypi homebridge[2037]: X-HM://0023ISYWYINCK

    Jan 15 17:14:41 raspberrypi homebridge[2037]: Scan this code with your HomeKit app on your iOS device to pair with Homebridge:

    Jan 15 17:14:41 raspberrypi homebridge[2037]:

    Jan 15 17:14:41 raspberrypi homebridge[2037]:

    Jan 15 17:14:41 raspberrypi homebridge[2037]:

    Jan 15 17:14:41 raspberrypi homebridge[2037]:

    Jan 15 17:14:41 raspberrypi homebridge[2037]:

    Jan 15 17:14:41 raspberrypi homebridge[2037]:

    Jan 15 17:14:41 raspberrypi homebridge[2037]:

    Jan 15 17:14:41 raspberrypi homebridge[2037]:

    Jan 15 17:14:41 raspberrypi homebridge[2037]:

    Jan 15 17:14:41 raspberrypi homebridge[2037]:

    Jan 15 17:14:41 raspberrypi homebridge[2037]:

    Jan 15 17:14:41 raspberrypi homebridge[2037]:

    Jan 15 17:14:41 raspberrypi homebridge[2037]:

    Jan 15 17:14:41 raspberrypi homebridge[2037]:

    Jan 15 17:14:41 raspberrypi homebridge[2037]:

    Jan 15 17:14:41 raspberrypi homebridge[2037]:

    Jan 15 17:14:41 raspberrypi homebridge[2037]:

    Jan 15 17:14:41 raspberrypi homebridge[2037]:

    Jan 15 17:14:41 raspberrypi homebridge[2037]:

    Jan 15 17:14:41 raspberrypi homebridge[2037]:

    Jan 15 17:14:41 raspberrypi homebridge[2037]:

    Jan 15 17:14:41 raspberrypi homebridge[2037]:

    Jan 15 17:14:41 raspberrypi homebridge[2037]:

    Jan 15 17:14:41 raspberrypi homebridge[2037]:

    Jan 15 17:14:41 raspberrypi homebridge[2037]:

    Jan 15 17:14:41 raspberrypi homebridge[2037]:

    Jan 15 17:14:41 raspberrypi homebridge[2037]:

    Jan 15 17:14:41 raspberrypi homebridge[2037]: Or enter this code with your HomeKit app on your iOS device to pair with Homebridge:

    Jan 15 17:14:41 raspberrypi homebridge[2037]:

    Jan 15 17:14:41 raspberrypi homebridge[2037]: ┌────────────┐

    Jan 15 17:14:41 raspberrypi homebridge[2037]: │ 031-45-154 │

    Jan 15 17:14:41 raspberrypi homebridge[2037]: └────────────┘

    Jan 15 17:14:41 raspberrypi homebridge[2037]:

    Jan 15 17:14:41 raspberrypi homebridge[2037]: [15.1.2021, 17:14:41] Homebridge is running on port 51826.