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. Zeit seit letztem Regen für Rasenroboter [gelöst]

NEWS

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

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

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

Zeit seit letztem Regen für Rasenroboter [gelöst]

Scheduled Pinned Locked Moved Skripten / Logik
26 Posts 6 Posters 2.0k Views 7 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.
  • R reutli

    Hallo an alle,

    ich habe gerade ein bißchen im Forum gesucht aber nicht so wirklich eine Lösung gefunden...

    Ich habe einen Regensensor der bei Regen "trure" und folglich bie keinem Regen "false" meldet.
    Jetzt schicke ich per Skript bei Regen den Roboter heim.
    Bildschirmfoto 2024-07-21 um 10.57.29.png

    In einem nächsten Schritt würde ich gerne (in einer Schleife bzw. vergleichbarem) prüfen ob es schon länger als X Stunden nicht mehr geregnet hat, um den Roboter dann wieder nch Plan auf die Reise zu schicken.

    Im Grunde geht es also darum, zu prüfen, ob der Datenpunkt "Regensensor" bereits seit mehr als X Stunden auf "false" stehr und wenn X eingetreten ist, den Befehl zur Rückkehr in den "scheduled Modus" zu senden.
    Alternativ könnten natürlich auch einmal am Tag früh morgens geschaut werden,

    1. ob der Roboter geparkt ist
    2. ob er geparkt ist, weil vormals Regen war
    3. ob bereits X Stunden vergangen sind, seit kein Regen mehr gefallen ist

    Vielleicht gibt es da einen einfachen Ansatz?

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

    @reutli sagte: prüfen, ob der Datenpunkt "Regensensor" bereits seit mehr als X Stunden auf "false"

    "Letzte Änderung" enthält die Information in ms.

    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

    HomoranH R 2 Replies Last reply
    0
    • K Kanumouse

      @reutli
      Wenn es dir hilft, ich habe das so gelöst.

      Wenn der Regensensor Regen meldet, starte ich einen Timer von 5 min. Wenn es danach immer noch regnet, schicke icg den Mähroboter in die Garage. Das soll verhindern, dass der Mähroboter schon beim ersten Regentropfen in die Garage fährt.
      Meldet der Regensensor Trockenheit, so starte ich einen zweiten Timer und warte eine Stunde bis der Rasen wieder etwas abgetrocknet ist. Dann schicke ich den Mähroboter wieder zum Mähen.

      <xml xmlns="https://developers.google.com/blockly/xml">
        <variables>
          <variable id=")qq.XN{O][a,8$TMF:61">Regenparken</variable>
          <variable type="timeout" id="timeout">timeout</variable>
          <variable type="timeout" id="timeout2">timeout2</variable>
        </variables>
        <block type="comment" id="9z:eQ68dD}T5T1g,7WtN" x="-1212" y="-287">
          <field name="COMMENT">Hussi-Regensteuerung</field>
          <next>
            <block type="create" id="|mRCi9LiQnrZGTClXag]">
              <field name="NAME">javascript.0.Eigene_Datenpunkte.timer1</field>
              <value name="VALUE">
                <block type="math_number" id="DZ3,^7e6Z$V7`6MXrgq;">
                  <field name="NUM">0</field>
                </block>
              </value>
              <value name="COMMON">
                <block type="text" id="9#:DwIgyWO`h.2k;p*:X">
                  <field name="TEXT">{"type":"number"}</field>
                </block>
              </value>
              <next>
                <block type="create" id="seqn|CEE5rux6bP!{f1-">
                  <field name="NAME">javascript.0.Eigene_Datenpunkte.timer2</field>
                  <value name="VALUE">
                    <block type="math_number" id=",7(y*c0ZPH5wt`;X=f.v">
                      <field name="NUM">0</field>
                    </block>
                  </value>
                  <value name="COMMON">
                    <block type="text" id="lACtWRpm8vzH9$B#5Kd#">
                      <field name="TEXT">{"type":"number"}</field>
                    </block>
                  </value>
                  <next>
                    <block type="control" id="{KMLZ2:]*_vsOPFE8JOY">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                      <field name="OID">javascript.0.Eigene_Datenpunkte.timer1</field>
                      <field name="WITH_DELAY">FALSE</field>
                      <value name="VALUE">
                        <block type="math_number" id="LV4n8z+[yVBQHO,d/b$b">
                          <field name="NUM">0</field>
                        </block>
                      </value>
                      <next>
                        <block type="control" id="^q{W(o{yBx;i?AMy-RUK">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                          <field name="OID">javascript.0.Eigene_Datenpunkte.timer2</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="math_number" id="nRp~%`dR6IMu`g~@K#l0">
                              <field name="NUM">0</field>
                            </block>
                          </value>
                          <next>
                            <block type="variables_set" id="7v]Po/X[}%(^`_m^:~%g">
                              <field name="VAR" id=")qq.XN{O][a,8$TMF:61">Regenparken</field>
                              <value name="VALUE">
                                <block type="logic_boolean" id="V/uqATq;LxYo_.GE(H5g">
                                  <field name="BOOL">FALSE</field>
                                </block>
                              </value>
                              <next>
                                <block type="controls_if" id="^k$D0(0#$pnNFRSfJaU]">
                                  <value name="IF0">
                                    <block type="time_compare_ex" id="MG)jhP^Y$N5xF8P^o6@C">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true" actual_time="true"></mutation>
                                      <field name="USE_ACTUAL_TIME">TRUE</field>
                                      <field name="OPTION">between</field>
                                      <value name="START_TIME">
                                        <shadow type="text" id="[[3{)Hcj+Iq^;=+RuB65">
                                          <field name="TEXT">10:00</field>
                                        </shadow>
                                      </value>
                                      <value name="END_TIME">
                                        <shadow type="text" id="+GZ~s1daq5NE)*M10l#T">
                                          <field name="TEXT">17:00</field>
                                        </shadow>
                                      </value>
                                    </block>
                                  </value>
                                  <statement name="DO0">
                                    <block type="on_ext" id="5rsrba8`+NZ:dEs%9Uwd">
                                      <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="0D?JC2+buJ0}-O1F^QU_">
                                          <field name="oid">hm-rega.0.39780</field>
                                        </shadow>
                                      </value>
                                      <statement name="STATEMENT">
                                        <block type="controls_if" id="i9#z8!YlZX(!l^~EK+M9">
                                          <mutation else="1"></mutation>
                                          <value name="IF0">
                                            <block type="logic_operation" id="e7!|]bu$XZNe_26rQ+[Q">
                                              <field name="OP">AND</field>
                                              <value name="A">
                                                <block type="logic_compare" id="_q-@j$3W/,HX_LMr21?T">
                                                  <field name="OP">EQ</field>
                                                  <value name="A">
                                                    <block type="get_value" id="E{@q2)yc0C7f+S)uHZlI">
                                                      <field name="ATTR">val</field>
                                                      <field name="OID">hm-rega.0.39780</field>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <block type="logic_boolean" id="*Sa)?zi4;1~xX77tCaw.">
                                                      <field name="BOOL">TRUE</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="logic_multi_or" id="6Q6;G;an9/tmO(~HqD~y">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" items="3"></mutation>
                                                  <value name="OR0">
                                                    <block type="logic_compare" id="7CQ|ysAGb}n%O%t*1+?T">
                                                      <field name="OP">EQ</field>
                                                      <value name="A">
                                                        <block type="get_value" id="?SD4o|;[CW`~R[k_BI88">
                                                          <field name="ATTR">val</field>
                                                          <field name="OID">husqvarna-automower.0.3f4a276f-9fb2-440e-bcea-98f5f04880d2.mower.activity</field>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="text" id="3AECFhRnNkQlKR|HP%^{">
                                                          <field name="TEXT">MOWING</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <value name="OR1">
                                                    <block type="logic_compare" id="+(GXM(i06?VJkvT:VIyM">
                                                      <field name="OP">EQ</field>
                                                      <value name="A">
                                                        <block type="get_value" id=")*~cFLTuXQkETdS-sUsl">
                                                          <field name="ATTR">val</field>
                                                          <field name="OID">husqvarna-automower.0.3f4a276f-9fb2-440e-bcea-98f5f04880d2.mower.activity</field>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="text" id="=Kv|(SI/Wc*L6NbR#xcU">
                                                          <field name="TEXT">PARKED_IN_CS</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <value name="OR2">
                                                    <block type="logic_compare" id=":A/Wg-i,WQw_/WU]uuwQ">
                                                      <field name="OP">EQ</field>
                                                      <value name="A">
                                                        <block type="get_value" id=";]VsIuTM_kGh?9QP,BYp">
                                                          <field name="ATTR">val</field>
                                                          <field name="OID">husqvarna-automower.0.3f4a276f-9fb2-440e-bcea-98f5f04880d2.mower.activity</field>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="text" id="PbvFKep_fo_G=dEHqD|5">
                                                          <field name="TEXT">CHARGING</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <statement name="DO0">
                                            <block type="control" id="dh*}[_{!@{Fu%g[`fT!Y">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">javascript.0.Eigene_Datenpunkte.timer1</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="math_number" id="?$yE|_tk5[*mv!L)HjFF">
                                                  <field name="NUM">5</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="control" id="Lxk4Nh2)Vo|Ve~;ts0a[">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                  <field name="OID">javascript.0.Eigene_Datenpunkte.timer2</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="math_number" id="6!da8^Z.8Q33O]nxosNy">
                                                      <field name="NUM">0</field>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="on" id="WrKQdt/.YQDt=!b%6ajb">
                                                      <field name="OID">javascript.0.Eigene_Datenpunkte.timer1</field>
                                                      <field name="CONDITION">ne</field>
                                                      <field name="ACK_CONDITION"></field>
                                                      <statement name="STATEMENT">
                                                        <block type="controls_if" id="Pk:{n1##~|t#fBZ#h`-%">
                                                          <mutation else="1"></mutation>
                                                          <value name="IF0">
                                                            <block type="on_source" id="pI1%7lkqkXMc%8?61v#1">
                                                              <field name="ATTR">state.val</field>
                                                            </block>
                                                          </value>
                                                          <statement name="DO0">
                                                            <block type="timeouts_cleartimeout" id="087c(RRd06U=:DniKyu/">
                                                              <field name="NAME">timeout</field>
                                                              <next>
                                                                <block type="timeouts_settimeout" id="r=bH@y~!#FS*{]^tf%s}">
                                                                  <field name="NAME">timeout</field>
                                                                  <field name="DELAY">1</field>
                                                                  <field name="UNIT">min</field>
                                                                  <statement name="STATEMENT">
                                                                    <block type="update" id="_Zx93ErD+Ahe~(?Y=vop">
                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                      <field name="OID">javascript.0.Eigene_Datenpunkte.timer1</field>
                                                                      <field name="WITH_DELAY">FALSE</field>
                                                                      <value name="VALUE">
                                                                        <block type="math_arithmetic" id="p(;H*eC!l~4Bz^BtD}px">
                                                                          <field name="OP">MINUS</field>
                                                                          <value name="A">
                                                                            <shadow type="math_number" id="55vyY[_{qWz8mmJ1`w;U">
                                                                              <field name="NUM">1</field>
                                                                            </shadow>
                                                                            <block type="on_source" id="Ie)ceo9*dN[e`Kd9-crg">
                                                                              <field name="ATTR">state.val</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <shadow type="math_number" id="h7@p?ht_M],G#C!P$v?b">
                                                                              <field name="NUM">1</field>
                                                                            </shadow>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </statement>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </statement>
                                                          <statement name="ELSE">
                                                            <block type="timeouts_cleartimeout" id="v(9Lz44geUh4?d1B,.,*">
                                                              <field name="NAME">timeout</field>
                                                              <next>
                                                                <block type="controls_if" id="!{Rd?fl@cyYAu?i~aA}Y">
                                                                  <value name="IF0">
                                                                    <block type="logic_compare" id="AHtg}Ja?rD-hIt9{AP[z">
                                                                      <field name="OP">EQ</field>
                                                                      <value name="A">
                                                                        <block type="on_source" id="^nW|0S`%nyMZ|wqKkds|">
                                                                          <field name="ATTR">oldState.val</field>
                                                                        </block>
                                                                      </value>
                                                                      <value name="B">
                                                                        <block type="math_number" id="uq0;rtUN68CxUwr|K@qw">
                                                                          <field name="NUM">1</field>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                  <statement name="DO0">
                                                                    <block type="controls_if" id="/m/bU8P)+cSaDd;z?ZUK">
                                                                      <value name="IF0">
                                                                        <block type="logic_operation" id="CQ{!V=+gKxBVk+^+Oh#{">
                                                                          <field name="OP">AND</field>
                                                                          <value name="A">
                                                                            <block type="logic_compare" id="/!7u5iO#C9kBOBJ3xF_o">
                                                                              <field name="OP">EQ</field>
                                                                              <value name="A">
                                                                                <block type="get_value" id="QTY$gMl+gmzO=;?`;6Mm">
                                                                                  <field name="ATTR">val</field>
                                                                                  <field name="OID">hm-rega.0.39780</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block type="logic_boolean" id="?Qz3evo,zRJM}_g4u8A]">
                                                                                  <field name="BOOL">TRUE</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <block type="logic_compare" id="?$93mY$m1pCi=K]ZlZ1y">
                                                                              <field name="OP">EQ</field>
                                                                              <value name="A">
                                                                                <block type="get_value" id="(yb@?sX4INe/[)N$jx{^">
                                                                                  <field name="ATTR">val</field>
                                                                                  <field name="OID">husqvarna-automower.0.3f4a276f-9fb2-440e-bcea-98f5f04880d2.mower.activity</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block type="text" id="};i:kI1*{JSBVL/x~3[n">
                                                                                  <field name="TEXT">MOWING</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <statement name="DO0">
                                                                        <block type="debug" id="y8=JPszZlvqQ6,#y#d;*">
                                                                          <field name="Severity">info</field>
                                                                          <value name="TEXT">
                                                                            <shadow type="text" id="Qzs!bg-Xe7mZH`NhSXR@">
                                                                              <field name="TEXT">Mäher in Garage</field>
                                                                            </shadow>
                                                                          </value>
                                                                          <next>
                                                                            <block type="comment" id="iLlL_0Byo7`=#},@=W^9">
                                                                              <field name="COMMENT">Befehl für Fahrt in Garage</field>
                                                                              <next>
                                                                                <block type="control" id="Fyg(e;4D!YvUjeq*NO-O">
                                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                  <field name="OID">husqvarna-automower.0.3f4a276f-9fb2-440e-bcea-98f5f04880d2.ACTIONS.PARKUNTILFURTHERNOTICE</field>
                                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                                  <value name="VALUE">
                                                                                    <block type="logic_boolean" id="E-7Tb`3H9iJIx4+6)I[,">
                                                                                      <field name="BOOL">TRUE</field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <next>
                                                                                    <block type="variables_set" id="K#FeH+s2JQ$lD-ui,ZDT">
                                                                                      <field name="VAR" id=")qq.XN{O][a,8$TMF:61">Regenparken</field>
                                                                                      <value name="VALUE">
                                                                                        <block type="logic_boolean" id="s||NjE0yaJ,/Gs,%aV?9">
                                                                                          <field name="BOOL">TRUE</field>
                                                                                        </block>
                                                                                      </value>
                                                                                      <next>
                                                                                        <block type="control" id="8zNO=M/8{.[x/dNEJBDl">
                                                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                          <field name="OID">javascript.0.Eigene_Datenpunkte.timer1</field>
                                                                                          <field name="WITH_DELAY">FALSE</field>
                                                                                          <value name="VALUE">
                                                                                            <block type="math_number" id="G(Z@XnrL*(sfs`+4mAo,">
                                                                                              <field name="NUM">0</field>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </next>
                                                                                    </block>
                                                                                  </next>
                                                                                </block>
                                                                              </next>
                                                                            </block>
                                                                          </next>
                                                                        </block>
                                                                      </statement>
                                                                    </block>
                                                                  </statement>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </statement>
                                                        </block>
                                                      </statement>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </statement>
                                          <statement name="ELSE">
                                            <block type="controls_if" id="u`/vnmuDbpwt$LgNbrJ;">
                                              <value name="IF0">
                                                <block type="logic_multi_and" id="C/CRiYQFU`1kzZcn.UK`">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                                  <value name="AND0">
                                                    <block type="logic_operation" id="dgr:4!wI`(Nn5a#]gf#d">
                                                      <field name="OP">AND</field>
                                                      <value name="A">
                                                        <block type="logic_compare" id=".967A^iP~|EY7nv-N*?S">
                                                          <field name="OP">EQ</field>
                                                          <value name="A">
                                                            <block type="get_value" id="}W9M;wH{g|Bp.LZUWp=S">
                                                              <field name="ATTR">val</field>
                                                              <field name="OID">hm-rega.0.39780</field>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block type="logic_boolean" id="bLkii9`N@_R76G-XGE[d">
                                                              <field name="BOOL">FALSE</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="logic_compare" id="XErs/^~n-a,0$DmwkK]s">
                                                          <field name="OP">NEQ</field>
                                                          <value name="A">
                                                            <block type="get_value" id="/8ThBMq}B~d-TQP#gBc8">
                                                              <field name="ATTR">val</field>
                                                              <field name="OID">husqvarna-automower.0.3f4a276f-9fb2-440e-bcea-98f5f04880d2.mower.activity</field>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block type="text" id="Ye@0CvKo1nPND*^e?D!x">
                                                              <field name="TEXT">MOWING</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <value name="AND1">
                                                    <block type="logic_compare" id="V)zCJ}o#ZMvV.dyx(G(A">
                                                      <field name="OP">EQ</field>
                                                      <value name="A">
                                                        <block type="variables_get" id="uE4`2=n5UM+Z]p:;i-:z">
                                                          <field name="VAR" id=")qq.XN{O][a,8$TMF:61">Regenparken</field>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="logic_boolean" id="qUQc61F5!Ai/[Qc*i}J]">
                                                          <field name="BOOL">TRUE</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <statement name="DO0">
                                                <block type="control" id=":.;+zIOp8O#-o[Y{6?tq">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                  <field name="OID">javascript.0.Eigene_Datenpunkte.timer2</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="math_number" id="8KRr=]~CFTkAjXMQk-sR">
                                                      <field name="NUM">60</field>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="control" id="HNd08hkJBl#u-5mhJ-eX">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                      <field name="OID">javascript.0.Eigene_Datenpunkte.timer1</field>
                                                      <field name="WITH_DELAY">FALSE</field>
                                                      <value name="VALUE">
                                                        <block type="math_number" id="vc;I:0d~u_t/f3dkOY6q">
                                                          <field name="NUM">0</field>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="on" id="]8_pYI@p2ApOWixz%bGT">
                                                          <field name="OID">javascript.0.Eigene_Datenpunkte.timer2</field>
                                                          <field name="CONDITION">ne</field>
                                                          <field name="ACK_CONDITION"></field>
                                                          <statement name="STATEMENT">
                                                            <block type="controls_if" id="v3khv3!KdVu9COV+g;-7">
                                                              <mutation else="1"></mutation>
                                                              <value name="IF0">
                                                                <block type="on_source" id="U^@0$f)Th/T^rhFZz8DX">
                                                                  <field name="ATTR">state.val</field>
                                                                </block>
                                                              </value>
                                                              <statement name="DO0">
                                                                <block type="timeouts_cleartimeout" id="*m2DhGD@uS]_,SBUG_;/">
                                                                  <field name="NAME">timeout2</field>
                                                                  <next>
                                                                    <block type="timeouts_settimeout" id="ILDx,GSIx=PlF|Qunfc3">
                                                                      <field name="NAME">timeout2</field>
                                                                      <field name="DELAY">1</field>
                                                                      <field name="UNIT">min</field>
                                                                      <statement name="STATEMENT">
                                                                        <block type="update" id="Xl.5Tnhix23epJFlAY[8">
                                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                          <field name="OID">javascript.0.Eigene_Datenpunkte.timer2</field>
                                                                          <field name="WITH_DELAY">FALSE</field>
                                                                          <value name="VALUE">
                                                                            <block type="math_arithmetic" id="BGIM20ap!~hd=WoNC]iz">
                                                                              <field name="OP">MINUS</field>
                                                                              <value name="A">
                                                                                <shadow type="math_number" id="55vyY[_{qWz8mmJ1`w;U">
                                                                                  <field name="NUM">1</field>
                                                                                </shadow>
                                                                                <block type="on_source" id="q?YZa_l.Z?)mBHSbk1e_">
                                                                                  <field name="ATTR">state.val</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <shadow type="math_number" id="r;R$kn3*fXMz=ZP!TDa`">
                                                                                  <field name="NUM">1</field>
                                                                                </shadow>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </statement>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </statement>
                                                              <statement name="ELSE">
                                                                <block type="timeouts_cleartimeout" id="GD.l)vz(EHefKK!ri(]/">
                                                                  <field name="NAME">timeout2</field>
                                                                  <next>
                                                                    <block type="controls_if" id="{ojTRC8FxQ42ofH]sJft">
                                                                      <value name="IF0">
                                                                        <block type="logic_compare" id="=f8[i|fgPHzDr(BzPeGT">
                                                                          <field name="OP">EQ</field>
                                                                          <value name="A">
                                                                            <block type="on_source" id="o)Z;02qL1gp/aApEyDIU">
                                                                              <field name="ATTR">oldState.val</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <block type="math_number" id="?zL?_73g5Zv8e4|(n0W4">
                                                                              <field name="NUM">1</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <statement name="DO0">
                                                                        <block type="controls_if" id="Uk2XT+NR=w9NK@W[4gow">
                                                                          <value name="IF0">
                                                                            <block type="logic_operation" id="fc:x_*wZYVptty.h^Jq`">
                                                                              <field name="OP">AND</field>
                                                                              <value name="A">
                                                                                <block type="logic_compare" id="`-fw#8{HlmU(M6H81]CF">
                                                                                  <field name="OP">EQ</field>
                                                                                  <value name="A">
                                                                                    <block type="get_value" id="m.h@^NM8x6zg9x:;+R2|">
                                                                                      <field name="ATTR">val</field>
                                                                                      <field name="OID">hm-rega.0.39780</field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="B">
                                                                                    <block type="logic_boolean" id=".lZ@^0(oJfe,K|JI?!re">
                                                                                      <field name="BOOL">FALSE</field>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block type="logic_compare" id="3Ok!(LT|U4O=#WD8M.)H">
                                                                                  <field name="OP">NEQ</field>
                                                                                  <value name="A">
                                                                                    <block type="get_value" id="6JLSE%IBG;FQ4dc/;M)v">
                                                                                      <field name="ATTR">val</field>
                                                                                      <field name="OID">husqvarna-automower.0.3f4a276f-9fb2-440e-bcea-98f5f04880d2.mower.activity</field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="B">
                                                                                    <block type="text" id="Hl(di$$o8Y9YPR=2D`Yx">
                                                                                      <field name="TEXT">MOWING</field>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <statement name="DO0">
                                                                            <block type="debug" id="ZDlpyQx6u3W[#m3v{5h*">
                                                                              <field name="Severity">info</field>
                                                                              <value name="TEXT">
                                                                                <shadow type="text" id="-v;#Zbs`SR[`pw39^2nQ">
                                                                                  <field name="TEXT">Mäher fährt wieder</field>
                                                                                </shadow>
                                                                              </value>
                                                                              <next>
                                                                                <block type="comment" id="iK/O$w4);:Cf_M.F`IeD">
                                                                                  <field name="COMMENT">Befehl für weiteres Mähen</field>
                                                                                  <next>
                                                                                    <block type="control" id="Kc*?YSX/]=F@y$=febg%">
                                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                      <field name="OID">husqvarna-automower.0.3f4a276f-9fb2-440e-bcea-98f5f04880d2.ACTIONS.RESUMESCHEDULE</field>
                                                                                      <field name="WITH_DELAY">FALSE</field>
                                                                                      <value name="VALUE">
                                                                                        <block type="logic_boolean" id="fAdKH)qH(o^Mm3`IrPML">
                                                                                          <field name="BOOL">TRUE</field>
                                                                                        </block>
                                                                                      </value>
                                                                                      <next>
                                                                                        <block type="variables_set" id="Unc(c~7@01JKv`Hx|OsW">
                                                                                          <field name="VAR" id=")qq.XN{O][a,8$TMF:61">Regenparken</field>
                                                                                          <value name="VALUE">
                                                                                            <block type="logic_boolean" id="nz/|@Xu%r,,o+|F2_oOQ">
                                                                                              <field name="BOOL">FALSE</field>
                                                                                            </block>
                                                                                          </value>
                                                                                          <next>
                                                                                            <block type="control" id="!w3)x/;7fdreW$8*mg?m">
                                                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                              <field name="OID">javascript.0.Eigene_Datenpunkte.timer2</field>
                                                                                              <field name="WITH_DELAY">FALSE</field>
                                                                                              <value name="VALUE">
                                                                                                <block type="math_number" id="k_UI/n?9_Dmkq;RNzrO#">
                                                                                                  <field name="NUM">0</field>
                                                                                                </block>
                                                                                              </value>
                                                                                            </block>
                                                                                          </next>
                                                                                        </block>
                                                                                      </next>
                                                                                    </block>
                                                                                  </next>
                                                                                </block>
                                                                              </next>
                                                                            </block>
                                                                          </statement>
                                                                        </block>
                                                                      </statement>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </statement>
                                                            </block>
                                                          </statement>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </statement>
                                            </block>
                                          </statement>
                                        </block>
                                      </statement>
                                    </block>
                                  </statement>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </next>
            </block>
          </next>
        </block>
      </xml>
      
      R Online
      R Online
      reutli
      wrote on last edited by
      #6

      @kanumouse

      Deinen Ansatz habe ich verstanden, das Blockly aber ehrlich gesagt nicht. Auch sind da Trigger in Trigger, was nicht so optimal ist.
      Denke ich muss da nochmals forschen....

      BITTE BEACHTET DOCH DAS: https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge
      iobroker in Debian-VM auf Proxmox Server (Ryzen 7 / 32GB / 1TB NVMe SSD) als Master - mehrere Raspberry Pis (3+4) als Slaves. InfluxDB V2 und Grafana auf LXC.

      *Wer freundlich ist, dem wird freundlich geholfen *

      1 Reply Last reply
      0
      • paul53P paul53

        @reutli sagte: prüfen, ob der Datenpunkt "Regensensor" bereits seit mehr als X Stunden auf "false"

        "Letzte Änderung" enthält die Information in ms.

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

        @paul53 Da war auch mein Denkfehler!

        es gibt ja nach x Minuten Trockenheit keine Änderung

        kein Support per PN! - Fragen im Forum stellen -
        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
        Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton im Header. Danke!
        der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

        1 Reply Last reply
        0
        • K Kanumouse

          @reutli
          Wenn es dir hilft, ich habe das so gelöst.

          Wenn der Regensensor Regen meldet, starte ich einen Timer von 5 min. Wenn es danach immer noch regnet, schicke icg den Mähroboter in die Garage. Das soll verhindern, dass der Mähroboter schon beim ersten Regentropfen in die Garage fährt.
          Meldet der Regensensor Trockenheit, so starte ich einen zweiten Timer und warte eine Stunde bis der Rasen wieder etwas abgetrocknet ist. Dann schicke ich den Mähroboter wieder zum Mähen.

          <xml xmlns="https://developers.google.com/blockly/xml">
            <variables>
              <variable id=")qq.XN{O][a,8$TMF:61">Regenparken</variable>
              <variable type="timeout" id="timeout">timeout</variable>
              <variable type="timeout" id="timeout2">timeout2</variable>
            </variables>
            <block type="comment" id="9z:eQ68dD}T5T1g,7WtN" x="-1212" y="-287">
              <field name="COMMENT">Hussi-Regensteuerung</field>
              <next>
                <block type="create" id="|mRCi9LiQnrZGTClXag]">
                  <field name="NAME">javascript.0.Eigene_Datenpunkte.timer1</field>
                  <value name="VALUE">
                    <block type="math_number" id="DZ3,^7e6Z$V7`6MXrgq;">
                      <field name="NUM">0</field>
                    </block>
                  </value>
                  <value name="COMMON">
                    <block type="text" id="9#:DwIgyWO`h.2k;p*:X">
                      <field name="TEXT">{"type":"number"}</field>
                    </block>
                  </value>
                  <next>
                    <block type="create" id="seqn|CEE5rux6bP!{f1-">
                      <field name="NAME">javascript.0.Eigene_Datenpunkte.timer2</field>
                      <value name="VALUE">
                        <block type="math_number" id=",7(y*c0ZPH5wt`;X=f.v">
                          <field name="NUM">0</field>
                        </block>
                      </value>
                      <value name="COMMON">
                        <block type="text" id="lACtWRpm8vzH9$B#5Kd#">
                          <field name="TEXT">{"type":"number"}</field>
                        </block>
                      </value>
                      <next>
                        <block type="control" id="{KMLZ2:]*_vsOPFE8JOY">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                          <field name="OID">javascript.0.Eigene_Datenpunkte.timer1</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="math_number" id="LV4n8z+[yVBQHO,d/b$b">
                              <field name="NUM">0</field>
                            </block>
                          </value>
                          <next>
                            <block type="control" id="^q{W(o{yBx;i?AMy-RUK">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">javascript.0.Eigene_Datenpunkte.timer2</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="math_number" id="nRp~%`dR6IMu`g~@K#l0">
                                  <field name="NUM">0</field>
                                </block>
                              </value>
                              <next>
                                <block type="variables_set" id="7v]Po/X[}%(^`_m^:~%g">
                                  <field name="VAR" id=")qq.XN{O][a,8$TMF:61">Regenparken</field>
                                  <value name="VALUE">
                                    <block type="logic_boolean" id="V/uqATq;LxYo_.GE(H5g">
                                      <field name="BOOL">FALSE</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="controls_if" id="^k$D0(0#$pnNFRSfJaU]">
                                      <value name="IF0">
                                        <block type="time_compare_ex" id="MG)jhP^Y$N5xF8P^o6@C">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true" actual_time="true"></mutation>
                                          <field name="USE_ACTUAL_TIME">TRUE</field>
                                          <field name="OPTION">between</field>
                                          <value name="START_TIME">
                                            <shadow type="text" id="[[3{)Hcj+Iq^;=+RuB65">
                                              <field name="TEXT">10:00</field>
                                            </shadow>
                                          </value>
                                          <value name="END_TIME">
                                            <shadow type="text" id="+GZ~s1daq5NE)*M10l#T">
                                              <field name="TEXT">17:00</field>
                                            </shadow>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO0">
                                        <block type="on_ext" id="5rsrba8`+NZ:dEs%9Uwd">
                                          <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="0D?JC2+buJ0}-O1F^QU_">
                                              <field name="oid">hm-rega.0.39780</field>
                                            </shadow>
                                          </value>
                                          <statement name="STATEMENT">
                                            <block type="controls_if" id="i9#z8!YlZX(!l^~EK+M9">
                                              <mutation else="1"></mutation>
                                              <value name="IF0">
                                                <block type="logic_operation" id="e7!|]bu$XZNe_26rQ+[Q">
                                                  <field name="OP">AND</field>
                                                  <value name="A">
                                                    <block type="logic_compare" id="_q-@j$3W/,HX_LMr21?T">
                                                      <field name="OP">EQ</field>
                                                      <value name="A">
                                                        <block type="get_value" id="E{@q2)yc0C7f+S)uHZlI">
                                                          <field name="ATTR">val</field>
                                                          <field name="OID">hm-rega.0.39780</field>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="logic_boolean" id="*Sa)?zi4;1~xX77tCaw.">
                                                          <field name="BOOL">TRUE</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <block type="logic_multi_or" id="6Q6;G;an9/tmO(~HqD~y">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" items="3"></mutation>
                                                      <value name="OR0">
                                                        <block type="logic_compare" id="7CQ|ysAGb}n%O%t*1+?T">
                                                          <field name="OP">EQ</field>
                                                          <value name="A">
                                                            <block type="get_value" id="?SD4o|;[CW`~R[k_BI88">
                                                              <field name="ATTR">val</field>
                                                              <field name="OID">husqvarna-automower.0.3f4a276f-9fb2-440e-bcea-98f5f04880d2.mower.activity</field>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block type="text" id="3AECFhRnNkQlKR|HP%^{">
                                                              <field name="TEXT">MOWING</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <value name="OR1">
                                                        <block type="logic_compare" id="+(GXM(i06?VJkvT:VIyM">
                                                          <field name="OP">EQ</field>
                                                          <value name="A">
                                                            <block type="get_value" id=")*~cFLTuXQkETdS-sUsl">
                                                              <field name="ATTR">val</field>
                                                              <field name="OID">husqvarna-automower.0.3f4a276f-9fb2-440e-bcea-98f5f04880d2.mower.activity</field>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block type="text" id="=Kv|(SI/Wc*L6NbR#xcU">
                                                              <field name="TEXT">PARKED_IN_CS</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <value name="OR2">
                                                        <block type="logic_compare" id=":A/Wg-i,WQw_/WU]uuwQ">
                                                          <field name="OP">EQ</field>
                                                          <value name="A">
                                                            <block type="get_value" id=";]VsIuTM_kGh?9QP,BYp">
                                                              <field name="ATTR">val</field>
                                                              <field name="OID">husqvarna-automower.0.3f4a276f-9fb2-440e-bcea-98f5f04880d2.mower.activity</field>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block type="text" id="PbvFKep_fo_G=dEHqD|5">
                                                              <field name="TEXT">CHARGING</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <statement name="DO0">
                                                <block type="control" id="dh*}[_{!@{Fu%g[`fT!Y">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                  <field name="OID">javascript.0.Eigene_Datenpunkte.timer1</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="math_number" id="?$yE|_tk5[*mv!L)HjFF">
                                                      <field name="NUM">5</field>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="control" id="Lxk4Nh2)Vo|Ve~;ts0a[">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                      <field name="OID">javascript.0.Eigene_Datenpunkte.timer2</field>
                                                      <field name="WITH_DELAY">FALSE</field>
                                                      <value name="VALUE">
                                                        <block type="math_number" id="6!da8^Z.8Q33O]nxosNy">
                                                          <field name="NUM">0</field>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="on" id="WrKQdt/.YQDt=!b%6ajb">
                                                          <field name="OID">javascript.0.Eigene_Datenpunkte.timer1</field>
                                                          <field name="CONDITION">ne</field>
                                                          <field name="ACK_CONDITION"></field>
                                                          <statement name="STATEMENT">
                                                            <block type="controls_if" id="Pk:{n1##~|t#fBZ#h`-%">
                                                              <mutation else="1"></mutation>
                                                              <value name="IF0">
                                                                <block type="on_source" id="pI1%7lkqkXMc%8?61v#1">
                                                                  <field name="ATTR">state.val</field>
                                                                </block>
                                                              </value>
                                                              <statement name="DO0">
                                                                <block type="timeouts_cleartimeout" id="087c(RRd06U=:DniKyu/">
                                                                  <field name="NAME">timeout</field>
                                                                  <next>
                                                                    <block type="timeouts_settimeout" id="r=bH@y~!#FS*{]^tf%s}">
                                                                      <field name="NAME">timeout</field>
                                                                      <field name="DELAY">1</field>
                                                                      <field name="UNIT">min</field>
                                                                      <statement name="STATEMENT">
                                                                        <block type="update" id="_Zx93ErD+Ahe~(?Y=vop">
                                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                          <field name="OID">javascript.0.Eigene_Datenpunkte.timer1</field>
                                                                          <field name="WITH_DELAY">FALSE</field>
                                                                          <value name="VALUE">
                                                                            <block type="math_arithmetic" id="p(;H*eC!l~4Bz^BtD}px">
                                                                              <field name="OP">MINUS</field>
                                                                              <value name="A">
                                                                                <shadow type="math_number" id="55vyY[_{qWz8mmJ1`w;U">
                                                                                  <field name="NUM">1</field>
                                                                                </shadow>
                                                                                <block type="on_source" id="Ie)ceo9*dN[e`Kd9-crg">
                                                                                  <field name="ATTR">state.val</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <shadow type="math_number" id="h7@p?ht_M],G#C!P$v?b">
                                                                                  <field name="NUM">1</field>
                                                                                </shadow>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </statement>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </statement>
                                                              <statement name="ELSE">
                                                                <block type="timeouts_cleartimeout" id="v(9Lz44geUh4?d1B,.,*">
                                                                  <field name="NAME">timeout</field>
                                                                  <next>
                                                                    <block type="controls_if" id="!{Rd?fl@cyYAu?i~aA}Y">
                                                                      <value name="IF0">
                                                                        <block type="logic_compare" id="AHtg}Ja?rD-hIt9{AP[z">
                                                                          <field name="OP">EQ</field>
                                                                          <value name="A">
                                                                            <block type="on_source" id="^nW|0S`%nyMZ|wqKkds|">
                                                                              <field name="ATTR">oldState.val</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <block type="math_number" id="uq0;rtUN68CxUwr|K@qw">
                                                                              <field name="NUM">1</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <statement name="DO0">
                                                                        <block type="controls_if" id="/m/bU8P)+cSaDd;z?ZUK">
                                                                          <value name="IF0">
                                                                            <block type="logic_operation" id="CQ{!V=+gKxBVk+^+Oh#{">
                                                                              <field name="OP">AND</field>
                                                                              <value name="A">
                                                                                <block type="logic_compare" id="/!7u5iO#C9kBOBJ3xF_o">
                                                                                  <field name="OP">EQ</field>
                                                                                  <value name="A">
                                                                                    <block type="get_value" id="QTY$gMl+gmzO=;?`;6Mm">
                                                                                      <field name="ATTR">val</field>
                                                                                      <field name="OID">hm-rega.0.39780</field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="B">
                                                                                    <block type="logic_boolean" id="?Qz3evo,zRJM}_g4u8A]">
                                                                                      <field name="BOOL">TRUE</field>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block type="logic_compare" id="?$93mY$m1pCi=K]ZlZ1y">
                                                                                  <field name="OP">EQ</field>
                                                                                  <value name="A">
                                                                                    <block type="get_value" id="(yb@?sX4INe/[)N$jx{^">
                                                                                      <field name="ATTR">val</field>
                                                                                      <field name="OID">husqvarna-automower.0.3f4a276f-9fb2-440e-bcea-98f5f04880d2.mower.activity</field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="B">
                                                                                    <block type="text" id="};i:kI1*{JSBVL/x~3[n">
                                                                                      <field name="TEXT">MOWING</field>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <statement name="DO0">
                                                                            <block type="debug" id="y8=JPszZlvqQ6,#y#d;*">
                                                                              <field name="Severity">info</field>
                                                                              <value name="TEXT">
                                                                                <shadow type="text" id="Qzs!bg-Xe7mZH`NhSXR@">
                                                                                  <field name="TEXT">Mäher in Garage</field>
                                                                                </shadow>
                                                                              </value>
                                                                              <next>
                                                                                <block type="comment" id="iLlL_0Byo7`=#},@=W^9">
                                                                                  <field name="COMMENT">Befehl für Fahrt in Garage</field>
                                                                                  <next>
                                                                                    <block type="control" id="Fyg(e;4D!YvUjeq*NO-O">
                                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                      <field name="OID">husqvarna-automower.0.3f4a276f-9fb2-440e-bcea-98f5f04880d2.ACTIONS.PARKUNTILFURTHERNOTICE</field>
                                                                                      <field name="WITH_DELAY">FALSE</field>
                                                                                      <value name="VALUE">
                                                                                        <block type="logic_boolean" id="E-7Tb`3H9iJIx4+6)I[,">
                                                                                          <field name="BOOL">TRUE</field>
                                                                                        </block>
                                                                                      </value>
                                                                                      <next>
                                                                                        <block type="variables_set" id="K#FeH+s2JQ$lD-ui,ZDT">
                                                                                          <field name="VAR" id=")qq.XN{O][a,8$TMF:61">Regenparken</field>
                                                                                          <value name="VALUE">
                                                                                            <block type="logic_boolean" id="s||NjE0yaJ,/Gs,%aV?9">
                                                                                              <field name="BOOL">TRUE</field>
                                                                                            </block>
                                                                                          </value>
                                                                                          <next>
                                                                                            <block type="control" id="8zNO=M/8{.[x/dNEJBDl">
                                                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                              <field name="OID">javascript.0.Eigene_Datenpunkte.timer1</field>
                                                                                              <field name="WITH_DELAY">FALSE</field>
                                                                                              <value name="VALUE">
                                                                                                <block type="math_number" id="G(Z@XnrL*(sfs`+4mAo,">
                                                                                                  <field name="NUM">0</field>
                                                                                                </block>
                                                                                              </value>
                                                                                            </block>
                                                                                          </next>
                                                                                        </block>
                                                                                      </next>
                                                                                    </block>
                                                                                  </next>
                                                                                </block>
                                                                              </next>
                                                                            </block>
                                                                          </statement>
                                                                        </block>
                                                                      </statement>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </statement>
                                                            </block>
                                                          </statement>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </statement>
                                              <statement name="ELSE">
                                                <block type="controls_if" id="u`/vnmuDbpwt$LgNbrJ;">
                                                  <value name="IF0">
                                                    <block type="logic_multi_and" id="C/CRiYQFU`1kzZcn.UK`">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                                      <value name="AND0">
                                                        <block type="logic_operation" id="dgr:4!wI`(Nn5a#]gf#d">
                                                          <field name="OP">AND</field>
                                                          <value name="A">
                                                            <block type="logic_compare" id=".967A^iP~|EY7nv-N*?S">
                                                              <field name="OP">EQ</field>
                                                              <value name="A">
                                                                <block type="get_value" id="}W9M;wH{g|Bp.LZUWp=S">
                                                                  <field name="ATTR">val</field>
                                                                  <field name="OID">hm-rega.0.39780</field>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <block type="logic_boolean" id="bLkii9`N@_R76G-XGE[d">
                                                                  <field name="BOOL">FALSE</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block type="logic_compare" id="XErs/^~n-a,0$DmwkK]s">
                                                              <field name="OP">NEQ</field>
                                                              <value name="A">
                                                                <block type="get_value" id="/8ThBMq}B~d-TQP#gBc8">
                                                                  <field name="ATTR">val</field>
                                                                  <field name="OID">husqvarna-automower.0.3f4a276f-9fb2-440e-bcea-98f5f04880d2.mower.activity</field>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <block type="text" id="Ye@0CvKo1nPND*^e?D!x">
                                                                  <field name="TEXT">MOWING</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <value name="AND1">
                                                        <block type="logic_compare" id="V)zCJ}o#ZMvV.dyx(G(A">
                                                          <field name="OP">EQ</field>
                                                          <value name="A">
                                                            <block type="variables_get" id="uE4`2=n5UM+Z]p:;i-:z">
                                                              <field name="VAR" id=")qq.XN{O][a,8$TMF:61">Regenparken</field>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block type="logic_boolean" id="qUQc61F5!Ai/[Qc*i}J]">
                                                              <field name="BOOL">TRUE</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <statement name="DO0">
                                                    <block type="control" id=":.;+zIOp8O#-o[Y{6?tq">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                      <field name="OID">javascript.0.Eigene_Datenpunkte.timer2</field>
                                                      <field name="WITH_DELAY">FALSE</field>
                                                      <value name="VALUE">
                                                        <block type="math_number" id="8KRr=]~CFTkAjXMQk-sR">
                                                          <field name="NUM">60</field>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="control" id="HNd08hkJBl#u-5mhJ-eX">
                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                          <field name="OID">javascript.0.Eigene_Datenpunkte.timer1</field>
                                                          <field name="WITH_DELAY">FALSE</field>
                                                          <value name="VALUE">
                                                            <block type="math_number" id="vc;I:0d~u_t/f3dkOY6q">
                                                              <field name="NUM">0</field>
                                                            </block>
                                                          </value>
                                                          <next>
                                                            <block type="on" id="]8_pYI@p2ApOWixz%bGT">
                                                              <field name="OID">javascript.0.Eigene_Datenpunkte.timer2</field>
                                                              <field name="CONDITION">ne</field>
                                                              <field name="ACK_CONDITION"></field>
                                                              <statement name="STATEMENT">
                                                                <block type="controls_if" id="v3khv3!KdVu9COV+g;-7">
                                                                  <mutation else="1"></mutation>
                                                                  <value name="IF0">
                                                                    <block type="on_source" id="U^@0$f)Th/T^rhFZz8DX">
                                                                      <field name="ATTR">state.val</field>
                                                                    </block>
                                                                  </value>
                                                                  <statement name="DO0">
                                                                    <block type="timeouts_cleartimeout" id="*m2DhGD@uS]_,SBUG_;/">
                                                                      <field name="NAME">timeout2</field>
                                                                      <next>
                                                                        <block type="timeouts_settimeout" id="ILDx,GSIx=PlF|Qunfc3">
                                                                          <field name="NAME">timeout2</field>
                                                                          <field name="DELAY">1</field>
                                                                          <field name="UNIT">min</field>
                                                                          <statement name="STATEMENT">
                                                                            <block type="update" id="Xl.5Tnhix23epJFlAY[8">
                                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                              <field name="OID">javascript.0.Eigene_Datenpunkte.timer2</field>
                                                                              <field name="WITH_DELAY">FALSE</field>
                                                                              <value name="VALUE">
                                                                                <block type="math_arithmetic" id="BGIM20ap!~hd=WoNC]iz">
                                                                                  <field name="OP">MINUS</field>
                                                                                  <value name="A">
                                                                                    <shadow type="math_number" id="55vyY[_{qWz8mmJ1`w;U">
                                                                                      <field name="NUM">1</field>
                                                                                    </shadow>
                                                                                    <block type="on_source" id="q?YZa_l.Z?)mBHSbk1e_">
                                                                                      <field name="ATTR">state.val</field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="B">
                                                                                    <shadow type="math_number" id="r;R$kn3*fXMz=ZP!TDa`">
                                                                                      <field name="NUM">1</field>
                                                                                    </shadow>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </statement>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </statement>
                                                                  <statement name="ELSE">
                                                                    <block type="timeouts_cleartimeout" id="GD.l)vz(EHefKK!ri(]/">
                                                                      <field name="NAME">timeout2</field>
                                                                      <next>
                                                                        <block type="controls_if" id="{ojTRC8FxQ42ofH]sJft">
                                                                          <value name="IF0">
                                                                            <block type="logic_compare" id="=f8[i|fgPHzDr(BzPeGT">
                                                                              <field name="OP">EQ</field>
                                                                              <value name="A">
                                                                                <block type="on_source" id="o)Z;02qL1gp/aApEyDIU">
                                                                                  <field name="ATTR">oldState.val</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block type="math_number" id="?zL?_73g5Zv8e4|(n0W4">
                                                                                  <field name="NUM">1</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <statement name="DO0">
                                                                            <block type="controls_if" id="Uk2XT+NR=w9NK@W[4gow">
                                                                              <value name="IF0">
                                                                                <block type="logic_operation" id="fc:x_*wZYVptty.h^Jq`">
                                                                                  <field name="OP">AND</field>
                                                                                  <value name="A">
                                                                                    <block type="logic_compare" id="`-fw#8{HlmU(M6H81]CF">
                                                                                      <field name="OP">EQ</field>
                                                                                      <value name="A">
                                                                                        <block type="get_value" id="m.h@^NM8x6zg9x:;+R2|">
                                                                                          <field name="ATTR">val</field>
                                                                                          <field name="OID">hm-rega.0.39780</field>
                                                                                        </block>
                                                                                      </value>
                                                                                      <value name="B">
                                                                                        <block type="logic_boolean" id=".lZ@^0(oJfe,K|JI?!re">
                                                                                          <field name="BOOL">FALSE</field>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="B">
                                                                                    <block type="logic_compare" id="3Ok!(LT|U4O=#WD8M.)H">
                                                                                      <field name="OP">NEQ</field>
                                                                                      <value name="A">
                                                                                        <block type="get_value" id="6JLSE%IBG;FQ4dc/;M)v">
                                                                                          <field name="ATTR">val</field>
                                                                                          <field name="OID">husqvarna-automower.0.3f4a276f-9fb2-440e-bcea-98f5f04880d2.mower.activity</field>
                                                                                        </block>
                                                                                      </value>
                                                                                      <value name="B">
                                                                                        <block type="text" id="Hl(di$$o8Y9YPR=2D`Yx">
                                                                                          <field name="TEXT">MOWING</field>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                              <statement name="DO0">
                                                                                <block type="debug" id="ZDlpyQx6u3W[#m3v{5h*">
                                                                                  <field name="Severity">info</field>
                                                                                  <value name="TEXT">
                                                                                    <shadow type="text" id="-v;#Zbs`SR[`pw39^2nQ">
                                                                                      <field name="TEXT">Mäher fährt wieder</field>
                                                                                    </shadow>
                                                                                  </value>
                                                                                  <next>
                                                                                    <block type="comment" id="iK/O$w4);:Cf_M.F`IeD">
                                                                                      <field name="COMMENT">Befehl für weiteres Mähen</field>
                                                                                      <next>
                                                                                        <block type="control" id="Kc*?YSX/]=F@y$=febg%">
                                                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                          <field name="OID">husqvarna-automower.0.3f4a276f-9fb2-440e-bcea-98f5f04880d2.ACTIONS.RESUMESCHEDULE</field>
                                                                                          <field name="WITH_DELAY">FALSE</field>
                                                                                          <value name="VALUE">
                                                                                            <block type="logic_boolean" id="fAdKH)qH(o^Mm3`IrPML">
                                                                                              <field name="BOOL">TRUE</field>
                                                                                            </block>
                                                                                          </value>
                                                                                          <next>
                                                                                            <block type="variables_set" id="Unc(c~7@01JKv`Hx|OsW">
                                                                                              <field name="VAR" id=")qq.XN{O][a,8$TMF:61">Regenparken</field>
                                                                                              <value name="VALUE">
                                                                                                <block type="logic_boolean" id="nz/|@Xu%r,,o+|F2_oOQ">
                                                                                                  <field name="BOOL">FALSE</field>
                                                                                                </block>
                                                                                              </value>
                                                                                              <next>
                                                                                                <block type="control" id="!w3)x/;7fdreW$8*mg?m">
                                                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                                  <field name="OID">javascript.0.Eigene_Datenpunkte.timer2</field>
                                                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                                                  <value name="VALUE">
                                                                                                    <block type="math_number" id="k_UI/n?9_Dmkq;RNzrO#">
                                                                                                      <field name="NUM">0</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </next>
                                                                                            </block>
                                                                                          </next>
                                                                                        </block>
                                                                                      </next>
                                                                                    </block>
                                                                                  </next>
                                                                                </block>
                                                                              </statement>
                                                                            </block>
                                                                          </statement>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </statement>
                                                                </block>
                                                              </statement>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </statement>
                                                </block>
                                              </statement>
                                            </block>
                                          </statement>
                                        </block>
                                      </statement>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </next>
            </block>
          </xml>
          
          HomoranH Do not disturb
          HomoranH Do not disturb
          Homoran
          Global Moderator Administrators
          wrote on last edited by
          #8

          @kanumouse bitte Blocklys immer auch als Bild einstellen!

          @reutli sagte in Zeit seit letztem Regen für Rasenroboter:

          Auch sind da Trigger in Trigger, was nicht so optimal ist.

          das kann man an der xml nicht direkt erkennen

          kein Support per PN! - Fragen im Forum stellen -
          Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
          Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton im Header. Danke!
          der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

          R 1 Reply Last reply
          0
          • paul53P paul53

            @reutli sagte: prüfen, ob der Datenpunkt "Regensensor" bereits seit mehr als X Stunden auf "false"

            "Letzte Änderung" enthält die Information in ms.

            R Online
            R Online
            reutli
            wrote on last edited by
            #9

            @paul53
            Ja, da fehlt mit aber noch der Algo wie ich das am besten alles setze.
            Also wie setze ich "es hat aufgehört zu regenen seit n Stunden (bzw. ms). Damit könnte ich ja dann ggf. morgens prüfen, ob die Variable größer als die X Stunden ist.

            BITTE BEACHTET DOCH DAS: https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge
            iobroker in Debian-VM auf Proxmox Server (Ryzen 7 / 32GB / 1TB NVMe SSD) als Master - mehrere Raspberry Pis (3+4) als Slaves. InfluxDB V2 und Grafana auf LXC.

            *Wer freundlich ist, dem wird freundlich geholfen *

            paul53P 1 Reply Last reply
            0
            • HomoranH Homoran

              @kanumouse bitte Blocklys immer auch als Bild einstellen!

              @reutli sagte in Zeit seit letztem Regen für Rasenroboter:

              Auch sind da Trigger in Trigger, was nicht so optimal ist.

              das kann man an der xml nicht direkt erkennen

              R Online
              R Online
              reutli
              wrote on last edited by
              #10

              @homoran

              @homoran sagte in Zeit seit letztem Regen für Rasenroboter:

              das kann man an der xml nicht direkt erkennen

              aber wenn man's importiert ;o)

              BITTE BEACHTET DOCH DAS: https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge
              iobroker in Debian-VM auf Proxmox Server (Ryzen 7 / 32GB / 1TB NVMe SSD) als Master - mehrere Raspberry Pis (3+4) als Slaves. InfluxDB V2 und Grafana auf LXC.

              *Wer freundlich ist, dem wird freundlich geholfen *

              HomoranH K 2 Replies Last reply
              0
              • R reutli

                @homoran

                @homoran sagte in Zeit seit letztem Regen für Rasenroboter:

                das kann man an der xml nicht direkt erkennen

                aber wenn man's importiert ;o)

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

                @reutli sagte in Zeit seit letztem Regen für Rasenroboter:

                aber wenn man's importiert

                wohin denn?
                unterwegs auf dem Handy?

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

                kein Support per PN! - Fragen im Forum stellen -
                Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton im Header. Danke!
                der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                1 Reply Last reply
                0
                • R reutli

                  @homoran

                  @homoran sagte in Zeit seit letztem Regen für Rasenroboter:

                  das kann man an der xml nicht direkt erkennen

                  aber wenn man's importiert ;o)

                  K Away
                  K Away
                  Kanumouse
                  wrote on last edited by
                  #12

                  @reutli
                  Mein Blockly ist vielleicht nicht optimal, aber es funktioniert!

                  R 1 Reply Last reply
                  0
                  • K Kanumouse

                    @reutli
                    Mein Blockly ist vielleicht nicht optimal, aber es funktioniert!

                    R Online
                    R Online
                    reutli
                    wrote on last edited by
                    #13

                    @kanumouse
                    Das glaube ich - danke dafür!
                    Wollte das auch nciht schlecht machen, aber ich muss verstehen was ich umsetze und da hängt es gerade.
                    Also nichts für ungut

                    BITTE BEACHTET DOCH DAS: https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge
                    iobroker in Debian-VM auf Proxmox Server (Ryzen 7 / 32GB / 1TB NVMe SSD) als Master - mehrere Raspberry Pis (3+4) als Slaves. InfluxDB V2 und Grafana auf LXC.

                    *Wer freundlich ist, dem wird freundlich geholfen *

                    1 Reply Last reply
                    0
                    • R reutli

                      @paul53
                      Ja, da fehlt mit aber noch der Algo wie ich das am besten alles setze.
                      Also wie setze ich "es hat aufgehört zu regenen seit n Stunden (bzw. ms). Damit könnte ich ja dann ggf. morgens prüfen, ob die Variable größer als die X Stunden ist.

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

                      @reutli sagte: da fehlt mit aber noch der Algo

                      Prinzip:

                      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

                      HomoranH R 3 Replies Last reply
                      1
                      • paul53P paul53

                        @reutli sagte: da fehlt mit aber noch der Algo

                        Prinzip:

                        Blockly_temp.JPG

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

                        @paul53 an diese Blöcke muss ich mich noch gewöhnen!
                        letzte Änderung ohne Trigger!
                        Wie oft hätte ich das gebraucht

                        kein Support per PN! - Fragen im Forum stellen -
                        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                        Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton im Header. Danke!
                        der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                        paul53P Dr. BakteriusD 2 Replies Last reply
                        0
                        • paul53P paul53

                          @reutli sagte: da fehlt mit aber noch der Algo

                          Prinzip:

                          Blockly_temp.JPG

                          R Online
                          R Online
                          reutli
                          wrote on last edited by
                          #16

                          @paul53
                          Danke, damit werde ich mal experimentieren.
                          Mit diesen Blöcken geht's mir aber wie @Homoran ... da muss ich erst mal durchblicken.

                          Noch eine Frage: "letzte Änderung" ermittelt ausschließlich das letzte ÄNDERN eien Datenpunktes, in dem Fall also von "wahr2 Auf "falsch" oder umgekehrt, kein versuchtes Aktualisieren odersontiges...?

                          BITTE BEACHTET DOCH DAS: https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge
                          iobroker in Debian-VM auf Proxmox Server (Ryzen 7 / 32GB / 1TB NVMe SSD) als Master - mehrere Raspberry Pis (3+4) als Slaves. InfluxDB V2 und Grafana auf LXC.

                          *Wer freundlich ist, dem wird freundlich geholfen *

                          BananaJoeB 1 Reply Last reply
                          0
                          • R reutli

                            @paul53
                            Danke, damit werde ich mal experimentieren.
                            Mit diesen Blöcken geht's mir aber wie @Homoran ... da muss ich erst mal durchblicken.

                            Noch eine Frage: "letzte Änderung" ermittelt ausschließlich das letzte ÄNDERN eien Datenpunktes, in dem Fall also von "wahr2 Auf "falsch" oder umgekehrt, kein versuchtes Aktualisieren odersontiges...?

                            BananaJoeB Online
                            BananaJoeB Online
                            BananaJoe
                            Most Active
                            wrote on last edited by
                            #17

                            @reutli sagte in Zeit seit letztem Regen für Rasenroboter:

                            @paul53
                            Danke, damit werde ich mal experimentieren.
                            Mit diesen Blöcken geht's mir aber wie @Homoran ... da muss ich erst mal durchblicken.

                            Noch eine Frage: "letzte Änderung" ermittelt ausschließlich das letzte ÄNDERN eien Datenpunktes, in dem Fall also von "wahr2 Auf "falsch" oder umgekehrt, kein versuchtes Aktualisieren odersontiges...?

                            genau, Änderung = Wert des Datenpunktes hat sich geändert.
                            das andere wäre "wurde aktualisiert"

                            ioBroker@Ubuntu 24.04 LTS (VMware) für: >260 Geräte, 5 Switche, 7 AP, 10 IP-Cam, 1 NAS 42TB, 1 ESXi 15TB, 4 Proxmox 1TB, 1 Hyper-V 48TB, 14 x Echo, 5x FireTV, 5 x Tablett/Handy VIS || >=160 Tasmota/Shelly || >=95 ZigBee || PV 8.1kW / Akku 14kWh || 2x USV APC 750W kaskadiert || Creality CR-10 SE 3D-Drucker

                            R 1 Reply Last reply
                            0
                            • BananaJoeB BananaJoe

                              @reutli sagte in Zeit seit letztem Regen für Rasenroboter:

                              @paul53
                              Danke, damit werde ich mal experimentieren.
                              Mit diesen Blöcken geht's mir aber wie @Homoran ... da muss ich erst mal durchblicken.

                              Noch eine Frage: "letzte Änderung" ermittelt ausschließlich das letzte ÄNDERN eien Datenpunktes, in dem Fall also von "wahr2 Auf "falsch" oder umgekehrt, kein versuchtes Aktualisieren odersontiges...?

                              genau, Änderung = Wert des Datenpunktes hat sich geändert.
                              das andere wäre "wurde aktualisiert"

                              R Online
                              R Online
                              reutli
                              wrote on last edited by
                              #18

                              @bananajoe

                              👍 ok, thx

                              BITTE BEACHTET DOCH DAS: https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge
                              iobroker in Debian-VM auf Proxmox Server (Ryzen 7 / 32GB / 1TB NVMe SSD) als Master - mehrere Raspberry Pis (3+4) als Slaves. InfluxDB V2 und Grafana auf LXC.

                              *Wer freundlich ist, dem wird freundlich geholfen *

                              1 Reply Last reply
                              0
                              • HomoranH Homoran

                                @paul53 an diese Blöcke muss ich mich noch gewöhnen!
                                letzte Änderung ohne Trigger!
                                Wie oft hätte ich das gebraucht

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

                                @homoran sagte: letzte Änderung ohne Trigger!
                                Wie oft hätte ich das gebraucht

                                "Letzte Änderung" gab es an der Stelle schon immer. Hinzugekommen sind nur Attribute des statischen Objektes unter getObject(id).common.

                                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 Reply Last reply
                                1
                                • paul53P paul53

                                  @reutli sagte: da fehlt mit aber noch der Algo

                                  Prinzip:

                                  Blockly_temp.JPG

                                  R Online
                                  R Online
                                  reutli
                                  wrote on last edited by reutli
                                  #20

                                  @paul53
                                  Ich habe jetzt mal was gebaut. Was aber noch nicht funktioniert ist die Auswertung der Zeit, da "Letzte Änderung" als Zeitstempel (Datumsformat) und nicht in ms gespeichert wird.
                                  Was muss ich ändern, damit nach letzter Änderung + 120min meine Bedingung war wird?

                                  Bildschirmfoto 2024-07-23 um 22.46.31.png

                                  BITTE BEACHTET DOCH DAS: https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge
                                  iobroker in Debian-VM auf Proxmox Server (Ryzen 7 / 32GB / 1TB NVMe SSD) als Master - mehrere Raspberry Pis (3+4) als Slaves. InfluxDB V2 und Grafana auf LXC.

                                  *Wer freundlich ist, dem wird freundlich geholfen *

                                  paul53P 1 Reply Last reply
                                  0
                                  • R reutli

                                    @paul53
                                    Ich habe jetzt mal was gebaut. Was aber noch nicht funktioniert ist die Auswertung der Zeit, da "Letzte Änderung" als Zeitstempel (Datumsformat) und nicht in ms gespeichert wird.
                                    Was muss ich ändern, damit nach letzter Änderung + 120min meine Bedingung war wird?

                                    Bildschirmfoto 2024-07-23 um 22.46.31.png

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

                                    @reutli sagte: "Letzte Änderung" als Zeitstempel (Datumsformat) und nicht in ms gespeichert wird.

                                    "Letzte Änderung" ist in ms gespeichert. Du musst allerdings die Differenz zur aktuellen Zeit auswerten:

                                    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

                                    R 1 Reply Last reply
                                    1
                                    • HomoranH Homoran

                                      @paul53 an diese Blöcke muss ich mich noch gewöhnen!
                                      letzte Änderung ohne Trigger!
                                      Wie oft hätte ich das gebraucht

                                      Dr. BakteriusD Online
                                      Dr. BakteriusD Online
                                      Dr. Bakterius
                                      Most Active
                                      wrote on last edited by
                                      #22

                                      @homoran sagte in Zeit seit letztem Regen für Rasenroboter:

                                      letzte Änderung ohne Trigger!

                                      Doch, der Trigger ist immer nötig. In diesem Fall eben ein Zeittrigger (Cron).

                                      HomoranH 1 Reply Last reply
                                      0
                                      • paul53P paul53

                                        @reutli sagte: "Letzte Änderung" als Zeitstempel (Datumsformat) und nicht in ms gespeichert wird.

                                        "Letzte Änderung" ist in ms gespeichert. Du musst allerdings die Differenz zur aktuellen Zeit auswerten:

                                        Blockly_temp.JPG

                                        R Online
                                        R Online
                                        reutli
                                        wrote on last edited by
                                        #23

                                        @paul53

                                        @paul53 sagte in Zeit seit letztem Regen für Rasenroboter:

                                        @reutli sagte: "Letzte Änderung" als Zeitstempel (Datumsformat) und nicht in ms gespeichert wird.

                                        "Letzte Änderung" ist in ms gespeichert. Du musst allerdings die Differenz zur aktuellen Zeit auswerten:

                                        Blockly_temp.JPG

                                        Das stimmt, habe mich falsch ausgedrückt - sind Millisekunden seit 01.01.1970 (=Datumswert). Scheint jetzt auch so zu funktionieren:

                                        Bildschirmfoto 2024-07-24 um 11.18.50.png

                                        Danke!

                                        BITTE BEACHTET DOCH DAS: https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge
                                        iobroker in Debian-VM auf Proxmox Server (Ryzen 7 / 32GB / 1TB NVMe SSD) als Master - mehrere Raspberry Pis (3+4) als Slaves. InfluxDB V2 und Grafana auf LXC.

                                        *Wer freundlich ist, dem wird freundlich geholfen *

                                        1 Reply Last reply
                                        0
                                        • Dr. BakteriusD Dr. Bakterius

                                          @homoran sagte in Zeit seit letztem Regen für Rasenroboter:

                                          letzte Änderung ohne Trigger!

                                          Doch, der Trigger ist immer nötig. In diesem Fall eben ein Zeittrigger (Cron).

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

                                          @dr-bakterius sagte in Zeit seit letztem Regen für Rasenroboter [gelöst]:

                                          der Trigger ist immer nötig

                                          Natürlich!
                                          Ich kannte bisher nur den roten Baustein, der auf den TriggerDP zugreift

                                          kein Support per PN! - Fragen im Forum stellen -
                                          Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                                          Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton im Header. Danke!
                                          der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                          Dr. BakteriusD 1 Reply Last reply
                                          0

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better 💗

                                          Register Login
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          559

                                          Online

                                          32.7k

                                          Users

                                          82.6k

                                          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