Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Schaltzeiten so richtig im Blockly eingetragen?

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Schaltzeiten so richtig im Blockly eingetragen?

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

      Hallo zusammen,

      habe ich das Blockly so richtig angelegt?
      Die Pumpe soll zu verschiedenen Zeiten ein und wieder ausgeschaltet werden.blockly.png

      <xml xmlns="https://developers.google.com/blockly/xml">
        <block type="schedule" id="$Q0{)cu@QieJMH*Lggha" x="-737" y="-1063">
          <field name="SCHEDULE">{"time":{"start":"00:00","end":"03:00","interval":1,"mode":"hours"},"period":{"days":1},"valid":{"from":"11.09.2022","to":""}}</field>
          <statement name="STATEMENT">
            <block type="control" id=",Sl(D#Y(Zom|2$E{x7yy">
              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
              <field name="OID">shelly.0.SHSW-PM#E89F6D858E10#1.Relay0.Switch</field>
              <field name="WITH_DELAY">FALSE</field>
              <value name="VALUE">
                <block type="logic_boolean" id="P):Nv|1ujVt^=`YL_0!:">
                  <field name="BOOL">TRUE</field>
                </block>
              </value>
            </block>
          </statement>
          <next>
            <block type="schedule" id="COzfr!Zyw{rRyzNc;p))">
              <field name="SCHEDULE">{"time":{"start":"04:00","end":"14:00","interval":1,"mode":"hours"},"period":{"days":1}}</field>
              <statement name="STATEMENT">
                <block type="control" id="7m6i}uVFO|Xyt3kIzwU3">
                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                  <field name="OID">shelly.0.SHSW-PM#E89F6D858E10#1.Relay0.Switch</field>
                  <field name="WITH_DELAY">FALSE</field>
                  <value name="VALUE">
                    <block type="logic_boolean" id="uDYGxUB8a^h,on#22th9">
                      <field name="BOOL">TRUE</field>
                    </block>
                  </value>
                </block>
              </statement>
              <next>
                <block type="schedule" id="A-IQ01zaXVp}[HFhwr:|">
                  <field name="SCHEDULE">{"time":{"start":"15:00","end":"23:00","interval":1,"mode":"hours"},"period":{"days":1},"valid":{"from":"11.09.2022","to":""}}</field>
                  <statement name="STATEMENT">
                    <block type="control" id="b$|w2Zi(1JPE~2Y3wz;i">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                      <field name="OID">shelly.0.SHSW-PM#E89F6D858E10#1.Relay0.Switch</field>
                      <field name="WITH_DELAY">FALSE</field>
                      <value name="VALUE">
                        <block type="logic_boolean" id="w7pR|]22YKPA%Vdif,3}">
                          <field name="BOOL">TRUE</field>
                        </block>
                      </value>
                    </block>
                  </statement>
                </block>
              </next>
            </block>
          </next>
        </block>
        <block type="schedule" id="ee}h|y2Ee!~()AHd2X^i" x="-287" y="-1063">
          <field name="SCHEDULE">{"time":{"start":"00:20","end":"03:20","interval":1,"mode":"hours"},"period":{"days":1}}</field>
          <statement name="STATEMENT">
            <block type="control" id="+#.n-3]D8x7(rx9DN*SU">
              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
              <field name="OID">shelly.0.SHSW-PM#E89F6D858E10#1.Relay0.Switch</field>
              <field name="WITH_DELAY">FALSE</field>
              <value name="VALUE">
                <block type="logic_boolean" id="yX1FhCV,G2:@TT]WwV?_">
                  <field name="BOOL">FALSE</field>
                </block>
              </value>
            </block>
          </statement>
          <next>
            <block type="schedule" id="4H$FNiSu[-WAU9fYq?$s">
              <field name="SCHEDULE">{"time":{"start":"04:40","end":"14:40","interval":1,"mode":"hours"},"period":{"days":1}}</field>
              <statement name="STATEMENT">
                <block type="control" id="?iFQ;=TJGYSZQoE{U%T^">
                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                  <field name="OID">shelly.0.SHSW-PM#E89F6D858E10#1.Relay0.Switch</field>
                  <field name="WITH_DELAY">FALSE</field>
                  <value name="VALUE">
                    <block type="logic_boolean" id="l#pd]GB2*O$7-jSKKXek">
                      <field name="BOOL">FALSE</field>
                    </block>
                  </value>
                </block>
              </statement>
              <next>
                <block type="schedule" id="sWsQlEhqMaE7iYq?)Sk0">
                  <field name="SCHEDULE">{"time":{"start":"15:20","end":"23:20","interval":1,"mode":"hours"},"period":{"days":1}}</field>
                  <statement name="STATEMENT">
                    <block type="control" id="xa?R.z?ZyXjWrQMPTo6=">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                      <field name="OID">shelly.0.SHSW-PM#E89F6D858E10#1.Relay0.Switch</field>
                      <field name="WITH_DELAY">FALSE</field>
                      <value name="VALUE">
                        <block type="logic_boolean" id="aL$+{S{pccT_qBtLfuV9">
                          <field name="BOOL">FALSE</field>
                        </block>
                      </value>
                    </block>
                  </statement>
                </block>
              </next>
            </block>
          </next>
        </block>
      </xml>
      

      paul53 1 Reply Last reply Reply Quote 0
      • paul53
        paul53 @Gismoh last edited by paul53

        @gismoh sagte: habe ich das Blockly so richtig angelegt?

        Nimm besser die CRON-Variante:

        Bild_2022-09-12_172108110.png

        G 1 Reply Last reply Reply Quote 0
        • G
          Gismoh @paul53 last edited by

          @paul53
          besten Dank, 👍
          dies schau ich mir an 😊

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

          Support us

          ioBroker
          Community Adapters
          Donate

          841
          Online

          32.0k
          Users

          80.5k
          Topics

          1.3m
          Posts

          2
          3
          252
          Loading More Posts
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes
          Reply
          • Reply as topic
          Log in to reply
          Community
          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
          The ioBroker Community 2014-2023
          logo