Beiträge von geschild

    Ich habe ein paar UserDatenPunkte angelegt und mit Variablen, auf die das script zugreift, verbunden.

    Du musst die Variablen natürlich mit deinen echten Datenpunkten verbinden.

    Der Trigger-Cron wird z.Zt. alle Minute aufgerufen, was recht häufig ist. NachKlicken auf die fünf Sterne kannst du dieses Intervall ändern.


    <xml xmlns="https://developers.google.com/blockly/xml">

    <variables>

    <variable id=".@;}?ukiF~%oaS.~a|X)">statusGaragentor</variable>

    <variable id="?Oi1=9^yJ#tAz+~X1T]W">luftfeuchteGarage</variable>

    <variable id="Sh#tsydZ)(eO$SPt96BZ">luftfeuchteAussen</variable>

    <variable id="xT=N{!)@RjMGtc/4t)jS">differenzLuftfeuchte</variable>

    </variables>

    <block type="schedule" id="?GAW,``j?iI|_w29/zy(" x="-762" y="-262">

    <field name="SCHEDULE">* * * * *</field>

    <statement name="STATEMENT">

    <block type="debug" id="qe.+{2;JqsGcfu~TDrYe">

    <field name="Severity">log</field>

    <value name="TEXT">

    <shadow type="text" id="nQr2PAXhr+k7U3acF;DT">

    <field name="TEXT">bearbeitet</field>

    </shadow>

    </value>

    <next>

    <block type="variables_set" id="{V:TKEI$f|OS(]KY*TL3">

    <field name="VAR" id=".@;}?ukiF~%oaS.~a|X)">statusGaragentor</field>

    <value name="VALUE">

    <block type="get_value" id="G$EBkMZ?;|eQy4!-}n,J">

    <field name="ATTR">val</field>

    <field name="OID">0_userdata.0.GarageLueften.0-garageDoor</field>

    </block>

    </value>

    <next>

    <block type="variables_set" id="vpELPipHZei}P^j}:eX?">

    <field name="VAR" id="?Oi1=9^yJ#tAz+~X1T]W">luftfeuchteGarage</field>

    <value name="VALUE">

    <block type="get_value" id="Fr/6.DAeEq4CGZ1XUfb?">

    <field name="ATTR">val</field>

    <field name="OID">0_userdata.0.GarageLueften.luftfeuchte_innen</field>

    </block>

    </value>

    <next>

    <block type="variables_set" id="tfAimQ.CpxS_7I4hq9N@">

    <field name="VAR" id="Sh#tsydZ)(eO$SPt96BZ">luftfeuchteAussen</field>

    <value name="VALUE">

    <block type="get_value" id=")@A:SVNuJHm_ZFPUf;o{">

    <field name="ATTR">val</field>

    <field name="OID">0_userdata.0.GarageLueften.luftfeuchte</field>

    </block>

    </value>

    <next>

    <block type="variables_set" id="+WJa3iu/.*2$zhLGQe-Z">

    <field name="VAR" id="xT=N{!)@RjMGtc/4t)jS">differenzLuftfeuchte</field>

    <value name="VALUE">

    <block type="math_arithmetic" id="hM/m(6J/9UnPa?e[_VAs">

    <field name="OP">MINUS</field>

    <value name="A">

    <shadow type="math_number" id="mpqt;kq.2`h9R6:r-KGH">

    <field name="NUM">1</field>

    </shadow>

    <block type="variables_get" id="IlKdA20P^(7v}pmTt#}+">

    <field name="VAR" id="?Oi1=9^yJ#tAz+~X1T]W">luftfeuchteGarage</field>

    </block>

    </value>

    <value name="B">

    <shadow type="math_number" id="1;(}Dyxj9m4N(df1K3{P">

    <field name="NUM">1</field>

    </shadow>

    <block type="variables_get" id=",bM1m~Teb}%J)U7?opy[">

    <field name="VAR" id="Sh#tsydZ)(eO$SPt96BZ">luftfeuchteAussen</field>

    </block>

    </value>

    </block>

    </value>

    <next>

    <block type="controls_if" id="7$:8Gl-O#4Uleq^xAzt}">

    <mutation elseif="1"></mutation>

    <value name="IF0">

    <block type="time_compare_ex" id="7DIJV4v2Vu]gL3x;S2$n">

    <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="false" actual_time="true"></mutation>

    <field name="USE_ACTUAL_TIME">TRUE</field>

    <field name="OPTION">&gt;=</field>

    <value name="START_TIME">

    <shadow type="text" id="H4CXWDG!8!N(gizG7Xhh">

    <field name="TEXT">08:00</field>

    </shadow>

    </value>

    </block>

    </value>

    <statement name="DO0">

    <block type="controls_if" id="(u`/8~W@Ev1Q7z~o6jE,">

    <value name="IF0">

    <block type="logic_compare" id="7ycwDj+I9$XT/RdJlZ3P">

    <field name="OP">GTE</field>

    <value name="A">

    <block type="variables_get" id="du.*#ZlI.PccT[Cx[Ve#">

    <field name="VAR" id="xT=N{!)@RjMGtc/4t)jS">differenzLuftfeuchte</field>

    </block>

    </value>

    <value name="B">

    <block type="math_number" id="Cpnf-H.xeo-8CC5(C:$Y">

    <field name="NUM">10</field>

    </block>

    </value>

    </block>

    </value>

    <statement name="DO0">

    <block type="controls_if" id="+kTK?666e--lBSStIWIL">

    <value name="IF0">

    <block type="logic_compare" id="}f*Pn{lbG;*g2%BLs[Mu">

    <field name="OP">EQ</field>

    <value name="A">

    <block type="variables_get" id="e1RFdG~].~-G8HFCJh#P">

    <field name="VAR" id=".@;}?ukiF~%oaS.~a|X)">statusGaragentor</field>

    </block>

    </value>

    <value name="B">

    <block type="logic_boolean" id="|#,WSf}bm`@u%y,y}$/#">

    <field name="BOOL">FALSE</field>

    </block>

    </value>

    </block>

    </value>

    <statement name="DO0">

    <block type="variables_set" id="L)pOu%0nxkyP~IiE3dE?">

    <field name="VAR" id=".@;}?ukiF~%oaS.~a|X)">statusGaragentor</field>

    <value name="VALUE">

    <block type="logic_boolean" id="=!zuz(0CZbz4q+[3/B}6">

    <field name="BOOL">TRUE</field>

    </block>

    </value>

    </block>

    </statement>

    </block>

    </statement>

    <next>

    <block type="controls_if" id="L3f3{L{vc6k-b7B-#w#3">

    <value name="IF0">

    <block type="logic_compare" id=".S/~6VnuWtLM!mCX}/ED">

    <field name="OP">LTE</field>

    <value name="A">

    <block type="variables_get" id="bs[OGul!a8nMW]4Ht`M7">

    <field name="VAR" id="xT=N{!)@RjMGtc/4t)jS">differenzLuftfeuchte</field>

    </block>

    </value>

    <value name="B">

    <block type="math_number" id="wDw:0sc2*W+88i$88b=y">

    <field name="NUM">5</field>

    </block>

    </value>

    </block>

    </value>

    <statement name="DO0">

    <block type="controls_if" id="E]@E(5mqN1=DJJQ?X5;)">

    <value name="IF0">

    <block type="logic_compare" id="@w5+8o+3fm@g^3;?(#u8">

    <field name="OP">EQ</field>

    <value name="A">

    <block type="variables_get" id="6T)WIU]nhHUJr1?UnP$t">

    <field name="VAR" id=".@;}?ukiF~%oaS.~a|X)">statusGaragentor</field>

    </block>

    </value>

    <value name="B">

    <block type="logic_boolean" id="2)GCo-m4pt9$7M~}(j%T">

    <field name="BOOL">TRUE</field>

    </block>

    </value>

    </block>

    </value>

    <statement name="DO0">

    <block type="variables_set" id="98[WmWS%-W97F6|@iELg">

    <field name="VAR" id=".@;}?ukiF~%oaS.~a|X)">statusGaragentor</field>

    <value name="VALUE">

    <block type="logic_boolean" id="S)$Yaor4~dfEDgz(eyE%">

    <field name="BOOL">FALSE</field>

    </block>

    </value>

    </block>

    </statement>

    </block>

    </statement>

    </block>

    </next>

    </block>

    </statement>

    <value name="IF1">

    <block type="time_compare_ex" id="@nfB?ZOf_%ygzd|L}+HE">

    <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="false" actual_time="true"></mutation>

    <field name="USE_ACTUAL_TIME">TRUE</field>

    <field name="OPTION">&gt;=</field>

    <value name="START_TIME">

    <shadow type="text" id="dX/|lE(N#K0QZQt`P(%N">

    <field name="TEXT">16:00</field>

    </shadow>

    </value>

    </block>

    </value>

    <statement name="DO1">

    <block type="controls_if" id="mXbUSGn_3tI@F/hXrq}v">

    <value name="IF0">

    <block type="logic_compare" id="`zQ*=FBmC%@:xnMxqp]J">

    <field name="OP">EQ</field>

    <value name="A">

    <block type="variables_get" id="tL`w`l~oU=*Tp?5*Eilg">

    <field name="VAR" id=".@;}?ukiF~%oaS.~a|X)">statusGaragentor</field>

    </block>

    </value>

    <value name="B">

    <block type="logic_boolean" id="^Qee#eR0T)|qA$Ma^G^u">

    <field name="BOOL">TRUE</field>

    </block>

    </value>

    </block>

    </value>

    <statement name="DO0">

    <block type="variables_set" id="W^VT/A1Ewt:@,+hCC4.,">

    <field name="VAR" id=".@;}?ukiF~%oaS.~a|X)">statusGaragentor</field>

    <value name="VALUE">

    <block type="logic_boolean" id="W4}]Eh;xE`xp=zE|;kK|">

    <field name="BOOL">FALSE</field>

    </block>

    </value>

    </block>

    </statement>

    </block>

    </statement>

    <next>

    <block type="control" id="cN=C._$_baL{ZyooMHy+">

    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>

    <field name="OID">0_userdata.0.GarageLueften.0-garageDoor</field>

    <field name="WITH_DELAY">FALSE</field>

    <value name="VALUE">

    <block type="variables_get" id="!vIQzoE%BIbZS4=q|juQ">

    <field name="VAR" id=".@;}?ukiF~%oaS.~a|X)">statusGaragentor</field>

    </block>

    </value>

    </block>

    </next>

    </block>

    </next>

    </block>

    </next>

    </block>

    </next>

    </block>

    </next>

    </block>

    </next>

    </block>

    </statement>

    </block>

    </xml>

    Macht einen machbaren Eindruck. Noch ein paar Fragen. Steuert der NodeMcu schon die Stripes. Wäre es denkbar, die Stripes gegen welche von Typ WS2812 zu tauschen. Wie viele Lichtpunkte pro Stufe ? ....

    Du kannst mir auch eine Email schicken und wir tauschen Telefonnummern aus, dann geht die Abstimmung bestimmt schneller.

    Der BS83B04C hat nur die Aufgabe die Tasteneingaben zu erfassen und an den Steuerungschip via I2C-Bus (was das ist evtl. googeln) zu übertragen.

    Den "ESP8266-12F" kriegst du z.B. über ebay.

    Aber ohne Löterfahrung dürfte es dir nicht leicht fallen, die Module schadensfrei zu tauschen.

    Auf diesen Seiten https://forum.iobroker.net/topic/25889/an…chalter-tasmota und https://templates.blakadder.com/WF-CS01_EU.html gibts Informationen zu flashen. Aber deiner sieht etwas anders aus. Ob also die obigen Angaben passen ist fraglich.

    Wenn du nicht unbedingt die schicke Glasfront haben willst, würde ich dir als Anfänger zum Shelly 2.5 oder SonOff-Dual + normalem Rolladenschalter raten.

    Evtl. könntest du mir den Tuya-Schalter zuschicken und ich sehe ihn mir, ohne Gewähr, an.

    Solche Details sollten wir dann aber, nur unter uns, über eine Konversation, klären.