Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. Blockly Script troz internet verlusst

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    3.5k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.1k

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.5k

Blockly Script troz internet verlusst

Scheduled Pinned Locked Moved Blockly
61 Posts 5 Posters 1.8k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Dennis HG

    @homoran hmm ebleibt aber bei mir ständig hängen und manchmal geht die Beleuchtung auch nicht an. könnte es den daran liegen das die fritzbox rebootet?

    F Offline
    F Offline
    fastfoot
    wrote on last edited by
    #6

    @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.

    iobroker läuft unter Docker auf QNAP TS-451+
    SkriptRecovery: https://forum.iobroker.net/post/930558

    D HomoranH 2 Replies Last reply
    0
    • F fastfoot

      @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 Offline
      D Offline
      Dennis HG
      wrote on last edited by
      #7

      @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-skyL 2 Replies Last reply
      0
      • D Dennis HG

        @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 Offline
        F Offline
        fastfoot
        wrote on last edited by
        #8

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

        iobroker läuft unter Docker auf QNAP TS-451+
        SkriptRecovery: https://forum.iobroker.net/post/930558

        D 1 Reply Last reply
        0
        • F fastfoot

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

          D Offline
          D Offline
          Dennis HG
          wrote on last edited by
          #9

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

          J 1 Reply Last reply
          0
          • D Dennis HG

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

            J Offline
            J Offline
            Jan1
            wrote on last edited by
            #10

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

            D 1 Reply Last reply
            0
            • D Dennis HG

              @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.

              liv-in-skyL Offline
              liv-in-skyL Offline
              liv-in-sky
              wrote on last edited by
              #11

              @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

              nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

              D 1 Reply Last reply
              0
              • J Jan1

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

                D Offline
                D Offline
                Dennis HG
                wrote on last edited by
                #12

                @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
                0
                • D Dennis HG

                  @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 Offline
                  J Offline
                  Jan1
                  wrote on last edited by
                  #13

                  @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
                  0
                  • J Jan1

                    @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 Offline
                    D Offline
                    Dennis HG
                    wrote on last edited by
                    #14

                    @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
                    0
                    • liv-in-skyL liv-in-sky

                      @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 Offline
                      D Offline
                      Dennis HG
                      wrote on last edited by
                      #15

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

                      J liv-in-skyL 2 Replies Last reply
                      0
                      • D Dennis HG

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

                        J Offline
                        J Offline
                        Jan1
                        wrote on last edited by
                        #16

                        @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
                        0
                        • D Dennis HG

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

                          liv-in-skyL Offline
                          liv-in-skyL Offline
                          liv-in-sky
                          wrote on last edited by
                          #17

                          @dennis-hg

                          hier der cron trigger

                          Image 4.png

                          Image 5.png

                          nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

                          D 1 Reply Last reply
                          0
                          • J Jan1

                            @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 Offline
                            D Offline
                            Dennis HG
                            wrote on last edited by
                            #18

                            @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
                            0
                            • liv-in-skyL liv-in-sky

                              @dennis-hg

                              hier der cron trigger

                              Image 4.png

                              Image 5.png

                              D Offline
                              D Offline
                              Dennis HG
                              wrote on last edited by
                              #19

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

                              J 1 Reply Last reply
                              0
                              • D Dennis HG

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

                                J Offline
                                J Offline
                                Jan1
                                wrote on last edited by
                                #20

                                @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.

                                HomoranH 1 Reply Last reply
                                0
                                • J Jan1

                                  @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.

                                  HomoranH Do not disturb
                                  HomoranH Do not disturb
                                  Homoran
                                  Global Moderator Administrators
                                  wrote on last edited by
                                  #21

                                  @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 :rage:

                                  kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                                  Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                  der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                  J 1 Reply Last reply
                                  0
                                  • HomoranH Homoran

                                    @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 :rage:

                                    J Offline
                                    J Offline
                                    Jan1
                                    wrote on last edited by Jan1
                                    #22

                                    @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

                                    HomoranH D 2 Replies Last reply
                                    1
                                    • J 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

                                      HomoranH Do not disturb
                                      HomoranH Do not disturb
                                      Homoran
                                      Global Moderator Administrators
                                      wrote on last edited by
                                      #23

                                      @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.

                                      kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                                      Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                      der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                      1 Reply Last reply
                                      0
                                      • J 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

                                        D Offline
                                        D Offline
                                        Dennis HG
                                        wrote on last edited by
                                        #24

                                        @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
                                        0
                                        • D Dennis HG

                                          @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 Offline
                                          J Offline
                                          Jan1
                                          wrote on last edited by
                                          #25

                                          @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.

                                          HomoranH 1 Reply Last reply
                                          1
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          601

                                          Online

                                          32.7k

                                          Users

                                          82.4k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe