Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Bodenreinigung mit mehreren Objekt ID´s auslösen.

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Bodenreinigung mit mehreren Objekt ID´s auslösen.

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

      Hallo alle Zusammen,
      da ich es einfach nicht hinbekomme, meinen Deebot T8 bei Abwesenheit losfahren zu lassen und bei Anwesenheit zur Station fahren zu lassen, möchte ich Euch bitten mir zu helfen.

      Bedingung:
      Wenn "Martin" (Trigger 1), "Nicola" (Trigger 2) und "Heute reinigen" (Trigger 3) auf false, dann Reinigung vom T8 starten. Wenn aber nur ein Trigger auf true steht, dann zur Ladestation fahren.

      Derzeit funktioniert es mit einem Trigger 1 alleine, aber sobald ich mehrere Objekt ID´s Abfrage, funktioniert das leider nicht ?

      Funktioniert:
      Bildschirmfoto 2020-09-24 um 16.40.31.png

      Funktioniert nicht:
      Bildschirmfoto 2020-09-24 um 16.48.29.png


      <xml xmlns="https://developers.google.com/blockly/xml">
      <block type="on_ext" id="OTc6x;xD6REBU@FC;]**" x="-3937" y="-3712">
      <mutation xmlns="http://www.w3.org/1999/xhtml" items="3"></mutation>
      <field name="CONDITION">ne</field>
      <field name="ACK_CONDITION"></field>
      <value name="OID0">
      <shadow type="field_oid" id="yRk/|Bw~-:_z|AI)jJ%">
      <field name="oid">fb-checkpresence.1.Martin Preibisch.presence</field>
      </shadow>
      </value>
      <value name="OID1">
      <shadow type="field_oid" id="Gt2ZRQf0/O+FA0R/iWg{">
      <field name="oid">fb-checkpresence.1.Nicola Preibisch.presence</field>
      </shadow>
      </value>
      <value name="OID2">
      <shadow type="field_oid" id="UJ6d=k
      [^{Drr$[wYH/~">
      <field name="oid">hm-rpc.2.CUX2801001.11.STATE</field>
      </shadow>
      </value>
      <statement name="STATEMENT">
      <block type="controls_if" id="Ao|sPH4gb[[nB#4-)V)">
      <mutation else="1"></mutation>
      <value name="IF0">
      <block type="logic_negate" id="8l;BX2FF(acOKo%]8klt">
      <value name="BOOL">
      <block type="on_source" id="J}hP]eAORU.nc
      )}V(G{">
      <field name="ATTR">state.val</field>
      </block>
      </value>
      </block>
      </value>
      <statement name="DO0">
      <block type="controls_if" id="lf8D45(k*.3^bvx8bI^K">
      <value name="IF0">
      <block type="logic_compare" id="g5+EcUN,]p@)gJ~Bx4|8">
      <field name="OP">GTE</field>
      <value name="A">
      <block type="get_value" id="gnh~X!,zp2^bE:DR=,/Z">
      <field name="ATTR">val</field>
      <field name="OID">hm-rpc.1.001158A99BACFB.3.LEVEL</field>
      </block>
      </value>
      <value name="B">
      <block type="text" id="C]8:cF5eE2=xDj]:jNhz">
      <field name="TEXT">63</field>
      </block>
      </value>
      </block>
      </value>
      <statement name="DO0">
      <block type="control" id="nrbi3Abti)Sc3d*/RJ%"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">ecovacs-deebot.1.control.clean</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="#,|l_p^IxF(~P5b5IDJ@"> <field name="BOOL">TRUE</field> </block> </value> </block> </statement> </block> </statement> <statement name="ELSE"> <block type="control" id="~qa8Rd4,2]}uu*t8uo^A"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">ecovacs-deebot.1.control.charge</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="N.==9on48zf@QzeX#}A6"> <field name="BOOL">TRUE</field> </block> </value> </block> </statement> </block> </statement> </block> <block type="on_ext" id="v;n586U|WW_vl=SN)2nH" x="-3862" y="-3012"> <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="+pPi*RCA{?),!E5vKkPt"> <field name="oid">ecovacs-deebot.1.info.chargestatus</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="$~=jk?FDLL=R*hb=R]5_"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="logic_compare" id="f:R*3a!z~:I}@VYkrpsj"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="W()L!?Db~=$zu)i/X=*p"> <field name="ATTR">val</field> <field name="OID">ecovacs-deebot.1.info.chargestatus</field> </block> </value> <value name="B"> <block type="text" id="Kh7s#9mkh~Fj~eaz+9@3"> <field name="TEXT">idle</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="{1afaJtA~u_?fl}*]%i+"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">hm-rega.0.3401</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="[P5q;.nllX9,;r3g#C|r"> <field name="TEXT">Bodenreinigung wird jetzt gestartet !</field> </block> </value> </block> </statement> <value name="IF1"> <block type="logic_compare" id="pg(KH$axTyI~+dxNR6H|"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="%uK/:C9J.VrbNguRjB">
      <field name="ATTR">val</field>
      <field name="OID">ecovacs-deebot.1.info.chargestatus</field>
      </block>
      </value>
      <value name="B">
      <block type="text" id="[PR}F^Tav-s@AbukC;Ac">
      <field name="TEXT">charging</field>
      </block>
      </value>
      </block>
      </value>
      <statement name="DO1">
      <block type="control" id="CM2ozMNti!3-9zqI=19|">
      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
      <field name="OID">hm-rega.0.3401</field>
      <field name="WITH_DELAY">FALSE</field>
      <value name="VALUE">
      <block type="text" id="M,n^.4BS|aOtijjHg$bI">
      <field name="TEXT">Die Bodenreinigung ist für heute beendet !</field>
      </block>
      </value>
      <next>
      <block type="control" id="LG^H!tP~l%pxPV()kEpH">
      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
      <field name="OID">hm-rpc.2.CUX2801001.11.STATE</field>
      <field name="WITH_DELAY">FALSE</field>
      <value name="VALUE">
      <block type="logic_boolean" id="
      )8q[[Wf?_ArF[DFV(Nw">
      <field name="BOOL">TRUE</field>
      </block>
      </value>
      </block>
      </next>
      </block>
      </statement>
      </block>
      </statement>
      </block>
      </xml>

      Wo steckt das Problemchen ?

      Liebe Grüße & vielen Dank im Voraus

      Martin

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

        @marfa84 sagte:

        ein Trigger auf true steht, dann zur Ladestation fahren.

        Dafür wird eine Oder-Verknüpfung der 3 Werte benötigt.

        Blockly_temp.JPG

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

        Support us

        ioBroker
        Community Adapters
        Donate

        708
        Online

        31.9k
        Users

        80.2k
        Topics

        1.3m
        Posts

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