Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. <hilfe>Skript für Luftentfeuter im Bad</hilfe>

    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

    <hilfe>Skript für Luftentfeuter im Bad</hilfe>

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

      Hallo, ich brauche hilfe mit meinem Skript. Es läuft nicht so wie es soll.

      Es wird ein Sonoff geschaltet die Luftfeuchtigkeit wird über ein Mi sensor gemessen und dann soll er nur zu gewissen Zeiten laufen.

       <xml xmlns="http://www.w3.org/1999/xhtml"><block type="on_ext" id="=`{f+`{M%S%P]{@,tDcn" x="-12" y="13"><mutation items="2"></mutation>
          <field name="CONDITION">ne</field>
      
          <value name="OID0"><shadow type="field_oid" id="J7v2H]]G-ehQwL1aht~R"><field name="oid">mihome.0.devices.magnet_158d000289e961.state</field></shadow></value> 
          <value name="OID1"><shadow type="field_oid" id="uG^Vmmws/RpXaCy*9%9*"><field name="oid">mihome.0.devices.sensor_ht_158d000208d71a.humidity</field></shadow></value> 
          <statement name="STATEMENT"><block type="controls_if" id="?Pn51-@eac1M)wYlL-(k"><mutation elseif="1"></mutation>
              <value name="IF0"><block type="logic_operation" id="qhv%6|vKSx%!lh@y0?XW"><field name="OP">AND</field>
                  <value name="A"><block type="time_compare_ex" id="3_N+n[r2Jdp}59JL!Qy)"><mutation 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="{Ja[2xuD^Ec=zSFJCySP"><field name="TEXT">8:00</field></shadow></value> 
                      <value name="END_TIME"><shadow type="text" id="R)n(1rVNot0QGmm:9!LX"><field name="TEXT">18:55</field></shadow></value></block></value> 
                  <value name="B"><block type="logic_operation" id="2mazEPss+preKr^+e}Fi"><field name="OP">AND</field>
                      <value name="A"><block type="logic_compare" id="HE~Y6OMp)!:)E,%*KGp6"><field name="OP">GTE</field>
                          <value name="A"><block type="get_value" id="_Ho2Er;kNeETpDOA`_ni"><field name="ATTR">val</field>
                              <field name="OID">mihome.0.devices.sensor_ht_158d000208d71a.humidity</field></block></value> 
                          <value name="B"><block type="text" id="`47?:g743:TSbM^,4:7/"><field name="TEXT">55</field></block></value></block></value> 
                      <value name="B"><block type="logic_compare" id="VfW3sO;l..`{rx=SY{(Z"><field name="OP">EQ</field>
                          <value name="A"><block type="get_value" id="lZD}H;5jL+N|Fdum~I6e"><field name="ATTR">val</field>
                              <field name="OID">mihome.0.devices.magnet_158d000289e961.state</field></block></value> 
                          <value name="B"><block type="logic_boolean" id="=?wF!r6?,BS)OQSLG+3{"><field name="BOOL">FALSE</field></block></value></block></value></block></value></block></value> 
              <statement name="DO0"><block type="control" id="-?5,=yBygD)imBqM5B[v"><mutation delay_input="false"></mutation>
                  <field name="OID">sonoff.0.Lufttrockner.POWER</field>
                  <field name="WITH_DELAY">FALSE</field>
                  <value name="VALUE"><block type="logic_boolean" id="ud-w~nMG/Kw#mAK8wbqF"><field name="BOOL">TRUE</field></block></value></block></statement> 
              <value name="IF1"><block type="logic_operation" id="?yb)nvF7MjiPf1t@u7V:"><field name="OP">OR</field>
                  <value name="A"><block type="time_compare_ex" id="Nv1cUqD0!Vq@OnIV!*Py"><mutation 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="c6kyNJ6{N?ADm]8=+V`v"><field name="TEXT">19:00</field></shadow></value> 
                      <value name="END_TIME"><shadow type="text" id="Y0D=i+4b6;n8rUj!dmeA"><field name="TEXT">7:30</field></shadow></value></block></value> 
                  <value name="B"><block type="logic_operation" id="+E`oPbeRw,RL7kgT;jg8"><field name="OP">OR</field>
                      <value name="A"><block type="logic_compare" id="6=--hcl@%RyG*w5=g5Be"><field name="OP">LT</field>
                          <value name="A"><block type="get_value" id="0JifHEnljPKTSoGmeEK:"><field name="ATTR">val</field>
                              <field name="OID">mihome.0.devices.sensor_ht_158d000208d71a.humidity</field></block></value> 
                          <value name="B"><block type="text" id="Bw31gViAR2HO5-YM3CZy"><field name="TEXT">55</field></block></value></block></value> 
                      <value name="B"><block type="logic_compare" id="YViMke=SO@8l|/-rZ*-?"><field name="OP">EQ</field>
                          <value name="A"><block type="get_value" id="Mnt(-nLl(JFLr8hzB^Y3"><field name="ATTR">val</field>
                              <field name="OID">mihome.0.devices.magnet_158d000289e961.state</field></block></value> 
                          <value name="B"><block type="logic_boolean" id="Dua7CjF71%[qSF#Lh^Q%"><field name="BOOL">TRUE</field></block></value></block></value></block></value></block></value> 
              <statement name="DO1"><block type="control" id="n~}MZtjG!U];pt!g7#ac"><mutation delay_input="false"></mutation>
                  <field name="OID">sonoff.0.Lufttrockner.POWER</field>
                  <field name="WITH_DELAY">FALSE</field>
                  <value name="VALUE"><block type="logic_boolean" id="vgWxpA;zX9pnC@eN%/oY"><field name="BOOL">FALSE</field></block></value></block></statement></block></statement></block></xml> 
      
      1 Reply Last reply Reply Quote 0
      • First post
        Last post

      Support us

      ioBroker
      Community Adapters
      Donate

      581
      Online

      31.7k
      Users

      79.9k
      Topics

      1.3m
      Posts

      1
      1
      295
      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