Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Blockly Script troz internet verlusst

    NEWS

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    Blockly Script troz internet verlusst

    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      fastfoot @Dennis HG last edited by

      @dennis-hg sagte in Blockly Script troz internet verlusst:

      daran liegen das die fritzbox rebootet?

      dann verlierst du natürlich auch die Verbindung Bridge zu Leuchten und es verwundert nicht dass da was 'stehen bleibt'. Dem würde ich dann aber mal auf den Grund gehen, die Fritzbox rebootet nicht mal einfach so.

      D Homoran 2 Replies Last reply Reply Quote 0
      • D
        Dennis HG @fastfoot last edited by

        @fastfoot das war jetzt auch nicht gemeint das die immer rebootet, wollte nur wiessen ob es dran liegen könnte.

        wir haben aber oft das wir fpr 5 min, manchmal auch für 15 min kein internet haben.Laut support ist da nicht zusehen und könnte einfach unser wlan sein.

        Ich habe aber seit 5 wochen eine neue Box und da ist es das gleiche.

        Da es um eine Aquariumlampe handelt ist es sehr nervig.

        F liv-in-sky 2 Replies Last reply Reply Quote 0
        • F
          fastfoot @Dennis HG last edited by

          @dennis-hg wenn es das WLAN ist dann sieht man das unter System/Ereignisse in der FB

          D 1 Reply Last reply Reply Quote 0
          • D
            Dennis HG @fastfoot last edited by

            @fastfoot ich hatte gestern Abend mal nachgeschaut, es steht halt sehr oft " Internetverbindungen wurde getrennt"

            J 1 Reply Last reply Reply Quote 0
            • J
              Jan1 @Dennis HG last edited by

              @dennis-hg
              Du verwendest "Zeitplan" als Trigger, nimm mal nen normalen Cron dafür.

              D 1 Reply Last reply Reply Quote 0
              • liv-in-sky
                liv-in-sky @Dennis HG last edited by

                @dennis-hg

                trenne die verbindung (das kabel) der fritzbox zum dsl netz und schaue dann mal im iobroker log, was da alles passiert - es könnte sein, dass die javascript instanz neustartet, weil irgendein script fehler macht ohne internet

                D 1 Reply Last reply Reply Quote 0
                • D
                  Dennis HG @Jan1 last edited by

                  @jan1 ich kenne mich noch nicht gut damit aus, suche mir alles im internet zusammen 🙂

                  meinst du so?

                  <xml xmlns="https://developers.google.com/blockly/xml">
                    <block type="on_ext" id=":#viY(H9gc~igjCEL5-e" x="-837" y="-412">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                      <field name="CONDITION">ne</field>
                      <field name="ACK_CONDITION"></field>
                      <value name="OID0">
                        <shadow type="field_oid" id="DR40l[}`GPkO|gkZZT#B">
                          <field name="oid">default</field>
                        </shadow>
                        <block type="field_cron" id="SMC+f!-gBU*gm:A_42}P">
                          <field name="CRON">{"time":{"exactTime":true,"start":"10:00"},"period":{"days":1}}</field>
                        </block>
                      </value>
                    </block>
                  </xml>
                  
                  J 1 Reply Last reply Reply Quote 0
                  • J
                    Jan1 @Dennis HG last edited by

                    @dennis-hg
                    Nein, und das zusammen Suchen ist auch ne blöde Idee. Man kann sich was anschauen und dann selber nachbauen, so lernt man das auch.
                    Bei den Trigger Blöcken einfach den Corn und nicht den Zeitplan, da der Zeitplan zwar die selbe Funktion unterm Strich hat, aber anscheinend doch ab und an mal ein Eigenleben entwickelt und so unnötig Probleme macht. Zumindest lese ich wesentlich öfter von Problemen mit dem Zeitplan als mit dem Cron und ich verwende nur den Cron 😉

                    D 1 Reply Last reply Reply Quote 0
                    • D
                      Dennis HG @Jan1 last edited by

                      @jan1 das meinte ich mit zusammen suchen, ich suche mir was raus und bau mir das nach.
                      Könntest du mir vllt ein beispiel erstellen?

                      1 Reply Last reply Reply Quote 0
                      • D
                        Dennis HG @liv-in-sky last edited by

                        @liv-in-sky Hm ne läuft alles weiter, also nichts auffälliges.

                        J liv-in-sky 2 Replies Last reply Reply Quote 0
                        • J
                          Jan1 @Dennis HG last edited by

                          @dennis-hg
                          dazu müsstest erst mal sagen was Du überhaupt willst und wo Dein Problem liegt.
                          Das ohne Internet geht nix, ist ja schon abgehakt weil das so nicht stimmt.

                          D 1 Reply Last reply Reply Quote 0
                          • liv-in-sky
                            liv-in-sky @Dennis HG last edited by

                            @dennis-hg

                            hier der cron trigger

                            Image 4.png

                            Image 5.png

                            D 1 Reply Last reply Reply Quote 0
                            • D
                              Dennis HG @Jan1 last edited by

                              @jan1 ja das mit dem Internet war eine vermutung. Das Problem bleibt ja trotzdem das hier und da mal die Lampe nicht richtig runterfährt oder auch nicht mal an geht.

                              Ich habe jetzt noch ein verdacht, kam mir jetzt in den Kopf als ich mir die logs angeschaut habe.

                              Ich habe einen Ordner mit dem Namen "Aqaurium Licht" und einen "Technik Becken" und in beiden Ordner die Scripte Blaue_AN. könnte das vllt zu Problem führen?

                              1 Reply Last reply Reply Quote 0
                              • D
                                Dennis HG @liv-in-sky last edited by

                                @liv-in-sky Danke, das werde ich jetzt mal testen.

                                J 1 Reply Last reply Reply Quote 0
                                • J
                                  Jan1 @Dennis HG last edited by

                                  @dennis-hg
                                  Meine Glaskugel sagt mir leider nicht was "Blaue_AN" bei DIr überhaupt tut und wenn Du in mehreren Scripten ein und die selbe Lampe steuerst, dann ist Hilfe eben recht schwer, da keiner weiß was Du da hast und machst.

                                  Normal klickt man sich ein Blockly zusammen und wenn das nicht läuft, postet man hier was man möchte und das Blockly dazu, dann kann man helfen.

                                  Homoran 1 Reply Last reply Reply Quote 0
                                  • Homoran
                                    Homoran Global Moderator Administrators @Jan1 last edited by

                                    @jan1 sagte in Blockly Script troz internet verlusst:

                                    Meine Glaskugel sagt mir leider nicht was "Blaue_AN" bei DIr überhaupt tut

                                    welches blaue AN??
                                    ich sehe gar nix 😡

                                    J 1 Reply Last reply Reply Quote 0
                                    • J
                                      Jan1 @Homoran last edited by Jan1

                                      @homoran
                                      Ich ja auch nicht und das ist das Problem. Er hat sich was zusammen kopiert und weiß nun nicht mehr welches Script was tut und somit ist helfen für einen der nicht weiß, was da überhaupt wo werkelt unmöglich.

                                      @dennis-hg sagte in Blockly Script troz internet verlusst:

                                      Ich habe einen Ordner mit dem Namen "Aqaurium Licht" und einen "Technik Becken" und in beiden Ordner die Scripte Blaue_AN. könnte das vllt zu

                                      Homoran D 2 Replies Last reply Reply Quote 1
                                      • Homoran
                                        Homoran Global Moderator Administrators @Jan1 last edited by

                                        @jan1 Aaaahhh
                                        er meint wahrscheinlich Die Struktur im Skripte Explorer.
                                        Also zwei Skripte mit identischem Namen in unterschiedlicher Hierarchie.

                                        Das sollte wenn er nicht mit script-enabled arbietet keine Probleme machen, außer die Skripte kommen sich in der Funktion in die Quere,

                                        @Dennis-HG
                                        Bitte diese Informationen und die Skripte als Screenshots posten.
                                        XML nutz ohne ioBroker gar nix auf Handy, Tablet usw.

                                        1 Reply Last reply Reply Quote 0
                                        • D
                                          Dennis HG @Jan1 last edited by

                                          @jan1 sagte in Blockly Script troz internet verlusst:

                                          @homoran
                                          Ich ja auch nicht und das ist das Problem. Er hat sich was zusammen kopiert und weiß nun nicht mehr welches Script was tut und somit ist helfen für einen der nicht weiß, was da überhaupt wo werkelt unmöglich.

                                          Das stimmt so nicht habe ich hier auch nicht geschrieben, nur das ich mir Anleitungen aus internet rausgesucht habe.
                                          Es stimmt das ich nicht nicht so gut auskenne und noch am lernen bin, war ja bei dir bestimmt auch mal so oder?

                                          @homoran sagte in Blockly Script troz internet verlusst:

                                          @jan1 Aaaahhh
                                          er meint wahrscheinlich Die Struktur im Skripte Explorer.
                                          Also zwei Skripte mit identischem Namen in unterschiedlicher Hierarchie.

                                          Das sollte wenn er nicht mit script-enabled arbietet keine Probleme machen, außer die Skripte kommen sich in der Funktion in die Quere,

                                          Genau das war auch gemeint, hier dann meine scripte:

                                          Ordner TC 420 Led Blau AN

                                          <xml xmlns="https://developers.google.com/blockly/xml">
                                            <variables>
                                              <variable type="interval" id="Intervall1">Intervall1</variable>
                                            </variables>
                                            <block type="schedule" id="0Q|ipoSHGTTHy-WPc1VG" x="-813" y="-388">
                                              <field name="SCHEDULE">{"time":{"exactTime":true,"start":"10:40"},"period":{"days":1}}</field>
                                              <statement name="STATEMENT">
                                                <block type="control" id="3)VpdJzw9nM05L.4-]YC">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                  <field name="OID">sonoff.0.TC_Blau.Channel1</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="math_number" id="RqfQ|x3)+,F=[9toBORk">
                                                      <field name="NUM">0</field>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="control" id="[~w|~y#})r/l8Sl1hqtQ">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                      <field name="OID">sonoff.0.HN_LED.Channel2</field>
                                                      <field name="WITH_DELAY">FALSE</field>
                                                      <value name="VALUE">
                                                        <block type="math_number" id=")pS{n+29q?v%I6XkrJqX">
                                                          <field name="NUM">0</field>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="timeouts_setinterval" id="Vi#Q`P{:ZIMRLk:BJ6h,">
                                                          <field name="NAME">Intervall1</field>
                                                          <field name="INTERVAL">288</field>
                                                          <field name="UNIT">sec</field>
                                                          <statement name="STATEMENT">
                                                            <block type="controls_if" id="zKR.JQ.se`)o!}.i59_J">
                                                              <mutation else="1"></mutation>
                                                              <value name="IF0">
                                                                <block type="logic_compare" id="^IbdJP/kYKe?{,9nO?ZQ">
                                                                  <field name="OP">LT</field>
                                                                  <value name="A">
                                                                    <block type="get_value" id="7x8J*FX:5%HQw2Pr;[#K">
                                                                      <field name="ATTR">val</field>
                                                                      <field name="OID">sonoff.0.TC_Blau.Channel1</field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="B">
                                                                    <block type="math_number" id="pZk$;u-fb}7==?^Fzjp@">
                                                                      <field name="NUM">50</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                              <statement name="DO0">
                                                                <block type="control" id="5i:E;5iNV2F`yI:+~`JX">
                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                  <field name="OID">sonoff.0.TC_Blau.Channel1</field>
                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                  <value name="VALUE">
                                                                    <block type="math_arithmetic" id="]1U+y~*:i8f9Q~cX##,i">
                                                                      <field name="OP">ADD</field>
                                                                      <value name="A">
                                                                        <shadow type="math_number" id="7#M%}o.-Kf*%mZCCq^l%">
                                                                          <field name="NUM">1</field>
                                                                        </shadow>
                                                                        <block type="get_value" id="e:it,Aq#k]_WXJ`D1lv]">
                                                                          <field name="ATTR">val</field>
                                                                          <field name="OID">sonoff.0.TC_Blau.Channel1</field>
                                                                        </block>
                                                                      </value>
                                                                      <value name="B">
                                                                        <shadow type="math_number" id="g=v}(UP].U-NtC]ubRx2">
                                                                          <field name="NUM">1</field>
                                                                        </shadow>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </statement>
                                                              <statement name="ELSE">
                                                                <block type="timeouts_clearinterval" id=":.#q_x_6tK5#joM!ZCPm">
                                                                  <field name="NAME">Intervall1</field>
                                                                </block>
                                                              </statement>
                                                              <next>
                                                                <block type="controls_if" id="auA3E=^M*:WK-6*Ayex+">
                                                                  <mutation else="1"></mutation>
                                                                  <value name="IF0">
                                                                    <block type="logic_compare" id="XdBMdWNvX0AwW{.TLZ,N">
                                                                      <field name="OP">LT</field>
                                                                      <value name="A">
                                                                        <block type="get_value" id="Q:Ud1r#!/%EO#j:n0m27">
                                                                          <field name="ATTR">val</field>
                                                                          <field name="OID">sonoff.0.HN_LED.Channel2</field>
                                                                        </block>
                                                                      </value>
                                                                      <value name="B">
                                                                        <block type="math_number" id="v76)tPjF(Jf5|y#u]AR:">
                                                                          <field name="NUM">50</field>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                  <statement name="DO0">
                                                                    <block type="control" id="y+/B5R?#1jwHCj0*/*0K">
                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                      <field name="OID">sonoff.0.HN_LED.Channel2</field>
                                                                      <field name="WITH_DELAY">FALSE</field>
                                                                      <value name="VALUE">
                                                                        <block type="math_arithmetic" id="YQ}+^Muu~f)Be*P1!MX]">
                                                                          <field name="OP">ADD</field>
                                                                          <value name="A">
                                                                            <shadow type="math_number">
                                                                              <field name="NUM">1</field>
                                                                            </shadow>
                                                                            <block type="get_value" id="V=uX8A:bQ}xSUm5i?U5[">
                                                                              <field name="ATTR">val</field>
                                                                              <field name="OID">sonoff.0.HN_LED.Channel2</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <shadow type="math_number" id=")`v.zVst6UL]$HG.xwEp">
                                                                              <field name="NUM">1</field>
                                                                            </shadow>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </statement>
                                                                  <statement name="ELSE">
                                                                    <block type="timeouts_clearinterval" id="!9d2`$95%8MZZ[T3}XN1">
                                                                      <field name="NAME">Intervall1</field>
                                                                    </block>
                                                                  </statement>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </statement>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </statement>
                                            </block>
                                          </xml>
                                          

                                          Blau AUS

                                          <xml xmlns="https://developers.google.com/blockly/xml">
                                            <variables>
                                              <variable type="interval" id="Intervall2">Intervall2</variable>
                                            </variables>
                                            <block type="schedule" id="0Q|ipoSHGTTHy-WPc1VG" x="-537" y="-187">
                                              <field name="SCHEDULE">{"time":{"exactTime":true,"start":"16:00"},"period":{"days":1}}</field>
                                              <statement name="STATEMENT">
                                                <block type="control" id="3)VpdJzw9nM05L.4-]YC">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                  <field name="OID">sonoff.0.TC_Blau.Channel1</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <next>
                                                    <block type="control" id="*EF#5161!|V+/Yw@j|r~">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                      <field name="OID">sonoff.0.HN_LED.Channel2</field>
                                                      <field name="WITH_DELAY">FALSE</field>
                                                      <next>
                                                        <block type="timeouts_setinterval" id="Vi#Q`P{:ZIMRLk:BJ6h,">
                                                          <field name="NAME">Intervall2</field>
                                                          <field name="INTERVAL">432</field>
                                                          <field name="UNIT">sec</field>
                                                          <statement name="STATEMENT">
                                                            <block type="controls_if" id="zKR.JQ.se`)o!}.i59_J">
                                                              <mutation else="1"></mutation>
                                                              <value name="IF0">
                                                                <block type="logic_compare" id="^IbdJP/kYKe?{,9nO?ZQ">
                                                                  <field name="OP">GT</field>
                                                                  <value name="A">
                                                                    <block type="get_value" id="7x8J*FX:5%HQw2Pr;[#K">
                                                                      <field name="ATTR">val</field>
                                                                      <field name="OID">sonoff.0.TC_Blau.Channel1</field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="B">
                                                                    <block type="math_number" id="pZk$;u-fb}7==?^Fzjp@">
                                                                      <field name="NUM">0</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                              <statement name="DO0">
                                                                <block type="control" id="5i:E;5iNV2F`yI:+~`JX">
                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                  <field name="OID">sonoff.0.TC_Blau.Channel1</field>
                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                  <value name="VALUE">
                                                                    <block type="math_arithmetic" id="]1U+y~*:i8f9Q~cX##,i">
                                                                      <field name="OP">MINUS</field>
                                                                      <value name="A">
                                                                        <shadow type="math_number" id="7#M%}o.-Kf*%mZCCq^l%">
                                                                          <field name="NUM">1</field>
                                                                        </shadow>
                                                                        <block type="get_value" id="e:it,Aq#k]_WXJ`D1lv]">
                                                                          <field name="ATTR">val</field>
                                                                          <field name="OID">sonoff.0.TC_Blau.Channel1</field>
                                                                        </block>
                                                                      </value>
                                                                      <value name="B">
                                                                        <shadow type="math_number" id="g=v}(UP].U-NtC]ubRx2">
                                                                          <field name="NUM">1</field>
                                                                        </shadow>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </statement>
                                                              <statement name="ELSE">
                                                                <block type="timeouts_clearinterval" id=":.#q_x_6tK5#joM!ZCPm">
                                                                  <field name="NAME">Intervall2</field>
                                                                  <next>
                                                                    <block type="control" id="rL0OvcY#|IITVpW[7S:7">
                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                      <field name="OID">sonoff.0.TC_Blau.POWER1</field>
                                                                      <field name="WITH_DELAY">FALSE</field>
                                                                      <value name="VALUE">
                                                                        <block type="logic_boolean" id="ULlF|[19,mH5fR!v%sL4">
                                                                          <field name="BOOL">FALSE</field>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </statement>
                                                              <next>
                                                                <block type="controls_if" id="cLbfqTvq_xSxLjWq$x]S">
                                                                  <mutation else="1"></mutation>
                                                                  <value name="IF0">
                                                                    <block type="logic_compare" id="N,^K=|ccKXlbXWfbdXav">
                                                                      <field name="OP">GT</field>
                                                                      <value name="A">
                                                                        <block type="get_value" id="1@PH29.{5B|x:oY9rOh#">
                                                                          <field name="ATTR">val</field>
                                                                          <field name="OID">sonoff.0.HN_LED.Channel2</field>
                                                                        </block>
                                                                      </value>
                                                                      <value name="B">
                                                                        <block type="math_number" id=":!VrG*?Q$LyAkoj/|!z9">
                                                                          <field name="NUM">0</field>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                  <statement name="DO0">
                                                                    <block type="control" id="zRn^ZD*t*a%2Au@%3[p|">
                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                      <field name="OID">sonoff.0.HN_LED.Channel2</field>
                                                                      <field name="WITH_DELAY">FALSE</field>
                                                                      <value name="VALUE">
                                                                        <block type="math_arithmetic" id="Mk!+:stho.SxSdi;(.+L">
                                                                          <field name="OP">MINUS</field>
                                                                          <value name="A">
                                                                            <shadow type="math_number">
                                                                              <field name="NUM">1</field>
                                                                            </shadow>
                                                                            <block type="get_value" id=",E:t2I6Z/1RH0kjqa9Pi">
                                                                              <field name="ATTR">val</field>
                                                                              <field name="OID">sonoff.0.HN_LED.Channel2</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <shadow type="math_number" id="V;7[+8usK%_btg[JA!5V">
                                                                              <field name="NUM">1</field>
                                                                            </shadow>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </statement>
                                                                  <statement name="ELSE">
                                                                    <block type="timeouts_clearinterval" id="d~(A+Swo=XSN:.YpqgPF">
                                                                      <field name="NAME">Intervall2</field>
                                                                      <next>
                                                                        <block type="control" id="Q,pn},vSg2V_hV#8,,w0">
                                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                          <field name="OID">sonoff.0.HN_LED.POWER2</field>
                                                                          <field name="WITH_DELAY">FALSE</field>
                                                                          <value name="VALUE">
                                                                            <block type="logic_boolean" id="0C[T}3/@9,ZBsv,^4p+Y">
                                                                              <field name="BOOL">FALSE</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </statement>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </statement>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </statement>
                                            </block>
                                          </xml>
                                          

                                          Ordner TechnikBecken

                                          Blau AN

                                          <xml xmlns="https://developers.google.com/blockly/xml">
                                            <variables>
                                              <variable type="interval" id="Intervall20">Intervall20</variable>
                                            </variables>
                                            <block type="schedule" id="0Q|ipoSHGTTHy-WPc1VG" x="-813" y="-388">
                                              <field name="SCHEDULE">{"time":{"exactTime":true,"start":"13:00"},"period":{"days":1}}</field>
                                              <statement name="STATEMENT">
                                                <block type="control" id="3)VpdJzw9nM05L.4-]YC">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                  <field name="OID">sonoff.0.TB_Led.Channel2</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="math_number" id="RqfQ|x3)+,F=[9toBORk">
                                                      <field name="NUM">0</field>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="timeouts_setinterval" id="Vi#Q`P{:ZIMRLk:BJ6h,">
                                                      <field name="NAME">Intervall20</field>
                                                      <field name="INTERVAL">240</field>
                                                      <field name="UNIT">sec</field>
                                                      <statement name="STATEMENT">
                                                        <block type="controls_if" id="zKR.JQ.se`)o!}.i59_J">
                                                          <mutation else="1"></mutation>
                                                          <value name="IF0">
                                                            <block type="logic_compare" id="^IbdJP/kYKe?{,9nO?ZQ">
                                                              <field name="OP">LT</field>
                                                              <value name="A">
                                                                <block type="get_value" id="7x8J*FX:5%HQw2Pr;[#K">
                                                                  <field name="ATTR">val</field>
                                                                  <field name="OID">sonoff.0.TB_Led.Channel2</field>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <block type="math_number" id="pZk$;u-fb}7==?^Fzjp@">
                                                                  <field name="NUM">60</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <statement name="DO0">
                                                            <block type="control" id="5i:E;5iNV2F`yI:+~`JX">
                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                              <field name="OID">sonoff.0.TB_Led.Channel2</field>
                                                              <field name="WITH_DELAY">FALSE</field>
                                                              <value name="VALUE">
                                                                <block type="math_arithmetic" id="]1U+y~*:i8f9Q~cX##,i">
                                                                  <field name="OP">ADD</field>
                                                                  <value name="A">
                                                                    <shadow type="math_number" id="7#M%}o.-Kf*%mZCCq^l%">
                                                                      <field name="NUM">1</field>
                                                                    </shadow>
                                                                    <block type="get_value" id="e:it,Aq#k]_WXJ`D1lv]">
                                                                      <field name="ATTR">val</field>
                                                                      <field name="OID">sonoff.0.TB_Led.Channel2</field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="B">
                                                                    <shadow type="math_number" id="g=v}(UP].U-NtC]ubRx2">
                                                                      <field name="NUM">1</field>
                                                                    </shadow>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </statement>
                                                          <statement name="ELSE">
                                                            <block type="timeouts_clearinterval" id=":.#q_x_6tK5#joM!ZCPm">
                                                              <field name="NAME">Intervall20</field>
                                                            </block>
                                                          </statement>
                                                        </block>
                                                      </statement>
                                                    </block>
                                                  </next>
                                                </block>
                                              </statement>
                                            </block>
                                          </xml>
                                          

                                          Blau AUS

                                          <xml xmlns="https://developers.google.com/blockly/xml">
                                            <variables>
                                              <variable type="interval" id="Intervall21">Intervall21</variable>
                                            </variables>
                                            <block type="comment" id="h_2b6-U$(|1MTPXWwX.A" x="-162" y="-237">
                                              <field name="COMMENT">7200 sek gleich 2std.</field>
                                              <next>
                                                <block type="comment" id="%T/Fn/RAHv;)?PY/ljt9">
                                                  <field name="COMMENT">7200 sek geteilt durch die %</field>
                                                  <next>
                                                    <block type="comment" id="v%W=]1_.Vm?l,`6:IX*e">
                                                      <field name="COMMENT">die sekunden dann noch mal 2 nehmen</field>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                            <block type="schedule" id="0Q|ipoSHGTTHy-WPc1VG" x="-537" y="-187">
                                              <field name="SCHEDULE">{"time":{"exactTime":true,"start":"18:00"},"period":{"days":1}}</field>
                                              <statement name="STATEMENT">
                                                <block type="control" id="3)VpdJzw9nM05L.4-]YC">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                  <field name="OID">sonoff.0.TB_Led.Channel2</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <next>
                                                    <block type="timeouts_setinterval" id="Vi#Q`P{:ZIMRLk:BJ6h,">
                                                      <field name="NAME">Intervall21</field>
                                                      <field name="INTERVAL">240</field>
                                                      <field name="UNIT">sec</field>
                                                      <statement name="STATEMENT">
                                                        <block type="controls_if" id="zKR.JQ.se`)o!}.i59_J">
                                                          <mutation else="1"></mutation>
                                                          <value name="IF0">
                                                            <block type="logic_compare" id="^IbdJP/kYKe?{,9nO?ZQ">
                                                              <field name="OP">GT</field>
                                                              <value name="A">
                                                                <block type="get_value" id="7x8J*FX:5%HQw2Pr;[#K">
                                                                  <field name="ATTR">val</field>
                                                                  <field name="OID">sonoff.0.TB_Led.Channel2</field>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <block type="math_number" id="pZk$;u-fb}7==?^Fzjp@">
                                                                  <field name="NUM">0</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <statement name="DO0">
                                                            <block type="control" id="5i:E;5iNV2F`yI:+~`JX">
                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                              <field name="OID">sonoff.0.TB_Led.Channel2</field>
                                                              <field name="WITH_DELAY">FALSE</field>
                                                              <value name="VALUE">
                                                                <block type="math_arithmetic" id="]1U+y~*:i8f9Q~cX##,i">
                                                                  <field name="OP">MINUS</field>
                                                                  <value name="A">
                                                                    <shadow type="math_number" id="7#M%}o.-Kf*%mZCCq^l%">
                                                                      <field name="NUM">1</field>
                                                                    </shadow>
                                                                    <block type="get_value" id="e:it,Aq#k]_WXJ`D1lv]">
                                                                      <field name="ATTR">val</field>
                                                                      <field name="OID">sonoff.0.TB_Led.Channel2</field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="B">
                                                                    <shadow type="math_number" id="g=v}(UP].U-NtC]ubRx2">
                                                                      <field name="NUM">1</field>
                                                                    </shadow>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </statement>
                                                          <statement name="ELSE">
                                                            <block type="timeouts_clearinterval" id=":.#q_x_6tK5#joM!ZCPm">
                                                              <field name="NAME">Intervall21</field>
                                                              <next>
                                                                <block type="control" id="rL0OvcY#|IITVpW[7S:7">
                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                  <field name="OID">sonoff.0.TB_Led.POWER2</field>
                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                  <value name="VALUE">
                                                                    <block type="logic_boolean" id="ULlF|[19,mH5fR!v%sL4">
                                                                      <field name="BOOL">FALSE</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </statement>
                                                        </block>
                                                      </statement>
                                                    </block>
                                                  </next>
                                                </block>
                                              </statement>
                                            </block>
                                          </xml>
                                          

                                          Ich hoffe das Eure Glaskugel jetzt weiter kommt und es besser nachvollziehen kann 😉 Danke schon mal

                                          J 1 Reply Last reply Reply Quote 0
                                          • J
                                            Jan1 @Dennis HG last edited by

                                            @dennis-hg
                                            Wenn Du dann mal noch die Blocky Screenshots posten könntest, sonst hat Homoran am Handy wieder nix was er sieht.

                                            Klar hat jeder mal angefangen, nur weiß ich eben mit welchem Script ich was anstelle und somit auch ein Überblick welches Script bei mir wann was schalten soll 😉

                                            Wenn Du Scripte laufen hast, die auf die selben DPs zugreifen und diese auch verändern, wird es eben schwer was zu finden. Das hat Homoran etwas falsch interpretiert. Er meint es ist kein Problem, wenn die Scripte die selben Namen haben, nur sollten die eben nicht unabhängig von einander die selben DPs schalten und wenn dann sollte man wissen was welches Script wann tut.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            901
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            61
                                            1517
                                            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