Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Skript stoppen??

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Skript stoppen??

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

      Hallo, ich habe mir eine Alarm Anlage gebastellt. ich möchte nur wissen ob ich ein laufendes Skript anhalten kann, in den Skript ist ein gerät was nach 1 min an geht und und dies möchte ich mit einen anderen gerät/skript falls dieses an oder aus geht, das es gestoppt wird. ich bekomme es nur hin das es zwar auf false schaltet aber nach 1 min geht die anlage trotzdem los und wird nicht vor dieser 1 min gestoppt.

      ich hoffe ihr versteht mich.
      3445_gggggggggggggg.png

      1 Reply Last reply Reply Quote 0
      • Dutchman
        Dutchman Developer Most Active Administrators last edited by

        Nimm einen "timeout" Block, diese Timer kann man resetten mit dem Block clear timeout

        Sent from my iPhone using Tapatalk

        1 Reply Last reply Reply Quote 0
        • D
          denjo last edited by

          kannst du mir das mal zeigen bitte wie du das meinst???

          1 Reply Last reply Reply Quote 0
          • Dutchman
            Dutchman Developer Most Active Administrators last edited by

            @denjo:

            kannst du mir das mal zeigen bitte wie du das meinst??? `

            Bin gerade nicht am PC sonst hätte ich ein Beispiel, hilft das hier weiter ?

            https://github.com/ioBroker/ioBroker.ja … -execution

            Suche sonst Mal nach Waschmaschine fertig in dem blockly wird dasselbe Principe benutzt

            Sent from my iPhone using Tapatalk

            1 Reply Last reply Reply Quote 0
            • D
              denjo last edited by

              wie halte ich den Skript denn dann an, wo der Pfeil drauf zeigt im bild???
              3445_25-10-_2018_19-37-34.png

              1 Reply Last reply Reply Quote 0
              • Dutchman
                Dutchman Developer Most Active Administrators last edited by

                Nicht ganz :

                1. du setzt keinen Timer, also die Steuer Blöcke mit delay Weck und in den timeout Block auslagern

                2. du stopst jetzt einen cyclus und nicht einen Timer

                Kurz gesagt ein Logic Fehler nd die falschen Bausteine.

                Mach Mal nen Export von deinem Script

                Sent from my iPhone using Tapatalk

                1 Reply Last reply Reply Quote 0
                • D
                  denjo last edited by

                  hier das erst

                  ! <xml 1999/xmlns="<URL url=" http:/www.w3.org/xhtml"="">http://www.w3.org/1999/xhtml">
                  ! <block type="on_ext" id="hvJWN]WXf{4-3@TvI(8U" x="-67" y="-1007"><mutation items="1"></mutation>
                  ! <field name="CONDITION">false</field>
                  ! <value name="OID0"><shadow type="field_oid" id="|(y,(jCt0t.aUnKt1_/f"><field name="oid">default</field></shadow>
                  ! <block type="field_oid" id="!t8lkrlNU08C-MSTUN5"><field name="oid">javascript.0.Anwesenheitssteuerung.Userlist.JemandDa</field> ! <comment pinned="false" h="80" w="160">Daven</comment></block></value> ! <statement name="STATEMENT"><block type="control" id="=Wfo20kf%U9)H,f9~G=P"><mutation delay_input="false"></mutation> ! <field name="OID">javascript.0.scriptEnabled.Test.Alarm_Anlage_neu</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="logic_boolean" id="nzKPBT?]ZEUduA-4?DQA"><field name="BOOL">TRUE</field></block></value></block></statement> ! <next><block type="on_ext" id="hQNH!8Oeevr@Lda2#gX"><mutation items="1"></mutation>
                  ! <field name="CONDITION">true</field>
                  ! <value name="OID0"><shadow type="field_oid" id="N2AOBt/9g.wwC}]-Qx0x"><field name="oid">default</field></shadow>
                  ! <block type="field_oid" id="sj|~M{V]1qzu)DJZZ[G."><field name="oid">javascript.0.Anwesenheitssteuerung.Userlist.JemandDa</field>
                  ! <comment pinned="false" h="80" w="160">Daven</comment></block></value>
                  ! <statement name="STATEMENT"><block type="control" id="]}Y;w4/gsjZv;}ol8z!V"><mutation delay_input="false"></mutation>
                  ! <field name="OID">system.adapter.javascript.0.Code</field>
                  ! <field name="WITH_DELAY">FALSE</field>
                  ! <value name="VALUE"><block type="logic_boolean" id="D!SXa|{g*-8~}PZ3B=tk"><field name="BOOL">FALSE</field></block></value>
                  ! <next><block type="control" id="J@c,B(suO{vGKSlF6Fe"><mutation delay_input="false"></mutation> ! <field name="OID">javascript.0.scriptEnabled.Test.Alarm_Anlage_neu</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="logic_boolean" id="#.:@^W.i1p4VQt2-]:.6"><field name="BOOL">FALSE</field></block></value></block></next></block></statement> ! <next><block type="on" id="SvDAky_7)Juw^xM(f5?"><field name="OID">system.adapter.javascript.0.Zahl_1</field>
                  ! <field name="CONDITION">true</field>
                  ! <statement name="STATEMENT"><block type="control" id="LIN)iO`9tb4b.:y~JW@D"><mutation delay_input="false"></mutation>
                  ! <field name="OID">system.adapter.javascript.0.Code</field>
                  ! <field name="WITH_DELAY">FALSE</field>
                  ! <value name="VALUE"><block type="logic_boolean" id="iU2OzFN@DVFdgH5;VAjM"><field name="BOOL">FALSE</field></block></value>
                  ! <next><block type="control" id="*}m#2]Ajx6mt#2OFA/N["><mutation delay_input="false"></mutation>
                  ! <field name="OID">javascript.0.scriptEnabled.Test.Alarm_Anlage_neu</field>
                  ! <field name="WITH_DELAY">FALSE</field>
                  ! <value name="VALUE"><block type="logic_boolean" id="6-LJCu%_G94)9Y]iAJLZ"><field name="BOOL">FALSE</field></block></value></block></next></block></statement></block></next></block></next></block></xml>

                  hier das zweite

                  ! <xml 1999/xmlns="<URL url=" http:/www.w3.org/xhtml"="">http://www.w3.org/1999/xhtml">
                  ! <block type="on_ext" id="e.MJ89y+uzcA^e4T8q-" x="-37" y="-1162"><mutation items="7"></mutation>
                  ! <field name="CONDITION">ne</field>
                  ! <value name="OID0"><shadow type="field_oid" id="/X}5;.RHNW4lu|Yh,VSj"><field name="oid">default</field></shadow>
                  ! <block type="field_oid" id="#dTEIe;~mVf[+jC!^q_~"><field name="oid">broadlink.0.learnedSignals.000000.Steckdose_2B</field></block></value>
                  ! <value name="OID1"><shadow type="field_oid" id=".TP9p~qUaA]cDn.R4AN,"><field name="oid">default</field></shadow>
                  ! <block type="field_oid" id="yg)exqs2HX,Zi:}ovJ;z"><field name="oid">default</field></block></value>
                  ! <value name="OID2"><shadow type="field_oid" id="z(dV|uOe!7T^Oh7ez{vp"><field name="oid">default</field></shadow>
                  ! <block type="field_oid" id="YibIMp3XK+rD,fN_s_zl"><field name="oid">default</field></block></value>
                  ! <value name="OID3"><shadow type="field_oid" id="{lk]67Yt5q69ZUwk?x5U"><field name="oid">default</field></shadow>
                  ! <block type="field_oid" id="~]3t_h+hjroQp7IEo9:M"><field name="oid">default</field></block></value>
                  ! <value name="OID4"><shadow type="field_oid" id="fU(_vEX3Fz1_Tg6GXU7l"><field name="oid">default</field></shadow>
                  ! <block type="field_oid" id="e.=OK2)y6AM]l}pR1spl"><field name="oid">default</field></block></value>
                  ! <value name="OID5"><shadow type="field_oid" id="o0jxst9+vz2d7fyOc}zC"><field name="oid">default</field></shadow>
                  ! <block type="field_oid" id="/BILbzHH0pt+dKl2L/;i"><field name="oid">default</field></block></value>
                  ! <value name="OID6"><shadow type="field_oid" id="/f9(@]Z
                  uG|{MBv{fbI)"><field name="oid">default</field></shadow>
                  ! <block type="field_oid" id="@.Oy^eieUKVhxc)r/LkG"><field name="oid">default</field></block></value>
                  ! <statement name="STATEMENT"><block type="control" id="Ekly*+Y_=Yx7G/.UJTU"><mutation delay_input="false"></mutation> ! <field name="OID">system.adapter.javascript.0.Code</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="logic_boolean" id="dc}Q)NU2U^NS!Ntyadx"><field name="BOOL">TRUE</field></block></value>
                  ! <next><block type="control" id="zK3d*ku%X[9]+265Grj"><mutation delay_input="false"></mutation> ! <field name="OID">system.adapter.javascript.0.Alarm_Zeit</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="logic_boolean" id="Hc2bdyzlW?%mLu+^2;75"><field name="BOOL">TRUE</field></block></value> ! <next><block type="pushover" id="3Z,]s95^2Oq[?u(-V89P"><field name="SOUND">persistent</field> ! <field name="PRIORITY">1</field> ! <value name="MESSAGE"><shadow type="text" id="Je@8-}Na;jbdL%H4Rw"><field name="TEXT">text</field></shadow>
                  ! <block type="text" id="-ostX}j=sz-HfzBtNY9"><field name="TEXT">Alarm wurde ausgelöst</field></block></value></block></next></block></next></block></statement> ! <next><block type="on_ext" id="VxkwsEn?x6dPGq1#0z{/"><mutation items="1"></mutation> ! <field name="CONDITION">true</field> ! <value name="OID0"><shadow type="field_oid" id="]?KQrKa%i}B6wGi8cWO5"><field name="oid">default</field></shadow> ! <block type="field_oid" id="1_k4f6mfwr,9EjXgOqA("><field name="oid">zigbee.0.00158d00023f1de0.isopen</field></block></value> ! <statement name="STATEMENT"><block type="control" id="1Ckkya.Ej:-~o{k1E4JE"><mutation delay_input="false"></mutation> ! <field name="OID">system.adapter.javascript.0.Code</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="logic_boolean" id="DcdWXKaG^g9fynt,35%T"><field name="BOOL">TRUE</field></block></value> ! <next><block type="control" id="TT8?!h=E(5C;B4]N~1G"><mutation delay_input="false"></mutation>
                  ! <field name="OID">system.adapter.javascript.0.Alarm_Zeit</field>
                  ! <field name="WITH_DELAY">FALSE</field>
                  ! <value name="VALUE"><block type="logic_boolean" id="nJL3UCni.4F-]{z@d?r"><field name="BOOL">TRUE</field></block></value> ! <next><block type="pushover" id="XiPr[N.G2#xx[nnV]Zc="><field name="SOUND">persistent</field> ! <field name="PRIORITY">1</field> ! <value name="MESSAGE"><shadow type="text" id="Je@8-}Na;jbdL%H4
                  Rw"><field name="TEXT">text</field></shadow>
                  ! <block type="text" id="WDI5^5m^XrA{S,,z}7U)"><field name="TEXT">Alarm wurde ausgelöst</field></block></value></block></next></block></next></block></statement></block></next></block></xml>

                  1 Reply Last reply Reply Quote 0
                  • Dutchman
                    Dutchman Developer Most Active Administrators last edited by

                    Ich probieren gerade deine Exports zu verstehen aber haenge 🙂

                    Kannst du mir bitte nochmal kurz erklaehren was du genau erreichen moechtest dan kan ich den block dem entsprechend basteln mit timeout usw

                    1 Reply Last reply Reply Quote 0
                    • D
                      denjo last edited by

                      das erste Skript ist dafür da wenn alle Handys nicht mehr im haus sind also kein wlan haben und anders rum, die Alarm anlage scharf zu schalten und über die richtige pin eingabe die alaarm anlage aus zu schalten. und das zweite ist das Skript der Alarm anlage wenn das wenn sich Türen oder fenster ändern der Alarm los geht.

                      1 Reply Last reply Reply Quote 0
                      • D
                        denjo last edited by

                        Hat keiner einen tipp für mich komme echt nicht weiter????

                        bin für jede hilfe dankbar

                        1 Reply Last reply Reply Quote 0
                        • Homer.J.
                          Homer.J. last edited by

                          Nimm dieses Beispiel ( viewtopic.php?f=35&t=8268&start=100 ) da ist alles drin es funktioniert mit deiner Pin Eingabe und du brauchst nur noch Melder und Fenster/Türen eingeben und fertig.

                          Hab ich jetzt schon einige Zeit fehlerfrei am laufen.

                          Grüße

                          1 Reply Last reply Reply Quote 0
                          • D
                            denjo last edited by

                            habe es jetzt hin bekommen mit dem timeout ist ja ganz easy, jetzt funktioniert meine Alarm anlage so wie ich möchte klasse

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

                            Support us

                            ioBroker
                            Community Adapters
                            Donate

                            752
                            Online

                            32.0k
                            Users

                            80.5k
                            Topics

                            1.3m
                            Posts

                            3
                            12
                            887
                            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