Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. [Aufruf] Test Shelly Adapter

    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

    [Aufruf] Test Shelly Adapter

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

      @eagleye:

      @apollon77:

      Naja aktuell ist das kein bug sondern „intended“. Müssen wir mal schauen. `

      naja, ist schon frustrierend und die usability leidet sehr wenn mann in einer script-Umgebung nicht weiß was gerade geschaltet wird und jedesmal per try and error herausgefunden werden muss. hoffe das wird bald gefixt, dass ist IMHO sehr wichtig.

      Danke `

      Den Device Namen kannst Du jetzt anpassen! In meinem Bsp. heißt das Device jetzt "Haustür"

      4352_bildschirmfoto_2018-09-29_um_15.57.04.png

      1 Reply Last reply Reply Quote 0
      • I
        ingostein last edited by

        Sieht sehr gut aus.

        Eine Frage zu dem Timer…

        Timer zb.20sek, läuft nur an wenn das Signal true bei open oder close "fest" ansteht. (Widget als Schalter difiniert)

        Wenn ich das Signal true bei open/close nur "taste" gehts nicht und das Relais fällt gleich wieder ab.

        Ist das so gewollt?

        1 Reply Last reply Reply Quote 0
        • apollon77
          apollon77 last edited by

          Schick mal log im debug Modus.

          Die timer bzw duration werte werden nur, wenn gesetzt, mit an den shelly beim Befehl gesendet. Wenn das senden also klappt und es sich falsch verhält müssen die Shelly Jungs das fixen … dafür wäre debug log hilfreich weil man sehen kann was an den shelly gesendet wird.

          Gesendet vom Handy ...

          1 Reply Last reply Reply Quote 0
          • I
            ingostein last edited by

            Hier mal ein kurzes Log:

            undefined2018-09-30 13:05:28.147 - debug: shelly.0 CoAP data ignored: {"3332":"SHSW-21#9F61D6#1","3412":38400,"3420":14593,"Uri-Path":"cit/s"} / {"G":[[0,112,0],[0,122,0],[0,111,0]]}

            2018-09-30 13:05:29.475 - debug: shelly.0 stateChange shelly.0.SHSW-21#9F6224#1.Shutter.Open {"val":true,"ack":false,"ts":1538305529460,"q":0,"from":"system.adapter.web.0","user":"system.user.admin","lc":1538305529460}

            2018-09-30 13:05:29.476 - debug: shelly.0 RollerUp: {"go":"open"}

            2018-09-30 13:05:29.477 - debug: shelly.0 Call REST GET http://192.168.178.30/roller/0 with {"go":"open"}

            2018-09-30 13:05:29.501 - debug: shelly.0 REST Response {"state":"open","power":0,"is_valid":true,"safety_switch":false,"stop_reason":"normal","last_direction":"open"}

            2018-09-30 13:05:29.569 - debug: shelly.0 CoAP status package received: {"3332":"SHSW-21#9F6224#1","3412":38400,"3420":41985,"Uri-Path":"cit/s"} / {"G":[[0,112,1],[0,122,0],[0,111,0]]}

            2018-09-30 13:05:29.570 - debug: shelly.0 Status update received for SHSW-21#9F6224#1: {"G":[[0,112,1],[0,122,0],[0,111,0]]}

            2018-09-30 13:05:29.577 - debug: shelly.0 stateChange shelly.0.SHSW-21#9F6224#1.Relay0.Switch {"val":true,"ack":true,"ts":1538305529572,"q":0,"from":"system.adapter.shelly.0","user":"system.user.admin","lc":1538305529572}

            2018-09-30 13:05:30.492 - debug: shelly.0 stateChange shelly.0.SHSW-21#9F6224#1.Shutter.Open {"val":false,"ack":false,"ts":1538305530488,"q":0,"from":"system.adapter.web.0","user":"system.user.admin","lc":1538305530488}

            2018-09-30 13:05:30.493 - debug: shelly.0 RollerUp: {"go":"stop"}

            2018-09-30 13:05:30.494 - debug: shelly.0 Call REST GET http://192.168.178.30/roller/0 with {"go":"stop"}

            2018-09-30 13:05:30.521 - debug: shelly.0 REST Response {"state":"stop","power":0,"is_valid":true,"safety_switch":false,"stop_reason":"normal","last_direction":"open"}

            2018-09-30 13:05:30.588 - debug: shelly.0 CoAP status package received: {"3332":"SHSW-21#9F6224#1","3412":38400,"3420":42241,"Uri-Path":"cit/s"} / {"G":[[0,112,0],[0,122,0],[0,111,0]]}

            2018-09-30 13:05:30.589 - debug: shelly.0 Status update received for SHSW-21#9F6224#1: {"G":[[0,112,0],[0,122,0],[0,111,0]]}

            2018-09-30 13:05:30.597 - debug: shelly.0 stateChange shelly.0.SHSW-21#9F6224#1.Relay0.Switch {"val":false,"ack":true,"ts":1538305530591,"q":0,"from":"system.adapter.shelly.0","user":"system.user.admin","lc":1538305530591}

            2018-09-30 13:05:30.691 - debug: shelly.0 CoAP data ignored: {"3332":"SHSW-21#9F6066#1","3412":38400,"3420":2305,"Uri-Path":"cit/s"} / {"G":[[0,112,0],[0,122,0],[0,111,0]]}

            2018-09-30 13:05:31.235 - debug: shelly.0 stateChange shelly.0.SHSW-21#9F6224#1.Shutter.Close {"val":true,"ack":false,"ts":1538305531231,"q":0,"from":"system.adapter.web.0","user":"system.user.admin","lc":1538305531231}

            2018-09-30 13:05:31.236 - debug: shelly.0 RollerDown: {"go":"close"}

            2018-09-30 13:05:31.237 - debug: shelly.0 Call REST GET http://192.168.178.30/roller/0 with {"go":"close"}

            2018-09-30 13:05:31.256 - debug: shelly.0 REST Response {"state":"close","power":0,"is_valid":true,"safety_switch":false,"stop_reason":"normal","last_direction":"close"}

            2018-09-30 13:05:31.296 - debug: shelly.0 CoAP data ignored: {"3332":"SHSW-21#9F6094#1","3412":38400,"3420":65024,"Uri-Path":"cit/s"} / {"G":[[0,112,0],[0,122,0],[0,111,0]]}

            2018-09-30 13:05:31.330 - debug: shelly.0 CoAP status package received: {"3332":"SHSW-21#9F6224#1","3412":38400,"3420":42497,"Uri-Path":"cit/s"} / {"G":[[0,112,0],[0,122,1],[0,111,0]]}

            2018-09-30 13:05:31.331 - debug: shelly.0 Status update received for SHSW-21#9F6224#1: {"G":[[0,112,0],[0,122,1],[0,111,0]]}

            2018-09-30 13:05:31.338 - debug: shelly.0 stateChange shelly.0.SHSW-21#9F6224#1.Relay1.Switch {"val":true,"ack":true,"ts":1538305531333,"q":0,"from":"system.adapter.shelly.0","user":"system.user.admin","lc":1538305531333}

            2018-09-30 13:05:32.033 - debug: shelly.0 CoAP data ignored: {"3332":"SHSW-21#9F5F42#1","3412":38400,"3420":21505,"Uri-Path":"cit/s"} / {"G":[[0,112,0],[0,122,0],[0,111,0]]}

            2018-09-30 13:05:32.239 - debug: shelly.0 stateChange shelly.0.SHSW-21#9F6224#1.Shutter.Close {"val":false,"ack":false,"ts":1538305532235,"q":0,"from":"system.adapter.web.0","user":"system.user.admin","lc":1538305532235}

            2018-09-30 13:05:32.240 - debug: shelly.0 RollerDown: {"go":"stop"}

            2018-09-30 13:05:32.241 - debug: shelly.0 Call REST GET http://192.168.178.30/roller/0 with {"go":"stop"}

            2018-09-30 13:05:32.340 - debug: shelly.0 REST Response {"state":"stop","power":0,"is_valid":true,"safety_switch":false,"stop_reason":"normal","last_direction":"close"}

            2018-09-30 13:05:32.400 - debug: shelly.0 CoAP status package received: {"3332":"SHSW-21#9F6224#1","3412":38400,"3420":42753,"Uri-Path":"cit/s"} / {"G":[[0,112,0],[0,122,0],[0,111,0]]}

            2018-09-30 13:05:32.400 - debug: shelly.0 Status update received for SHSW-21#9F6224#1: {"G":[[0,112,0],[0,122,0],[0,111,0]]}

            2018-09-30 13:05:32.405 - debug: shelly.0 stateChange shelly.0.SHSW-21#9F6224#1.Relay1.Switch {"val":false,"ack":true,"ts":1538305532402,"q":0,"from":"system.adapter.shelly.0","user":"system.user.admin","lc":1538305532402}

            2018-09-30 13:05:32.632 - debug: shelly.0 stateChange shelly.0.SHSW-21#9F6224#1.Shutter.Pause {"val":true,"ack":false,"ts":1538305532629,"q":0,"from":"system.adapter.web.0","user":"system.user.admin","lc":1538305532629}

            2018-09-30 13:05:32.632 - debug: shelly.0 RollerStop: {"go":"stop"}

            2018-09-30 13:05:32.633 - debug: shelly.0 Call REST GET http://192.168.178.30/roller/0 with {"go":"stop"}

            2018-09-30 13:05:32.649 - debug: shelly.0 REST Response {"state":"stop","power":0,"is_valid":true,"safety_switch":false,"stop_reason":"normal","last_direction":"close"}

            2018-09-30 13:05:33.398 - debug: shelly.0 stateChange shelly.0.SHSW-21#9F6224#1.Shutter.Open {"val":true,"ack":false,"ts":1538305533394,"q":0,"from":"system.adapter.web.0","user":"system.user.admin","lc":1538305533394}

            2018-09-30 13:05:33.399 - debug: shelly.0 RollerUp: {"go":"open"}

            2018-09-30 13:05:33.400 - debug: shelly.0 Call REST GET http://192.168.178.30/roller/0 with {"go":"open"}

            2018-09-30 13:05:33.423 - debug: shelly.0 REST Response {"state":"open","power":0,"is_valid":true,"safety_switch":false,"stop_reason":"normal","last_direction":"open"}

            1 Reply Last reply Reply Quote 0
            • apollon77
              apollon77 last edited by

              In dem Fall hat der Adapter alle Calls ohne duration gemacht. Ist das korrekt? Duration müsste daher auf 0 gestanden haben.

              Aber ansonsten siehst Du genau die REST-Calls an das Device und auch die Antwort. Wenn die Reaktion nicht korrekt ist wäre das etwas was du als Bug an Shelly melden müsstest

              1 Reply Last reply Reply Quote 0
              • I
                ingostein last edited by

                Timer bei Relay0 und Relay1 steht jeweils auf 20sec.

                Oder mache ich irgendetwas verkehrt?

                Anbei ein Screenshoot.
                8872_shelly.jpg

                1 Reply Last reply Reply Quote 0
                • Stuebi
                  Stuebi last edited by

                  Der Shelly2 unterscheidet zwischen Relay und Roller (Shutter) Modus. Wenn du den Shelly2 im Roller Modus betreibst, dann kannst Du den Status nur über open, close, pause und duration ändern. Im Relay Modus, sind die Änderungen nur über switch und timer möglich.

                  1 Reply Last reply Reply Quote 0
                  • Stuebi
                    Stuebi last edited by

                    @ingostein:

                    Timer bei Relay0 und Relay1 steht jeweils auf 20sec.

                    Oder mache ich irgendetwas verkehrt?

                    Anbei ein Screenshoot. `

                    erst wenn Du den Status von switch änderst wird de Wert von Timer gezogen.

                    Beispiel: Switch ist auf false und Du setzt den Timer auf 20 sek.. Erst einmal passiert nicht. Änderst Du jetzt den Wert von Switch auf true, ist dieser 20 sek. true und dann wieder false.

                    1 Reply Last reply Reply Quote 0
                    • apollon77
                      apollon77 last edited by

                      Wir haben das getrennt weil man an sich entweder mit den zwei Schaltkanälen arbeitet (und dann dort beeinflussen kann was wie passiert) ODER man arbeitet mit dem Roller-Modus und dann will man ggf ganze andere Dinge haben.

                      Auch welcher Relay-kanal im Roller-Modus gerade was tut (ist ja in der Shelly App einstellbar und so) weiss der Adapter nicht. Daher ist es wie in der App getrennt.

                      1 Reply Last reply Reply Quote 0
                      • I
                        ingostein last edited by

                        Vielen Dank für Eure Antworten.

                        Sehe eben erst den Punkt "duration", hatte ich übersehen,daher war ich etwas irritiert.

                        Shelly ist im Rollermodus.

                        Duration habe ich jetzt auf 20sek gesetzt.

                        Ansteuerung Tastsignal über open/close.

                        Relais zieht wieder nur für etwa 1sek an und fällt dann wieder ab.

                        Relais hält nur für 20sek wenn ich den Befehl true anstehen lasse.

                        Egal, ich bastle mir die Laufzeit über Blockly zusammen.

                        Vielen Dank
                        8872_shelly2.jpg

                        1 Reply Last reply Reply Quote 0
                        • apollon77
                          apollon77 last edited by

                          Ne, bitte nochmal mit gesetztem duration ein Debug-Log. Würde gern schauen ob es jetzt gesendet wird wie es soll

                          1 Reply Last reply Reply Quote 0
                          • I
                            ingostein last edited by

                            Bitte hier das Log:

                            shelly.0 2018-09-30 19:54:59.666 debug stateChange shelly.0.SHSW-21#9F6224#1.Relay1.Switch {"val":false,"ack":true,"ts":1538330099662,"q":0,"from":"system.adapter.shelly.0","user":"system.user.admin","lc":1538330099662}

                            shelly.0 2018-09-30 19:54:59.660 debug Status update received for SHSW-21#9F6224#1: {"G":[[0,112,0],[0,122,0],[0,111,0]]}

                            shelly.0 2018-09-30 19:54:59.660 debug CoAP status package received: {"3332":"SHSW-21#9F6224#1","3412":38400,"3420":44544,"Uri-Path":"cit/s"} / {"G":[[0,112,0],[0,122,0],[0,111,0]]}

                            shelly.0 2018-09-30 19:54:59.593 debug REST Response {"state":"stop","power":0,"is_valid":true,"safety_switch":false,"stop_reason":"normal","last_direction":"close"}

                            shelly.0 2018-09-30 19:54:59.562 debug Call REST GET http://192.168.178.30/roller/0 with {"go":"stop"}

                            shelly.0 2018-09-30 19:54:59.562 debug RollerDown: {"go":"stop"}

                            shelly.0 2018-09-30 19:54:59.561 debug stateChange shelly.0.SHSW-21#9F6224#1.Shutter.Close {"val":false,"ack":false,"ts":1538330099556,"q":0,"from":"system.adapter.cloud.0","user":"system.user.admin","lc":1538330099556}

                            shelly.0 2018-09-30 19:54:59.144 debug CoAP data ignored: {"3332":"SHSW-21#9F61D7#1","3412":38400,"3420":257,"Uri-Path":"cit/s"} / {"G":[[0,112,0],[0,122,0],[0,111,0]]}

                            shelly.0 2018-09-30 19:54:59.115 debug CoAP data ignored: {"3332":"SHSW-21#9F6203#1","3412":38400,"3420":1793,"Uri-Path":"cit/s"} / {"G":[[0,112,0],[0,122,0],[0,111,0]]}

                            shelly.0 2018-09-30 19:54:58.657 debug stateChange shelly.0.SHSW-21#9F6224#1.Relay1.Switch {"val":true,"ack":true,"ts":1538330098651,"q":0,"from":"system.adapter.shelly.0","user":"system.user.admin","lc":1538330098651}

                            shelly.0 2018-09-30 19:54:58.650 debug Status update received for SHSW-21#9F6224#1: {"G":[[0,112,0],[0,122,1],[0,111,0]]}

                            shelly.0 2018-09-30 19:54:58.649 debug CoAP status package received: {"3332":"SHSW-21#9F6224#1","3412":38400,"3420":44288,"Uri-Path":"cit/s"} / {"G":[[0,112,0],[0,122,1],[0,111,0]]}

                            shelly.0 2018-09-30 19:54:58.582 debug REST Response {"state":"close","power":0,"is_valid":true,"safety_switch":false,"stop_reason":"normal","last_direction":"close"}

                            shelly.0 2018-09-30 19:54:58.561 debug Call REST GET http://192.168.178.30/roller/0 with {"go":"close"}

                            shelly.0 2018-09-30 19:54:58.560 debug RollerDown: {"go":"close"}

                            shelly.0 2018-09-30 19:54:58.560 debug stateChange shelly.0.SHSW-21#9F6224#1.Shutter.Close {"val":true,"ack":false,"ts":1538330098555,"q":0,"from":"system.adapter.cloud.0","user":"system.user.admin","lc":1538330098555}

                            shelly.0 2018-09-30 19:54:58.374 debug CoAP data ignored: {"3332":"SHSW-21#9F5FF6#1","3412":38400,"3420":22272,"Uri-Path":"cit/s"} / {"G":[[0,112,0],[0,122,0],[0,111,0]]}

                            shelly.0 2018-09-30 19:54:57.896 debug stateChange shelly.0.SHSW-21#9F6224#1.Relay0.Switch {"val":false,"ack":true,"ts":1538330097893,"q":0,"from":"system.adapter.shelly.0","user":"system.user.admin","lc":1538330097893}

                            shelly.0 2018-09-30 19:54:57.892 debug Status update received for SHSW-21#9F6224#1: {"G":[[0,112,0],[0,122,0],[0,111,0]]}

                            shelly.0 2018-09-30 19:54:57.892 debug CoAP status package received: {"3332":"SHSW-21#9F6224#1","3412":38400,"3420":44032,"Uri-Path":"cit/s"} / {"G":[[0,112,0],[0,122,0],[0,111,0]]}

                            shelly.0 2018-09-30 19:54:57.828 debug REST Response {"state":"stop","power":0,"is_valid":true,"safety_switch":false,"stop_reason":"normal","last_direction":"open"}

                            shelly.0 2018-09-30 19:54:57.812 debug Call REST GET http://192.168.178.30/roller/0 with {"go":"stop"}

                            shelly.0 2018-09-30 19:54:57.812 debug RollerUp: {"go":"stop"}

                            shelly.0 2018-09-30 19:54:57.811 debug stateChange shelly.0.SHSW-21#9F6224#1.Shutter.Open {"val":false,"ack":false,"ts":1538330097809,"q":0,"from":"system.adapter.cloud.0","user":"system.user.admin","lc":1538330097809}

                            shelly.0 2018-09-30 19:54:56.912 debug stateChange shelly.0.SHSW-21#9F6224#1.Relay0.Switch {"val":true,"ack":true,"ts":1538330096908,"q":0,"from":"system.adapter.shelly.0","user":"system.user.admin","lc":1538330096908}

                            shelly.0 2018-09-30 19:54:56.906 debug Status update received for SHSW-21#9F6224#1: {"G":[[0,112,1],[0,122,0],[0,111,0]]}

                            shelly.0 2018-09-30 19:54:56.905 debug CoAP status package received: {"3332":"SHSW-21#9F6224#1","3412":38400,"3420":43776,"Uri-Path":"cit/s"} / {"G":[[0,112,1],[0,122,0],[0,111,0]]}

                            shelly.0 2018-09-30 19:54:56.837 debug REST Response {"state":"open","power":0,"is_valid":true,"safety_switch":false,"stop_reason":"normal","last_direction":"open"}

                            shelly.0 2018-09-30 19:54:56.817 debug Call REST GET http://192.168.178.30/roller/0 with {"go":"open"}

                            shelly.0 2018-09-30 19:54:56.817 debug RollerUp: {"go":"open"}
                            8872_shelly3.jpg

                            1 Reply Last reply Reply Quote 0
                            • Stuebi
                              Stuebi last edited by

                              Hallo Ingo,

                              kannst Du bitte nochmals den Shelly Adapter installieren und bitte nochmals testen. Welche Version ist bei Dir dann installiert? Bei mir funktioniert es, wenn ich z.B. 10 Sekunden einstelle.

                               Call REST GET http://192.168.1.2/roller/0 with {"go":"close","duration":10}
                              
                              

                              VG

                              Stübi

                              1 Reply Last reply Reply Quote 0
                              • I
                                ingostein last edited by

                                Hallo,

                                Version 0.2.1 war drauf.

                                Habs deinstalliert und nochmal neu installiert.

                                Bin aber im Moment auf der Arbeit und hab nur Zugriff über iobroker.pro

                                Melde mich morgen nochmal.

                                1 Reply Last reply Reply Quote 0
                                • Stuebi
                                  Stuebi last edited by

                                  @ingostein:

                                  Hallo,

                                  Version 0.2.1 war drauf.

                                  Habs deinstalliert und nochmal neu installiert.

                                  Bin aber im Moment auf der Arbeit und hab nur Zugriff über iobroker.pro

                                  Melde mich morgen nochmal. `

                                  super, danke! Ich bin gespannt

                                  1 Reply Last reply Reply Quote 0
                                  • I
                                    ingostein last edited by

                                    Ach, lässt mir jetzt keine Ruhe…

                                    Hat leider nix gebracht.

                                    Wechselt nur wieder kurz von false auf true.

                                    Hier das Log:

                                    shelly.0 2018-09-30 21:13:08.720 debug stateChange shelly.0.SHSW-21#9F6224#1.Relay1.Switch {"val":false,"ack":true,"ts":1538334788714,"q":0,"from":"system.adapter.shelly.0","user":"system.user.admin","lc":1538334788714}

                                    shelly.0 2018-09-30 21:13:08.712 debug Status update received for SHSW-21#9F6224#1: {"G":[[0,112,0],[0,122,0],[0,111,0]]}

                                    shelly.0 2018-09-30 21:13:08.712 debug CoAP status package received: {"3332":"SHSW-21#9F6224#1","3412":38400,"3420":52736,"Uri-Path":"cit/s"} / {"G":[[0,112,0],[0,122,0],[0,111,0]]}

                                    shelly.0 2018-09-30 21:13:08.633 debug REST Response {"state":"stop","power":0,"is_valid":true,"safety_switch":false,"stop_reason":"normal","last_direction":"close"}

                                    shelly.0 2018-09-30 21:13:08.611 debug Call REST GET http://192.168.178.30/roller/0 with {"go":"stop","duration":20}

                                    shelly.0 2018-09-30 21:13:08.610 debug RollerDown: {"go":"stop","duration":20}

                                    shelly.0 2018-09-30 21:13:08.609 debug stateChange shelly.0.SHSW-21#9F6224#1.Shutter.Close {"val":false,"ack":false,"ts":1538334788604,"q":0,"from":"system.adapter.cloud.0","user":"system.user.admin","lc":1538334788604}

                                    shelly.0 2018-09-30 21:13:08.456 debug CoAP data ignored: {"3332":"SHSW-44#062073#1","3412":38400,"3420":16640,"Uri-Path":"cit/s"} / {"G":[[0,111,0],[0,112,0],[0,121,0],[0,122,0],[0,131,0],[0,132,0],[0,141,0],[0,142,0]]}

                                    shelly.0 2018-09-30 21:13:07.731 debug stateChange shelly.0.SHSW-21#9F6224#1.Relay1.Switch {"val":true,"ack":true,"ts":1538334787726,"q":0,"from":"system.adapter.shelly.0","user":"system.user.admin","lc":1538334787726}

                                    shelly.0 2018-09-30 21:13:07.724 debug Status update received for SHSW-21#9F6224#1: {"G":[[0,112,0],[0,122,1],[0,111,0]]}

                                    shelly.0 2018-09-30 21:13:07.723 debug CoAP status package received: {"3332":"SHSW-21#9F6224#1","3412":38400,"3420":52480,"Uri-Path":"cit/s"} / {"G":[[0,112,0],[0,122,1],[0,111,0]]}

                                    shelly.0 2018-09-30 21:13:07.625 debug REST Response {"state":"close","power":0,"is_valid":true,"safety_switch":false,"stop_reason":"normal","last_direction":"close"}

                                    shelly.0 2018-09-30 21:13:07.597 debug Call REST GET http://192.168.178.30/roller/0 with {"go":"close","duration":20}

                                    shelly.0 2018-09-30 21:13:07.597 debug RollerDown: {"go":"close","duration":20}

                                    shelly.0 2018-09-30 21:13:07.596 debug stateChange shelly.0.SHSW-21#9F6224#1.Shutter.Close {"val":true,"ack":false,"ts":1538334787590,"q":0,"from":"system.adapter.cloud.0","user":"system.user.admin","lc":1538334787590}

                                    1 Reply Last reply Reply Quote 0
                                    • Stuebi
                                      Stuebi last edited by

                                      wenn ich mir das Logfile anschaue, dann hast Du eine Duration von 20 Sekunden mitgegeben.

                                      debug	RollerDown: {"go":"close","duration":20}
                                      
                                      

                                      Drücke in ioBroker mit z.B. einer Duration von 30 Sekunden close oder open und schaue parallel auf die Shelly App. Da siehst Du dann (hoffentlich), dass der der open oder close Prozess dann 30 Sek. dauert.

                                      Du kannst auch beim drücken von open/close dir einmal den Status unter relay0/switch (open) und relay1/switch (close) anschauen. Die Werte sollten auf true stehen und nach 30 Sekunden (bei Duration 30) auf false wechseln. Passt das?

                                      1 Reply Last reply Reply Quote 0
                                      • apollon77
                                        apollon77 last edited by

                                        Die Frage wäre auch ob eine Bedienung per Shelly App genauso tickt wie bei 20s oder anders …

                                        1 Reply Last reply Reply Quote 0
                                        • I
                                          ingostein last edited by

                                          Also…

                                          wie schon geschrieben, ist das Problem nur wenn ich ein Tast-Signal vorgebe.

                                          Lasse ich das Signal anstehen,durch gedrückt lassen des Widgets oder ändern auf schaltend, läuft die vorgegebene Zeit ab und das Relais fällt ab.

                                          Duration in Iobroker auf 30sek gestellt, bringt nichts, Relais fällt wieder ab.(Tastend)

                                          Zu sehen auch in der App, Symbol ändert sich kurz und springt dann auf up oder down.

                                          Schaltend funktionierts (30sek)

                                          Über die Shelly-App geschaltet, eingestellte Zeit in der App von 20sek,läuft und schaltet nach Zeit ab.

                                          Alles auch paralell zu sehen in Iobroker unter Objekte bei Relay0 und Relay1 (false/true)

                                          oder in der App.

                                          Sind die Settings in der Shelly-App für Iobroker (außer natürlich Rollermode) irgendwie relevant??

                                          Ich habe im Haus, Standard Jalousieschalter mit zwei Wippen verbaut und dementsprechend auch die Settings in der App angepasst.

                                          Input Buttons Mode - Open&Close Buttons - Use seperate buttons for open&close

                                          Button-Type - Momentary - Press Button 1 for open and Button 2 for close.

                                          Mode - Roller Shutter

                                          Nicht dass das irgendwie dazwischen funkt...

                                          1 Reply Last reply Reply Quote 0
                                          • apollon77
                                            apollon77 last edited by

                                            @ingostein:

                                            Also…

                                            wie schon geschrieben, ist das Problem nur wenn ich ein Tast-Signal vorgebe.

                                            Lasse ich das Signal anstehen,durch gedrückt lassen des Widgets oder ändern auf schaltend, läuft die vorgegebene Zeit ab und das Relais fällt ab.

                                            Duration in Iobroker auf 30sek gestellt, bringt nichts, Relais fällt wieder ab.(Tastend)

                                            Zu sehen auch in der App, Symbol ändert sich kurz und springt dann auf up oder down.

                                            Schaltend funktionierts (30sek)

                                            Über die Shelly-App geschaltet, eingestellte Zeit in der App von 20sek,läuft und schaltet nach Zeit ab.

                                            Alles auch paralell zu sehen in Iobroker unter Objekte bei Relay0 und Relay1 (false/true)

                                            oder in der App. `

                                            Ok, dann genauer: Was genau "tastest" Du und wie? Welche Datenpunkte. Ich habe das gefühl das da irgendwas komisch ist - oder die API von Shelly macht nicht was Sie soll.

                                            Im Roller/Shutter Modus solltest Du ausschliesslich per Shutter.up/down/stop arbeiten!

                                            Im Relaymodus sind die RelayX.Swith Datenpunkte als Schalter definiert die Du auf true setzt für "Ein" oder auf False für "Aus".

                                            @ingostein:

                                            Sind die Settings in der Shelly-App für Iobroker (außer natürlich Rollermode) irgendwie relevant??

                                            Ich habe im Haus, Standard Jalousieschalter mit zwei Wippen verbaut und dementsprechend auch die Settings in der App angepasst.

                                            Input Buttons Mode - Open&Close Buttons - Use seperate buttons for open&close

                                            Button-Type - Momentary - Press Button 1 for open and Button 2 for close.

                                            Mode - Roller Shutter

                                            Nicht dass das irgendwie dazwischen funkt… `

                                            Weil wir uns genau in die Settings der App nicht einmischen wollen senden wir nur "hoch", "runter" und "stop" kommandos und alles was bei Roller/Shutter in der App eingestellt ist sollte gelten weil die Logik von dem Shelly device gemacht wird.

                                            Also am allerbesten: Debug-Log einschalten.

                                            Dann machst Du eine Aktion, schreibst genau was Du getan hast und schickst das Stückchen Log dazu was da passiert ist …

                                            Sowohl Thorsten als auch ich habe das getestet und bei uns tut es wie es soll.

                                            Ich würde gern verstehen was da bei Dir passiert.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            776
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            adapter shelly
                                            81
                                            717
                                            177299
                                            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