Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. ioBroker Master Slave funktioniert nicht

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.9k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.3k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.4k

ioBroker Master Slave funktioniert nicht

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
9 Beiträge 5 Kommentatoren 627 Aufrufe 4 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • I Offline
    I Offline
    iobrokerin
    schrieb am zuletzt editiert von
    #1

    Hallo, ich habe einen ioBroker auf einem Raspi als Master konfiguriert:

    bernd@raspberrypi:~ $ iobroker multihost enable
    Please check the binding of the configured jsonl server to allow remote connections.
    No configuration change needed.
    
    
    Multihost discovery server: enabled
    Discovery authentication:   enabled
    Persistent activation:      disabled
    Objects:                    jsonl on 0.0.0.0
    States:                     jsonl on 0.0.0.0
    bernd@raspberrypi:~ $ sudo ufw status
    Status: active
    
    To                         Action      From
    --                         ------      ----
    ...
    9000                       ALLOW       Anywhere
    9001                       ALLOW       Anywhere
    ...
    9000 (v6)                  ALLOW       Anywhere (v6)
    9001 (v6)                  ALLOW       Anywhere (v6)
    

    Auf meinem zweiten Raspi, der über WLAN ans Heimnetzwerk angebunden ist, versuche ich mich zu verbinden:

    bernd@raspberrypi-wb:~ $ iobroker multihost connect
    No Multihost server found. Make sure iobroker is running on the host where you enabled multihost discovery (and it is not this host)!
    bernd@raspberrypi-wb:~ $ sudo ufw status
    Status: active
    
    To                         Action      From
    --                         ------      ----
    ...
    9000                       ALLOW       Anywhere
    9001                       ALLOW       Anywhere
    ...
    9000 (v6)                  ALLOW       Anywhere (v6)
    9001 (v6)                  ALLOW       Anywhere (v6)
    

    Was könnte hier das Problem darstellen?

    HomoranH Meister MopperM 2 Antworten Letzte Antwort
    0
    • I iobrokerin

      Hallo, ich habe einen ioBroker auf einem Raspi als Master konfiguriert:

      bernd@raspberrypi:~ $ iobroker multihost enable
      Please check the binding of the configured jsonl server to allow remote connections.
      No configuration change needed.
      
      
      Multihost discovery server: enabled
      Discovery authentication:   enabled
      Persistent activation:      disabled
      Objects:                    jsonl on 0.0.0.0
      States:                     jsonl on 0.0.0.0
      bernd@raspberrypi:~ $ sudo ufw status
      Status: active
      
      To                         Action      From
      --                         ------      ----
      ...
      9000                       ALLOW       Anywhere
      9001                       ALLOW       Anywhere
      ...
      9000 (v6)                  ALLOW       Anywhere (v6)
      9001 (v6)                  ALLOW       Anywhere (v6)
      

      Auf meinem zweiten Raspi, der über WLAN ans Heimnetzwerk angebunden ist, versuche ich mich zu verbinden:

      bernd@raspberrypi-wb:~ $ iobroker multihost connect
      No Multihost server found. Make sure iobroker is running on the host where you enabled multihost discovery (and it is not this host)!
      bernd@raspberrypi-wb:~ $ sudo ufw status
      Status: active
      
      To                         Action      From
      --                         ------      ----
      ...
      9000                       ALLOW       Anywhere
      9001                       ALLOW       Anywhere
      ...
      9000 (v6)                  ALLOW       Anywhere (v6)
      9001 (v6)                  ALLOW       Anywhere (v6)
      

      Was könnte hier das Problem darstellen?

      HomoranH Nicht stören
      HomoranH Nicht stören
      Homoran
      Global Moderator Administrators
      schrieb am zuletzt editiert von
      #2

      @iobrokerin mach es zu Fuß via iob setup custom auf dem Slave

      kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

      Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

      der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

      1 Antwort Letzte Antwort
      0
      • I iobrokerin

        Hallo, ich habe einen ioBroker auf einem Raspi als Master konfiguriert:

        bernd@raspberrypi:~ $ iobroker multihost enable
        Please check the binding of the configured jsonl server to allow remote connections.
        No configuration change needed.
        
        
        Multihost discovery server: enabled
        Discovery authentication:   enabled
        Persistent activation:      disabled
        Objects:                    jsonl on 0.0.0.0
        States:                     jsonl on 0.0.0.0
        bernd@raspberrypi:~ $ sudo ufw status
        Status: active
        
        To                         Action      From
        --                         ------      ----
        ...
        9000                       ALLOW       Anywhere
        9001                       ALLOW       Anywhere
        ...
        9000 (v6)                  ALLOW       Anywhere (v6)
        9001 (v6)                  ALLOW       Anywhere (v6)
        

        Auf meinem zweiten Raspi, der über WLAN ans Heimnetzwerk angebunden ist, versuche ich mich zu verbinden:

        bernd@raspberrypi-wb:~ $ iobroker multihost connect
        No Multihost server found. Make sure iobroker is running on the host where you enabled multihost discovery (and it is not this host)!
        bernd@raspberrypi-wb:~ $ sudo ufw status
        Status: active
        
        To                         Action      From
        --                         ------      ----
        ...
        9000                       ALLOW       Anywhere
        9001                       ALLOW       Anywhere
        ...
        9000 (v6)                  ALLOW       Anywhere (v6)
        9001 (v6)                  ALLOW       Anywhere (v6)
        

        Was könnte hier das Problem darstellen?

        Meister MopperM Abwesend
        Meister MopperM Abwesend
        Meister Mopper
        schrieb am zuletzt editiert von Meister Mopper
        #3

        @iobrokerin

        Oder schau mal barrierefrei (:wink: @Homoran ) dort nach

        6563339f-f4d6-42cb-acff-16411b1e50be-grafik.png

        Proxmox und HA

        I 1 Antwort Letzte Antwort
        0
        • Meister MopperM Meister Mopper

          @iobrokerin

          Oder schau mal barrierefrei (:wink: @Homoran ) dort nach

          6563339f-f4d6-42cb-acff-16411b1e50be-grafik.png

          I Offline
          I Offline
          iobrokerin
          schrieb am zuletzt editiert von
          #4

          @meister-mopper kann es erst morgen wieder versuchen. Aber genau so ein Passwort musste ich ja setzen auf dem master via Kommandozeile

          I 1 Antwort Letzte Antwort
          0
          • I iobrokerin

            @meister-mopper kann es erst morgen wieder versuchen. Aber genau so ein Passwort musste ich ja setzen auf dem master via Kommandozeile

            I Offline
            I Offline
            iobrokerin
            schrieb am zuletzt editiert von
            #5

            @iobrokerin Ich kriege das einfach nicht zum Laufen. Was klappt jetzt: ich habe beide Firewalls temporär deaktiviert, dann hat der Slave den Master gefunden. Der ist nun korrekt eingetragen. Sobald ich die Firewalls aktiviere -> Kommunikation zum Slave geht auf rot. Wenn ich wieder die ufw temporär des Masters deaktiviere, sofort auf grün.

            Master:

            bernd@raspberrypi:~ $ sudo ufw status
            Status: active
            
            To                         Action      From
            --                         ------      ----
            5354/tcp                   ALLOW       192.168.178.0/24
            80/tcp                     ALLOW       Anywhere
            443/tcp                    ALLOW       Anywhere
            53/udp                     ALLOW       192.168.178.0/24
            8081/tcp                   ALLOW       192.168.178.0/24
            8082/tcp                   ALLOW       192.168.178.0/24
            1882/tcp                   ALLOW       192.168.178.0/24
            180/tcp                    ALLOW       192.168.178.0/24
            8090/tcp                   ALLOW       192.168.178.0/24
            8444/tcp                   ALLOW       192.168.178.0/24
            1880/tcp                   ALLOW       192.168.178.0/24
            8008/tcp                   ALLOW       192.168.178.0/24
            3306/tcp                   ALLOW       192.168.178.0/24
            993/tcp                    ALLOW       192.168.178.0/24
            587/tcp                    ALLOW       192.168.178.0/24
            22/tcp                     DENY        Anywhere
            53/tcp                     ALLOW       192.168.178.0/24
            80/tcp (v6)                ALLOW       Anywhere (v6)
            443/tcp (v6)               ALLOW       Anywhere (v6)
            22/tcp (v6)                DENY        Anywhere (v6)
            53/udp                     ALLOW       fd00::/64
            1882/tcp                   ALLOW       fd00::/64
            3306/tcp                   ALLOW       fd00::/64
            993/tcp                    ALLOW       fd00::/64
            587/tcp                    ALLOW       fd00::/64
            53/tcp                     ALLOW       fd00::/64
            
            192.168.178.17 9000/udp    ALLOW OUT   Anywhere
            192.168.178.17 9001/udp    ALLOW OUT   Anywhere
            xxxx::xxx:xxx:xxx:xxx 9000/udp ALLOW OUT   Anywhere (v6)
            xxxx::xxx:xxx:xxx:xxx 9001/udp ALLOW OUT   Anywhere (v6)
            

            Slave:

            bernd@DietPi:~$ sudo ufw status
            Status: active
            
            To                         Action      From
            --                         ------      ----
            127.0.0.1                  ALLOW       127.0.0.1
            9000/udp                   ALLOW       192.168.178.19
            9001/udp                   ALLOW       192.168.178.19
            5354/tcp                   ALLOW       192.168.178.0/24
            6379/tcp                   ALLOW       127.0.0.1
            1883/tcp                   ALLOW       192.168.178.20
            6379/tcp                   ALLOW       ::1
            9000/udp                   ALLOW       xxxx::xxx:xxx:xxx:xxx
            9001/udp                   ALLOW       xxxx::xxx:xxx:xxx:xxx
            

            Wenn euch nicht nochwas auffällt, ich sehe es nicht.

            Meister MopperM 1 Antwort Letzte Antwort
            0
            • I iobrokerin

              @iobrokerin Ich kriege das einfach nicht zum Laufen. Was klappt jetzt: ich habe beide Firewalls temporär deaktiviert, dann hat der Slave den Master gefunden. Der ist nun korrekt eingetragen. Sobald ich die Firewalls aktiviere -> Kommunikation zum Slave geht auf rot. Wenn ich wieder die ufw temporär des Masters deaktiviere, sofort auf grün.

              Master:

              bernd@raspberrypi:~ $ sudo ufw status
              Status: active
              
              To                         Action      From
              --                         ------      ----
              5354/tcp                   ALLOW       192.168.178.0/24
              80/tcp                     ALLOW       Anywhere
              443/tcp                    ALLOW       Anywhere
              53/udp                     ALLOW       192.168.178.0/24
              8081/tcp                   ALLOW       192.168.178.0/24
              8082/tcp                   ALLOW       192.168.178.0/24
              1882/tcp                   ALLOW       192.168.178.0/24
              180/tcp                    ALLOW       192.168.178.0/24
              8090/tcp                   ALLOW       192.168.178.0/24
              8444/tcp                   ALLOW       192.168.178.0/24
              1880/tcp                   ALLOW       192.168.178.0/24
              8008/tcp                   ALLOW       192.168.178.0/24
              3306/tcp                   ALLOW       192.168.178.0/24
              993/tcp                    ALLOW       192.168.178.0/24
              587/tcp                    ALLOW       192.168.178.0/24
              22/tcp                     DENY        Anywhere
              53/tcp                     ALLOW       192.168.178.0/24
              80/tcp (v6)                ALLOW       Anywhere (v6)
              443/tcp (v6)               ALLOW       Anywhere (v6)
              22/tcp (v6)                DENY        Anywhere (v6)
              53/udp                     ALLOW       fd00::/64
              1882/tcp                   ALLOW       fd00::/64
              3306/tcp                   ALLOW       fd00::/64
              993/tcp                    ALLOW       fd00::/64
              587/tcp                    ALLOW       fd00::/64
              53/tcp                     ALLOW       fd00::/64
              
              192.168.178.17 9000/udp    ALLOW OUT   Anywhere
              192.168.178.17 9001/udp    ALLOW OUT   Anywhere
              xxxx::xxx:xxx:xxx:xxx 9000/udp ALLOW OUT   Anywhere (v6)
              xxxx::xxx:xxx:xxx:xxx 9001/udp ALLOW OUT   Anywhere (v6)
              

              Slave:

              bernd@DietPi:~$ sudo ufw status
              Status: active
              
              To                         Action      From
              --                         ------      ----
              127.0.0.1                  ALLOW       127.0.0.1
              9000/udp                   ALLOW       192.168.178.19
              9001/udp                   ALLOW       192.168.178.19
              5354/tcp                   ALLOW       192.168.178.0/24
              6379/tcp                   ALLOW       127.0.0.1
              1883/tcp                   ALLOW       192.168.178.20
              6379/tcp                   ALLOW       ::1
              9000/udp                   ALLOW       xxxx::xxx:xxx:xxx:xxx
              9001/udp                   ALLOW       xxxx::xxx:xxx:xxx:xxx
              

              Wenn euch nicht nochwas auffällt, ich sehe es nicht.

              Meister MopperM Abwesend
              Meister MopperM Abwesend
              Meister Mopper
              schrieb am zuletzt editiert von
              #6

              @iobrokerin sagte in ioBroker Master Slave funktioniert nicht:

              192.168.178.17 9000/udp ALLOW OUT Anywhere

              Müsste da nicht allow stehen anstatt allow out ?

              Proxmox und HA

              Marc BergM 1 Antwort Letzte Antwort
              0
              • Meister MopperM Meister Mopper

                @iobrokerin sagte in ioBroker Master Slave funktioniert nicht:

                192.168.178.17 9000/udp ALLOW OUT Anywhere

                Müsste da nicht allow stehen anstatt allow out ?

                Marc BergM Offline
                Marc BergM Offline
                Marc Berg
                Most Active
                schrieb am zuletzt editiert von
                #7

                @meister-mopper sagte in ioBroker Master Slave funktioniert nicht:

                Müsste da nicht allow stehen anstatt allow out ?

                Genau. Außerdem läuft die Kommunikation über tcp, nicht udp.

                NUC10I3+Ubuntu+Docker+ioBroker+influxDB2+Node Red+RabbitMQ+Grafana

                Pi-hole, Traefik, Checkmk, Conbee II+Zigbee2MQTT, ESPSomfy-RTS, LoRaWAN, Arduino, KiCad

                Benutzt das Voting im Beitrag, wenn er euch geholfen hat.

                I 1 Antwort Letzte Antwort
                0
                • Marc BergM Marc Berg

                  @meister-mopper sagte in ioBroker Master Slave funktioniert nicht:

                  Müsste da nicht allow stehen anstatt allow out ?

                  Genau. Außerdem läuft die Kommunikation über tcp, nicht udp.

                  I Offline
                  I Offline
                  iobrokerin
                  schrieb am zuletzt editiert von iobrokerin
                  #8

                  @marc-berg tcp? Wenn ich dieses Kommando absetze:

                  bernd@raspberrypi:~ $  iobroker multihost enable
                  Multihost discovery server activated on this host. If iobroker is currently not running please start befeore trying to discover this host.
                  Important: Multihost discovery works with **UDP** packets. Make sure they are routed correctly in your network. If you use Docker you also need to configure this correctly.
                  Multihost discovery will be automatically deactivated after 15 minutes. If you want to activate it permanently use the --persist flag
                  

                  dann steht doch da, dass es über UDP geht oder ist hier nur der Discovery gemeint und nicht normal operation? D. h. Ich müsste beides öffnen, tcp und udp, auf dem slave ja dann auch. Wie gesagt, funktioniert die Kommunikation, wenn ich die Firewall auf dem Master temporär deaktiviere. Aber ich habe auch niccht andere Kommunikation geprüft...

                  Edit: ich habe nun kurzerhand beides aufgenommen (tcp und udp). Und von nach Allow alles gesetzt. Jetzt ist die Verbindung da. Danke für eure Hilfe.

                  W 1 Antwort Letzte Antwort
                  0
                  • I iobrokerin

                    @marc-berg tcp? Wenn ich dieses Kommando absetze:

                    bernd@raspberrypi:~ $  iobroker multihost enable
                    Multihost discovery server activated on this host. If iobroker is currently not running please start befeore trying to discover this host.
                    Important: Multihost discovery works with **UDP** packets. Make sure they are routed correctly in your network. If you use Docker you also need to configure this correctly.
                    Multihost discovery will be automatically deactivated after 15 minutes. If you want to activate it permanently use the --persist flag
                    

                    dann steht doch da, dass es über UDP geht oder ist hier nur der Discovery gemeint und nicht normal operation? D. h. Ich müsste beides öffnen, tcp und udp, auf dem slave ja dann auch. Wie gesagt, funktioniert die Kommunikation, wenn ich die Firewall auf dem Master temporär deaktiviere. Aber ich habe auch niccht andere Kommunikation geprüft...

                    Edit: ich habe nun kurzerhand beides aufgenommen (tcp und udp). Und von nach Allow alles gesetzt. Jetzt ist die Verbindung da. Danke für eure Hilfe.

                    W Online
                    W Online
                    Wildbill
                    schrieb am zuletzt editiert von
                    #9

                    @iobrokerin Ja, UDP für die Discovery, TCP für den normalen Verkehr. Ist so aber bei vielen Adaptern, die mit Discovery arbeiten. Das läuft dann via UDP bis die Verbindung mal steht.

                    Gruss, Jürgen

                    1 Antwort Letzte Antwort
                    0
                    Antworten
                    • In einem neuen Thema antworten
                    Anmelden zum Antworten
                    • Älteste zuerst
                    • Neuste zuerst
                    • Meiste Stimmen


                    Support us

                    ioBroker
                    Community Adapters
                    Donate
                    FAQ Cloud / IOT
                    HowTo: Node.js-Update
                    HowTo: Backup/Restore
                    Downloads
                    BLOG

                    803

                    Online

                    32.5k

                    Benutzer

                    81.6k

                    Themen

                    1.3m

                    Beiträge
                    Community
                    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                    ioBroker Community 2014-2025
                    logo
                    • Anmelden

                    • Du hast noch kein Konto? Registrieren

                    • Anmelden oder registrieren, um zu suchen
                    • Erster Beitrag
                      Letzter Beitrag
                    0
                    • Home
                    • Aktuell
                    • Tags
                    • Ungelesen 0
                    • Kategorien
                    • Unreplied
                    • Beliebt
                    • GitHub
                    • Docu
                    • Hilfe