Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. (gelöst) Datenpunkt erzeugen, wenn es ihn nicht gibt ?

NEWS

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    8
    1
    302

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    9
    1
    279

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    917

(gelöst) Datenpunkt erzeugen, wenn es ihn nicht gibt ?

Geplant Angeheftet Gesperrt Verschoben Blockly
26 Beiträge 4 Kommentatoren 259 Aufrufe 3 Beobachtet
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • dslraserD dslraser

    @humidor
    habe auch gerade ein Testbeispiel erstellt

    Bildschirmfoto 2021-05-12 um 13.34.59.png

    Bildschirmfoto 2021-05-12 um 13.36.43.png

    <xml xmlns="https://developers.google.com/blockly/xml">
     <block type="create" id="0qiGN9NF-oRvp8*wFQM~" x="-2237" y="-1088">
       <field name="NAME">0_userdata.0.Test.Testschalter</field>
       <value name="VALUE">
         <block type="logic_boolean" id="+_GOL8,BeEXsBW~*afg!">
           <field name="BOOL">TRUE</field>
         </block>
       </value>
       <value name="COMMON">
         <block type="text" id="!:l5@]a6d}y%WV+%8gS~">
           <field name="TEXT">{ "role" : "switch" , "type" : "boolean" , "name" : "Testswitch" }</field>
         </block>
       </value>
       <statement name="STATEMENT">
         <block type="comment" id="n(uP}.D/lQOwB@nj{*M@">
           <field name="COMMENT">Schalter</field>
         </block>
       </statement>
       <next>
         <block type="create" id="z(]=c48dVJC-AMnF2K:(">
           <field name="NAME">0_userdata.0.Test.Testbutton</field>
           <value name="VALUE">
             <block type="logic_boolean" id="F?~sHf^Ji))hVpus/^[^">
               <field name="BOOL">TRUE</field>
             </block>
           </value>
           <value name="COMMON">
             <block type="text" id="%^B9Xeiy8)KJoRB6S(9^">
               <field name="TEXT">{ "role" : "button" , "type" : "boolean" , "name" : "Testbutton"}</field>
             </block>
           </value>
           <statement name="STATEMENT">
             <block type="comment" id="w^5i|a|*@8]F.obje4=K">
               <field name="COMMENT">Button</field>
             </block>
           </statement>
           <next>
             <block type="create" id="Pnft6G@Kaix-G(vD2T^=">
               <field name="NAME">0_userdata.0.Test.Teststring</field>
               <value name="VALUE">
                 <block type="text" id="n:U40nFEP%W;7gyhA~|T">
                   <field name="TEXT">noch nix drinn</field>
                 </block>
               </value>
               <value name="COMMON">
                 <block type="text" id=",dkN7$*iWEkA5dW@[-[t">
                   <field name="TEXT">{ "role" : "string" , "type" : "string" , "name" : "Teststring"}</field>
                 </block>
               </value>
               <statement name="STATEMENT">
                 <block type="comment" id="L9J85=SBV*tSBqL{VI!S">
                   <field name="COMMENT">String</field>
                 </block>
               </statement>
               <next>
                 <block type="create" id="Zr-b7/$qD9IEw_[O!NB|">
                   <field name="NAME">0_userdata.0.Test.Testnumber</field>
                   <value name="VALUE">
                     <block type="math_number" id="c2mgAVguwRh|qOh:!.#-">
                       <field name="NUM">0</field>
                     </block>
                   </value>
                   <value name="COMMON">
                     <block type="text" id="@J(+KFbf}u-)h/!:8]JQ">
                       <field name="TEXT">{ "role" : "number" , "type" : "number" , "min" : 0 ,  "max" : 100 , "name" : "Testnumber"}</field>
                     </block>
                   </value>
                   <statement name="STATEMENT">
                     <block type="comment" id=";D,W^|3Crd$eBr/!V1zS">
                       <field name="COMMENT">Number</field>
                     </block>
                   </statement>
                 </block>
               </next>
             </block>
           </next>
         </block>
       </next>
     </block>
    </xml>
    

    @Humidor

    wie sind hier die Einstellungen, gibts dazu eine Dok? kann man zBps. role weglassen?

    ja, gibt eine Doku, muss ich erst den Link suchen

    Edit: Hier zum nachlesen

    https://github.com/ioBroker/ioBroker/blob/master/doc/STATE_ROLES.md

    HumidorH Online
    HumidorH Online
    Humidor
    schrieb am zuletzt editiert von
    #10

    @dslraser danke!, sehe dort aber keine Beschreibung des String-Zusammenstetzung und was notwendig ist, kein must have ist.

    BG

    dslraserD 1 Antwort Letzte Antwort
    0
    • HumidorH Humidor

      @dslraser danke!, sehe dort aber keine Beschreibung des String-Zusammenstetzung und was notwendig ist, kein must have ist.

      dslraserD Offline
      dslraserD Offline
      dslraser
      Forum Testing Most Active
      schrieb am zuletzt editiert von
      #11

      @humidor
      kommt ja auch drauf an was Du mit dem Datenpunkt anstellen willst...
      Bei z.B. Number könnten min/max Werte eine Rolle spielen usw. usw. usw.

      HumidorH 1 Antwort Letzte Antwort
      0
      • dslraserD dslraser

        @humidor
        kommt ja auch drauf an was Du mit dem Datenpunkt anstellen willst...
        Bei z.B. Number könnten min/max Werte eine Rolle spielen usw. usw. usw.

        HumidorH Online
        HumidorH Online
        Humidor
        schrieb am zuletzt editiert von
        #12

        @dslraser schon klar, was ist wenn icht state weg lasse?

        also, ich habe im Baustein Datenpunkt erzeugen eine Debug Ausgabe gemacht,
        nun fragt sich, wird bei jedem Start des Script der Datenpunkt wieder angelegt oder nur die Debugausgabe gemacht?
        dann noch diese warn ??

        javascript.0	2021-05-12 12:51:35.879	info	(10496) script.js.common.Pool: Pool - Objekt "Poo.Timer.WP" deklariert
        javascript.0	2021-05-12 12:51:35.878	info	(10496) script.js.common.Pool: Pool - Objekt "Poo.Timer.Pumpe" deklariert
        javascript.0	2021-05-12 12:51:35.866	info	(10496) script.js.common.Pool: registered 7 subscriptions and 0 schedules
        javascript.0	2021-05-12 12:51:35.859	info	(10496) Start javascript script.js.common.Pool
        javascript.0	2021-05-12 12:51:35.759	warn	(10496) unsubscribe: empty name
        javascript.0	2021-05-12 12:51:35.758	info	(10496) Stop script script.js.common.Pool
        javascript.0	2021-05-12 12:51:15.346	info	(10496) script.js.common.Pool: Pool - Objekt "Poo.Timer.WP" deklariert
        javascript.0	2021-05-12 12:51:15.345	info	(10496) script.js.common.Pool: Pool - Objekt "Poo.Timer.Pumpe" deklariert
        javascript.0	2021-05-12 12:51:15.339	info	(10496) script.js.common.Pool: registered 7 subscriptions and 0 schedules
        javascript.0	2021-05-12 12:51:15.330	info	(10496) Start javascript script.js.common.Pool
        javascript.0	2021-05-12 12:51:15.307	warn	(10496) unsubscribe: empty name
        javascript.0	2021-05-12 12:51:15.306	info	(10496) Stop script script.js.common.Pool
        

        BG

        dslraserD 2 Antworten Letzte Antwort
        0
        • HumidorH Humidor

          @dslraser schon klar, was ist wenn icht state weg lasse?

          also, ich habe im Baustein Datenpunkt erzeugen eine Debug Ausgabe gemacht,
          nun fragt sich, wird bei jedem Start des Script der Datenpunkt wieder angelegt oder nur die Debugausgabe gemacht?
          dann noch diese warn ??

          javascript.0	2021-05-12 12:51:35.879	info	(10496) script.js.common.Pool: Pool - Objekt "Poo.Timer.WP" deklariert
          javascript.0	2021-05-12 12:51:35.878	info	(10496) script.js.common.Pool: Pool - Objekt "Poo.Timer.Pumpe" deklariert
          javascript.0	2021-05-12 12:51:35.866	info	(10496) script.js.common.Pool: registered 7 subscriptions and 0 schedules
          javascript.0	2021-05-12 12:51:35.859	info	(10496) Start javascript script.js.common.Pool
          javascript.0	2021-05-12 12:51:35.759	warn	(10496) unsubscribe: empty name
          javascript.0	2021-05-12 12:51:35.758	info	(10496) Stop script script.js.common.Pool
          javascript.0	2021-05-12 12:51:15.346	info	(10496) script.js.common.Pool: Pool - Objekt "Poo.Timer.WP" deklariert
          javascript.0	2021-05-12 12:51:15.345	info	(10496) script.js.common.Pool: Pool - Objekt "Poo.Timer.Pumpe" deklariert
          javascript.0	2021-05-12 12:51:15.339	info	(10496) script.js.common.Pool: registered 7 subscriptions and 0 schedules
          javascript.0	2021-05-12 12:51:15.330	info	(10496) Start javascript script.js.common.Pool
          javascript.0	2021-05-12 12:51:15.307	warn	(10496) unsubscribe: empty name
          javascript.0	2021-05-12 12:51:15.306	info	(10496) Stop script script.js.common.Pool
          
          dslraserD Offline
          dslraserD Offline
          dslraser
          Forum Testing Most Active
          schrieb am zuletzt editiert von dslraser
          #13

          @humidor
          Vielleicht stellst Du mal Dein Blockly hier rein...

          Da steht z.B. auch Poo anstatt wahrscheinlich Pool

          HumidorH 1 Antwort Letzte Antwort
          0
          • dslraserD dslraser

            @humidor
            Vielleicht stellst Du mal Dein Blockly hier rein...

            Da steht z.B. auch Poo anstatt wahrscheinlich Pool

            HumidorH Online
            HumidorH Online
            Humidor
            schrieb am zuletzt editiert von
            #14

            @dslraser ja, hab ich auch scho gesehen 😁


            <xml xmlns="https://developers.google.com/blockly/xml">
            <variables>
            <variable id="v2defQA^fYAm[#=DqhwK">ÜberschussPumpeVorhanden</variable>
            <variable id="YT^KfFwGaj[lMaI~H9ds">msg</variable>
            <variable id="Ucrng#NggG(VeK4j@^">ÜberschussWPvorhanden</variable> </variables> <block type="comment" id="ZMp|g1wUR}lx=rHRXN!_" x="-13" y="-12"> <field name="COMMENT">Datenpunkte erzeugen</field> <next> <block type="create" id="J;IaDKF*{j]J,vTY}(o">
            <field name="NAME">Pool.TimerPumpe</field>
            <value name="VALUE">
            <block type="text" id="KHaoj{M$^{I+:GA8*TR"> <field name="TEXT">false</field> </block> </value> <value name="COMMON"> <block type="text" id="w}X}bl$nftPtXr7_O/w1"> <field name="TEXT">{ "role" : "" , "type" : "boolean" , "name" : "VerzögerungPumpe" , "smartName" : { "de" : "Verzögerung WP" , "smartType" : "SWITCH" }}</field> </block> </value> <statement name="STATEMENT"> <block type="debug" id="H(()K{zzpmZ/gAzyEvdp"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="hoK^8SdMyS.[IQc]![m2"> <field name="TEXT">Pool - Objekt "Pool.Timer.Pumpe" deklariert</field> </shadow> </value> </block> </statement> <next> <block type="create" id="P:,opA]D*udBetxQzCY("> <field name="NAME">Pool.TimerWB</field> <value name="VALUE"> <block type="text" id="X39KADDOr:C}G6[5xd#V"> <field name="TEXT">false</field> </block> </value> <value name="COMMON"> <block type="text" id="T1]d!!%.3$=yXnIKNi/f"> <field name="TEXT">{ "role" : "" , "type" : "boolean" , "name" : "VerzögerungWP" , "smartName" : { "de" : "Verzögerung WP" , "smartType" : "SWITCH" }}</field> </block> </value> <statement name="STATEMENT"> <block type="debug" id="^PO_Z#b%c:y-_grCW8hV"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="giV_G%*UzPo6}6.5YUN%"> <field name="TEXT">Pool - Objekt "Pool.Timer.WP" deklariert</field> </shadow> </value> </block> </statement> <next> <block type="comment" id="7]V0S:idds=aLZteC}z|"> <field name="COMMENT">Vorlauftemperatur</field> <next> <block type="update" id="E?-Xjt)fZRj-IdjsY~vH"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">javascript.0.Pool.VL</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_arithmetic" id="RF@]^n0=E{L:k?N{MAy*"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number" id="Zk5*lEHS7[!0%;vb.6uJ"> <field name="NUM">1</field> </shadow> <block type="get_value" id="Red+x=@ODHM7HL%b,UG3"> <field name="ATTR">val</field> <field name="OID">s7.0.DBs.DB1.VW2</field> </block> </value> <value name="B"> <shadow type="math_number" id="b/R3xk/?[CCN=W60i%b+"> <field name="NUM">10</field> </shadow> </value> </block> </value> <next> <block type="on" id="fgosJsImuz_(9gIf5rxe"> <field name="OID">s7.0.DBs.DB1.VW2</field> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <statement name="STATEMENT"> <block type="update" id="]3Yk|^1-YH9S0MA^09OZ"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">javascript.0.Pool.VL</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_arithmetic" id="H!-/wdHDDI@H;J#+yUt$"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number" id="uNq)UnP**rAyM$}4d!a."> <field name="NUM">1</field> </shadow> <block type="on_source" id=".iaBraf{_OGbpV4K3k(m"> <field name="ATTR">state.val</field> </block> </value> <value name="B"> <shadow type="math_number" id="e;0!N=*V[lPM3}jM{a%T"> <field name="NUM">10</field> </shadow> </value> </block> </value> </block> </statement> <next> <block type="on" id="YgjY/le-p)aF^Fa^E:+J"> <field name="OID">s7.0.DBs.DB1.V1_6</field> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <statement name="STATEMENT"> <block type="controls_if" id="BkDtnvl$um5^7MeYm~"> <value name="IF0"> <block type="on_source" id="[O#5O-.(t$n@X%?e~;~F"> <field name="ATTR">state.val</field> </block> </value> <statement name="DO0"> <block type="debug" id="Gkn5UuF!.4;*MK62Qy*m"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="+-hSjm9,t.iFy]@TY4U["> <field name="TEXT">test</field> </shadow> <block type="text" id="L1j6]Wm@{lqs+c=SP/3-"> <field name="TEXT">Pool - Vorlauftemperatur defekt !!!</field> </block> </value> <next> <block type="telegram" id="-pvbQ56E]BDTL!M0rHAQ"> <field name="INSTANCE"></field> <field name="LOG"></field> <field name="SILENT">FALSE</field> <field name="PARSEMODE">default</field> <value name="MESSAGE"> <shadow type="text" id=".+ow}nu?KDNv(xZ~m3zz"> <field name="TEXT">text</field> </shadow> <block type="text" id="O/ByS8I074A6m0DHVdV+"> <field name="TEXT">Pool - Vorlauftemperatur defekt !!!</field> </block> </value> </block> </next> </block> </statement> </block> </statement> <next> <block type="comment" id="^E{cA,]?oSpJS/c8v;D("> <field name="COMMENT">Rücklauftemperatur</field> <next> <block type="update" id="uDtvAUIJ]p0U[U_cj+dV"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">javascript.0.Pool.RL</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_arithmetic" id="cwiV1__?{SY~u?Cw#wRZ"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number"> <field name="NUM">1</field> </shadow> <block type="get_value" id="ZUQlw$i2eaM9bx1:y^}">
            <field name="ATTR">val</field>
            <field name="OID">s7.0.DBs.DB1.VW4</field>
            </block>
            </value>
            <value name="B">
            <shadow type="math_number" id="U4CSKhC[HsFWt8axOsB1">
            <field name="NUM">10</field>
            </shadow>
            </value>
            </block>
            </value>
            <next>
            <block type="on" id="h0}V7xEE[[md20}a%5}g">
            <field name="OID">s7.0.DBs.DB1.VW4</field>
            <field name="CONDITION">ne</field>
            <field name="ACK_CONDITION"></field>
            <statement name="STATEMENT">
            <block type="update" id="v8#$^2p3,^z#M:p,V},C">
            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
            <field name="OID">javascript.0.Pool.RL</field>
            <field name="WITH_DELAY">FALSE</field>
            <value name="VALUE">
            <block type="math_arithmetic" id="#EsYwB?J)3CF!ETl_*R"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number"> <field name="NUM">1</field> </shadow> <block type="on_source" id="^s=8?yytzri,uv~cZ?4">
            <field name="ATTR">state.val</field>
            </block>
            </value>
            <value name="B">
            <shadow type="math_number" id="Z[M/O+lAyt+Y{~D-?-I~">
            <field name="NUM">10</field>
            </shadow>
            </value>
            </block>
            </value>
            </block>
            </statement>
            <next>
            <block type="on" id="kKH
            z-,8~{/WH3d{Z^x">
            <field name="OID">s7.0.DBs.DB1.V1_7</field>
            <field name="CONDITION">ne</field>
            <field name="ACK_CONDITION"></field>
            <statement name="STATEMENT">
            <block type="controls_if" id="t!c{8/,~Ew=su?=o!7M">
            <value name="IF0">
            <block type="on_source" id="uz?V]krD!;7sQ8kCm%3g">
            <field name="ATTR">state.val</field>
            </block>
            </value>
            <statement name="DO0">
            <block type="debug" id="2y{1RJE(Xo^x[X4Oy9,G">
            <field name="Severity">log</field>
            <value name="TEXT">
            <shadow type="text" id="KDm-!Ro1Ojx|o7Uw|Ex"> <field name="TEXT">test</field> </shadow> <block type="text" id="wPKgegq1Q,n2W5S_LG/2"> <field name="TEXT">Pool - Rücklauftemperatur defekt !!!</field> </block> </value> <next> <block type="telegram" id="d+7Eg]r65pgYqtHHwAxr"> <field name="INSTANCE"></field> <field name="LOG"></field> <field name="SILENT">FALSE</field> <field name="PARSEMODE">default</field> <value name="MESSAGE"> <shadow type="text" id="W)K:stpZ|x#V0,Ito?L">
            <field name="TEXT">text</field>
            </shadow>
            <block type="text" id="MiKDMn(,?2S2Z3p.YqCt">
            <field name="TEXT">Pool - Rücklauftemperatur defekt !!!</field>
            </block>
            </value>
            </block>
            </next>
            </block>
            </statement>
            </block>
            </statement>
            <next>
            <block type="comment" id="Nv?%j@xj2A16Vl/(4}=r">
            <field name="COMMENT">Füllung deaktivieren</field>
            <next>
            <block type="on_ext" id="?pIg.[E]uUc;qa
            C8E/%">
            <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
            <field name="CONDITION">ne</field>
            <field name="ACK_CONDITION"></field>
            <value name="OID0">
            <shadow type="field_oid" id="duyBq-T+u.;2VL[^1cv?">
            <field name="oid">s7.0.Inputs.0.I1</field>
            </shadow>
            </value>
            <statement name="STATEMENT">
            <block type="controls_if" id="6Hapi~=RJdA|Sjl^G*j"> <value name="IF0"> <block type="logic_operation" id="R$uiZOF^24J))4*,0hbY"> <field name="OP">AND</field> <value name="A"> <block type="on_source" id="-.{E(jnRfFj,3PECMvN">
            <field name="ATTR">state.val</field>
            </block>
            </value>
            <value name="B">
            <block type="get_value" id="(!P:Q}Q@*yXsAA;Ku:%W">
            <field name="ATTR">val</field>
            <field name="OID">s7.0.DBs.DB1.V1_4</field>
            </block>
            </value>
            </block>
            </value>
            <statement name="DO0">
            <block type="control" id="nXk~,0_f2sa=]44Q8,}h">
            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
            <field name="OID">s7.0.DBs.DB1.V1_4</field>
            <field name="WITH_DELAY">FALSE</field>
            <value name="VALUE">
            <block type="logic_boolean" id="|K);|wO$eutK}PY=bU">
            <field name="BOOL">FALSE</field>
            </block>
            </value>
            <next>
            <block type="debug" id="DMeY91mIU]Ay5+GJN)Pg">
            <field name="Severity">log</field>
            <value name="TEXT">
            <shadow type="text" id="U6oej94DMgr]#vSZFd!C">
            <field name="TEXT">Pool - H2O Sensor aktiv, Füllung wurde beendet.</field>
            </shadow>
            </value>
            <next>
            <block type="telegram" id="Dqh
            hL}e5J$}]2TR;1x"> <field name="INSTANCE"></field> <field name="LOG"></field> <field name="SILENT">FALSE</field> <field name="PARSEMODE">default</field> <value name="MESSAGE"> <shadow type="text" id="Ncc)?Dn1%WJ3)3w]fTA">
            <field name="TEXT">Pool - H2O Sensor aktiv, Füllung wurde beendet.</field>
            </shadow>
            </value>
            </block>
            </next>
            </block>
            </next>
            </block>
            </statement>
            </block>
            </statement>
            </block>
            </next>
            </block>
            </next>
            </block>
            </next>
            </block>
            </next>
            </block>
            </next>
            </block>
            </next>
            </block>
            </next>
            </block>
            </next>
            </block>
            </next>
            </block>
            </next>
            </block>
            </next>
            </block>
            </next>
            </block>
            <block type="comment" id="tGg,-2!4Q+;mHk=l=vL)" x="787" y="-13">
            <field name="COMMENT">per PV-Überschuss die Pumpe und Heizung de/aktivieren</field>
            <next>
            <block type="on_ext" id="ych,/fZuY+W]1jbYw],A">
            <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
            <field name="CONDITION">ne</field>
            <field name="ACK_CONDITION"></field>
            <value name="OID0">
            <shadow type="field_oid" id="D,G+l_ws/XZ:n^68%?n?">
            <field name="oid">0_userdata.0.AMISFronius.PVÜberschussFronius</field>
            </shadow>
            </value>
            <statement name="STATEMENT">
            <block type="comment" id="fgN_h%3Vg:{rk4U|{9b">
            <field name="COMMENT">PV Überschuss vorhanden ?</field>
            <next>
            <block type="controls_if" id="8jT7-0$^K%!bib~/}1.">
            <mutation else="1"></mutation>
            <value name="IF0">
            <block type="get_value" id="YX
            =4+Ud)CXP@m1Xh3c">
            <field name="ATTR">val</field>
            <field name="OID">s7.0.DBs.DB1.V0_6</field>
            </block>
            </value>
            <statement name="DO0">
            <block type="variables_set" id="~wg{{d$XTiI)S5@.~wpu">
            <field name="VAR" id="v2defQA^fYAm[#=DqhwK">ÜberschussPumpeVorhanden</field>
            <value name="VALUE">
            <block type="logic_operation" id=".5Uc$/5k@ZRE!x#u2%e" inline="false">
            <field name="OP">AND</field>
            <value name="A">
            <block type="logic_compare" id="so?s%LTsE]E#uh6NFy40">
            <field name="OP">EQ</field>
            <value name="A">
            <block type="get_value" id="0;BRh!|,#YsbrNn@5A]"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.AMISFronius.170</field> </block> </value> <value name="B"> <block type="math_number" id="Ty=P(6u4SF^#^~OoR;K">
            <field name="NUM">0</field>
            </block>
            </value>
            </block>
            </value>
            <value name="B">
            <block type="logic_operation" id="{gMK4,,x8y8
            vCip(Slo" inline="false">
            <field name="OP">AND</field>
            <value name="A">
            <block type="logic_compare" id="(FxS2!@:dk~YfN4H{1Fe">
            <field name="OP">GTE</field>
            <value name="A">
            <block type="get_value" id="qd|OOxkHeAi1T_so{p~d">
            <field name="ATTR">val</field>
            <field name="OID">0_userdata.0.AMISFronius.PVPowerFronius</field>
            </block>
            </value>
            <value name="B">
            <block type="math_number" id="!Ok3!(N%-Zbi|bwY,ubO">
            <field name="NUM">1500</field>
            </block>
            </value>
            </block>
            </value>
            <value name="B">
            <block type="logic_compare" id=".juGm14hW
            ,hmY[ytRy]">
            <field name="OP">GTE</field>
            <value name="A">
            <block type="get_value" id="BW4hfTaWbS1yrRto9Gux">
            <field name="ATTR">val</field>
            <field name="OID">0_userdata.0.AMISFronius.PVÜberschussFronius</field>
            </block>
            </value>
            <value name="B">
            <block type="math_number" id="YBn7LxX~D|m9m-uwviDr">
            <field name="NUM">300</field>
            </block>
            </value>
            </block>
            </value>
            </block>
            </value>
            </block>
            </value>
            </block>
            </statement>
            <statement name="ELSE">
            <block type="variables_set" id="GnNB}mv(q)hbGx+gfWLu">
            <field name="VAR" id="v2defQA^fYAm[#=DqhwK">ÜberschussPumpeVorhanden</field>
            <value name="VALUE">
            <block type="logic_operation" id="pDq/SIhQ;=k5SYMZI^eV" inline="false">
            <field name="OP">AND</field>
            <value name="A">
            <block type="logic_compare" id="@7,?o#oX6Gw@TIe$m}~,">
            <field name="OP">EQ</field>
            <value name="A">
            <block type="get_value" id="=!dvK1XrX.XN+y1mD0U"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.AMISFronius.170</field> </block> </value> <value name="B"> <block type="math_number" id="X,!8?%YeRx{i9Pb{QmM">
            <field name="NUM">0</field>
            </block>
            </value>
            </block>
            </value>
            <value name="B">
            <block type="logic_operation" id="dm06)~,SN7E)M@aT
            @WE" inline="false">
            <field name="OP">AND</field>
            <value name="A">
            <block type="logic_compare" id="KY#!+y@a;8Dn7_/NrXLd">
            <field name="OP">GTE</field>
            <value name="A">
            <block type="get_value" id="k8#LEcXGLcG3I!9-K[?">
            <field name="ATTR">val</field>
            <field name="OID">0_userdata.0.AMISFronius.PVPowerFronius</field>
            </block>
            </value>
            <value name="B">
            <block type="math_number" id="lC)avr9S]]|H~]bntBl}">
            <field name="NUM">1500</field>
            </block>
            </value>
            </block>
            </value>
            <value name="B">
            <block type="logic_compare" id="|EnQ),V9Nq{3I3bNVP/t">
            <field name="OP">GTE</field>
            <value name="A">
            <block type="get_value" id="BVKjU/5y0kZ_~+H%~O-"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.AMISFronius.PVÜberschussFronius</field> </block> </value> <value name="B"> <block type="math_number" id="mO6gYh4(C1^|U[d3O8Lm"> <field name="NUM">1000</field> </block> </value> </block> </value> </block> </value> </block> </value> <next> <block type="control" id="nLX+i%NGv%_nW2v56SnX"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">javascript.0.Pool.TimerPumpe</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="!l#pBCVTWMljJlh,P2h">
            <field name="BOOL">FALSE</field>
            </block>
            </value>
            </block>
            </next>
            </block>
            </statement>
            <next>
            <block type="controls_if" id="1y}6eea
            v}X#d?0y.ozJ">
            <mutation else="1"></mutation>
            <value name="IF0">
            <block type="get_value" id="P[F2YnFX8qsyQOY6FO#">
            <field name="ATTR">val</field>
            <field name="OID">s7.0.DBs.DB1.V0_7</field>
            </block>
            </value>
            <statement name="DO0">
            <block type="variables_set" id="LbkH^$-iBWX|}wIl|P+">
            <field name="VAR" id="Ucrng#NggG(VeK4j@^">ÜberschussWPvorhanden</field> <value name="VALUE"> <block type="logic_operation" id=",iI6@5cEi+$mwbJ@FOu" inline="false">
            <field name="OP">AND</field>
            <value name="A">
            <block type="logic_compare" id="9K;MoRjmxJHt05)0[:9"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="qT%YF#bNBCo=TB-Fzh-">
            <field name="ATTR">val</field>
            <field name="OID">0_userdata.0.AMISFronius.170</field>
            </block>
            </value>
            <value name="B">
            <block type="math_number" id="IkCwr3rjduN|R:YhqD5w">
            <field name="NUM">0</field>
            </block>
            </value>
            </block>
            </value>
            <value name="B">
            <block type="logic_operation" id="0V4EgRPEBjjzHUox~NPj" inline="false">
            <field name="OP">AND</field>
            <value name="A">
            <block type="logic_compare" id="3:,)K}0*06p|Gh)AID8"> <field name="OP">GTE</field> <value name="A"> <block type="get_value" id="D8DD2wW3tFB98%8:@*9A"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.AMISFronius.PVPowerFronius</field> </block> </value> <value name="B"> <block type="math_number" id="vN~1c;#6.NzTqSA}h6n">
            <field name="NUM">3000</field>
            </block>
            </value>
            </block>
            </value>
            <value name="B">
            <block type="logic_compare" id="n
            7L,C;cS7c#NLThqGrO">
            <field name="OP">GTE</field>
            <value name="A">
            <block type="get_value" id="pdx$uya@c5Cw.0MAxCsk">
            <field name="ATTR">val</field>
            <field name="OID">0_userdata.0.AMISFronius.PVÜberschussFronius</field>
            </block>
            </value>
            <value name="B">
            <block type="math_number" id="PGg@/?@IBrbMx~GIxD1/">
            <field name="NUM">2500</field>
            </block>
            </value>
            </block>
            </value>
            </block>
            </value>
            </block>
            </value>
            </block>
            </statement>
            <statement name="ELSE">
            <block type="variables_set" id="K5ivEThi?E5.DP,wsR5f">
            <field name="VAR" id="Ucrng#NggG(VeK4j@^">ÜberschussWPvorhanden</field> <value name="VALUE"> <block type="logic_operation" id="bhvbac:$Bs:1TtujN(t4" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="*Ar1m1)haYU;+8|ywr^c"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="](AM8hm[:}xN6rNr098}"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.AMISFronius.170</field> </block> </value> <value name="B"> <block type="math_number" id="UCO|v=c12{N]Od/hqF-g"> <field name="NUM">0</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="N#{R=t?B-iWL!Q9nI!K+" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id=".E[V)F9qPt:i,U,L+)Co"> <field name="OP">GTE</field> <value name="A"> <block type="get_value" id="$]i//m,/23Wv)j,e/^ij"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.AMISFronius.PVPowerFronius</field> </block> </value> <value name="B"> <block type="math_number" id="HByVW9#U_qf.@kH2ISR">
            <field name="NUM">4000</field>
            </block>
            </value>
            </block>
            </value>
            <value name="B">
            <block type="logic_compare" id="GAreNBPmbJkbTE1aGy."> <field name="OP">GTE</field> <value name="A"> <block type="get_value" id=";pPL7e;^e%T0.Etikov">
            <field name="ATTR">val</field>
            <field name="OID">0_userdata.0.AMISFronius.PVÜberschussFronius</field>
            </block>
            </value>
            <value name="B">
            <block type="math_number" id="FMa1m/$7cm-s_B}l
            iB/">
            <field name="NUM">2500</field>
            </block>
            </value>
            </block>
            </value>
            </block>
            </value>
            </block>
            </value>
            <next>
            <block type="control" id="el8iXe?ejwe]dV]K}.#b">
            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
            <field name="OID">javascript.0.Pool.TimerWB</field>
            <field name="WITH_DELAY">FALSE</field>
            <value name="VALUE">
            <block type="logic_boolean" id="P4qe?_cTcpbMylCgtYFx">
            <field name="BOOL">FALSE</field>
            </block>
            </value>
            </block>
            </next>
            </block>
            </statement>
            <next>
            <block type="comment" id="_3]Rkxq39oM.Lh/CHXSi">
            <field name="COMMENT">Pumpe 750W</field>
            <next>
            <block type="controls_if" id="J!1AG2R98XV0Sq9FelDR">
            <mutation elseif="1"></mutation>
            <value name="IF0">
            <block type="logic_operation" id="#0m]2tRrAN$*rf56gH" inline="false">
            <field name="OP">AND</field>
            <value name="A">
            <block type="logic_operation" id="0]7;!C4w~0orpg+H7j}c" inline="false">
            <field name="OP">AND</field>
            <value name="A">
            <block type="variables_get" id="@J,Dp[CkmRb||yh|(xfE">
            <field name="VAR" id="v2defQA^fYAm[#=DqhwK">ÜberschussPumpeVorhanden</field>
            </block>
            </value>
            <value name="B">
            <block type="logic_negate" id="Qo.s7~dj
            mmzCa(HkPmd">
            <value name="BOOL">
            <block type="get_value" id="=:Z)gik)jnAkY,q$7Y">
            <field name="ATTR">val</field>
            <field name="OID">s7.0.DBs.DB1.V0_6</field>
            </block>
            </value>
            </block>
            </value>
            </block>
            </value>
            <value name="B">
            <block type="logic_negate" id="/w5YiM}mQ#@kf1RA!sL%">
            <value name="BOOL">
            <block type="get_value" id="zc%H,,LSs+%H,;4(Ke4V">
            <field name="ATTR">val</field>
            <field name="OID">javascript.0.Pool.TimerPumpe</field>
            </block>
            </value>
            </block>
            </value>
            </block>
            </value>
            <statement name="DO0">
            <block type="control" id="K=sUHHRv%tP$W}08,FM">
            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
            <field name="OID">s7.0.DBs.DB1.V0_6</field>
            <field name="WITH_DELAY">FALSE</field>
            <value name="VALUE">
            <block type="logic_boolean" id="Ae#YHo]3_cnZe`J[fL`">
            <field name="BOOL">TRUE</field>
            </block>
            </value>
            <next>
            <block type="variables_set" id="Gf{IPYAO0P+10i?TmC#b">
            <field name="VAR" id="YT^KfFwGaj[lMaI~H9ds">msg</field>
            <value name="VALUE">
            <block type="text" id="5WOq?D!{IjHwGH+yLKsp">
            <field name="TEXT">Pool - PV hat genug Überschuss für die Pumpe</field>
            </block>
            </value>
            <next>
            <block type="debug" id="}V8yp=6!4@1}0U#Tvt4">
            <field name="Severity">log</field>
            <value name="TEXT">
            <shadow type="text" id="Z]!BISY(c(_WfwoX/4+-">
            <field name="TEXT">test</field>
            </shadow>
            <block type="variables_get" id="PW/E0NZBIdXIE[^69#V7">
            <field name="VAR" id="YT^KfFwGaj[lMaI~H9ds">msg</field>
            </block>
            </value>
            </block>
            </next>
            </block>
            </next>
            </block>
            </statement>
            <value name="IF1">
            <block type="logic_operation" id="[Zbxx]nv;WGX|?b,cag9">
            <field name="OP">AND</field>
            <value name="A">
            <block type="logic_negate" id="):#M58`+e3VQT]R=yM#/">
            <value name="BOOL">
            <block type="variables_get" id="Y^5Ca`-4;+}#,eWzR,Ry">
            <field name="VAR" id="v2defQA^fYAm[#=DqhwK">ÜberschussPumpeVorhanden</field>
            </block>
            </value>
            </block>
            </value>
            <value name="B">
            <block type="get_value" id="IVUZmB_tx?9dU$:}O,E,">
            <field name="ATTR">val</field>
            <field name="OID">s7.0.DBs.DB1.V0_6</field>
            </block>
            </value>
            </block>
            </value>
            <statement name="DO1">
            <block type="control" id="6j2iEQYW_kMW+}bfF5H$">
            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
            <field name="OID">s7.0.DBs.DB1.V0_6</field>
            <field name="WITH_DELAY">FALSE</field>
            <value name="VALUE">
            <block type="logic_boolean" id="is$ClA_VY~5q/COy=n9}">
            <field name="BOOL">FALSE</field>
            </block>
            </value>
            <next>
            <block type="control" id="+p~Js-`:2PZ8,J;P;efB">
            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
            <field name="OID">javascript.0.Pool.TimerPumpe</field>
            <field name="WITH_DELAY">FALSE</field>
            <value name="VALUE">
            <block type="logic_boolean" id="aTS^K%5SgLM]L;u)}fti">
            <field name="BOOL">TRUE</field>
            </block>
            </value>
            <next>
            <block type="control" id="=)+/}59F4B42ekyg!=C`">
            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
            <field name="OID">javascript.0.Pool.TimerPumpe</field>
            <field name="WITH_DELAY">TRUE</field>
            <field name="DELAY_MS">3</field>
            <field name="UNIT">min</field>
            <field name="CLEAR_RUNNING">FALSE</field>
            <value name="VALUE">
            <block type="logic_boolean" id="9w9/fyk?mg#Pq(KXY~B?">
            <field name="BOOL">FALSE</field>
            </block>
            </value>
            <next>
            <block type="variables_set" id="y]uJ^znQf6{@uvv$l5(0">
            <field name="VAR" id="YT^KfFwGaj[lMaI~H9ds">msg</field>
            <value name="VALUE">
            <block type="text" id="XYu6dZ%PY?yyYrSO/,mW">
            <field name="TEXT">Pool - PV hat NICHT genug Überschuss für die Pumpe</field>
            </block>
            </value>
            <next>
            <block type="debug" id="L9#k0FBm0E7E5^2QVATk">
            <field name="Severity">log</field>
            <value name="TEXT">
            <shadow type="text">
            <field name="TEXT">test</field>
            </shadow>
            <block type="variables_get" id="zPDmAYG]BasxT=)olvG$">
            <field name="VAR" id="YT^KfFwGaj[lMaI~H9ds">msg</field>
            </block>
            </value>
            </block>
            </next>
            </block>
            </next>
            </block>
            </next>
            </block>
            </next>
            </block>
            </statement>
            <next>
            <block type="comment" id=")3Ut`i7G+Qj,!%TtRJ]x">
            <field name="COMMENT">Heizung 3335W</field>
            <next>
            <block type="controls_if" id="j;wwlLPZ]~4H1:Q8QoAq">
            <mutation elseif="1"></mutation>
            <value name="IF0">
            <block type="logic_operation" id=".VkyT?KaZtuU;6e3b37" inline="false">
            <field name="OP">AND</field>
            <value name="A">
            <block type="logic_operation" id="0OIzM~:7ic+8#UCZ.Skh" inline="false">
            <field name="OP">AND</field>
            <value name="A">
            <block type="variables_get" id="|5A
            !3I1
            ,UpBy~XaY4,">
            <field name="VAR" id="Ucrng#`NggG(VeK4j@^">ÜberschussWPvorhanden</field>
            </block>
            </value>
            <value name="B">
            <block type="logic_negate" id="}jFAlo7VUwp=Oyi3l9WT">
            <value name="BOOL">
            <block type="get_value" id="PQQ0]@%#NJHp,QW~l_wL">
            <field name="ATTR">val</field>
            <field name="OID">s7.0.DBs.DB1.V0_7</field>
            </block>
            </value>
            </block>
            </value>
            </block>
            </value>
            <value name="B">
            <block type="logic_negate" id="evie.sQM[7)B;!1,(c#A">
            <value name="BOOL">
            <block type="get_value" id="WX8@7]5FQZ}o-0LSwqDq">
            <field name="ATTR">val</field>
            <field name="OID">javascript.0.Pool.TimerWB</field>
            </block>
            </value>
            </block>
            </value>
            </block>
            </value>
            <statement name="DO0">
            <block type="control" id="e,22#NZ=%OP:gkumvqLd">
            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
            <field name="OID">s7.0.DBs.DB1.V0_7</field>
            <field name="WITH_DELAY">FALSE</field>
            <value name="VALUE">
            <block type="logic_boolean" id="Zuel,?84g}ZB(A3ew73l">
            <field name="BOOL">TRUE</field>
            </block>
            </value>
            <next>
            <block type="variables_set" id="Rn:+?N.f6Wuc!_eNgRs)">
            <field name="VAR" id="YT^KfFwGaj[lMaI~H9ds">msg</field>
            <value name="VALUE">
            <block type="text" id="UAm|Ag8d#)dC+wn+dVw]">
            <field name="TEXT">Pool - PV hat genug Überschuss für die Heizung</field>
            </block>
            </value>
            <next>
            <block type="debug" id="nwNaQJ
            ~MfU^1RRei0[">
            <field name="Severity">log</field>
            <value name="TEXT">
            <shadow type="text">
            <field name="TEXT">test</field>
            </shadow>
            <block type="variables_get" id="bpUmlNSR=f:gn#=~q,ab">
            <field name="VAR" id="YT^KfFwGaj[lMaI~H9ds">msg</field>
            </block>
            </value>
            </block>
            </next>
            </block>
            </next>
            </block>
            </statement>
            <value name="IF1">
            <block type="logic_operation" id=")Mv)1EjeAZ|cT#wr_YL=">
            <field name="OP">AND</field>
            <value name="A">
            <block type="logic_negate" id="|ZTUt_YfZ9bnyg$u$F~K">
            <value name="BOOL">
            <block type="variables_get" id="|veoRwK5hRkYO|}[Bo
            v">
            <field name="VAR" id="*Ucrng#`NggG(VeK4j@^">ÜberschussWPvorhanden</field>
            </block>
            </value>
            </block>
            </value>
            <value name="B">
            <block type="get_value" id="}6~TamFj+.%mf,mqEl`R">
            <field name="ATTR">val</field>
            <field name="OID">s7.0.DBs.DB1.V0_7</field>
            </block>
            </value>
            </block>
            </value>
            <statement name="DO1">
            <block type="control" id="L)w!Q)v0}89wdQqVSU@^">
            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
            <field name="OID">s7.0.DBs.DB1.V0_7</field>
            <field name="WITH_DELAY">FALSE</field>
            <value name="VALUE">
            <block type="logic_boolean" id="8=uh;Of8)!h|shBr#kKt">
            <field name="BOOL">FALSE</field>
            </block>
            </value>
            <next>
            <block type="control" id="YU5^YiINK?kESA-38I5=">
            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
            <field name="OID">javascript.0.Pool.TimerWB</field>
            <field name="WITH_DELAY">FALSE</field>
            <value name="VALUE">
            <block type="logic_boolean" id="|g;A{ha7UO9/lD.xV/W#">
            <field name="BOOL">TRUE</field>
            </block>
            </value>
            <next>
            <block type="control" id="0)-]u48V-6QdhPr#0`!u">
            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
            <field name="OID">javascript.0.Pool.TimerWB</field>
            <field name="WITH_DELAY">TRUE</field>
            <field name="DELAY_MS">10</field>
            <field name="UNIT">min</field>
            <field name="CLEAR_RUNNING">FALSE</field>
            <value name="VALUE">
            <block type="logic_boolean" id="JQw|mhhU#7xJkOc[z-yI">
            <field name="BOOL">FALSE</field>
            </block>
            </value>
            <next>
            <block type="variables_set" id="t@Q8@uv(R[k4VRe}7_cH">
            <field name="VAR" id="YT^KfFwGaj[lMaI~H9ds">msg</field>
            <value name="VALUE">
            <block type="text" id="]gtZG@8.qcHxm23R$IuA">
            <field name="TEXT">Pool - PV hat NICHT genug Überschuss für die Heizung</field>
            </block>
            </value>
            <next>
            <block type="debug" id="Z%IO[d@}w-Xi5up]h}vo">
            <field name="Severity">log</field>
            <value name="TEXT">
            <shadow type="text">
            <field name="TEXT">test</field>
            </shadow>
            <block type="variables_get" id="Qdj2iq[`O
            ?!c6%t#z{L">
            <field name="VAR" id="YT^KfFwGaj[lMaI~H9ds">msg</field>
            </block>
            </value>
            </block>
            </next>
            </block>
            </next>
            </block>
            </next>
            </block>
            </next>
            </block>
            </statement>
            </block>
            </next>
            </block>
            </next>
            </block>
            </next>
            </block>
            </next>
            </block>
            </next>
            </block>
            </next>
            </block>
            </statement>
            <next>
            <block type="comment" id=")#k(pIeQM)E;hrTLSk9l">
            <field name="COMMENT">Telegram</field>
            <next>
            <block type="on_ext" id="F+lbtqA{f8;XLqdySxtp">
            <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
            <field name="CONDITION">ne</field>
            <field name="ACK_CONDITION"></field>
            <value name="OID0">
            <shadow type="field_oid" id="VwY?YnFwu#I*@:ms0IA/">
            <field name="oid">default</field>
            </shadow>
            <block type="variables_get" id="^TmG;RQwp0_hZEX/C(d,">
            <field name="VAR" id="YT^KfFwGaj[lMaI~H9ds">msg</field>
            </block>
            </value>
            <statement name="STATEMENT">
            <block type="controls_if" id="s%}ulq+zW6ye!S+gGB;V">
            <value name="IF0">
            <block type="logic_compare" id="E328XNl=R,4SqMj0ajc$">
            <field name="OP">NEQ</field>
            <value name="A">
            <block type="variables_get" id="YOW5m9r@+[QRM4eDw`~M">
            <field name="VAR" id="YT^KfFwGaj[lMaI~H9ds">msg</field>
            </block>
            </value>
            <value name="B">
            <block type="text" id="%|}[o]@Y0#jQu*QE0b[S">
            <field name="TEXT"></field>
            </block>
            </value>
            </block>
            </value>
            <statement name="DO0">
            <block type="telegram" id="J$mn}RI8Qlff|HfZSCg/">
            <field name="INSTANCE"></field>
            <field name="LOG"></field>
            <field name="SILENT">FALSE</field>
            <field name="PARSEMODE">default</field>
            <value name="MESSAGE">
            <shadow type="text" id="p1d#c8aKL}j%dL)pvIiO">
            <field name="TEXT">text</field>
            </shadow>
            <block type="variables_get" id="f:jAr#5o8CA)S17?uyd$">
            <field name="VAR" id="YT^KfFwGaj[lMaI~H9ds">msg</field>
            </block>
            </value>
            </block>
            </statement>
            </block>
            </statement>
            </block>
            </next>
            </block>
            </next>
            </block>
            </next>
            </block>
            </xml>

            BG

            1 Antwort Letzte Antwort
            0
            • HumidorH Humidor

              @dslraser schon klar, was ist wenn icht state weg lasse?

              also, ich habe im Baustein Datenpunkt erzeugen eine Debug Ausgabe gemacht,
              nun fragt sich, wird bei jedem Start des Script der Datenpunkt wieder angelegt oder nur die Debugausgabe gemacht?
              dann noch diese warn ??

              javascript.0	2021-05-12 12:51:35.879	info	(10496) script.js.common.Pool: Pool - Objekt "Poo.Timer.WP" deklariert
              javascript.0	2021-05-12 12:51:35.878	info	(10496) script.js.common.Pool: Pool - Objekt "Poo.Timer.Pumpe" deklariert
              javascript.0	2021-05-12 12:51:35.866	info	(10496) script.js.common.Pool: registered 7 subscriptions and 0 schedules
              javascript.0	2021-05-12 12:51:35.859	info	(10496) Start javascript script.js.common.Pool
              javascript.0	2021-05-12 12:51:35.759	warn	(10496) unsubscribe: empty name
              javascript.0	2021-05-12 12:51:35.758	info	(10496) Stop script script.js.common.Pool
              javascript.0	2021-05-12 12:51:15.346	info	(10496) script.js.common.Pool: Pool - Objekt "Poo.Timer.WP" deklariert
              javascript.0	2021-05-12 12:51:15.345	info	(10496) script.js.common.Pool: Pool - Objekt "Poo.Timer.Pumpe" deklariert
              javascript.0	2021-05-12 12:51:15.339	info	(10496) script.js.common.Pool: registered 7 subscriptions and 0 schedules
              javascript.0	2021-05-12 12:51:15.330	info	(10496) Start javascript script.js.common.Pool
              javascript.0	2021-05-12 12:51:15.307	warn	(10496) unsubscribe: empty name
              javascript.0	2021-05-12 12:51:15.306	info	(10496) Stop script script.js.common.Pool
              
              dslraserD Offline
              dslraserD Offline
              dslraser
              Forum Testing Most Active
              schrieb am zuletzt editiert von dslraser
              #15

              @humidor sagte in Datenpunkt erzeugen, wenn es ihn nicht gibt ?:

              wird bei jedem Start des Script der Datenpunkt wieder angelegt oder nur die Debugausgabe gemacht

              was ich nicht genau weiß....ich denke angelegt wird er nicht neu, aber vielleicht mit den voreingestellten Werten Initialisiert (also beim Blockly Neustart oder JS-Adapter Neustart oder kompletten Neustart)

              warum setzt Du nicht die role wenn Du weißt was es wird ? ich weiß auch nicht ob es ohne role okay ist, oder sowieso vom admin angemeckert wird.

              EDIT: Ich habe es gerade an meinem Testbeispiel probiert. Beispiel switch, den habe ich angelegt mit init-wert wahr. Danach das Blockly angehalten und umgestellt auf falsch. Es blieb aber wahr erhalten...

              HumidorH 1 Antwort Letzte Antwort
              1
              • dslraserD dslraser

                @humidor sagte in Datenpunkt erzeugen, wenn es ihn nicht gibt ?:

                wird bei jedem Start des Script der Datenpunkt wieder angelegt oder nur die Debugausgabe gemacht

                was ich nicht genau weiß....ich denke angelegt wird er nicht neu, aber vielleicht mit den voreingestellten Werten Initialisiert (also beim Blockly Neustart oder JS-Adapter Neustart oder kompletten Neustart)

                warum setzt Du nicht die role wenn Du weißt was es wird ? ich weiß auch nicht ob es ohne role okay ist, oder sowieso vom admin angemeckert wird.

                EDIT: Ich habe es gerade an meinem Testbeispiel probiert. Beispiel switch, den habe ich angelegt mit init-wert wahr. Danach das Blockly angehalten und umgestellt auf falsch. Es blieb aber wahr erhalten...

                HumidorH Online
                HumidorH Online
                Humidor
                schrieb am zuletzt editiert von Humidor
                #16

                @dslraser habe eigentlich sogut wie nirgends eine Role drin, geschuldet der Unwissenheit....
                Bildschirmfoto 2021-05-12 um 13.07.28.png
                und wich will nicht mit "button" diesen Knopp angezeigt bekommen sondern den Wert

                BG

                dslraserD 2 Antworten Letzte Antwort
                0
                • HumidorH Humidor

                  @dslraser habe eigentlich sogut wie nirgends eine Role drin, geschuldet der Unwissenheit....
                  Bildschirmfoto 2021-05-12 um 13.07.28.png
                  und wich will nicht mit "button" diesen Knopp angezeigt bekommen sondern den Wert

                  dslraserD Offline
                  dslraserD Offline
                  dslraser
                  Forum Testing Most Active
                  schrieb am zuletzt editiert von
                  #17

                  @humidor sagte in Datenpunkt erzeugen, wenn es ihn nicht gibt ?:

                  und wich will nicht mit "button" diesen Knopp angezeigt bekommen sondern den Wert

                  ein Button hat normalerweise nur einen Zustand (entweder wahr oder falsch, aber umgeschaltet wird der eigentlich nicht, sondern nur aktualisiert) Dann wäre es ja ein switch

                  1 Antwort Letzte Antwort
                  0
                  • HumidorH Humidor

                    @dslraser habe eigentlich sogut wie nirgends eine Role drin, geschuldet der Unwissenheit....
                    Bildschirmfoto 2021-05-12 um 13.07.28.png
                    und wich will nicht mit "button" diesen Knopp angezeigt bekommen sondern den Wert

                    dslraserD Offline
                    dslraserD Offline
                    dslraser
                    Forum Testing Most Active
                    schrieb am zuletzt editiert von
                    #18

                    @humidor

                    EDIT gelesen ?

                    EDIT: Ich habe es gerade an meinem Testbeispiel probiert. Beispiel switch, den habe ich angelegt mit init-wert wahr. Danach das Blockly angehalten und umgestellt auf falsch. Es blieb aber wahr erhalten...

                    HumidorH 1 Antwort Letzte Antwort
                    0
                    • dslraserD dslraser

                      @humidor

                      EDIT gelesen ?

                      EDIT: Ich habe es gerade an meinem Testbeispiel probiert. Beispiel switch, den habe ich angelegt mit init-wert wahr. Danach das Blockly angehalten und umgestellt auf falsch. Es blieb aber wahr erhalten...

                      HumidorH Online
                      HumidorH Online
                      Humidor
                      schrieb am zuletzt editiert von
                      #19

                      @dslraser dh er macht die Deklaration bei jedem Script Neustart. Ist nicht ganz sauber.
                      richtig switch, hab wieder nicht runtergescrollt.

                      BG

                      dslraserD 1 Antwort Letzte Antwort
                      0
                      • HumidorH Humidor

                        @dslraser dh er macht die Deklaration bei jedem Script Neustart. Ist nicht ganz sauber.
                        richtig switch, hab wieder nicht runtergescrollt.

                        dslraserD Offline
                        dslraserD Offline
                        dslraser
                        Forum Testing Most Active
                        schrieb am zuletzt editiert von
                        #20

                        @humidor
                        hä, nein, wieso nicht ganz sauber ? Ist doch okay wenn nicht überschrieben wird

                        HumidorH 1 Antwort Letzte Antwort
                        0
                        • dslraserD dslraser

                          @humidor
                          hä, nein, wieso nicht ganz sauber ? Ist doch okay wenn nicht überschrieben wird

                          HumidorH Online
                          HumidorH Online
                          Humidor
                          schrieb am zuletzt editiert von Humidor
                          #21

                          @dslraser naja, ein vorhandenes Objekt neu "überschreiben" empfinde ich als nicht sauber, darum war auch meine Eingangsfrage, nur wenn nicht vorhanden

                          ich habe deine Angabe so interpretiert, dass überschrieben wird
                          du initialisierst mit true, dann stoppst und machst false rein, dann startet es und initialisiert wieder neu mit true

                          BG

                          dslraserD HumidorH 3 Antworten Letzte Antwort
                          0
                          • HumidorH Humidor

                            @dslraser

                            hab einen angelegt und es funktioniert ;)

                            wie sind hier die Einstellungen, gibts dazu eine Dok? kann man zBps. role weglassen?

                            { "role" : "" , "type" : "boolean" , "name" : "VerzögerungWP" , "smartName" : { "de" : "Verzögerung WP" , "smartType" : "SWITCH" }}
                            
                            paul53P Offline
                            paul53P Offline
                            paul53
                            schrieb am zuletzt editiert von
                            #22

                            @humidor sagte: gibts dazu eine Dok?

                            Ja, das Kernkonzept und die Datenpunkt-Rollen.

                            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

                            1 Antwort Letzte Antwort
                            0
                            • HumidorH Humidor

                              @dslraser naja, ein vorhandenes Objekt neu "überschreiben" empfinde ich als nicht sauber, darum war auch meine Eingangsfrage, nur wenn nicht vorhanden

                              ich habe deine Angabe so interpretiert, dass überschrieben wird
                              du initialisierst mit true, dann stoppst und machst false rein, dann startet es und initialisiert wieder neu mit true

                              dslraserD Offline
                              dslraserD Offline
                              dslraser
                              Forum Testing Most Active
                              schrieb am zuletzt editiert von
                              #23

                              @humidor sagte in Datenpunkt erzeugen, wenn es ihn nicht gibt ?:

                              @dslraser naja, ein vorhandenes Objekt neu "überschreiben" empfinde ich als nicht sauber, darum war auch meine Eingangsfrage, nur wenn nicht vorhanden

                              Das passiert ja auch nicht ! Liest Du eigentlich richtig ?
                              Es wird eben nicht überschrieben.

                              1 Antwort Letzte Antwort
                              1
                              • HumidorH Humidor

                                @dslraser naja, ein vorhandenes Objekt neu "überschreiben" empfinde ich als nicht sauber, darum war auch meine Eingangsfrage, nur wenn nicht vorhanden

                                ich habe deine Angabe so interpretiert, dass überschrieben wird
                                du initialisierst mit true, dann stoppst und machst false rein, dann startet es und initialisiert wieder neu mit true

                                HumidorH Online
                                HumidorH Online
                                Humidor
                                schrieb am zuletzt editiert von Humidor
                                #24

                                --gelöscht

                                BG

                                1 Antwort Letzte Antwort
                                0
                                • HumidorH Humidor

                                  @dslraser naja, ein vorhandenes Objekt neu "überschreiben" empfinde ich als nicht sauber, darum war auch meine Eingangsfrage, nur wenn nicht vorhanden

                                  ich habe deine Angabe so interpretiert, dass überschrieben wird
                                  du initialisierst mit true, dann stoppst und machst false rein, dann startet es und initialisiert wieder neu mit true

                                  dslraserD Offline
                                  dslraserD Offline
                                  dslraser
                                  Forum Testing Most Active
                                  schrieb am zuletzt editiert von dslraser
                                  #25

                                  @humidor sagte in Datenpunkt erzeugen, wenn es ihn nicht gibt ?:

                                  ich habe deine Angabe so interpretiert, dass überschrieben wird
                                  du initialisierst mit true, dann stoppst und machst false rein, dann startet es und initialisiert wieder neu mit true

                                  Ich habe den init-Wert im Blockly geändert, nicht den Datenpunkt.
                                  Deine Interpretation probiere ich gleich auch noch.

                                  EDIT:
                                  Auch wenn ich im Datenpunkt den Wert ändere und anschließend das Blockly neu starte wurde nicht überschrieben.

                                  HumidorH 1 Antwort Letzte Antwort
                                  0
                                  • dslraserD dslraser

                                    @humidor sagte in Datenpunkt erzeugen, wenn es ihn nicht gibt ?:

                                    ich habe deine Angabe so interpretiert, dass überschrieben wird
                                    du initialisierst mit true, dann stoppst und machst false rein, dann startet es und initialisiert wieder neu mit true

                                    Ich habe den init-Wert im Blockly geändert, nicht den Datenpunkt.
                                    Deine Interpretation probiere ich gleich auch noch.

                                    EDIT:
                                    Auch wenn ich im Datenpunkt den Wert ändere und anschließend das Blockly neu starte wurde nicht überschrieben.

                                    HumidorH Online
                                    HumidorH Online
                                    Humidor
                                    schrieb am zuletzt editiert von
                                    #26

                                    @dslraser super, dh. er macht dann nur meine Debug-Ausgabe ohne am Objekt was zu ändern, perfekt.

                                    BG

                                    1 Antwort Letzte Antwort
                                    0

                                    Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.

                                    Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.

                                    Mit deinem Input könnte dieser Beitrag noch besser werden 💗

                                    Registrieren Anmelden
                                    Antworten
                                    • In einem neuen Thema antworten
                                    Anmelden zum Antworten
                                    • Älteste zuerst
                                    • Neuste zuerst
                                    • Meiste Stimmen


                                    Support us

                                    ioBroker
                                    Community Adapters
                                    Donate

                                    527

                                    Online

                                    32.8k

                                    Benutzer

                                    82.8k

                                    Themen

                                    1.3m

                                    Beiträge
                                    Community
                                    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                    ioBroker Community 2014-2025
                                    logo
                                    • Anmelden

                                    • Du hast noch kein Konto? Registrieren

                                    • Anmelden oder registrieren, um zu suchen
                                    • Erster Beitrag
                                      Letzter Beitrag
                                    0
                                    • Home
                                    • Aktuell
                                    • Tags
                                    • Ungelesen 0
                                    • Kategorien
                                    • Unreplied
                                    • Beliebt
                                    • GitHub
                                    • Docu
                                    • Hilfe