Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Einbindung von Geräten
    5. [gelöst] Keine Verbindung zu mqtt-Server/Broker

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    [gelöst] Keine Verbindung zu mqtt-Server/Broker

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      MiPl @MiPl last edited by

      @mipl
      da das System (mehr oder weniger) läuft sollte aber dennoch auch der mqtt sich verbinden können, oder? Gibt es dazu noch eine Anregung?

      Marc Berg crunchip 2 Replies Last reply Reply Quote 0
      • Marc Berg
        Marc Berg Most Active @MiPl last edited by

        @mipl sagte in Keine Verbindung zu mqtt-Server/Broker:

        Gibt es dazu noch eine Anregung?

        Websockets auf jeden Fall abschalten, das brauchst du hier nicht. Dann würde ich mal testen, ob ich mit einem MQTT Client wie "MQTT Explorer" auf den Broker zugreifen kann. Ist umgekehrt das Gerät, von welchem aus zugegriffen werden soll, anpingbar?

        1 Reply Last reply Reply Quote 0
        • crunchip
          crunchip Forum Testing Most Active @MiPl last edited by crunchip

          @mipl mach mal alle Haken raus in der mqtt Instanz-Einstellung und websocket aus
          andernfalls, liegt es möglicherweise an deinem Netzwerk

          M 1 Reply Last reply Reply Quote 0
          • M
            MiPl @crunchip last edited by

            @crunchip
            Web-Sockets aus, alle Haken bei Einstellungen entfernt. Keine Änderung.

            @Marc-Berg MQTT-LayZSpa ist anpingbar. MQTT-Explorer: Werde mich damit auseinandersetzen.

            1 Reply Last reply Reply Quote 0
            • M
              MiPl @Thomas Braun last edited by

              @thomas-braun
              hatte den Beitrag nicht gesehen.

              iobroker rebuild ble
              Rebuilding native module "ble" ...
              rebuilt dependencies successfully
              
              Rebuilding native modules done
              

              bleibt trotzdem rot. Neuinstallation des Adapters - weiterhin rot. Rebuild successfully - weiterhin rot. 😞

              1 Reply Last reply Reply Quote 0
              • Marc Berg
                Marc Berg Most Active last edited by

                @mipl sagte in Keine Verbindung zu mqtt-Server/Broker:

                MQTT-Explorer: Werde mich damit auseinandersetzen.

                Naja, "auseinandersetzen" muss sich damit nicht, einfach die Portable-Version runterladen, starten, IP+Port+User+PW eingeben, fertig. Und schwupps, hat man 50% der möglichen Fehlerursachen ausgeschlossen.

                Außerdem ist es noch ratsam, das Log-Level des MQTT Adapters auf "debug" hochzusetzen, dann sieht man jeden Verbindungsversuch, ob erfolgeich oder nicht.

                M 1 Reply Last reply Reply Quote 0
                • M
                  MiPl @Marc Berg last edited by MiPl

                  @marc-berg
                  damit ist eine Verbindung möglich. MQTT ist grün.

                  2023-05-21 13:15:17.800	debug	Client [mqtt-explorer-4852ba5f] pingreq
                  mqtt.0
                  	2023-05-21 13:14:17.748	debug	Client [mqtt-explorer-4852ba5f] pingreq
                  mqtt.0
                  	2023-05-21 13:13:17.735	info	Client [mqtt-explorer-4852ba5f] subscribes on "$SYS/#" with regex /^mqtt\.0\.\$SYS(\..*)?/
                  mqtt.0
                  	2023-05-21 13:13:17.734	info	Client [mqtt-explorer-4852ba5f] subscribes on "$SYS/#" with regex /^\$SYS(\..*)?/
                  mqtt.0
                  	2023-05-21 13:13:17.733	debug	Client [mqtt-explorer-4852ba5f] Handle subscribe: {"topic":"$SYS/#","qos":0}
                  mqtt.0
                  	2023-05-21 13:13:17.729	info	Client [mqtt-explorer-4852ba5f] subscribes on "#" with regex /^mqtt\.0(\..*)?/
                  mqtt.0
                  	2023-05-21 13:13:17.728	info	Client [mqtt-explorer-4852ba5f] subscribes on "#" with regex /.*/
                  mqtt.0
                  	2023-05-21 13:13:17.724	debug	Client [mqtt-explorer-4852ba5f] Handle subscribe: {"topic":"#","qos":0}
                  mqtt.0
                  	2023-05-21 13:13:17.714	debug	stateChange mqtt.0.info.connection: {"val":"mqtt-explorer-4852ba5f","ack":true,"ts":1684667597709,"q":0,"from":"system.adapter.mqtt.0","user":"system.user.admin","lc":1684667597709}
                  mqtt.0
                  	2023-05-21 13:13:17.683	debug	Client [mqtt-explorer-4852ba5f] with keepalive 60 set timeout to 90 seconds
                  mqtt.0
                  	2023-05-21 13:13:17.459	info	Client [mqtt-explorer-4852ba5f] connected with secret 1684667597443_6267
                  
                  Marc Berg 1 Reply Last reply Reply Quote 0
                  • Marc Berg
                    Marc Berg Most Active @MiPl last edited by

                    @mipl sagte in Keine Verbindung zu mqtt-Server/Broker:

                    damit ist eine Verbindung möglich. MQTT ist grün.

                    Dann wird der Fehler wohl auf Client-Seite zu suchen sein, wenn beim Broker nicht mal ein Verbindungsversuch zu sehen ist.

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      MiPl @Marc Berg last edited by

                      @marc-berg
                      schlussfolgere ich auch. Ist ja ein Github-Projekt - sollte ich da ein Issue aufmachen, obwohl es bei zahlreichen Nutzern scheinbar klappt?

                      crunchip 1 Reply Last reply Reply Quote 0
                      • crunchip
                        crunchip Forum Testing Most Active @MiPl last edited by

                        @mipl ggf noch mal alle Netzwerkeinstellungen deiner Spa Platine prüfen, Neustart bringt auch nichts?

                        M 1 Reply Last reply Reply Quote 0
                        • M
                          MiPl @crunchip last edited by MiPl

                          @crunchip
                          IP's nochmal gecheckt - kein Fehler gefunden. ESP restartet - MQTT weiterhin gelb.

                          Falsch - ist jetzt grün geworden!

                          Danke Euch für die Hilfe.

                          Setze den Thread auf gelöst.

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post

                          Support us

                          ioBroker
                          Community Adapters
                          Donate

                          903
                          Online

                          31.9k
                          Users

                          80.1k
                          Topics

                          1.3m
                          Posts

                          5
                          37
                          1862
                          Loading More Posts
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes
                          Reply
                          • Reply as topic
                          Log in to reply
                          Community
                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                          The ioBroker Community 2014-2023
                          logo