Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Node-Red
    5. Shelly addon über Node Red

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Shelly addon über Node Red

    This topic has been deleted. Only users with topic management privileges can see it.
    • mickym
      mickym Most Active @Dirk 4 last edited by

      @dirk-4 na das schaut doch gut aus. 🙂 - Was

      @dirk-4 sagte in Shelly addon über Node Red:

      @dirk-4 jetzt aber

      Na das schaut doch gut aus, was hast Du geändert?

      D 1 Reply Last reply Reply Quote 0
      • D
        Dirk 4 @mickym last edited by

        @mickym nur nochmal mit der leerzeile

        D mickym 2 Replies Last reply Reply Quote 0
        • D
          Dirk 4 @Dirk 4 last edited by

          @dirk-4 ```
          code_text

          iobroker@iobroker:/etc/mosquitto/conf.d $ sudo cat /var/log/mosquitto/mosquitto.log
          1681765635: mosquitto version 2.0.11 starting
          1681765635: Config loaded from /etc/mosquitto/mosquitto.conf.
          1681765635: Starting in local only mode. Connections will only be possible from clients running on this machine.
          1681765635: Create a configuration file which defines a listener to allow remote access.
          1681765635: For more details see https://mosquitto.org/documentation/authentication-methods/
          1681765635: Opening ipv4 listen socket on port 1883.
          1681765635: Error: Address already in use
          1681765635: Opening ipv6 listen socket on port 1883.
          1681765635: mosquitto version 2.0.11 running
          1681766971: mosquitto version 2.0.11 terminating
          1681766971: Saving in-memory database to /var/lib/mosquitto//mosquitto.db.
          1681768085: mosquitto version 2.0.11 starting
          1681768085: Config loaded from /etc/mosquitto/mosquitto.conf.
          1681768085: Opening ipv4 listen socket on port 1884.
          1681768085: Opening ipv6 listen socket on port 1884.
          1681768085: mosquitto version 2.0.11 running
          iobroker@iobroker:/etc/mosquitto/conf.d $
          1 Reply Last reply Reply Quote 0
          • mickym
            mickym Most Active @Dirk 4 last edited by

            @dirk-4 sagte in Shelly addon über Node Red:

            @mickym nur nochmal mit der leerzeile

            Na hatte ich die richtige Vermutung. 😉

            Das Log passt jetzt auch. Nun konfigurieren wir mosquitto noch dass es automatisch beim Systemstart mit startet:

            sudo systemctl enable mosquitto
            
            D 1 Reply Last reply Reply Quote 0
            • D
              Dirk 4 @mickym last edited by

              @mickym OK

              mickym 1 Reply Last reply Reply Quote 0
              • mickym
                mickym Most Active @Dirk 4 last edited by

                @dirk-4 Gut dann installieren wir nun den mqtt-Client/Server Adapter im iobroker.

                306a7b41-00a1-4ca7-a88a-c86d45d39cc5-image.png

                Du installierst nun diesen Adapter im iobroker.

                D 1 Reply Last reply Reply Quote 0
                • D
                  Dirk 4 @mickym last edited by

                  @mickym OK hab ich

                  mickym 1 Reply Last reply Reply Quote 0
                  • mickym
                    mickym Most Active @Dirk 4 last edited by

                    @dirk-4 sagte in Shelly addon über Node Red:

                    @mickym OK hab ich

                    In der Konfiguration bei Verbindung

                    bdbf4df8-7692-4070-889f-9b006672480f-image.png

                    gibst Du Port 1884 ein.

                    Und dann sollte die Verbindung zum Server klappen. Benutzer und Passwort hast Du keines.

                    D mickym 2 Replies Last reply Reply Quote 0
                    • D
                      Dirk 4 @mickym last edited by

                      @mickym 9207e65a-5334-4976-9a08-db37e233d116-grafik.png

                      Ja verbindung ist da

                      mickym 1 Reply Last reply Reply Quote 0
                      • mickym
                        mickym Most Active @mickym last edited by

                        Bei den mqtt Einstellungen schaust Du bitte das alle Haken weg sind:

                        7e90aac9-1a53-4e22-be92-9cb6055a6ecc-image.png

                        Also Subscribe Patter steht ein: # (Hash)

                        Bei den eigenen States steht bei dir natürlich mqtt.0.*

                        Eine Client ID - kannst Du eingeben, musst Du aber nicht.

                        1 Reply Last reply Reply Quote 0
                        • mickym
                          mickym Most Active @Dirk 4 last edited by

                          @dirk-4 sagte in Shelly addon über Node Red:

                          @mickym 9207e65a-5334-4976-9a08-db37e233d116-grafik.png

                          Ja verbindung ist da

                          Sehr gut. 🙂 - Du bist Klasse. 🙂 👍 👍 👍

                          D 1 Reply Last reply Reply Quote 0
                          • D
                            Dirk 4 @mickym last edited by

                            @mickym Danke ohne dich keine Chance

                            mickym 1 Reply Last reply Reply Quote 0
                            • mickym
                              mickym Most Active @Dirk 4 last edited by

                              @dirk-4 sagte in Shelly addon über Node Red:

                              @mickym Danke ohne dich keine Chance

                              Wird schon - wenn Du was nicht verstehst, musst Du halt fragen. Hast Du die Haken bei dem mqtt-Einstellungen des Adapters alle raus gemacht?

                              D 1 Reply Last reply Reply Quote 0
                              • D
                                Dirk 4 @mickym last edited by

                                @mickym Ja hab ich

                                D mickym 2 Replies Last reply Reply Quote 0
                                • D
                                  Dirk 4 @Dirk 4 last edited by

                                  @dirk-4 Startet der moscito automatisch immer mit wenn ich neu starte?

                                  mickym 1 Reply Last reply Reply Quote 0
                                  • mickym
                                    mickym Most Active @Dirk 4 last edited by

                                    @dirk-4 Gut dann werden wir jetzt mal aus NodeRed eine Mqtt Nachricht pubishen.

                                    Dazu ziehst Du bitte erst mal eine mqtt-Out Node in deinen Arbeitsbereich.

                                    1 Reply Last reply Reply Quote 0
                                    • mickym
                                      mickym Most Active @Dirk 4 last edited by

                                      @dirk-4 sagte in Shelly addon über Node Red:

                                      @dirk-4 Startet der moscito automatisch immer mit wenn ich neu starte?

                                      Ja das haben wir mit dem Kommando

                                      sudo systemctl enable mosquitto
                                      

                                      so eingestellt. Wenn Du das nicht willst, dann musst Du das mit

                                      sudo systemctl disable mosquitto
                                      

                                      wieder aufheben.

                                      D 1 Reply Last reply Reply Quote 0
                                      • D
                                        Dirk 4 @mickym last edited by

                                        @mickym Nee las das mal mit Starten das ist gut so!!
                                        7d2fc003-c71f-46d4-bad2-ebe1da299fe4-grafik.png
                                        das hatte ich von dem anderen beitrag schon gemacht

                                        94f70c97-aa15-454a-9a69-4754e3512046-grafik.png

                                        94e5921a-dbaf-4ed8-ac07-966260c1a129-grafik.png

                                        mickym 1 Reply Last reply Reply Quote 0
                                        • mickym
                                          mickym Most Active @Dirk 4 last edited by mickym

                                          @dirk-4 Gut dann veröffentlichst Du als erstes Mal eine mqtt-Nachricht.

                                          Nimm eine Inject Node mit einer payload: "Ich bin Dirk"

                                          und in der mqtt-Out Node als Topic:

                                          67c06aa1-0bb5-49c9-b60d-4014fd9ee421-image.png

                                          Und verkabelst diese und feuerst ab. Dann schau, ob das im iobroker mqtt Adapter ankommt.
                                          f8a86d93-0a97-4fec-afe8-f78c0918e71c-image.png
                                          f9deb5a5-a891-421a-8783-3de1830fe526-image.png

                                          D 1 Reply Last reply Reply Quote 0
                                          • D
                                            Dirk 4 @mickym last edited by

                                            @mickym sagte in Shelly addon über Node Red:

                                            "Ich bin Dirk"
                                            79a00a0e-7d57-441d-b5d0-e972b2a00d16-grafik.png

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            496
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            3
                                            97
                                            4368
                                            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