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.
    • D
      Dirk 4 @mickym last edited by

      @mickym said in Shelly addon über Node Red:

      cat mosquitto.conf

      4cd7c819-7e1c-41f3-84a3-ff491151f3f0-grafik.png

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

        @dirk-4 Auch diese Ausgaben bitte in Codetags. 😉

        Gut dann wechsle mal in das Verzeichnis

        conf.d

        und schau, ob es da irgendwelche Konigurationsdateien gibt?

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

          @mickym Wie mach ich das

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

            @dirk-4

            Du bist ja in dem Verzeichnis

            /etc/mosquitto
            

            dann einfach schauen mit

            ls -la conf.d
            
            D 1 Reply Last reply Reply Quote 0
            • D
              Dirk 4 @mickym last edited by

              @mickym ffc5908c-53b5-4496-b5fd-b60a6945cd3e-grafik.png

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

                @dirk-4 Ok wie gesagt die Ausgaben kopieren und in CodeTags hier rein.

                Gut dann wechselst Du in das Verzeichnis.

                cd conf.d
                

                und erstellst dort eine Konfigurationsdatei:

                sudo nano local.conf
                

                in diese Datei trägst Du dann mal folgende beiden Zeilen ein:

                listener 1884
                allow_anonymous true
                
                

                Eine Leerzeile als letztes machen.

                Dann abspeichern.
                Später kannst du Authentifizierung noch dazu konfigurieren. Nun machen wir alles einfach.

                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

                    Gut dann startest Du den mosquitto neu und lässt Dir dann den Status ausgeben:

                    sudo systemctl restart mosquitto
                    

                    dann status überprüfen:

                    systemctl status mosquitto
                    

                    Die Ausgabe dann wieder in CodeTags hier posten.

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

                      @mickym said in Shelly addon über Node Red:

                      systemctl status mosquitto

                      da9e8923-b913-4860-8179-086e5b911b24-grafik.png

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

                        @dirk-4 dann nochmal

                        sudo systemctl start mosquitto
                        

                        dann nochmal status

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

                          @mickym said in Shelly addon über Node Red:

                          systemctl status mosquitto

                          46f3c83d-3f56-45b9-bdfb-e67774f1fe90-grafik.png

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

                            @dirk-4 Hat der die config nicht gespeichert?

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

                              @dirk-4 dann bitte noch mal Deine Konfiguration posten:

                              Dann schau mal - dort wo du bist:

                              ls -la
                              

                              und dann Ausgabe von

                              cat local.conf
                              

                              in Code-Tags posten.

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

                                @dirk-4

                                Mach es bitte deinen Helfern leichter dir zu helfen und verwende CodeTags für Texte aus dem Terminal und keine Screenshots.
                                https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge

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

                                  @thomas-braun ```
                                  58302569-9ea4-4800-be4a-bacf60655fc2-grafik.png code_text

                                  Thomas Braun mickym 2 Replies Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @Dirk 4 last edited by

                                    @dirk-4

                                    Text kopieren, keine Screenshots.

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

                                      @dirk-4 Du musst alles mit der Maus markieren und Eingabetaste drücken (unter Windows) - dann sollte alles in der Zwischenablage sein.

                                      das dann in code-Tags setzen:

                                      Code-Tags.gif

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

                                        @mickym ```
                                        code_text

                                        -rw-r--r-- 1 root root  142  9. Jun 2021  README
                                        iobroker@iobroker:/etc/mosquitto/conf.d $ cat local.conf
                                        listener 1884
                                        allow_anonymous true
                                        
                                        
                                        
                                        
                                        
                                        
                                        
                                        
                                        
                                        
                                        
                                        
                                        
                                        
                                        
                                        
                                        
                                        
                                        
                                        
                                        
                                        
                                        
                                        
                                        
                                        
                                        
                                        
                                        
                                        
                                        
                                        
                                        
                                        
                                        
                                        
                                        iobroker@iobroker:/etc/mosquitto/conf.d $
                                        
                                        ```
                                        mickym 1 Reply Last reply Reply Quote 0
                                        • mickym
                                          mickym Most Active @Dirk 4 last edited by mickym

                                          @dirk-4 Das it den codetags schaut nun besser aus. Kannst du die Datei nochmal mit nano öffnen und schauen, dass Du nach dem allow_anonymous true noch ein Zeilenumbruch existiert.

                                          Dann bitte das log anschauen:

                                          sudo cat /var/log/mosquitto/mosquitto.log
                                          
                                          D 1 Reply Last reply Reply Quote 0
                                          • D
                                            Dirk 4 @mickym last edited by

                                            @mickym ```
                                            code_text

                                            iobroker@iobroker:/etc/mosquitto/conf.d $ sudo systemctl start mosquitto
                                            iobroker@iobroker:/etc/mosquitto/conf.d $ systemctl status mosquitto
                                            ● mosquitto.service - Mosquitto MQTT Broker
                                                 Loaded: loaded (/lib/systemd/system/mosquitto.service; enabled; vendor preset: enabled)
                                                 Active: active (running) since Mon 2023-04-17 23:48:05 CEST; 10s ago
                                                   Docs: man:mosquitto.conf(5)
                                                         man:mosquitto(8)
                                                Process: 2650140 ExecStartPre=/bin/mkdir -m 740 -p /var/log/mosquitto (code=exited, status=0/SUCCESS)
                                                Process: 2650141 ExecStartPre=/bin/chown mosquitto /var/log/mosquitto (code=exited, status=0/SUCCESS)
                                                Process: 2650142 ExecStartPre=/bin/mkdir -m 740 -p /run/mosquitto (code=exited, status=0/SUCCESS)
                                                Process: 2650143 ExecStartPre=/bin/chown mosquitto /run/mosquitto (code=exited, status=0/SUCCESS)
                                               Main PID: 2650144 (mosquitto)
                                                  Tasks: 1 (limit: 4164)
                                                    CPU: 42ms
                                                 CGroup: /system.slice/mosquitto.service
                                                         └─2650144 /usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf
                                            
                                            Apr 17 23:48:05 iobroker systemd[1]: Starting Mosquitto MQTT Broker...
                                            Apr 17 23:48:05 iobroker mosquitto[2650144]: 1681768085: Loading config file /etc/mosquitto/conf.d/local.conf
                                            Apr 17 23:48:05 iobroker systemd[1]: Started Mosquitto MQTT Broker.
                                            iobroker@iobroker:/etc/mosquitto/conf.d $
                                            D mickym 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            749
                                            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