Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Shelly Http request bei restricted login

    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

    Shelly Http request bei restricted login

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

      @patsand zum Beispiel so
      http://username:passwort@192.100.1.111/relay/0?turn=on

      1 Reply Last reply Reply Quote 0
      • P
        patsand last edited by

        @fa-bio Danke für die Antwort. http://admin:passwort@192.168.178.151/relay/0?turn=toggle

        Hab ich ausprobiert aber es geht nicht. Beim restricted login gebe ich ja nur ein passwort an, hab deswegen mal als username admin angegeben. Hast du vllt noch eine Idee?

        haus-automatisierung Fabio 2 Replies Last reply Reply Quote 0
        • haus-automatisierung
          haus-automatisierung Developer Most Active @patsand last edited by haus-automatisierung

          @patsand Liefere doch mal alle Infos.

          • Welches Shelly-Gerät ist das genau? Gen1? Gen2?
          • Welche Firmware-Version ist auf dem Shelly installiert?

          Mit den Gen2-Geräten ist das etwas komplizierter. Das macht ja der Adapter alles für Dich im Hintergrund: https://shelly-api-docs.shelly.cloud/gen2/General/Authentication

          Seit Firmware 1.0.0 geht wohl angeblich auch wieder Basic Auth (das, was ihr da versucht): https://shelly-api-docs.shelly.cloud/gen2/changelog#100-2023-08-03

          P 1 Reply Last reply Reply Quote 0
          • P
            patsand @haus-automatisierung last edited by

            @haus-automatisierung Eine shelly 1 gen1, die hinter einem Schalter sitzt soll eine shelly plus 2 pm kanal 0 schalten. Sobald ich wie geschrieben, den restricted login bei der plus einschalte funktioniert der Schalter nicht mehr. Der http request mit Benutzer und passwort funktioniert nicht.( http://admin:passwort@192.168.178.151/relay/0?turn=toggl)

            haus-automatisierung 1 Reply Last reply Reply Quote 0
            • haus-automatisierung
              haus-automatisierung Developer Most Active @patsand last edited by haus-automatisierung

              @patsand Und warum machst Du das per HTTP (direkt vom Shelly aus)? Dafür hast Du doch den ioBroker?!

              Und welche Firmware-Version ist auf dem Plus 2 PM installiert? Siehe Hinweis oben zur Basic Auth bei Gen2-Geräten.

              P 1 Reply Last reply Reply Quote 0
              • P
                patsand @haus-automatisierung last edited by

                @haus-automatisierung Über meinem iobroker ist es gefühlt langsamer als über die shelly direkt. Die plus ist auf dem neusten Stand (1.1.0)

                haus-automatisierung 1 Reply Last reply Reply Quote 0
                • haus-automatisierung
                  haus-automatisierung Developer Most Active @patsand last edited by

                  @patsand Okay, dann ist das Thema hier nur in der komplett falschen Kategorie. Hat ja nichts mit dem ioBroker zu tun.

                  Irgendwelche Sonderzeichen im Passwort?

                  P 1 Reply Last reply Reply Quote 0
                  • P
                    patsand @haus-automatisierung last edited by

                    @haus-automatisierung oh, sorry. ne, nur Buchstaben und Zahlen. Aber admin als username ist richtig?

                    haus-automatisierung 1 Reply Last reply Reply Quote 0
                    • haus-automatisierung
                      haus-automatisierung Developer Most Active @patsand last edited by

                      @patsand sagte in Shelly Http request bei restricted login:

                      Aber admin als username ist richtig?

                      Ja, steht ja auch so in der oben verlinkten Doku, ...

                      P 1 Reply Last reply Reply Quote 0
                      • P
                        patsand @haus-automatisierung last edited by

                        @haus-automatisierung komisch, wenn ich andere shellys gen1 mit der shelly1 gen1 schalten möchte, geht das ohne Probleme.

                        1 Reply Last reply Reply Quote 0
                        • Fabio
                          Fabio @patsand last edited by Fabio

                          @patsand nö hab ich nicht admin ist richtig was passiert den nicht wenn du es so aufrufst?
                          geht das denn: relay/0?turn=on oder relay/0?turn=off
                          oder log in: /#/login

                          P 1 Reply Last reply Reply Quote 0
                          • P
                            patsand @Fabio last edited by

                            @fa-bio Geht auf nicht. Ohne passwort auf der shelly geht alles ohne Probleme 🤔

                            Fabio 1 Reply Last reply Reply Quote 0
                            • Fabio
                              Fabio @patsand last edited by Fabio

                              @patsand keine Ahnung, da du nicht erklärst was du genau machst bin ich jetzt raus.
                              Evtl. ein Bug melde dich beim Shelly support vieleicht könnnen sie dir helfen benutzt du Action URL? Passiert der Fehler nur damit, oder auch wenn du es im Browser aufrufst liefer mal Infos.

                              A 1 Reply Last reply Reply Quote 0
                              • A
                                astrakid @Fabio last edited by astrakid

                                @patsand ist das problem bei dir neu? ich habe seit einigen Tagen das Preoblem, dass der Shelly-Adapter nicht mehr funktioniert. ich hab allerdings noch nicht probiert, die authentifizierung herauszunehmen.

                                beim start des shelly-adapters erhalte ich seit heute diese fehlermeldung (vllt. ist mir das gestern auch nur nicht aufgefallen)
                                shelly has an invalid jsonConfig:

                                [{"instancePath":"","schemaPath":"#/additionalProperties","keyword":"additionalProperties","params":{"additionalProperty":"iconPosition"},"message":"must NOT have additional properties"}]
                                
                                haus-automatisierung 1 Reply Last reply Reply Quote 0
                                • haus-automatisierung
                                  haus-automatisierung Developer Most Active @astrakid last edited by

                                  @astrakid Das ist nicht beim Start, sondern wenn Du die Instanz-Konfiguration öffnest. Soll ich den Issue dazu raussuchen? Hat jedenfalls nichts mit der Funktion des Adapters zu tun

                                  1 Reply Last reply Reply Quote 0
                                  • A
                                    astrakid last edited by

                                    @haus-automatisierung ok, das passt. da kann ich mit leben.

                                    ich hab den fehler bei mir auch gefunden. ganz banal, der port vom shelly war nicht in den docker container durchgereicht. also layer8 fehler...

                                    haus-automatisierung 1 Reply Last reply Reply Quote 0
                                    • haus-automatisierung
                                      haus-automatisierung Developer Most Active @astrakid last edited by

                                      @astrakid sagte in Shelly Http request bei restricted login:

                                      der port vom shelly war nicht in den docker container durchgereicht.

                                      Gerade für solche Themen ist übrigens network mode host oder macvlan empfohlen: https://docs.buanet.de/iobroker-docker-image/docs/#networks

                                      A 1 Reply Last reply Reply Quote 0
                                      • A
                                        astrakid @haus-automatisierung last edited by

                                        @haus-automatisierung da habe ich mich noch nicht mit auseinandergesetzt. werde ich mal tun. danke. auf die schnelle überlfogen: kann ich trotzdem noch ein portmapping durchführen, oder wird immer der "native" port des containers im host verwendet?

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

                                        Support us

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

                                        933
                                        Online

                                        31.9k
                                        Users

                                        80.2k
                                        Topics

                                        1.3m
                                        Posts

                                        4
                                        19
                                        2105
                                        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