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

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Blockly Script troz internet verlusst

    This topic has been deleted. Only users with topic management privileges can see it.
    • 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
                          • Homoran
                            Homoran Global Moderator Administrators @Jan1 last edited by

                            @jan1 sagte in Blockly Script troz internet verlusst:

                            Das hat Homoran etwas falsch interpretiert.

                            Niemals 😂

                            @jan1 sagte in Blockly Script troz internet verlusst:

                            nur sollten die eben nicht unabhängig von einander die selben DPs schalten und wenn dann sollte man wissen was welches Script wann tut.

                            schrob ich das nicht??

                            ...nee, das war woanders.
                            Aber genau so hatte ich es schon verstanden. deswegen wollte ich die Skripte sehen ob da überschneidende Aktionen drin sind.
                            Der identische Name allein in verschiedenen Verzeichnissen ist kein Problem.
                            Dabei bleibe ich 😉

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

                              @homoran
                              Dann sind wir ja einer Meinung, denn so meinte ich das und hab dann wohl Deine Äußerung dazu falsch interpretiert.
                              Jetzt warten wir mal auf die Screenshots, vielleicht wirds dann etwas heller 🙂

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

                                @liv-in-sky ich habe jetzt extra ein bild gemacht wo man auch die Ordner sieht,
                                sollen wir nach und nach alle durchgehen oder soll ich sofort alle posten?

                                blau an.png

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

                                  @dennis-hg

                                  kann dir gerade nicht folgen. ich habe dir doch den block gepostet. jetzt mußt du die alle durchgehen und den cron-block einstellen

                                  oder meinst du was anderes

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

                                    @liv-in-sky Ach ich dachte das die anderen jetzt erstmal meine alten scripte anschauen wollten um fehler zu sehen.

                                    Ich änder das jetz alles.

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

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

                                      Ach ich dachte das die anderen jetzt erstmal meine alten scripte anschauen wollten um fehler zu sehen.

                                      nein, wir wollten nur sehen ob da zwei identische Skripte liefen.
                                      Du hast zwar nur eins gezeigt, ich gehe mal davon aus, dass das andere deaktiviert ist.
                                      Auch wenn du erst von Blau und jetzt von Weiss redest.

                                      Das jetzt deaktivierte Skript wird hoffentlich nicht durch ein weiteres Skript aktiviert???

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

                                        @homoran Also noch mal zur verständniss, Es sind 4 led Lampen Weiss und Blau fürs Hauptbecken und das gleiche nochmal fürs Technickbecken. Die machen das gleiche nur zur anderen Zeiten, also das Licht Hoch dimmen und Abend wieder runter Dimmen. Ich habe zwei zwei varianten probiert.

                                        Hauptbecken

                                        HB Weiss an.png

                                        HB Weiss aus.png

                                        HB Blau an.png

                                        HB Blau aus.png

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

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

                                          @homoran Also noch mal zur verständniss, Es sind 4 led Lampen Weiss und Blau fürs Hauptbecken und das gleiche nochmal fürs Technickbecken. Die machen das gleiche nur zur anderen Zeiten, also das Licht Hoch dimmen und Abend wieder runter Dimmen. Ich habe zwei zwei varianten probiert.

                                          Hauptbecken

                                          HB Weiss an.png

                                          HB Weiss aus.png

                                          HB Blau an.png

                                          HB Blau aus.png

                                          Habe jetzt die zeit auch auf Cron umgestellt, hatte das selber erst nicht gesehen

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

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

                                            Habe jetzt die zeit auch auf Cron umgestellt, hatte das selber erst nicht gesehen

                                            dann bitte nochmals den jetzigen Zustand/Fehler zusammenfassen.

                                            dass du steuere Blöcke ohne Wert hast, weisst du?
                                            Dann wird das Skript nicht abgearbeitet
                                            sollte aber auch im log stehen.

                                            Wie sind die Lampen denn angesteuert?
                                            Sonoff??
                                            = WLAN?
                                            wenn ja hatten wir das doch schon.
                                            Ohne Router kein DHCP-Server

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            757
                                            Online

                                            32.0k
                                            Users

                                            80.4k
                                            Topics

                                            1.3m
                                            Posts

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