Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

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

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. Alarm Meldung in VIS mit folgeschaltung

NEWS

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

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.5k

Alarm Meldung in VIS mit folgeschaltung

Geplant Angeheftet Gesperrt Verschoben Blockly
3 Beiträge 2 Kommentatoren 252 Aufrufe 2 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • AphofisA Offline
    AphofisA Offline
    Aphofis
    schrieb am zuletzt editiert von Aphofis
    #1

    Ich würde gerne eine schutzschaltung per VIS erstellen.
    Ich möchte zb 6 ESPs den alive Status prüfen lassen
    Also wenn einer der esps false ist also offline soll das in VIS angezeigt werden und ein Alarm Ton ertönen.
    Wenn dieser wieder online ist soll die Meldung weggehen und bei der Geräte online Status soll dann Alles OK stehen.
    Dann möchte ich 8 Motoren die pro einschaltung nicht länger als 6 Sekunden pro pumpvorgang laufen dürfen also dürfen am Stück nur Max 6 Sek. Auf true stehen solle doch mehr als 6 Sek. Laufen soll ein Alarm Ton ertönen und diese Pumpe angezeigt werden und auch abgeschaltet werden.
    Ich versuche es momentan über den Ping Adapter zu realisieren, da dieser die IP adresse anpingt und wenn eines der Geräte Offline ist soll ein Datenpunkt ESP_Alive in true gehen. Der Ping Adapter funktioniert Prima! Da ja im Sonoff Adapter der Alive status nur geändert wird wenn ein Gerät neu gestartet wird. Ist der Ping Adapter genau das richtige.
    Ich weiß nur nicht wie ich es in Blockly realisiere, das wenn einer der Sonoff Geräte der alive Status auf false wechselt das dann der ESP_alive Datenpunkt in den true zustand geht und wenn alle ESPs Online sind also der alive status im Ping Adapter true ist dann soll der ESP_alive DP in false gehen.
    Doch leider klappt es momentan noch nicht.
    Ich habe es in Blockly bisher soweit:

    <xml xmlns="https://developers.google.com/blockly/xml">
      <block type="schedule" id="EM9jB~EAX)L8zJ:Cbcuj" x="-913" y="63">
        <field name="SCHEDULE">*/10 * * * * *</field>
        <statement name="STATEMENT">
          <block type="controls_if" id="~1B]^Hr|b:d{wCGpPsmX">
            <mutation elseif="1"></mutation>
            <value name="IF0">
              <block type="logic_compare" id="]+0/`G,P!QC;xsw-Z0IR">
                <field name="OP">EQ</field>
                <value name="A">
                  <block type="logic_operation" id="o8DEV),#U94)MrVP]he]" inline="false">
                    <field name="OP">OR</field>
                    <value name="A">
                      <block type="logic_operation" id="Y4U!L!qbQPd#[4k6Ok,N" inline="false">
                        <field name="OP">OR</field>
                        <value name="A">
                          <block type="logic_operation" id="C0%[N/EbMA};,5n=v{1?" inline="false">
                            <field name="OP">OR</field>
                            <value name="A">
                              <block type="get_value" id="x`vso)AZs=fvl?=5ikHz">
                                <field name="ATTR">val</field>
                                <field name="OID">ping.0.AquaPi.sonoff_0_Aqua_Control.alive</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="get_value" id="+a?Mm.0~J1pdQt.`Ga{i">
                                <field name="ATTR">val</field>
                                <field name="OID">ping.0.AquaPi.sonoff_0_Aqua_Dosierer.alive</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <block type="get_value" id="lg%$qxnXh--AP{2.WY::">
                            <field name="ATTR">val</field>
                            <field name="OID">ping.0.AquaPi.sonoff_0_Aqua_Float.alive</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <block type="logic_operation" id="cq~YcyfTd+*_~K@IILYy" inline="false">
                        <field name="OP">OR</field>
                        <value name="A">
                          <block type="logic_operation" id="huhrl6n7%uL}(XiYA9-v" inline="false">
                            <field name="OP">OR</field>
                            <value name="A">
                              <block type="get_value" id=")2H[e?@mxkViN.Ro)V1Y">
                                <field name="ATTR">val</field>
                                <field name="OID">ping.0.AquaPi.sonoff_0_Aqua_Float_2.alive</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="get_value" id="hdsrh!fmG|RW|#Wy@$jg">
                                <field name="ATTR">val</field>
                                <field name="OID">ping.0.AquaPi.sonoff_0_Aqua_Power.alive</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_operation" id=";Z,xRQ6.8$x}M`r)tds#" inline="false">
                            <field name="OP">OR</field>
                            <value name="A">
                              <block type="get_value" id="Je?~IEK!QvOm0``$#,t`">
                                <field name="ATTR">val</field>
                                <field name="OID">ping.0.AquaPi.sonoff_0_Aqua_Sensoren.alive</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="get_value" id="lYs#d3u{)n`$9:VC.bDc">
                                <field name="ATTR">val</field>
                                <field name="OID">ping.0.AquaPi.sonoff_0_Aqua_Test.alive</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <block type="logic_boolean" id="3=?f++mcOrh4TLtOy#CA">
                    <field name="BOOL">FALSE</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="control" id="(`nq-(I1[}/L+:oV_W+[">
                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                <field name="OID">Aqua_Control.0.System.ESP_Alive</field>
                <field name="WITH_DELAY">FALSE</field>
                <value name="VALUE">
                  <block type="logic_boolean" id="+yRWPHsC4^CpdT(pO%X_">
                    <field name="BOOL">TRUE</field>
                  </block>
                </value>
              </block>
            </statement>
            <value name="IF1">
              <block type="logic_compare" id="0X+pTZK?2F:^0@VW@g^V">
                <field name="OP">EQ</field>
                <value name="A">
                  <block type="logic_operation" id="IXhKCN61vZ@nLC,OT`$W" inline="false">
                    <field name="OP">AND</field>
                    <value name="A">
                      <block type="logic_operation" id="W_+^jLvBK^GrCWJtR;*U" inline="false">
                        <field name="OP">AND</field>
                        <value name="A">
                          <block type="logic_operation" id="0`NXJCu]}V4(=QRR$Vn(" inline="false">
                            <field name="OP">AND</field>
                            <value name="A">
                              <block type="get_value" id="?ofC?_,0_$jl%jeJc`eJ">
                                <field name="ATTR">val</field>
                                <field name="OID">ping.0.AquaPi.sonoff_0_Aqua_Control.alive</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="get_value" id="i{iv5dKV6Pqj{w?}gY{1">
                                <field name="ATTR">val</field>
                                <field name="OID">ping.0.AquaPi.sonoff_0_Aqua_Dosierer.alive</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <block type="get_value" id="Y7#z05/)JswRP#u*whlh">
                            <field name="ATTR">val</field>
                            <field name="OID">ping.0.AquaPi.sonoff_0_Aqua_Float.alive</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <block type="logic_operation" id="r}R,M[!8sLFXulZaqIuE" inline="false">
                        <field name="OP">AND</field>
                        <value name="A">
                          <block type="logic_operation" id="s=O0_KdtWcXlhXx39v|o" inline="false">
                            <field name="OP">AND</field>
                            <value name="A">
                              <block type="get_value" id="5qPjykYP(4%.P1$.cYxN">
                                <field name="ATTR">val</field>
                                <field name="OID">ping.0.AquaPi.sonoff_0_Aqua_Float_2.alive</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="get_value" id="bU|uoArslXAS8tPK2GG=">
                                <field name="ATTR">val</field>
                                <field name="OID">ping.0.AquaPi.sonoff_0_Aqua_Power.alive</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_operation" id=":@2d!;zOxc}P{JJDn3uJ" inline="false">
                            <field name="OP">AND</field>
                            <value name="A">
                              <block type="get_value" id="kauXz`7#{lO,J%)=t(:9">
                                <field name="ATTR">val</field>
                                <field name="OID">ping.0.AquaPi.sonoff_0_Aqua_Sensoren.alive</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="get_value" id="vs(Z^*uzh2LNBG%1th80">
                                <field name="ATTR">val</field>
                                <field name="OID">ping.0.AquaPi.sonoff_0_Aqua_Test.alive</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <block type="logic_boolean" id="U)SJ|G_k}OOT:A7dsR6_">
                    <field name="BOOL">TRUE</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO1">
              <block type="control" id="PZm;iI!!K]+ib5UaKPLP">
                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                <field name="OID">Aqua_Control.0.System.ESP_Alive</field>
                <field name="WITH_DELAY">FALSE</field>
                <value name="VALUE">
                  <block type="logic_boolean" id="N2$](ay+Pi/x@gjfXN)o">
                    <field name="BOOL">FALSE</field>
                  </block>
                </value>
              </block>
            </statement>
          </block>
        </statement>
      </block>
      <block type="on_ext" id="4z;83Op#NR_;LrdnUJ6#" disabled="true" x="88" y="37">
        <mutation xmlns="http://www.w3.org/1999/xhtml" items="7"></mutation>
        <field name="CONDITION">ne</field>
        <field name="ACK_CONDITION"></field>
        <value name="OID0">
          <shadow type="field_oid" id="pDev6MpFp/eyJSYr(G1U">
            <field name="oid">ping.0.AquaPi.sonoff_0_Aqua_Control.alive</field>
          </shadow>
        </value>
        <value name="OID1">
          <shadow type="field_oid" id="5SP/ZIheLg/a[yK3ss#M">
            <field name="oid">ping.0.AquaPi.sonoff_0_Aqua_Dosierer.alive</field>
          </shadow>
        </value>
        <value name="OID2">
          <shadow type="field_oid" id="C5Bo/D%+0ES)8bEo.UO4">
            <field name="oid">ping.0.AquaPi.sonoff_0_Aqua_Float.alive</field>
          </shadow>
        </value>
        <value name="OID3">
          <shadow type="field_oid" id="EOK~6hZ$8R#XfUzqi7b1">
            <field name="oid">ping.0.AquaPi.sonoff_0_Aqua_Float_2.alive</field>
          </shadow>
        </value>
        <value name="OID4">
          <shadow type="field_oid" id="{VM:-]k7)|6=4a/]4aGv">
            <field name="oid">ping.0.AquaPi.sonoff_0_Aqua_Power.alive</field>
          </shadow>
        </value>
        <value name="OID5">
          <shadow type="field_oid" id=".`(?@^`G[I^~!K0MXpv]">
            <field name="oid">ping.0.AquaPi.sonoff_0_Aqua_Sensoren.alive</field>
          </shadow>
        </value>
        <value name="OID6">
          <shadow type="field_oid" id="yrbA#I[g{VuB`@*]@N$I">
            <field name="oid">ping.0.AquaPi.sonoff_0_Aqua_Test.alive</field>
          </shadow>
        </value>
      </block>
    </xml>
    

    Bildschirmfoto 2020-06-28 um 15.06.55.png

    1 Antwort Letzte Antwort
    0
    • buggybeastB Offline
      buggybeastB Offline
      buggybeast
      schrieb am zuletzt editiert von
      #2

      @Aphofis also ich bin nicht so der JS Code Leser.
      Vom blockly aus gesehen nutzt du einen manuellen datenpunkt ESP_alive? Dann solltest du den mit „aktualisiere“ ändern, und nicht mit „steuere“.
      Das „sonst falls“ kannst du dir an der Stelle auch sparen, da die Negierung deiner Abfrage in falls genau die Abfrage in deinem sonst falls ergibt. Du kannst also einfach sonst nehmen.

      1 Antwort Letzte Antwort
      0
      • AphofisA Offline
        AphofisA Offline
        Aphofis
        schrieb am zuletzt editiert von
        #3

        So funktioniert nun der Datenpunkt ESP_Alive

        <xml xmlns="https://developers.google.com/blockly/xml">
          <block type="on_ext" id="4z;83Op#NR_;LrdnUJ6#" x="-987" y="38">
            <mutation xmlns="http://www.w3.org/1999/xhtml" items="7"></mutation>
            <field name="CONDITION">ne</field>
            <field name="ACK_CONDITION"></field>
            <value name="OID0">
              <shadow type="field_oid" id="pDev6MpFp/eyJSYr(G1U">
                <field name="oid">ping.0.AquaPi.sonoff_0_Aqua_Control.alive</field>
              </shadow>
            </value>
            <value name="OID1">
              <shadow type="field_oid" id="5SP/ZIheLg/a[yK3ss#M">
                <field name="oid">ping.0.AquaPi.sonoff_0_Aqua_Dosierer.alive</field>
              </shadow>
            </value>
            <value name="OID2">
              <shadow type="field_oid" id="C5Bo/D%+0ES)8bEo.UO4">
                <field name="oid">ping.0.AquaPi.sonoff_0_Aqua_Float.alive</field>
              </shadow>
            </value>
            <value name="OID3">
              <shadow type="field_oid" id="EOK~6hZ$8R#XfUzqi7b1">
                <field name="oid">ping.0.AquaPi.sonoff_0_Aqua_Float_2.alive</field>
              </shadow>
            </value>
            <value name="OID4">
              <shadow type="field_oid" id="{VM:-]k7)|6=4a/]4aGv">
                <field name="oid">ping.0.AquaPi.sonoff_0_Aqua_Power.alive</field>
              </shadow>
            </value>
            <value name="OID5">
              <shadow type="field_oid" id=".`(?@^`G[I^~!K0MXpv]">
                <field name="oid">ping.0.AquaPi.sonoff_0_Aqua_Sensoren.alive</field>
              </shadow>
            </value>
            <value name="OID6">
              <shadow type="field_oid" id="yrbA#I[g{VuB`@*]@N$I">
                <field name="oid">ping.0.AquaPi.sonoff_0_Aqua_Test.alive</field>
              </shadow>
            </value>
            <statement name="STATEMENT">
              <block type="controls_if" id="~1B]^Hr|b:d{wCGpPsmX">
                <mutation elseif="1"></mutation>
                <value name="IF0">
                  <block type="logic_compare" id="]+0/`G,P!QC;xsw-Z0IR">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="get_value" id="x`vso)AZs=fvl?=5ikHz">
                        <field name="ATTR">val</field>
                        <field name="OID">ping.0.AquaPi.sonoff_0_Aqua_Control.alive</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="logic_boolean" id="3=?f++mcOrh4TLtOy#CA">
                        <field name="BOOL">FALSE</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="control" id="(`nq-(I1[}/L+:oV_W+[">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                    <field name="OID">Aqua_Control.0.System.ESP_Alive</field>
                    <field name="WITH_DELAY">FALSE</field>
                    <value name="VALUE">
                      <block type="logic_boolean" id="+yRWPHsC4^CpdT(pO%X_">
                        <field name="BOOL">TRUE</field>
                      </block>
                    </value>
                  </block>
                </statement>
                <value name="IF1">
                  <block type="logic_compare" id=".!:9pWc^[%JpXuZ`y|[`">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="get_value" id="uq_Amf:mD+v`!{{3K.w^">
                        <field name="ATTR">val</field>
                        <field name="OID">ping.0.AquaPi.sonoff_0_Aqua_Control.alive</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="logic_boolean" id="::T~MQb~+1tUvJUyFZ)K">
                        <field name="BOOL">TRUE</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO1">
                  <block type="control" id="PZm;iI!!K]+ib5UaKPLP">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                    <field name="OID">Aqua_Control.0.System.ESP_Alive</field>
                    <field name="WITH_DELAY">FALSE</field>
                    <value name="VALUE">
                      <block type="logic_boolean" id="N2$](ay+Pi/x@gjfXN)o">
                        <field name="BOOL">FALSE</field>
                      </block>
                    </value>
                  </block>
                </statement>
                <next>
                  <block type="controls_if" id="6~=AsWV,4s]NTv5:F5NT">
                    <mutation elseif="1"></mutation>
                    <value name="IF0">
                      <block type="logic_compare" id="v+HnS2n-3+)H2vC~~BvA">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="get_value" id="+a?Mm.0~J1pdQt.`Ga{i">
                            <field name="ATTR">val</field>
                            <field name="OID">ping.0.AquaPi.sonoff_0_Aqua_Dosierer.alive</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_boolean" id="ul^Js:~GgoxJGe]vdllH">
                            <field name="BOOL">FALSE</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="control" id=":{b=/!W/7,?a2{;!6@aM">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">Aqua_Control.0.System.ESP_Alive</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="-;ASSnQO/YBkL80Q+.|P">
                            <field name="BOOL">TRUE</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <value name="IF1">
                      <block type="logic_compare" id="4tsfmiTf$:Kip!2[!W_(">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="get_value" id="S.tuq8cigY/;eoU_c}!_">
                            <field name="ATTR">val</field>
                            <field name="OID">ping.0.AquaPi.sonoff_0_Aqua_Dosierer.alive</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_boolean" id="?Y]%YPMh#b-,cxW`=+qZ">
                            <field name="BOOL">TRUE</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO1">
                      <block type="control" id="oMuOeRHFOfR4/{b/bqD2">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">Aqua_Control.0.System.ESP_Alive</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="3^8Y1((:~S[9|8kQ$cn0">
                            <field name="BOOL">FALSE</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <next>
                      <block type="controls_if" id="V;{cV|ak]RSi~7~q5nQ5">
                        <mutation elseif="1"></mutation>
                        <value name="IF0">
                          <block type="logic_compare" id="w)SKT/Hb+HYEy7FgWFIG">
                            <field name="OP">EQ</field>
                            <value name="A">
                              <block type="get_value" id="lg%$qxnXh--AP{2.WY::">
                                <field name="ATTR">val</field>
                                <field name="OID">ping.0.AquaPi.sonoff_0_Aqua_Float.alive</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_boolean" id="=W+7Hwl`VNYfyb1eqRy?">
                                <field name="BOOL">FALSE</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="control" id="eLo^d$dwI_#wQnSuxoZy">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                            <field name="OID">Aqua_Control.0.System.ESP_Alive</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="logic_boolean" id="@*@XWa.p1@Zobv])b]9Y">
                                <field name="BOOL">TRUE</field>
                              </block>
                            </value>
                          </block>
                        </statement>
                        <value name="IF1">
                          <block type="logic_compare" id="=vzkLthr+4k/ZF%jmGgA">
                            <field name="OP">EQ</field>
                            <value name="A">
                              <block type="get_value" id="j)QS/yb4Gnh~G}Ik;+R|">
                                <field name="ATTR">val</field>
                                <field name="OID">ping.0.AquaPi.sonoff_0_Aqua_Float.alive</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_boolean" id="X~?Stm1dlO4?Y+~]Z72]">
                                <field name="BOOL">TRUE</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO1">
                          <block type="control" id="lJ!:i3QDkI/eB$N35N1-">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                            <field name="OID">Aqua_Control.0.System.ESP_Alive</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="logic_boolean" id="WzC80EJj`z[n1WL1~#mN">
                                <field name="BOOL">FALSE</field>
                              </block>
                            </value>
                          </block>
                        </statement>
                        <next>
                          <block type="controls_if" id="(K5,H];,`o-nT}Y_rLH9">
                            <mutation elseif="1"></mutation>
                            <value name="IF0">
                              <block type="logic_compare" id="F]-]zOCmbVJb(!c6J*YQ">
                                <field name="OP">EQ</field>
                                <value name="A">
                                  <block type="get_value" id=")2H[e?@mxkViN.Ro)V1Y">
                                    <field name="ATTR">val</field>
                                    <field name="OID">ping.0.AquaPi.sonoff_0_Aqua_Float_2.alive</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="logic_boolean" id="$ZKTHzi?mrF^^1X7|H#i">
                                    <field name="BOOL">FALSE</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="control" id="(8Oh$l(S74yqq[l9dFTX">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                <field name="OID">Aqua_Control.0.System.ESP_Alive</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="logic_boolean" id="4+]fF.|p:q`NgaEp#]-{">
                                    <field name="BOOL">TRUE</field>
                                  </block>
                                </value>
                              </block>
                            </statement>
                            <value name="IF1">
                              <block type="logic_compare" id="o4cc18b[V}t0d*5[`L]8">
                                <field name="OP">EQ</field>
                                <value name="A">
                                  <block type="get_value" id="{#Sh]71vE)|:Rq2z-/V/">
                                    <field name="ATTR">val</field>
                                    <field name="OID">ping.0.AquaPi.sonoff_0_Aqua_Float_2.alive</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="logic_boolean" id="S:l6ALhUVhweY-rh+HOI">
                                    <field name="BOOL">TRUE</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO1">
                              <block type="control" id="DK3fEAw~mpgg.6)PBqZ_">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                <field name="OID">Aqua_Control.0.System.ESP_Alive</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="logic_boolean" id="o6mJXno3[yB$~lXL%BU.">
                                    <field name="BOOL">FALSE</field>
                                  </block>
                                </value>
                              </block>
                            </statement>
                            <next>
                              <block type="controls_if" id="$[Rh`NU15U$/NCR9`)cV">
                                <mutation elseif="1"></mutation>
                                <value name="IF0">
                                  <block type="logic_compare" id="xTyt2d?!rErx(xU]r;,{">
                                    <field name="OP">EQ</field>
                                    <value name="A">
                                      <block type="get_value" id="hdsrh!fmG|RW|#Wy@$jg">
                                        <field name="ATTR">val</field>
                                        <field name="OID">ping.0.AquaPi.sonoff_0_Aqua_Power.alive</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="logic_boolean" id="p`[_$b`^y$%K^IA,ui=A">
                                        <field name="BOOL">FALSE</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="control" id="4T%vdkQWe)0Pu6q;)]qG">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                    <field name="OID">Aqua_Control.0.System.ESP_Alive</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                      <block type="logic_boolean" id="77j5R(?G0fH6X+sK(ayH">
                                        <field name="BOOL">TRUE</field>
                                      </block>
                                    </value>
                                  </block>
                                </statement>
                                <value name="IF1">
                                  <block type="logic_compare" id="8NmuN1cA#pteV_{Nu?ip">
                                    <field name="OP">EQ</field>
                                    <value name="A">
                                      <block type="get_value" id="%22JVu9cBr2rm@a/aK~Z">
                                        <field name="ATTR">val</field>
                                        <field name="OID">ping.0.AquaPi.sonoff_0_Aqua_Power.alive</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="logic_boolean" id="9{QIH699Iaf$omj;Ix1}">
                                        <field name="BOOL">TRUE</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO1">
                                  <block type="control" id="|L%+p$Dyk44}cEb)d%|B">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                    <field name="OID">Aqua_Control.0.System.ESP_Alive</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                      <block type="logic_boolean" id="9)4Sb54Q3@Z*snR)dYuv">
                                        <field name="BOOL">FALSE</field>
                                      </block>
                                    </value>
                                  </block>
                                </statement>
                                <next>
                                  <block type="controls_if" id="%$bTj]g^T3RD?@o;K}3@">
                                    <mutation elseif="1"></mutation>
                                    <value name="IF0">
                                      <block type="logic_compare" id="ai?L~8)D~uz(t~0V}w45">
                                        <field name="OP">EQ</field>
                                        <value name="A">
                                          <block type="get_value" id="Je?~IEK!QvOm0``$#,t`">
                                            <field name="ATTR">val</field>
                                            <field name="OID">ping.0.AquaPi.sonoff_0_Aqua_Sensoren.alive</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="logic_boolean" id="#l-vYV,2]$K2}sSvT4U=">
                                            <field name="BOOL">FALSE</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="control" id="W9r9tej8HvK7.a!AOCd|">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                        <field name="OID">Aqua_Control.0.System.ESP_Alive</field>
                                        <field name="WITH_DELAY">FALSE</field>
                                        <value name="VALUE">
                                          <block type="logic_boolean" id="]MoWf(p.Pf%fJp]NQvEd">
                                            <field name="BOOL">TRUE</field>
                                          </block>
                                        </value>
                                      </block>
                                    </statement>
                                    <value name="IF1">
                                      <block type="logic_compare" id="XmOQIBud2MFA{IdT;](4">
                                        <field name="OP">EQ</field>
                                        <value name="A">
                                          <block type="get_value" id="?eE4C$O9BNPTb3r%ODID">
                                            <field name="ATTR">val</field>
                                            <field name="OID">ping.0.AquaPi.sonoff_0_Aqua_Sensoren.alive</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="logic_boolean" id="zJW?Sn.gGb{3(I05Ti+`">
                                            <field name="BOOL">TRUE</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO1">
                                      <block type="control" id="3z]tm4Iy?uX8^LR6~];0">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                        <field name="OID">Aqua_Control.0.System.ESP_Alive</field>
                                        <field name="WITH_DELAY">FALSE</field>
                                        <value name="VALUE">
                                          <block type="logic_boolean" id="3gC3Bqlehcx.JnP,,U!{">
                                            <field name="BOOL">FALSE</field>
                                          </block>
                                        </value>
                                      </block>
                                    </statement>
                                    <next>
                                      <block type="controls_if" id="weU]1q#sEGAYQ]38klm2">
                                        <mutation elseif="1"></mutation>
                                        <value name="IF0">
                                          <block type="logic_compare" id="]Q9hyMDGi`}L:C^O==3B">
                                            <field name="OP">EQ</field>
                                            <value name="A">
                                              <block type="get_value" id="lYs#d3u{)n`$9:VC.bDc">
                                                <field name="ATTR">val</field>
                                                <field name="OID">ping.0.AquaPi.sonoff_0_Aqua_Test.alive</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="logic_boolean" id="K#E.+laA0QySlo~NuPSg">
                                                <field name="BOOL">FALSE</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <statement name="DO0">
                                          <block type="control" id="xifd~Chi~5|m(8M8Dvc)">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                            <field name="OID">Aqua_Control.0.System.ESP_Alive</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="logic_boolean" id="_s7ni[Xyq,`v@%by3*dy">
                                                <field name="BOOL">TRUE</field>
                                              </block>
                                            </value>
                                          </block>
                                        </statement>
                                        <value name="IF1">
                                          <block type="logic_compare" id="q:3TSQzQTkD=F6D?%LbI">
                                            <field name="OP">EQ</field>
                                            <value name="A">
                                              <block type="get_value" id="=9*7QCmVeDzn/!@DprLC">
                                                <field name="ATTR">val</field>
                                                <field name="OID">ping.0.AquaPi.sonoff_0_Aqua_Test.alive</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="logic_boolean" id="v.vCmlY:HM,]TFZ^`02n">
                                                <field name="BOOL">TRUE</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <statement name="DO1">
                                          <block type="control" id="0F6?yz`-I4Lsf~$tK6pt">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                            <field name="OID">Aqua_Control.0.System.ESP_Alive</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="logic_boolean" id="8~qh^HBORR@-^MlgzaL1">
                                                <field name="BOOL">FALSE</field>
                                              </block>
                                            </value>
                                          </block>
                                        </statement>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </statement>
          </block>
        </xml>
        

        Nur wie bekomme ich jetzt die Meldung ins VIS welches Gerät Offline ist und dann soll das Gerät neu gestartet werden per IP adresse also dazu kann ich dann meine ESP Reboot steuerungen auslösen lassen.

        1 Antwort Letzte Antwort
        0
        Antworten
        • In einem neuen Thema antworten
        Anmelden zum Antworten
        • Älteste zuerst
        • Neuste zuerst
        • Meiste Stimmen


        Support us

        ioBroker
        Community Adapters
        Donate

        590

        Online

        32.7k

        Benutzer

        82.4k

        Themen

        1.3m

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

        • Du hast noch kein Konto? Registrieren

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