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]Script blocky für shelly 1xtasten/2xtasten

    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]Script blocky für shelly 1xtasten/2xtasten

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

      Cool danke

      1 Reply Last reply Reply Quote 0
      • L
        Lacoste9 @Lacoste9 last edited by

        @paul53

        moin

        ich habe den neuen java installiert. dort stand drin das evtl einige skripte überarbeitet werden müssen.
        ich habe sonst nix geändert.
        Der 2 tastendruck (Garage) funzt nicht mehr 😞

        Weisst du evtl woran es liegen kann

        MFG
        Alexander

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

          @Lacoste9 sagte:

          Der 2 tastendruck (Garage) funzt nicht mehr
          Weisst du evtl woran es liegen kann

          Nein, das muss unabhängig von der Version des JS-Adapters funktionieren.

          @Lacoste9 sagte in [gelöst]Script blocky für shelly 1xtasten/2xtasten:

          dort stand drin das evtl einige skripte überarbeitet werden müssen.

          ??

          1 Reply Last reply Reply Quote 0
          • L
            Lacoste9 last edited by Lacoste9

            Moin

            ich bin jetzt nochmal dazu gekommen um zu schauen.
            Klappt aber irgendwie nicht mehr dem 2te Tastendruck. Der erste klappt das die Rolladen runter fahren.
            Ich habe anstelle des Garagentor mal ein anderen Switch genommen, das gleiche Phänomen

            Keine Ahnung woran es liegen könnte @paul53

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

              @Lacoste9 sagte:

              Klappt aber irgendwie nicht mehr dem 2te Tastendruck.

              Wenn es schon mal funktioniert hat und jetzt nicht mehr, muss sich das Verhalten des Tasters geändert haben. Logge mal den Taster in einem Testskript:

              Blockly_temp.JPG

              1 Reply Last reply Reply Quote 0
              • L
                Lacoste9 last edited by

                sieht so aus...

                1mal getastet
                27.1.2020, 17:23:58.829 [info ]: javascript.0 (26032) script.js.Shelly.Logskript: Tastertrue
                27.1.2020, 17:24:00.836 [info ]: javascript.0 (26032) script.js.Shelly.Logskript: Tasterfalse

                2x getastet
                27.1.2020, 17:25:18.678 [info ]: javascript.0 (26032) script.js.Shelly.Logskript: Tastertrue
                27.1.2020, 17:25:19.217 [info ]: javascript.0 (26032) script.js.Shelly.Logskript: Tasterfalse

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

                  @Lacoste9 sagte:

                  2x getastet
                  27.1.2020, 17:25:18.678 [info ]: javascript.0 (26032) script.js.Shelly.Logskript: Tastertrue
                  27.1.2020, 17:25:19.217 [info ]: javascript.0 (26032) script.js.Shelly.Logskript: Tasterfalse

                  Er hätte 2 mal true liefern müssen.

                  1 Reply Last reply Reply Quote 0
                  • L
                    Lacoste9 last edited by

                    Das habe ich gesehen.

                    Ich muss doch innerhalb der 800ms 2x drücken oder?

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

                      @Lacoste9 sagte:

                      Ich muss doch innerhalb der 800ms 2x drücken oder?

                      Ja genau, dann muss 2x true im Log erscheinen. Hast Du die Taster umkonfiguriert, so dass sie jetzt nach 2 s (1x Tastendruck) auf false gehen ?

                      1 Reply Last reply Reply Quote 0
                      • L
                        Lacoste9 last edited by

                        ohman

                        ne umkonfiguriert habe ich nix. habe in den einstellungen eben reingeschaut. da war eine Auto Off time gesetzt. (ich war es nicht) und der Button Type war falsch eingestellt. das war glaube ich weil ich was getestet habe 😕

                        ALLES funzt wieder

                        mal wieder ein ganz dickes DANKE

                        1 Reply Last reply Reply Quote 0
                        • L
                          Lacoste9 last edited by

                          shelly.0	2020-01-27 17:46:53.106	error	(2880) Error handling Shelly data: SyntaxError: Unexpected token ` in JSON at position 311 for JSON {"blk":[{"I":0,"D":"Relay0"},{"I":1,"D":"Sensors"}],"sen":[{"I":111,"T":"W","R":"0/3500","L":0},{"I
                          
                          shelly.0	2020-01-27 19:01:38.996	error	(2880) Error handling Shelly data: SyntaxError: Unexpected token ` in JSON at position 536 for JSON {"blk":[{"I":0,"D":"Relay0"},{"I":1,"D":"Relay1"},{"I":2,"D":"Device"}],"sen":[{"I":112,"T":"S","D":
                          
                          shelly.0	2020-01-27 18:59:26.550	error	(2880) Error handling Shelly data: SyntaxError: Unexpected token ` in JSON at position 368 for JSON {"blk":[{"I":0,"D":"Relay0"},{"I":1,"D":"Relay1"},{"I":2,"D":"Device"},{"I":118,"T":"S","D":"Inp
                          

                          und die 3 Zeilen kommen im Log im Bezug auf das Skript

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

                            @Lacoste9 sagte:

                            die 3 Zeilen kommen im Log im Bezug auf das Skript

                            Ich kann keinen Bezug zum Script erkennen.

                            1 Reply Last reply Reply Quote 0
                            • L
                              Lacoste9 last edited by

                              das kommt immer wenn ich den taster drücke

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

                                @Lacoste9 sagte:

                                das kommt immer wenn ich den taster drücke

                                Wenn es vorher nicht war, ist die Ursache dafür die Konfigurationsänderung - nicht das Script.

                                1 Reply Last reply Reply Quote 0
                                • L
                                  Lacoste9 last edited by

                                  moin

                                  also der logeintrag ist soweit nicht wieder aufgetreten.
                                  Mal abwarten

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

                                  Support us

                                  ioBroker
                                  Community Adapters
                                  Donate

                                  845
                                  Online

                                  31.9k
                                  Users

                                  80.2k
                                  Topics

                                  1.3m
                                  Posts

                                  blockly
                                  3
                                  30
                                  3775
                                  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