Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Gelöst! Rollosteuerung Shelly 2.5: Anfängerproblem

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Gelöst! Rollosteuerung Shelly 2.5: Anfängerproblem

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

      Hallo liebe Forengemeinde,
      Ich habe meine 6 Raffstores mit Shellys versehen um die Tageslichtlenkung zu umgehen.

      Vorweg: alle Shellys sind kalibriert uns lassen sich über die App problemlos auch prozentuell regeln.
      Was soll funktionieren?
      Ich möchte, dass sobald ich den Schalter (detach input = True) zum schließen betätige, der entsprchende Raffstore auf 70% runter fährt, dann wieder auch 90% und dann auch 0% fährt. Damit lenken die Lamellen um und sind zu.

      Habe viel gelesen und entweder laufe ich in eine Endlosschleife oder es passiert nix, außer dass schließen als ob kein Skript vorhanden wäre. Fehler gibts keine im log.

      0408DF3F-D968-4692-90F3-7AA150E9770B.jpeg

      Hab ich hier einen totalen Blödsinn zusammengestückelt?

      Vielen Dank für euren Input 🙂

      crunchip paul53 2 Replies Last reply Reply Quote 0
      • crunchip
        crunchip Forum Testing Most Active @highshot last edited by crunchip

        @highshot dann eher so, Wert findest du bei Trigger Object ID, umlenken ist eine variable
        ich habs allerdings auch nicht so mit logik und blockly🙂
        b7455516-ff54-4ac2-a742-bf712ca74ac0-grafik.png

        H 1 Reply Last reply Reply Quote 0
        • H
          highshot @crunchip last edited by

          @crunchip
          Danke für den Tipp, geht aber leider noch nicht. Relais klickt zwei mal, aber er fährt einfach nur runter. 416358E0-1807-4A43-BAF2-298D53D82ACB.jpeg

          Habe nur noch die Abfrage = wahr hinzugefügt, weil er ja sonst nicht weiß ob Schalter an oder aus, oder?
          Lg

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

            @highshot sagte in Rollosteuerung Shelly 2.5: Anfängerproblem:

            Habe nur noch die Abfrage = wahr hinzugefügt, weil er ja sonst nicht weiß ob Schalter an oder aus, oder?

            das ist falsch, es wird damit bereits auf "wahr" ausgelöst

            H 1 Reply Last reply Reply Quote 0
            • H
              highshot @crunchip last edited by

              @crunchip 8041FC26-3899-4962-822C-1FB15566C0A6.jpeg

              Ok, jetzt tut sich was. Jetzt stoppt er bei 80%. Wenn ich den Schalter ausschalte geht er auf 90%.

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

                @highshot
                probier es mal so
                a8449ad2-68bf-43cf-b00b-de864870abe6-grafik.png

                H 1 Reply Last reply Reply Quote 0
                • H
                  highshot @crunchip last edited by

                  @crunchip
                  Steht bei 80%... als würde das Skript stoppen.

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

                    @highshot dann weiß ich auch nicht weiter, wie gesagt, logik is auch nicht so meins
                    bau doch mal debugbausteine unter jedem steuere....
                    f62c60b2-d9a3-4e60-81ff-ad0c53149c44-grafik.png

                    H 1 Reply Last reply Reply Quote 0
                    • H
                      highshot @crunchip last edited by

                      @crunchip
                      javascript.0 2021-01-24 21:03:41.708 info (8196) script.js.Raffstore: true

                      Mehr gibt er nicht her. Danke für deine Hilfe! Ich spiel morgen mal weiter... v

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

                        @highshot sagte: Raffstore auf 70% runter fährt, dann wieder auch 90% und dann auch 0% fährt.

                        Ich würde es so versuchen:

                        Bild_2021-01-25_112744.png

                        H 1 Reply Last reply Reply Quote 0
                        • H
                          highshot @paul53 last edited by

                          @paul53 danke! Probiere ich aus wenn ich zuhause bin 😊

                          1 Reply Last reply Reply Quote 0
                          • H
                            highshot last edited by

                            @paul53
                            Leider bleibt auch hier das Skript beim ersten Schritt hängen. Er fährt bis 70% und dann war’s das.

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

                              @highshot sagte: Er fährt bis 70% und dann war’s das.

                              Die Laufzeit hast Du an die tatsächliche Laufzeit des Raffstores angepasst (evtl. etwas länger)?
                              Poste bitte den erzeugten Javascript-Code ohne die letzte Zeile in Code tags.

                              H 1 Reply Last reply Reply Quote 0
                              • H
                                highshot @paul53 last edited by

                                @paul53

                                Gelöst! So gehts: 1BBB1CF1-CBC5-455E-981A-38ECEDA49859.jpeg

                                H 1 Reply Last reply Reply Quote 0
                                • H
                                  highshot @highshot last edited by

                                  Scheinbar dauerts bis der Shelly den Wert der Position meldet.

                                  crunchip paul53 2 Replies Last reply Reply Quote 0
                                  • crunchip
                                    crunchip Forum Testing Most Active @highshot last edited by

                                    @highshot nö, eher bis dein Raffstore die Position erreicht hat

                                    H 1 Reply Last reply Reply Quote 0
                                    • paul53
                                      paul53 @highshot last edited by

                                      @highshot sagte: Scheinbar dauerts bis der Shelly den Wert der Position meldet.

                                      Die Differenz zwischen auf 90% setzen und auf 0% setzen beträgt gerade mal eine Sekunde. Anscheinend darf der Raffstore nicht die 90% anfahren, sondern man muss kurz nach dem 90%-Befehl den 0%-Befehl rausgeben.

                                      1 Reply Last reply Reply Quote 0
                                      • H
                                        highshot @crunchip last edited by

                                        @crunchip said in Gelöst! Rollosteuerung Shelly 2.5: Anfängerproblem:

                                        @highshot nö, eher bis dein Raffstore die Position erreicht hat

                                        Hast natürlich recht 😁

                                        @paul53
                                        Genau das wird’s sein... deswegen klackt das Relais drei mal Folge. Das Skript rattert einfach durch 😬

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

                                        Support us

                                        ioBroker
                                        Community Adapters
                                        Donate

                                        421
                                        Online

                                        32.0k
                                        Users

                                        80.4k
                                        Topics

                                        1.3m
                                        Posts

                                        blockly
                                        3
                                        18
                                        952
                                        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