Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. [gelöst] Blockly Problem mit MQTT-Adapter

    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] Blockly Problem mit MQTT-Adapter

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

      @Mane:

      Kann das noch ein Fehler in der MQTT-Adaptereinstellungen sein? `
      Hast Du die MQTT-Instanz als Server konfiguriert ?

      1 Reply Last reply Reply Quote 0
      • M
        Mane last edited by

        Der Type ist imer "state".
        4819_type.jpg

        1 Reply Last reply Reply Quote 0
        • paul53
          paul53 last edited by

          @Mane:

          Der Type ist imer "state". `
          Das ist der Objekttyp (state = Datenpunkt). Klicke rechts den Bleistift an, dann siehst Du den Datenpunkttyp (Zahl / Logikwert / Zeichenkette).

          1 Reply Last reply Reply Quote 0
          • M
            Mane last edited by

            Aktuell ist bei "relay/0/10/5 und relay/0/10/5_state" Zeichenkette eingestellt.
            4819_type_1.jpg

            1 Reply Last reply Reply Quote 0
            • paul53
              paul53 last edited by

              Schaltet das Licht ein bei ?

              steuere relay/0/10/5 mit "1" (Text)

              Ich lese: mqtt client variable

              Also ist der MQTT-Adapter als Client konfiguriert und die Gegenstelle ist ein Server (MQTT broker) ?

              1 Reply Last reply Reply Quote 0
              • M
                Mane last edited by

                @paul53:

                Schaltet das Licht ein bei ?

                steuere relay/0/10/5 mit "1" (Text)

                Ich lese: mqtt client variable

                Also ist der MQTT-Adapter als Client konfiguriert und die Gegenstelle ist ein Server (MQTT broker) ? `

                Auch bei steuere relay/0/10/5 mit "1" (Text) passiert nichts.

                Der MQTT-Adapter ist als Client konfiguriert, hier wird er als verbunden wahr angezeigt.

                1 Reply Last reply Reply Quote 0
                • paul53
                  paul53 last edited by

                  Was ist der MQTT-Broker (Server) ? Läuft darauf Mosqitto als Broker-Software ?

                  Ist der Server in der Adapter-Konfiguration unter URL eingetragen ?

                  1 Reply Last reply Reply Quote 0
                  • M
                    Mane last edited by

                    Der MQTT-Broker (Server) ist ein Raspberry auf dem die ioBroker Software und auch Mosqitto als Broker-Software läuft.

                    In der Server URL ist die IP des Raspberry eingetragen.

                    Im Log-File sieht man auch das er sich verbindet.

                    1 Reply Last reply Reply Quote 0
                    • paul53
                      paul53 last edited by

                      Aus der Doku für Client-Konfiguration:
                      @Doku:

                      Mask to publish own states - Mask for states, that must be published to broker. '' - to publish all states. `
                      Das ist ein Leerstring (kein *).

                      Da ich kein MQTT verwende, bin ich an dieser Stelle mit meinem Latein am Ende 😞

                      1 Reply Last reply Reply Quote 0
                      • M
                        Mane last edited by

                        Kanne es vielleicht sein das ich im javascript-Adapter noch eine Einstellung falsch habe?

                        Das vielleicht hier nichts ausgegeben wird.

                        Das sind meine aktuellen Einstellungen.
                        4819_einstellungen_javascript-adapter.jpg

                        1 Reply Last reply Reply Quote 0
                        • R
                          RappiRN Most Active last edited by

                          Ich meine set object muss erlaubt sein.

                          Enrico

                          1 Reply Last reply Reply Quote 0
                          • paul53
                            paul53 last edited by

                            @Mane:

                            Kanne es vielleicht sein das ich im javascript-Adapter noch eine Einstellung falsch habe? `
                            Nein. Für setState() muss man nichts weiter erlauben.

                            1 Reply Last reply Reply Quote 0
                            • M
                              Mane last edited by

                              @RappiRN:

                              Ich meine set object muss erlaubt sein.

                              Enrico `

                              Ich habe nun setObject eingeschalten. Nun kommen auch Daten im MQTT-Logfiele an.

                              Leider habe ich immer noch das Problem, das die Lampe nicht schalten.

                              Mane
                              4819_kein_licht.jpg

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

                              Support us

                              ioBroker
                              Community Adapters
                              Donate

                              776
                              Online

                              31.7k
                              Users

                              79.9k
                              Topics

                              1.3m
                              Posts

                              4
                              38
                              3521
                              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