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. Suche Hilfe für 2 Scripte

NEWS

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

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.4k

Suche Hilfe für 2 Scripte

Scheduled Pinned Locked Moved Blockly
28 Posts 5 Posters 2.2k Views 2 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.
  • T TT-Tom

    @bernd-1337

    Bitte richtig in die Code Tags setzen und ein Screenshot vom Blockly machen.

    B Offline
    B Offline
    Bernd 1337
    wrote on last edited by
    #7

    @tt-tom dieser text der dort drin steht wird immer wieder gespammt aber er soll es jeweils immer nur einmal machen

    HomoranH 1 Reply Last reply
    0
    • B Bernd 1337

      @tt-tom habe doch den code Richtig gepostet

      HomoranH Offline
      HomoranH Offline
      Homoran
      Global Moderator Administrators
      wrote on last edited by
      #8

      @bernd-1337 sagte in Suche Hilfe für 2 Scripte:

      @tt-tom habe doch den code Richtig gepostet

      das ist eine XML Datei, die nutzt mir am Handy absolut nichts!

      hast du die jetzt mehrfach verlinkte Seite nicht gelesen?
      https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge/1

      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 -

      B 1 Reply Last reply
      0
      • B Bernd 1337

        @tt-tom dieser text der dort drin steht wird immer wieder gespammt aber er soll es jeweils immer nur einmal machen

        HomoranH Offline
        HomoranH Offline
        Homoran
        Global Moderator Administrators
        wrote on last edited by
        #9

        @bernd-1337 sagte in Suche Hilfe für 2 Scripte:

        @tt-tom dieser text der dort drin steht wird immer wieder gespammt aber er soll es jeweils immer nur einmal machen

        hast du wie im anderen Thread geraten mittlerweile nach Sperrvariable gesucht?

        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 -

        B 1 Reply Last reply
        0
        • HomoranH Homoran

          @bernd-1337 sagte in Suche Hilfe für 2 Scripte:

          @tt-tom habe doch den code Richtig gepostet

          das ist eine XML Datei, die nutzt mir am Handy absolut nichts!

          hast du die jetzt mehrfach verlinkte Seite nicht gelesen?
          https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge/1

          B Offline
          B Offline
          Bernd 1337
          wrote on last edited by
          #10

          @homoran das ist das iobroker script codes sollen doch in den code tag rein

          HomoranH MartinPM 2 Replies Last reply
          0
          • HomoranH Homoran

            @bernd-1337 sagte in Suche Hilfe für 2 Scripte:

            @tt-tom dieser text der dort drin steht wird immer wieder gespammt aber er soll es jeweils immer nur einmal machen

            hast du wie im anderen Thread geraten mittlerweile nach Sperrvariable gesucht?

            B Offline
            B Offline
            Bernd 1337
            wrote on last edited by
            #11

            @homoran ja habe ich er sagt nichts gefunden

            HomoranH 1 Reply Last reply
            0
            • B Bernd 1337

              @homoran das ist das iobroker script codes sollen doch in den code tag rein

              HomoranH Offline
              HomoranH Offline
              Homoran
              Global Moderator Administrators
              wrote on last edited by
              #12

              @bernd-1337 sagte in Suche Hilfe für 2 Scripte:

              @homoran das ist das iobroker script codes sollen doch in den code tag rein

              ja, auch!
              dann aber richtig.

              ich hab das erst einmal korrigieren müssen.

              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 -

              B 1 Reply Last reply
              0
              • B Bernd 1337

                @homoran ja habe ich er sagt nichts gefunden

                HomoranH Offline
                HomoranH Offline
                Homoran
                Global Moderator Administrators
                wrote on last edited by
                #13

                @bernd-1337 sagte in Suche Hilfe für 2 Scripte:

                @homoran ja habe ich er sagt nichts gefunden

                https://forum.iobroker.net/search?term=Sperrvariable&in=titlesposts

                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
                • HomoranH Homoran

                  @bernd-1337 sagte in Suche Hilfe für 2 Scripte:

                  @homoran das ist das iobroker script codes sollen doch in den code tag rein

                  ja, auch!
                  dann aber richtig.

                  ich hab das erst einmal korrigieren müssen.

                  B Offline
                  B Offline
                  Bernd 1337
                  wrote on last edited by
                  #14

                  @homoran okay ja sry ich was sowas angeht allgemin scripting usw usw anfänger ich habe erst vor ner gewissen zeit angefangen mein Gebiet ist Elektronik

                  HomoranH 1 Reply Last reply
                  0
                  • B Bernd 1337

                    @homoran das ist das iobroker script codes sollen doch in den code tag rein

                    MartinPM Online
                    MartinPM Online
                    MartinP
                    wrote on last edited by
                    #15

                    @bernd-1337 Der XML-Code ist nicht gerade "Human-Readable".

                    Wenn man nicht gerade vor einem lauffähigen Iobroker sitzt, und den Schnipsel dort in das "Skripte" Plugin importieren kann, ist das nicht hilfreich.
                    Eigentlich bin ich gegen Screenshots, aber bei einem Blockly-Skript sieht das anders aus ...

                    An anderer Stelle wird man ausgeschimpft, wenn man screenshots statt Listing in den Post packt ;-)

                    Hier wäre ggfs. oben in der Fehlerbeschreibung ein Screenshot und weiter unten als eine Art "Anhang" der XML-Codeblock eine Lösung

                    Intel(R) Celeron(R) CPU N3000 @ 1.04GHz 8G RAM 480G SSD
                    Virtualization : unprivileged lxc container (debian 13) on Proxmox 9.1.5)
                    Linux pve 6.17.9-1-pve
                    6 GByte RAM für den Container
                    Fritzbox 6591 FW 8.20 (Vodafone Leih-Box)
                    Remote-Access über Wireguard der Fritzbox

                    HomoranH 1 Reply Last reply
                    0
                    • B Bernd 1337

                      @homoran okay ja sry ich was sowas angeht allgemin scripting usw usw anfänger ich habe erst vor ner gewissen zeit angefangen mein Gebiet ist Elektronik

                      HomoranH Offline
                      HomoranH Offline
                      Homoran
                      Global Moderator Administrators
                      wrote on last edited by
                      #16

                      @bernd-1337 sagte in Suche Hilfe für 2 Scripte:

                      @homoran okay ja sry ich was sowas angeht allgemin scripting usw usw anfänger ich habe erst vor ner gewissen zeit angefangen mein Gebiet ist Elektronik

                      dann sagt man das und behauptet nichts falsches

                      dann versuche es zu lernen.
                      Auch das wurde dir schon gesagt.
                      vom reinen abtippen klappt das nicht

                      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
                      • MartinPM MartinP

                        @bernd-1337 Der XML-Code ist nicht gerade "Human-Readable".

                        Wenn man nicht gerade vor einem lauffähigen Iobroker sitzt, und den Schnipsel dort in das "Skripte" Plugin importieren kann, ist das nicht hilfreich.
                        Eigentlich bin ich gegen Screenshots, aber bei einem Blockly-Skript sieht das anders aus ...

                        An anderer Stelle wird man ausgeschimpft, wenn man screenshots statt Listing in den Post packt ;-)

                        Hier wäre ggfs. oben in der Fehlerbeschreibung ein Screenshot und weiter unten als eine Art "Anhang" der XML-Codeblock eine Lösung

                        HomoranH Offline
                        HomoranH Offline
                        Homoran
                        Global Moderator Administrators
                        wrote on last edited by
                        #17

                        @martinp sagte in Suche Hilfe für 2 Scripte:

                        Hier wäre ggfs. oben in der Fehlerbeschreibung ein Screenshot und weiter unten als eine Art "Anhang" der XML-Codeblock eine Lösung

                        so steht es

                        https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge/1

                        und noch viel mehr

                        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 -

                        MartinPM 1 Reply Last reply
                        0
                        • B Bernd 1337

                          Hallo Liebe Gemeinde ich suche hilfe für 2 Scripte 1 mal Möchte ich wissen wie man eine schleife in einem script Jeweils nur einmal ausführen kann weil in meinem fall spammt er es die ganze zeit nachdem das script Getriggert wurde das ist das script

                          <xml xmlns="https://developers.google.com/blockly/xml">
                            <block type="on_ext" id="jG7O3%s:Pbmj3oHF}3(5" x="88" y="-87">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                              <field name="CONDITION">any</field>
                              <field name="ACK_CONDITION"></field>
                              <value name="OID0">
                                <shadow type="field_oid" id="2B(hVGZ#zfmp7Gt?:%y;">
                                  <field name="oid">Temperatur.0.Wohnzimmer</field>
                                </shadow>
                              </value>
                              <statement name="STATEMENT">
                                <block type="controls_if" id="tGnT93N}Y)U=pJC8C{za">
                                  <mutation elseif="1"></mutation>
                                  <value name="IF0">
                                    <block type="logic_compare" id="+,Y9zYS!qd$z_NukE~VT">
                                      <field name="OP">LT</field>
                                      <value name="A">
                                        <block type="get_value" id="EA.0KR%RTEx(AujTF[jk">
                                          <field name="ATTR">val</field>
                                          <field name="OID">Temperatur.0.Wohnzimmer</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="get_value" id="2p-T:/uSdpaJuFjVG1+_">
                                          <field name="ATTR">val</field>
                                          <field name="OID">Heizung.0.PumpeEin</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <statement name="DO0">
                                    <block type="control" id="Z_]VP.(4N~vSC)?iplx*">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                      <field name="OID">shelly.0.SHSW-25#3494547971EC#1.Relay1.Switch</field>
                                      <field name="WITH_DELAY">FALSE</field>
                                      <value name="VALUE">
                                        <block type="logic_boolean" id="RwTxB2C)ez2!X32xe(*n">
                                          <field name="BOOL">TRUE</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="update" id="gztvu]E-h@nsf9d^Ub#s">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">0_userdata.0.example_state</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="text" id="/P$!j2QirQXhw!6k4{]*">
                                              <field name="TEXT">Pumpe Eingeschaltet!</field>
                                            </block>
                                          </value>
                                        </block>
                                      </next>
                                    </block>
                                  </statement>
                                  <value name="IF1">
                                    <block type="logic_compare" id=")_9$C6/74/kUx|:DWdZb">
                                      <field name="OP">GT</field>
                                      <value name="A">
                                        <block type="get_value" id="j4*3;ZjF]m|n[1ALk1TE">
                                          <field name="ATTR">val</field>
                                          <field name="OID">Temperatur.0.Wohnzimmer</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="get_value" id="kMVtfs~rYz#.^m;9lBde">
                                          <field name="ATTR">val</field>
                                          <field name="OID">Heizung.0.PumpeAus</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <statement name="DO1">
                                    <block type="control" id="gIU}lDxiFR33cC!Km*[D">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                      <field name="OID">shelly.0.SHSW-25#3494547971EC#1.Relay1.Switch</field>
                                      <field name="WITH_DELAY">FALSE</field>
                                      <value name="VALUE">
                                        <block type="logic_boolean" id="l#xUro$Y`c:[fVxCG(JG">
                                          <field name="BOOL">FALSE</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="update" id=";$kApqQDQT/VrJr({}Wh">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">0_userdata.0.example_state</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="text" id="[.#~j$~cWN9ciZ;%O.cz">
                                              <field name="TEXT">Pumpe Ausgeschaltet!</field>
                                            </block>
                                          </value>
                                        </block>
                                      </next>
                                    </block>
                                  </statement>
                                </block>
                              </statement>
                            </block>
                          </xml>
                          
                          

                          MOD-EDIT: Code tags korrigiert!

                          paul53P Offline
                          paul53P Offline
                          paul53
                          wrote on last edited by
                          #18

                          @bernd-1337 sagte: nur einmal ausführen

                          Vorschlag:

                          Blockly_temp.JPG

                          Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                          Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                          B MartinPM 2 Replies Last reply
                          0
                          • HomoranH Homoran

                            @martinp sagte in Suche Hilfe für 2 Scripte:

                            Hier wäre ggfs. oben in der Fehlerbeschreibung ein Screenshot und weiter unten als eine Art "Anhang" der XML-Codeblock eine Lösung

                            so steht es

                            https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge/1

                            und noch viel mehr

                            MartinPM Online
                            MartinPM Online
                            MartinP
                            wrote on last edited by
                            #19

                            @homoran Naja, das kann man schon fehl-interpretieren:

                            Alles was als Text vorliegt sollte auch als Text gepostet werden!

                            XML ist schon auch so eine Art "Text" ;-)

                            Intel(R) Celeron(R) CPU N3000 @ 1.04GHz 8G RAM 480G SSD
                            Virtualization : unprivileged lxc container (debian 13) on Proxmox 9.1.5)
                            Linux pve 6.17.9-1-pve
                            6 GByte RAM für den Container
                            Fritzbox 6591 FW 8.20 (Vodafone Leih-Box)
                            Remote-Access über Wireguard der Fritzbox

                            HomoranH 1 Reply Last reply
                            0
                            • MartinPM MartinP

                              @homoran Naja, das kann man schon fehl-interpretieren:

                              Alles was als Text vorliegt sollte auch als Text gepostet werden!

                              XML ist schon auch so eine Art "Text" ;-)

                              HomoranH Offline
                              HomoranH Offline
                              Homoran
                              Global Moderator Administrators
                              wrote on last edited by
                              #20

                              @martinp sagte in Suche Hilfe für 2 Scripte:

                              @homoran Naja, das kann man schon fehl-interpretieren:

                              Alles was als Text vorliegt sollte auch als Text gepostet werden!

                              XML ist schon auch so eine Art "Text" ;-)

                              ist ja auch korrekt den in code-tags zu packen!

                              aber nicht als einzige Information

                              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
                              • paul53P paul53

                                @bernd-1337 sagte: nur einmal ausführen

                                Vorschlag:

                                Blockly_temp.JPG

                                B Offline
                                B Offline
                                Bernd 1337
                                wrote on last edited by
                                #21

                                @paul53 Hallo Paul wie gehts wie stehts ich danke dir hast du den code zum pasten

                                paul53P 1 Reply Last reply
                                0
                                • paul53P paul53

                                  @bernd-1337 sagte: nur einmal ausführen

                                  Vorschlag:

                                  Blockly_temp.JPG

                                  MartinPM Online
                                  MartinPM Online
                                  MartinP
                                  wrote on last edited by
                                  #22

                                  @paul53 said in Suche Hilfe für 2 Scripte:

                                  @bernd-1337 sagte: nur einmal ausführen

                                  Vorschlag:

                                  Blockly_temp.JPG

                                  Meine Blockly Kenntnisse wachsen zwar, aber sie sind noch nicht besonders groß
                                  Kann man das "wurde aktualisert" bei der Temperatur nicht durch ein "wurde geändert" ersetzen. Das würde ggfs. unnötige Schleifen-Durchläufe mit unveränderter, aber durch das Thermometer aktualiserter Temperatur vermeiden.

                                  Intel(R) Celeron(R) CPU N3000 @ 1.04GHz 8G RAM 480G SSD
                                  Virtualization : unprivileged lxc container (debian 13) on Proxmox 9.1.5)
                                  Linux pve 6.17.9-1-pve
                                  6 GByte RAM für den Container
                                  Fritzbox 6591 FW 8.20 (Vodafone Leih-Box)
                                  Remote-Access über Wireguard der Fritzbox

                                  1 Reply Last reply
                                  0
                                  • B Bernd 1337

                                    @paul53 Hallo Paul wie gehts wie stehts ich danke dir hast du den code zum pasten

                                    paul53P Offline
                                    paul53P Offline
                                    paul53
                                    wrote on last edited by
                                    #23

                                    @bernd-1337 sagte: code zum pasten

                                    <xml xmlns="https://developers.google.com/blockly/xml">
                                     <variables>
                                       <variable id="Zi?er=85ri4#;:L-lujS">pumpe</variable>
                                       <variable id="b+p{2kokZZ/7}+`bs,q1">ED</variable>
                                     </variables>
                                     <block type="variables_set" id=")(u1lT,t6M+geY80]*9+" x="87" y="-113">
                                       <field name="VAR" id="Zi?er=85ri4#;:L-lujS">pumpe</field>
                                       <value name="VALUE">
                                         <block type="get_value_var" id="=]54i_^*7ptgCq[HE[pK">
                                           <field name="ATTR">val</field>
                                           <value name="OID">
                                             <shadow type="field_oid" id="@9qPzg52ZTPA2*u,{xc(">
                                               <field name="oid">Object ID</field>
                                             </shadow>
                                             <block type="text" id="ssLnDm(98pbzo7B-P3)i">
                                               <field name="TEXT">shelly.0.SHSW-25#3494547971EC#1.Relay1.Switch</field>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                       <next>
                                         <block type="on_ext" id="jG7O3%s:Pbmj3oHF}3(5">
                                           <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                           <field name="CONDITION">any</field>
                                           <field name="ACK_CONDITION"></field>
                                           <value name="OID0">
                                             <shadow type="field_oid" id="2B(hVGZ#zfmp7Gt?:%y;">
                                               <field name="oid">Temperatur.0.Wohnzimmer</field>
                                             </shadow>
                                           </value>
                                           <statement name="STATEMENT">
                                             <block type="controls_if" id="tGnT93N}Y)U=pJC8C{za">
                                               <mutation elseif="1"></mutation>
                                               <value name="IF0">
                                                 <block type="logic_compare" id="+,Y9zYS!qd$z_NukE~VT">
                                                   <field name="OP">LT</field>
                                                   <value name="A">
                                                     <block type="on_source" id="Qg_}b|+X5n#o8uIM_G/O">
                                                       <field name="ATTR">state.val</field>
                                                     </block>
                                                   </value>
                                                   <value name="B">
                                                     <block type="get_value" id="2p-T:/uSdpaJuFjVG1+_">
                                                       <field name="ATTR">val</field>
                                                       <field name="OID">Heizung.0.PumpeEin</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                               <statement name="DO0">
                                                 <block type="variables_set" id="3DNjQV/nt8fTs_e1%LRg">
                                                   <field name="VAR" id="Zi?er=85ri4#;:L-lujS">pumpe</field>
                                                   <value name="VALUE">
                                                     <block type="logic_boolean" id="l#xUro$Y`c:[fVxCG(JG">
                                                       <field name="BOOL">TRUE</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </statement>
                                               <value name="IF1">
                                                 <block type="logic_compare" id=")_9$C6/74/kUx|:DWdZb">
                                                   <field name="OP">GT</field>
                                                   <value name="A">
                                                     <block type="on_source" id="LL`FN2c*wM}]VekvNJ7j">
                                                       <field name="ATTR">state.val</field>
                                                     </block>
                                                   </value>
                                                   <value name="B">
                                                     <block type="get_value" id="kMVtfs~rYz#.^m;9lBde">
                                                       <field name="ATTR">val</field>
                                                       <field name="OID">Heizung.0.PumpeAus</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                               <statement name="DO1">
                                                 <block type="variables_set" id="{3J?ejPQUpfLmg/zLGST">
                                                   <field name="VAR" id="Zi?er=85ri4#;:L-lujS">pumpe</field>
                                                   <value name="VALUE">
                                                     <block type="logic_boolean" id="aabeoH8/GZ8mC}+n@^h0">
                                                       <field name="BOOL">FALSE</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </statement>
                                               <next>
                                                 <block type="controls_if" id="8BP[L!WM!%#l`hS$7`5G">
                                                   <value name="IF0">
                                                     <block type="logic_compare" id="ZX*uIqKwE:@M]4)PONG%">
                                                       <field name="OP">NEQ</field>
                                                       <value name="A">
                                                         <block type="variables_get" id="kKT~V_JYAN6RGAXQ#x5?">
                                                           <field name="VAR" id="Zi?er=85ri4#;:L-lujS">pumpe</field>
                                                         </block>
                                                       </value>
                                                       <value name="B">
                                                         <block type="get_value_var" id="|pp=r]dL51a6ep-2@|.H">
                                                           <field name="ATTR">val</field>
                                                           <value name="OID">
                                                             <shadow type="field_oid" id="@9qPzg52ZTPA2*u,{xc(">
                                                               <field name="oid">Object ID</field>
                                                             </shadow>
                                                             <block type="text" id="`zNJX(Lyyd~Jv*;0SfX5">
                                                               <field name="TEXT">shelly.0.SHSW-25#3494547971EC#1.Relay1.Switch</field>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </value>
                                                   <statement name="DO0">
                                                     <block type="control" id="Z_]VP.(4N~vSC)?iplx*">
                                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                       <field name="OID">shelly.0.SHSW-25#3494547971EC#1.Relay1.Switch</field>
                                                       <field name="WITH_DELAY">FALSE</field>
                                                       <value name="VALUE">
                                                         <block type="variables_get" id="ofmhxzd2Rhi6~e=JK_pg">
                                                           <field name="VAR" id="Zi?er=85ri4#;:L-lujS">pumpe</field>
                                                         </block>
                                                       </value>
                                                       <next>
                                                         <block type="update" id="gztvu]E-h@nsf9d^Ub#s">
                                                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                           <field name="OID">0_userdata.0.example_state</field>
                                                           <field name="WITH_DELAY">FALSE</field>
                                                           <value name="VALUE">
                                                             <block type="logic_ternary" id="q|F_I1%@gL2ak:u)Fmmi" inline="false">
                                                               <value name="IF">
                                                                 <block type="variables_get" id="YW=j,g)uSD2EBdC{pgPd">
                                                                   <field name="VAR" id="Zi?er=85ri4#;:L-lujS">pumpe</field>
                                                                 </block>
                                                               </value>
                                                               <value name="THEN">
                                                                 <block type="text" id="/P$!j2QirQXhw!6k4{]*">
                                                                   <field name="TEXT">Pumpe Eingeschaltet!</field>
                                                                 </block>
                                                               </value>
                                                               <value name="ELSE">
                                                                 <block type="text" id="[.#~j$~cWN9ciZ;%O.cz">
                                                                   <field name="TEXT">Pumpe Ausgeschaltet!</field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </next>
                                                     </block>
                                                   </statement>
                                                 </block>
                                               </next>
                                             </block>
                                           </statement>
                                           <next>
                                             <block type="on_ext" id="Ew(8wzpEg5ZIbL.ES.Iz">
                                               <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                               <field name="CONDITION">lt</field>
                                               <field name="ACK_CONDITION"></field>
                                               <value name="OID0">
                                                 <shadow type="field_oid" id="@2:.[_e_iBqa+PV0_QdU">
                                                   <field name="oid">default</field>
                                                 </shadow>
                                                 <block type="text" id="41z;VS7xQCfcmf$v_GP}">
                                                   <field name="TEXT">shelly.0.SHSW-25#3494547971EC#1.Relay1.Switch</field>
                                                 </block>
                                               </value>
                                               <statement name="STATEMENT">
                                                 <block type="comment" id="!oZyhCu-2g;n~*=xdC`0">
                                                   <field name="COMMENT">Einschaltdauer in Minuten</field>
                                                   <next>
                                                     <block type="variables_set" id="LwAj8jvjv)UMZnz;c2$.">
                                                       <field name="VAR" id="b+p{2kokZZ/7}+`bs,q1">ED</field>
                                                       <value name="VALUE">
                                                         <block type="math_arithmetic" id="$T.em/Os1%,qTga3iO^L">
                                                           <field name="OP">DIVIDE</field>
                                                           <value name="A">
                                                             <shadow type="math_number" id="c,[x(gN]AAH_p@,m|a6p">
                                                               <field name="NUM">1</field>
                                                             </shadow>
                                                             <block type="math_arithmetic" id="$QY=tBqBq$M,#o=%y[h-">
                                                               <field name="OP">MINUS</field>
                                                               <value name="A">
                                                                 <shadow type="math_number" id="aTm~|X^J*iE.X,zPF8Oy">
                                                                   <field name="NUM">1</field>
                                                                 </shadow>
                                                                 <block type="on_source" id="X#,J95zacy~0`hH9O0$x">
                                                                   <field name="ATTR">state.lc</field>
                                                                 </block>
                                                               </value>
                                                               <value name="B">
                                                                 <shadow type="math_number" id="!9kM*J}lKDp_$h@cSGe4">
                                                                   <field name="NUM">1</field>
                                                                 </shadow>
                                                                 <block type="on_source" id="qKM9@Y$`Ec4-w+A!V9Bb">
                                                                   <field name="ATTR">oldState.lc</field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                           <value name="B">
                                                             <shadow type="math_number" id="re+7.()^*X(cU?Z,S2wG">
                                                               <field name="NUM">60000</field>
                                                             </shadow>
                                                           </value>
                                                         </block>
                                                       </value>
                                                       <next>
                                                         <block type="update" id="D^PL^={BRP|x+z,`VeTr">
                                                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                           <field name="OID">Object ID</field>
                                                           <field name="WITH_DELAY">FALSE</field>
                                                           <value name="VALUE">
                                                             <block type="math_round" id="N-GI{5guRWjB,,Z4P)Ra">
                                                               <field name="OP">ROUND</field>
                                                               <value name="NUM">
                                                                 <shadow type="math_number" id="ka!fy+O[v%~dU=x[CZs]">
                                                                   <field name="NUM">3.1</field>
                                                                 </shadow>
                                                                 <block type="variables_get" id="HzH;c!?qGF9K4`DFg}tr">
                                                                   <field name="VAR" id="b+p{2kokZZ/7}+`bs,q1">ED</field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </next>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </statement>
                                             </block>
                                           </next>
                                         </block>
                                       </next>
                                     </block>
                                    </xml>
                                    

                                    Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                                    Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                                    B 2 Replies Last reply
                                    0
                                    • paul53P paul53

                                      @bernd-1337 sagte: code zum pasten

                                      <xml xmlns="https://developers.google.com/blockly/xml">
                                       <variables>
                                         <variable id="Zi?er=85ri4#;:L-lujS">pumpe</variable>
                                         <variable id="b+p{2kokZZ/7}+`bs,q1">ED</variable>
                                       </variables>
                                       <block type="variables_set" id=")(u1lT,t6M+geY80]*9+" x="87" y="-113">
                                         <field name="VAR" id="Zi?er=85ri4#;:L-lujS">pumpe</field>
                                         <value name="VALUE">
                                           <block type="get_value_var" id="=]54i_^*7ptgCq[HE[pK">
                                             <field name="ATTR">val</field>
                                             <value name="OID">
                                               <shadow type="field_oid" id="@9qPzg52ZTPA2*u,{xc(">
                                                 <field name="oid">Object ID</field>
                                               </shadow>
                                               <block type="text" id="ssLnDm(98pbzo7B-P3)i">
                                                 <field name="TEXT">shelly.0.SHSW-25#3494547971EC#1.Relay1.Switch</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <next>
                                           <block type="on_ext" id="jG7O3%s:Pbmj3oHF}3(5">
                                             <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                             <field name="CONDITION">any</field>
                                             <field name="ACK_CONDITION"></field>
                                             <value name="OID0">
                                               <shadow type="field_oid" id="2B(hVGZ#zfmp7Gt?:%y;">
                                                 <field name="oid">Temperatur.0.Wohnzimmer</field>
                                               </shadow>
                                             </value>
                                             <statement name="STATEMENT">
                                               <block type="controls_if" id="tGnT93N}Y)U=pJC8C{za">
                                                 <mutation elseif="1"></mutation>
                                                 <value name="IF0">
                                                   <block type="logic_compare" id="+,Y9zYS!qd$z_NukE~VT">
                                                     <field name="OP">LT</field>
                                                     <value name="A">
                                                       <block type="on_source" id="Qg_}b|+X5n#o8uIM_G/O">
                                                         <field name="ATTR">state.val</field>
                                                       </block>
                                                     </value>
                                                     <value name="B">
                                                       <block type="get_value" id="2p-T:/uSdpaJuFjVG1+_">
                                                         <field name="ATTR">val</field>
                                                         <field name="OID">Heizung.0.PumpeEin</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <statement name="DO0">
                                                   <block type="variables_set" id="3DNjQV/nt8fTs_e1%LRg">
                                                     <field name="VAR" id="Zi?er=85ri4#;:L-lujS">pumpe</field>
                                                     <value name="VALUE">
                                                       <block type="logic_boolean" id="l#xUro$Y`c:[fVxCG(JG">
                                                         <field name="BOOL">TRUE</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </statement>
                                                 <value name="IF1">
                                                   <block type="logic_compare" id=")_9$C6/74/kUx|:DWdZb">
                                                     <field name="OP">GT</field>
                                                     <value name="A">
                                                       <block type="on_source" id="LL`FN2c*wM}]VekvNJ7j">
                                                         <field name="ATTR">state.val</field>
                                                       </block>
                                                     </value>
                                                     <value name="B">
                                                       <block type="get_value" id="kMVtfs~rYz#.^m;9lBde">
                                                         <field name="ATTR">val</field>
                                                         <field name="OID">Heizung.0.PumpeAus</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <statement name="DO1">
                                                   <block type="variables_set" id="{3J?ejPQUpfLmg/zLGST">
                                                     <field name="VAR" id="Zi?er=85ri4#;:L-lujS">pumpe</field>
                                                     <value name="VALUE">
                                                       <block type="logic_boolean" id="aabeoH8/GZ8mC}+n@^h0">
                                                         <field name="BOOL">FALSE</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </statement>
                                                 <next>
                                                   <block type="controls_if" id="8BP[L!WM!%#l`hS$7`5G">
                                                     <value name="IF0">
                                                       <block type="logic_compare" id="ZX*uIqKwE:@M]4)PONG%">
                                                         <field name="OP">NEQ</field>
                                                         <value name="A">
                                                           <block type="variables_get" id="kKT~V_JYAN6RGAXQ#x5?">
                                                             <field name="VAR" id="Zi?er=85ri4#;:L-lujS">pumpe</field>
                                                           </block>
                                                         </value>
                                                         <value name="B">
                                                           <block type="get_value_var" id="|pp=r]dL51a6ep-2@|.H">
                                                             <field name="ATTR">val</field>
                                                             <value name="OID">
                                                               <shadow type="field_oid" id="@9qPzg52ZTPA2*u,{xc(">
                                                                 <field name="oid">Object ID</field>
                                                               </shadow>
                                                               <block type="text" id="`zNJX(Lyyd~Jv*;0SfX5">
                                                                 <field name="TEXT">shelly.0.SHSW-25#3494547971EC#1.Relay1.Switch</field>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </value>
                                                     <statement name="DO0">
                                                       <block type="control" id="Z_]VP.(4N~vSC)?iplx*">
                                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                         <field name="OID">shelly.0.SHSW-25#3494547971EC#1.Relay1.Switch</field>
                                                         <field name="WITH_DELAY">FALSE</field>
                                                         <value name="VALUE">
                                                           <block type="variables_get" id="ofmhxzd2Rhi6~e=JK_pg">
                                                             <field name="VAR" id="Zi?er=85ri4#;:L-lujS">pumpe</field>
                                                           </block>
                                                         </value>
                                                         <next>
                                                           <block type="update" id="gztvu]E-h@nsf9d^Ub#s">
                                                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                             <field name="OID">0_userdata.0.example_state</field>
                                                             <field name="WITH_DELAY">FALSE</field>
                                                             <value name="VALUE">
                                                               <block type="logic_ternary" id="q|F_I1%@gL2ak:u)Fmmi" inline="false">
                                                                 <value name="IF">
                                                                   <block type="variables_get" id="YW=j,g)uSD2EBdC{pgPd">
                                                                     <field name="VAR" id="Zi?er=85ri4#;:L-lujS">pumpe</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="THEN">
                                                                   <block type="text" id="/P$!j2QirQXhw!6k4{]*">
                                                                     <field name="TEXT">Pumpe Eingeschaltet!</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="ELSE">
                                                                   <block type="text" id="[.#~j$~cWN9ciZ;%O.cz">
                                                                     <field name="TEXT">Pumpe Ausgeschaltet!</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </statement>
                                                   </block>
                                                 </next>
                                               </block>
                                             </statement>
                                             <next>
                                               <block type="on_ext" id="Ew(8wzpEg5ZIbL.ES.Iz">
                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                                 <field name="CONDITION">lt</field>
                                                 <field name="ACK_CONDITION"></field>
                                                 <value name="OID0">
                                                   <shadow type="field_oid" id="@2:.[_e_iBqa+PV0_QdU">
                                                     <field name="oid">default</field>
                                                   </shadow>
                                                   <block type="text" id="41z;VS7xQCfcmf$v_GP}">
                                                     <field name="TEXT">shelly.0.SHSW-25#3494547971EC#1.Relay1.Switch</field>
                                                   </block>
                                                 </value>
                                                 <statement name="STATEMENT">
                                                   <block type="comment" id="!oZyhCu-2g;n~*=xdC`0">
                                                     <field name="COMMENT">Einschaltdauer in Minuten</field>
                                                     <next>
                                                       <block type="variables_set" id="LwAj8jvjv)UMZnz;c2$.">
                                                         <field name="VAR" id="b+p{2kokZZ/7}+`bs,q1">ED</field>
                                                         <value name="VALUE">
                                                           <block type="math_arithmetic" id="$T.em/Os1%,qTga3iO^L">
                                                             <field name="OP">DIVIDE</field>
                                                             <value name="A">
                                                               <shadow type="math_number" id="c,[x(gN]AAH_p@,m|a6p">
                                                                 <field name="NUM">1</field>
                                                               </shadow>
                                                               <block type="math_arithmetic" id="$QY=tBqBq$M,#o=%y[h-">
                                                                 <field name="OP">MINUS</field>
                                                                 <value name="A">
                                                                   <shadow type="math_number" id="aTm~|X^J*iE.X,zPF8Oy">
                                                                     <field name="NUM">1</field>
                                                                   </shadow>
                                                                   <block type="on_source" id="X#,J95zacy~0`hH9O0$x">
                                                                     <field name="ATTR">state.lc</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <shadow type="math_number" id="!9kM*J}lKDp_$h@cSGe4">
                                                                     <field name="NUM">1</field>
                                                                   </shadow>
                                                                   <block type="on_source" id="qKM9@Y$`Ec4-w+A!V9Bb">
                                                                     <field name="ATTR">oldState.lc</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <value name="B">
                                                               <shadow type="math_number" id="re+7.()^*X(cU?Z,S2wG">
                                                                 <field name="NUM">60000</field>
                                                               </shadow>
                                                             </value>
                                                           </block>
                                                         </value>
                                                         <next>
                                                           <block type="update" id="D^PL^={BRP|x+z,`VeTr">
                                                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                             <field name="OID">Object ID</field>
                                                             <field name="WITH_DELAY">FALSE</field>
                                                             <value name="VALUE">
                                                               <block type="math_round" id="N-GI{5guRWjB,,Z4P)Ra">
                                                                 <field name="OP">ROUND</field>
                                                                 <value name="NUM">
                                                                   <shadow type="math_number" id="ka!fy+O[v%~dU=x[CZs]">
                                                                     <field name="NUM">3.1</field>
                                                                   </shadow>
                                                                   <block type="variables_get" id="HzH;c!?qGF9K4`DFg}tr">
                                                                     <field name="VAR" id="b+p{2kokZZ/7}+`bs,q1">ED</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </statement>
                                               </block>
                                             </next>
                                           </block>
                                         </next>
                                       </block>
                                      </xml>
                                      

                                      B Offline
                                      B Offline
                                      Bernd 1337
                                      wrote on last edited by
                                      #24

                                      @paul53 danke dir du bist wie immer der retter in der not Funzt bestens so wie es soll

                                      1 Reply Last reply
                                      0
                                      • paul53P paul53

                                        @bernd-1337 sagte: code zum pasten

                                        <xml xmlns="https://developers.google.com/blockly/xml">
                                         <variables>
                                           <variable id="Zi?er=85ri4#;:L-lujS">pumpe</variable>
                                           <variable id="b+p{2kokZZ/7}+`bs,q1">ED</variable>
                                         </variables>
                                         <block type="variables_set" id=")(u1lT,t6M+geY80]*9+" x="87" y="-113">
                                           <field name="VAR" id="Zi?er=85ri4#;:L-lujS">pumpe</field>
                                           <value name="VALUE">
                                             <block type="get_value_var" id="=]54i_^*7ptgCq[HE[pK">
                                               <field name="ATTR">val</field>
                                               <value name="OID">
                                                 <shadow type="field_oid" id="@9qPzg52ZTPA2*u,{xc(">
                                                   <field name="oid">Object ID</field>
                                                 </shadow>
                                                 <block type="text" id="ssLnDm(98pbzo7B-P3)i">
                                                   <field name="TEXT">shelly.0.SHSW-25#3494547971EC#1.Relay1.Switch</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                           <next>
                                             <block type="on_ext" id="jG7O3%s:Pbmj3oHF}3(5">
                                               <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                               <field name="CONDITION">any</field>
                                               <field name="ACK_CONDITION"></field>
                                               <value name="OID0">
                                                 <shadow type="field_oid" id="2B(hVGZ#zfmp7Gt?:%y;">
                                                   <field name="oid">Temperatur.0.Wohnzimmer</field>
                                                 </shadow>
                                               </value>
                                               <statement name="STATEMENT">
                                                 <block type="controls_if" id="tGnT93N}Y)U=pJC8C{za">
                                                   <mutation elseif="1"></mutation>
                                                   <value name="IF0">
                                                     <block type="logic_compare" id="+,Y9zYS!qd$z_NukE~VT">
                                                       <field name="OP">LT</field>
                                                       <value name="A">
                                                         <block type="on_source" id="Qg_}b|+X5n#o8uIM_G/O">
                                                           <field name="ATTR">state.val</field>
                                                         </block>
                                                       </value>
                                                       <value name="B">
                                                         <block type="get_value" id="2p-T:/uSdpaJuFjVG1+_">
                                                           <field name="ATTR">val</field>
                                                           <field name="OID">Heizung.0.PumpeEin</field>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </value>
                                                   <statement name="DO0">
                                                     <block type="variables_set" id="3DNjQV/nt8fTs_e1%LRg">
                                                       <field name="VAR" id="Zi?er=85ri4#;:L-lujS">pumpe</field>
                                                       <value name="VALUE">
                                                         <block type="logic_boolean" id="l#xUro$Y`c:[fVxCG(JG">
                                                           <field name="BOOL">TRUE</field>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </statement>
                                                   <value name="IF1">
                                                     <block type="logic_compare" id=")_9$C6/74/kUx|:DWdZb">
                                                       <field name="OP">GT</field>
                                                       <value name="A">
                                                         <block type="on_source" id="LL`FN2c*wM}]VekvNJ7j">
                                                           <field name="ATTR">state.val</field>
                                                         </block>
                                                       </value>
                                                       <value name="B">
                                                         <block type="get_value" id="kMVtfs~rYz#.^m;9lBde">
                                                           <field name="ATTR">val</field>
                                                           <field name="OID">Heizung.0.PumpeAus</field>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </value>
                                                   <statement name="DO1">
                                                     <block type="variables_set" id="{3J?ejPQUpfLmg/zLGST">
                                                       <field name="VAR" id="Zi?er=85ri4#;:L-lujS">pumpe</field>
                                                       <value name="VALUE">
                                                         <block type="logic_boolean" id="aabeoH8/GZ8mC}+n@^h0">
                                                           <field name="BOOL">FALSE</field>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </statement>
                                                   <next>
                                                     <block type="controls_if" id="8BP[L!WM!%#l`hS$7`5G">
                                                       <value name="IF0">
                                                         <block type="logic_compare" id="ZX*uIqKwE:@M]4)PONG%">
                                                           <field name="OP">NEQ</field>
                                                           <value name="A">
                                                             <block type="variables_get" id="kKT~V_JYAN6RGAXQ#x5?">
                                                               <field name="VAR" id="Zi?er=85ri4#;:L-lujS">pumpe</field>
                                                             </block>
                                                           </value>
                                                           <value name="B">
                                                             <block type="get_value_var" id="|pp=r]dL51a6ep-2@|.H">
                                                               <field name="ATTR">val</field>
                                                               <value name="OID">
                                                                 <shadow type="field_oid" id="@9qPzg52ZTPA2*u,{xc(">
                                                                   <field name="oid">Object ID</field>
                                                                 </shadow>
                                                                 <block type="text" id="`zNJX(Lyyd~Jv*;0SfX5">
                                                                   <field name="TEXT">shelly.0.SHSW-25#3494547971EC#1.Relay1.Switch</field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                       <statement name="DO0">
                                                         <block type="control" id="Z_]VP.(4N~vSC)?iplx*">
                                                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                           <field name="OID">shelly.0.SHSW-25#3494547971EC#1.Relay1.Switch</field>
                                                           <field name="WITH_DELAY">FALSE</field>
                                                           <value name="VALUE">
                                                             <block type="variables_get" id="ofmhxzd2Rhi6~e=JK_pg">
                                                               <field name="VAR" id="Zi?er=85ri4#;:L-lujS">pumpe</field>
                                                             </block>
                                                           </value>
                                                           <next>
                                                             <block type="update" id="gztvu]E-h@nsf9d^Ub#s">
                                                               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                               <field name="OID">0_userdata.0.example_state</field>
                                                               <field name="WITH_DELAY">FALSE</field>
                                                               <value name="VALUE">
                                                                 <block type="logic_ternary" id="q|F_I1%@gL2ak:u)Fmmi" inline="false">
                                                                   <value name="IF">
                                                                     <block type="variables_get" id="YW=j,g)uSD2EBdC{pgPd">
                                                                       <field name="VAR" id="Zi?er=85ri4#;:L-lujS">pumpe</field>
                                                                     </block>
                                                                   </value>
                                                                   <value name="THEN">
                                                                     <block type="text" id="/P$!j2QirQXhw!6k4{]*">
                                                                       <field name="TEXT">Pumpe Eingeschaltet!</field>
                                                                     </block>
                                                                   </value>
                                                                   <value name="ELSE">
                                                                     <block type="text" id="[.#~j$~cWN9ciZ;%O.cz">
                                                                       <field name="TEXT">Pumpe Ausgeschaltet!</field>
                                                                     </block>
                                                                   </value>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </next>
                                                         </block>
                                                       </statement>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </statement>
                                               <next>
                                                 <block type="on_ext" id="Ew(8wzpEg5ZIbL.ES.Iz">
                                                   <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                                   <field name="CONDITION">lt</field>
                                                   <field name="ACK_CONDITION"></field>
                                                   <value name="OID0">
                                                     <shadow type="field_oid" id="@2:.[_e_iBqa+PV0_QdU">
                                                       <field name="oid">default</field>
                                                     </shadow>
                                                     <block type="text" id="41z;VS7xQCfcmf$v_GP}">
                                                       <field name="TEXT">shelly.0.SHSW-25#3494547971EC#1.Relay1.Switch</field>
                                                     </block>
                                                   </value>
                                                   <statement name="STATEMENT">
                                                     <block type="comment" id="!oZyhCu-2g;n~*=xdC`0">
                                                       <field name="COMMENT">Einschaltdauer in Minuten</field>
                                                       <next>
                                                         <block type="variables_set" id="LwAj8jvjv)UMZnz;c2$.">
                                                           <field name="VAR" id="b+p{2kokZZ/7}+`bs,q1">ED</field>
                                                           <value name="VALUE">
                                                             <block type="math_arithmetic" id="$T.em/Os1%,qTga3iO^L">
                                                               <field name="OP">DIVIDE</field>
                                                               <value name="A">
                                                                 <shadow type="math_number" id="c,[x(gN]AAH_p@,m|a6p">
                                                                   <field name="NUM">1</field>
                                                                 </shadow>
                                                                 <block type="math_arithmetic" id="$QY=tBqBq$M,#o=%y[h-">
                                                                   <field name="OP">MINUS</field>
                                                                   <value name="A">
                                                                     <shadow type="math_number" id="aTm~|X^J*iE.X,zPF8Oy">
                                                                       <field name="NUM">1</field>
                                                                     </shadow>
                                                                     <block type="on_source" id="X#,J95zacy~0`hH9O0$x">
                                                                       <field name="ATTR">state.lc</field>
                                                                     </block>
                                                                   </value>
                                                                   <value name="B">
                                                                     <shadow type="math_number" id="!9kM*J}lKDp_$h@cSGe4">
                                                                       <field name="NUM">1</field>
                                                                     </shadow>
                                                                     <block type="on_source" id="qKM9@Y$`Ec4-w+A!V9Bb">
                                                                       <field name="ATTR">oldState.lc</field>
                                                                     </block>
                                                                   </value>
                                                                 </block>
                                                               </value>
                                                               <value name="B">
                                                                 <shadow type="math_number" id="re+7.()^*X(cU?Z,S2wG">
                                                                   <field name="NUM">60000</field>
                                                                 </shadow>
                                                               </value>
                                                             </block>
                                                           </value>
                                                           <next>
                                                             <block type="update" id="D^PL^={BRP|x+z,`VeTr">
                                                               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                               <field name="OID">Object ID</field>
                                                               <field name="WITH_DELAY">FALSE</field>
                                                               <value name="VALUE">
                                                                 <block type="math_round" id="N-GI{5guRWjB,,Z4P)Ra">
                                                                   <field name="OP">ROUND</field>
                                                                   <value name="NUM">
                                                                     <shadow type="math_number" id="ka!fy+O[v%~dU=x[CZs]">
                                                                       <field name="NUM">3.1</field>
                                                                     </shadow>
                                                                     <block type="variables_get" id="HzH;c!?qGF9K4`DFg}tr">
                                                                       <field name="VAR" id="b+p{2kokZZ/7}+`bs,q1">ED</field>
                                                                     </block>
                                                                   </value>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </next>
                                                         </block>
                                                       </next>
                                                     </block>
                                                   </statement>
                                                 </block>
                                               </next>
                                             </block>
                                           </next>
                                         </block>
                                        </xml>
                                        

                                        B Offline
                                        B Offline
                                        Bernd 1337
                                        wrote on last edited by
                                        #25

                                        @paul53 habe gesehen das du das Zeit script mit dran gehangen hast kann das nur Minuten und keine sekunden

                                        paul53P 1 Reply Last reply
                                        0
                                        • B Bernd 1337

                                          @paul53 habe gesehen das du das Zeit script mit dran gehangen hast kann das nur Minuten und keine sekunden

                                          paul53P Offline
                                          paul53P Offline
                                          paul53
                                          wrote on last edited by
                                          #26

                                          @bernd-1337 sagte: kann das nur Minuten und keine sekunden

                                          Es wird auf ganze Minuten gerundet, was du natürlich ändern kannst.

                                          Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                                          Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                                          B 2 Replies Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          303

                                          Online

                                          32.6k

                                          Users

                                          82.3k

                                          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