Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. NEA1971

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 6
    • Best 0
    • Groups 1

    NEA1971

    @NEA1971

    0
    Reputation
    3
    Profile views
    6
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    NEA1971 Follow
    Starter

    Latest posts made by NEA1971

    • RE: Taupunkt ganz simpel berechnen

      @paul53
      der zweite Hinweis ist ja schonmal gegeben worden, den hatte ich beim Einrichten übersehen und bereits behoben.
      Die Umwandlung "nach Zahl" hatte ich eingefügt, weil ich im Log eine Meldung bekommen hatte, dass der String-Wert nicht in einen Datenpunkt vom Typ Zahl geschrieben werden konnte. Vielleicht hat sich das aber erledigt, dann mach ich das natürlich wieder raus.

      posted in Blockly
      NEA1971
      NEA1971
    • RE: Taupunkt ganz simpel berechnen

      @sborg ah, ja, jetzt funktioniert es auch 😊
      Vielen Dank 👍

      posted in Blockly
      NEA1971
      NEA1971
    • RE: Taupunkt ganz simpel berechnen

      @hamudulu

      Hallo zusammen,
      ich hätte hierzu ebenfalls ein kleines Problem, wo ich einen kompetenten Rat bräuchte.
      Ich habe insgesamt 6 Räume mit jeweils einem Xiaomi Aqara Temperatur/Luftfeuchte-Sensor. Zu den Daten möchte ich jeweils den Taupunkt errechnen lassen.
      Ich habe dazu das Blockly oben von Hamudulu etwas auf meinen Bedarf angepasst. Leider beschreibt mir das Script die Datenpunkte nicht - als Wert wird mir unter dem Datenpunkt "(null)" angezeigt.

      Hier einer der zu beschreibenden Datenpunkte:


      {
      "common": {
      "name": "dpwohnzimmer",
      "desc": "Manuell erzeugt",
      "role": "value.dewpoint",
      "type": "number",
      "read": true,
      "write": true,
      "def": 0
      },
      "type": "state",
      "_id": "0_userdata.0.Taupunkt.dpwohnzimmer",
      "acl": {
      "object": 1636,
      "state": 1636,
      "owner": "system.user.admin",
      "ownerGroup": "system.group.administrator"
      },
      "from": "system.adapter.admin.0",
      "user": "system.user.admin",
      "ts": 1630328905039
      }

      und das Blockly:
      Auswahl_047.png
      der Export des Scripts:


      <xml xmlns="https://developers.google.com/blockly/xml">
      <variables>
      <variable id="f-+??FgK=EkG;Jx.E4Uh">r</variable>
      <variable id="M$gd;on{YS_4sZS7%v5;">T</variable>
      <variable id="3Z$x1{!vu;(:9*^Og4Mr">sdd</variable>
      <variable id="sMuyz@sFD?~GL7Pbp0m">tp</variable>
      <variable id="mX4kA.w3Vj3Gb{T/zN">dd</variable>
      <variable id="{NP4D8gJ;3K@K(4++fqR">eln</variable>
      <variable id="UL:4GF)A];9++Y79).sv">td</variable>
      </variables>
      <block type="comment" id="j/88n15b[7G5O?)}Aq(" x="13" y="-487">
      <field name="COMMENT">Wohnzimmer</field>
      <next>
      <block type="on_ext" id="+[m,Zx.:Xz]@3VsCEEA:">
      <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
      <field name="CONDITION">ne</field>
      <field name="ACK_CONDITION"></field>
      <value name="OID0">
      <shadow type="field_oid" id="$FBYx:{pf1BZND)q6aGN">
      <field name="oid">zigbee.0.00158d0002b51c2b.humidity</field>
      </shadow>
      </value>
      <value name="OID1">
      <shadow type="field_oid" id="vw?;iie?.DQz;Y/,.)M2">
      <field name="oid">zigbee.0.00158d0002b51c2b.temperature</field>
      </shadow>
      </value>
      <statement name="STATEMENT">
      <block type="variables_set" id="Nt5@56dCWl~6LP!.So_"> <field name="VAR" id="f-+??FgK=EkG;Jx.E4Uh">r</field> <value name="VALUE"> <block type="get_value" id="kM9iJvuGhrg%k%VHOrHN"> <field name="ATTR">val</field> <field name="OID">zigbee.0.00158d0002b51c2b.humidity</field> </block> </value> <next> <block type="variables_set" id="JO8oE5}7_^{k@8JSb8J{"> <field name="VAR" id="M$gd;on{YS_4sZS7%v5;">T</field> <value name="VALUE"> <block type="get_value" id="tvU]2+bk5LE%K:{$TaH">
      <field name="ATTR">val</field>
      <field name="OID">zigbee.0.00158d0002b51c2b.temperature</field>
      </block>
      </value>
      <next>
      <block type="update" id="V{p/ou#(0mt{$M5kq;">
      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
      <field name="OID">0_userdata.0.Taupunkt.dpwohnzimmer</field>
      <field name="WITH_DELAY">FALSE</field>
      <value name="VALUE">
      <block type="convert_tonumber" id="gQT)eKnVuL0KWXh3pYFx">
      <value name="VALUE">
      <block type="variables_get" id="Qur?$boGpSg[9ABL5%mI">
      <field name="VAR" id="sMuyz@sFD?~GL7Pbp0m">tp</field>
      </block>
      </value>
      </block>
      </value>
      </block>
      </next>
      </block>
      </next>
      </block>
      </statement>
      <next>
      <block type="comment" id="tUSc|n]8;@1p!V8fTKm7">
      <field name="COMMENT">KiZi1</field>
      <next>
      <block type="on_ext" id="zl~$:X=Z=bZjEG4xW#1">
      <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
      <field name="CONDITION">ne</field>
      <field name="ACK_CONDITION"></field>
      <value name="OID0">
      <shadow type="field_oid" id="3wytK;R?nIw.Yu63Rvl.">
      <field name="oid">zigbee.0.00158d0002b5169a.humidity</field>
      </shadow>
      </value>
      <value name="OID1">
      <shadow type="field_oid" id="o;2VOAVNLfjX
      [reJN]:">
      <field name="oid">zigbee.0.00158d0002b5169a.temperature</field>
      </shadow>
      </value>
      <statement name="STATEMENT">
      <block type="variables_set" id="9DKGj|$E9[CPFfEu6K1C">
      <field name="VAR" id="f-+??FgK=EkG;Jx.E4Uh">r</field>
      <value name="VALUE">
      <block type="get_value" id="3v=IDcPCA:BLb{Vu2JS=">
      <field name="ATTR">val</field>
      <field name="OID">zigbee.0.00158d0002b5169a.humidity</field>
      </block>
      </value>
      <next>
      <block type="variables_set" id="t9LF|HO%]}i^$5g)t!/3">
      <field name="VAR" id="M$gd;on{YS_4sZS7%v5;">T</field>
      <value name="VALUE">
      <block type="get_value" id="rBjC+:Xv=V,I;Pb~@;?D">
      <field name="ATTR">val</field>
      <field name="OID">zigbee.0.00158d0002b5169a.temperature</field>
      </block>
      </value>
      <next>
      <block type="update" id="!jwkM.jJ[/#~I=rfw7xL">
      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
      <field name="OID">0_userdata.0.Taupunkt.dpkizi1</field>
      <field name="WITH_DELAY">FALSE</field>
      <value name="VALUE">
      <block type="convert_tonumber" id="Yb;{zE(MGvBj3.l
      d=40">
      <value name="VALUE">
      <block type="variables_get" id="RSRXQ#B(dOm=@?Z2a/Db">
      <field name="VAR" id="sMuyz@*sFD?~GL7Pbp0m">tp</field>
      </block>
      </value>
      </block>
      </value>
      </block>
      </next>
      </block>
      </next>
      </block>
      </statement>
      <next>
      <block type="comment" id="6ie$X7ecT@R2SK$4UTwf">
      <field name="COMMENT">Schlafzimmer</field>
      <next>
      <block type="on_ext" id="{OLfJ$:=688u$QiM_z3G">
      <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
      <field name="CONDITION">ne</field>
      <field name="ACK_CONDITION"></field>
      <value name="OID0">
      <shadow type="field_oid" id=":!v:CT#u78W9bxf
      @-bI">
      <field name="oid">zigbee.0.00158d0002b5167b.humidity</field>
      </shadow>
      </value>
      <value name="OID1">
      <shadow type="field_oid" id="Y[iJhmSd;s;kzaK8a}xT">
      <field name="oid">zigbee.0.00158d0002b5167b.temperature</field>
      </shadow>
      </value>
      <statement name="STATEMENT">
      <block type="variables_set" id="j:l1+oW+5F@id^WPey^"> <field name="VAR" id="f-+??FgK=EkG;Jx.E4Uh">r</field> <value name="VALUE"> <block type="get_value" id="CeOi]H_TjRaz,?~]sz7H"> <field name="ATTR">val</field> <field name="OID">zigbee.0.00158d0002b5167b.humidity</field> </block> </value> <next> <block type="variables_set" id="NH!9H]NQ?i7*Tz!lQ/Wy"> <field name="VAR" id="M$gd;on{YS_4sZS7%v5;">T</field> <value name="VALUE"> <block type="get_value" id="5s}ol2K}_p0esKsBkfuK"> <field name="ATTR">val</field> <field name="OID">zigbee.0.00158d0002b5167b.temperature</field> </block> </value> <next> <block type="update" id="l:kXFS/e]z,~e|!{J/FW"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Taupunkt.dpschlafzimmer</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="convert_tonumber" id="jwt,uXS($nhq,,HxYD+">
      <value name="VALUE">
      <block type="variables_get" id="l9TJW
      (X!G)Z0#d+HWS8">
      <field name="VAR" id="sMuyz@sFD?~GL7Pbp0m">tp</field>
      </block>
      </value>
      </block>
      </value>
      </block>
      </next>
      </block>
      </next>
      </block>
      </statement>
      <next>
      <block type="comment" id="Y7hW:R%jv+r~mgsORIoT">
      <field name="COMMENT">KiZi2</field>
      <next>
      <block type="on_ext" id="h@?GV9,l0rTi.]c@D8w-">
      <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
      <field name="CONDITION">ne</field>
      <field name="ACK_CONDITION"></field>
      <value name="OID0">
      <shadow type="field_oid" id="9QMpB:8$E7UviB1ha0XO">
      <field name="oid">zigbee.0.00158d0002b51519.humidity</field>
      </shadow>
      </value>
      <value name="OID1">
      <shadow type="field_oid" id=":3VV{gd$OdeTZX[LD">
      <field name="oid">zigbee.0.00158d0002b51519.temperature</field>
      </shadow>
      </value>
      <statement name="STATEMENT">
      <block type="variables_set" id=",?J(k}9Uo_AXg_ownTNN">
      <field name="VAR" id="f-+??FgK=EkG;Jx.E4Uh">r</field>
      <value name="VALUE">
      <block type="get_value" id="6Oj!g]iOtA$c,HkdK(e">
      <field name="ATTR">val</field>
      <field name="OID">zigbee.0.00158d0002b51519.humidity</field>
      </block>
      </value>
      <next>
      <block type="variables_set" id="-EM}M]%Zlyzko|nFXx@"> <field name="VAR" id="M$gd;on{YS_4sZS7%v5;">T</field> <value name="VALUE"> <block type="get_value" id="]MMXV1#-/|qsedY+KUs">
      <field name="ATTR">val</field>
      <field name="OID">zigbee.0.00158d0002b51519.temperature</field>
      </block>
      </value>
      <next>
      <block type="update" id="I(7+I%|by06AK8tjoAqg">
      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
      <field name="OID">0_userdata.0.Taupunkt.dpkizi2</field>
      <field name="WITH_DELAY">FALSE</field>
      <value name="VALUE">
      <block type="convert_tonumber" id=":f]Es8(QAAt#!6
      YR(2:">
      <value name="VALUE">
      <block type="variables_get" id="lR[^N8W@eBzZz;%Zz#">
      <field name="VAR" id="sMuyz@sFD?~GL7Pbp0m">tp</field>
      </block>
      </value>
      </block>
      </value>
      </block>
      </next>
      </block>
      </next>
      </block>
      </statement>
      <next>
      <block type="comment" id="A
      Ed+cm#FFh:Am}xg::p">
      <field name="COMMENT">Badezimmer</field>
      <next>
      <block type="on_ext" id="w.ATwBvM0q@@7]qu7R">
      <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
      <field name="CONDITION">ne</field>
      <field name="ACK_CONDITION"></field>
      <value name="OID0">
      <shadow type="field_oid" id="B57iMUJ4j^u}i~OMP;,B">
      <field name="oid">zigbee.0.00158d0002b51619.humidity</field>
      </shadow>
      </value>
      <value name="OID1">
      <shadow type="field_oid" id="~etP^s00f=syQzy8G5#m">
      <field name="oid">zigbee.0.00158d0002b51619.temperature</field>
      </shadow>
      </value>
      <statement name="STATEMENT">
      <block type="variables_set" id="zIH?a#]*v9R~y@52mC+h">
      <field name="VAR" id="f-+??FgK=EkG;Jx.E4Uh">r</field>
      <value name="VALUE">
      <block type="get_value" id="VrB:g3!8^|mRd621q*I"> <field name="ATTR">val</field> <field name="OID">zigbee.0.00158d0002b51619.humidity</field> </block> </value> <next> <block type="variables_set" id="rjDNd*P7ESxVDb,Gy9AV"> <field name="VAR" id="M$gd;on{YS_4sZS7%v5;">T</field> <value name="VALUE"> <block type="get_value" id="gAsQR(P:z%StVauxW)+z"> <field name="ATTR">val</field> <field name="OID">zigbee.0.00158d0002b51619.temperature</field> </block> </value> <next> <block type="update" id=")1~Yz|]o!:*Y{PGJzRty"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Taupunkt.dpbadezimmer</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="convert_tonumber" id="fs1C=loMNJW+l8,+F,U">
      <value name="VALUE">
      <block type="variables_get" id="ji@cJgwRszFmWXC[2s?m">
      <field name="VAR" id="sMuyz@*sFD?~GL7Pbp0m">tp</field>
      </block>
      </value>
      </block>
      </value>
      </block>
      </next>
      </block>
      </next>
      </block>
      </statement>
      <next>
      <block type="comment" id="ndKR~-IJm/HMq4#npK/I">
      <field name="COMMENT">Dachzimmer</field>
      <next>
      <block type="on_ext" id="r%s
      }3+0~FLyM^itP_c4">
      <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
      <field name="CONDITION">ne</field>
      <field name="ACK_CONDITION"></field>
      <value name="OID0">
      <shadow type="field_oid" id="WKb%7Q|tR^i8-Y?D=Hn_">
      <field name="oid">zigbee.0.00158d0002b516e3.humidity</field>
      </shadow>
      </value>
      <value name="OID1">
      <shadow type="field_oid" id="LQ3(J5H5(E/dpFZK[Lbj">
      <field name="oid">zigbee.0.00158d0002b516e3.temperature</field>
      </shadow>
      </value>
      <statement name="STATEMENT">
      <block type="variables_set" id=")RW^T
      +IaJ@+?R6QuC">
      <field name="VAR" id="f-+??FgK=EkG;Jx.E4Uh">r</field>
      <value name="VALUE">
      <block type="get_value" id="ECiO]}p~O;)BeB|jCya.">
      <field name="ATTR">val</field>
      <field name="OID">zigbee.0.00158d0002b516e3.humidity</field>
      </block>
      </value>
      <next>
      <block type="variables_set" id="(EycjR);Qux[)/Z^n@[h">
      <field name="VAR" id="M$gd;on{YS_4sZS7%v5;">T</field>
      <value name="VALUE">
      <block type="get_value" id="O[f:.WjD*-bNP,6;TiRE">
      <field name="ATTR">val</field>
      <field name="OID">zigbee.0.00158d0002b516e3.temperature</field>
      </block>
      </value>
      <next>
      <block type="update" id="Hv@H|R])#!(~RbSL_HFI">
      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
      <field name="OID">0_userdata.0.Taupunkt.dpdachzimmer</field>
      <field name="WITH_DELAY">FALSE</field>
      <value name="VALUE">
      <block type="convert_tonumber" id="P(vuNo8Q!5:wcVnCRcU{">
      <value name="VALUE">
      <block type="variables_get" id="R.HyVSgf-PVmRz^mDumt">
      <field name="VAR" id="sMuyz@sFD?~GL7Pbp0m">tp</field>
      </block>
      </value>
      </block>
      </value>
      </block>
      </next>
      </block>
      </next>
      </block>
      </statement>
      </block>
      </next>
      </block>
      </next>
      </block>
      </next>
      </block>
      </next>
      </block>
      </next>
      </block>
      </next>
      </block>
      </next>
      </block>
      </next>
      </block>
      </next>
      </block>
      </next>
      </block>
      </next>
      </block>
      <block type="procedures_defnoreturn" id="|2Q(bPHLjrKvd#z+tq@4" x="663" y="-487">
      <field name="NAME">Taupunkt</field>
      <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
      <statement name="STACK">
      <block type="comment" id="1|c5Iv?gF{%IA,@I
      u.">
      <field name="COMMENT">Taupunktberechnung</field>
      <next>
      <block type="controls_if" id="ByEzI2A#1Vw!g@6y=x."> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_compare" id="E*0IXU=pu|YoyJf0{uqc"> <field name="OP">GTE</field> <value name="A"> <block type="variables_get" id="l-k/?s0QhUS/(;J_vucT"> <field name="VAR" id="M$gd;on{YS_4sZS7%v5;">T</field> </block> </value> <value name="B"> <block type="math_number" id="@Os^%3xlb/TZfH@oH^Q">
      <field name="NUM">0</field>
      </block>
      </value>
      </block>
      </value>
      <statement name="DO0">
      <block type="variables_set" id="[:r[+m)b/$FQWtV[t)#"> <field name="VAR" id="3Z$x1{!vu;(:9*^Og4Mr">sdd</field> <value name="VALUE"> <block type="math_arithmetic" id="jAo9H:ZALCR1L9eCZ.Il" inline="false"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="G6Q_]:vF;i~j7:Pi8-#t"> <field name="NUM">6.1078</field> </shadow> </value> <value name="B"> <shadow type="math_number" id="665S^yxD[xGW4Inm4Mr,"> <field name="NUM">1</field> </shadow> <block type="math_single" id="$cG@3m(JoL4w3HkfhiS">
      <field name="OP">POW10</field>
      <value name="NUM">
      <shadow type="math_number" id="PRQST8q8yV]Fw_W3/x:z">
      <field name="NUM">9</field>
      </shadow>
      <block type="math_arithmetic" id="(?IN@H@;V[kL!``q_2$" inline="false"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number" id="QyD0sMCD3#C](G$}r@_">
      <field name="NUM">1</field>
      </shadow>
      <block type="math_arithmetic" id="a;!+nAsao:y,^/1|@jsY">
      <field name="OP">MULTIPLY</field>
      <value name="A">
      <shadow type="math_number" id="]RltYj4L;^qa317_M$="> <field name="NUM">7.5</field> </shadow> </value> <value name="B"> <shadow type="math_number" id="EWFJRA-hdkJh0QPc.Qv?"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="nmLg;c|0$9+iucY..=L">
      <field name="VAR" id="M$gd;on{YS_4sZS7%v5;">T</field>
      </block>
      </value>
      </block>
      </value>
      <value name="B">
      <shadow type="math_number" id="ub!sba|dcBnu#IqUX}1r">
      <field name="NUM">1</field>
      </shadow>
      <block type="math_arithmetic" id="hQ?]Y6c.Z;z~rbp9#WC$">
      <field name="OP">ADD</field>
      <value name="A">
      <shadow type="math_number" id="XRheb5t8I6;)aQkJ2lYT">
      <field name="NUM">237.3</field>
      </shadow>
      </value>
      <value name="B">
      <shadow type="math_number">
      <field name="NUM">1</field>
      </shadow>
      <block type="variables_get" id="AcSL3eS]mbdzUDxMcsY0">
      <field name="VAR" id="M$gd;on{YS_4sZS7%v5;">T</field>
      </block>
      </value>
      </block>
      </value>
      </block>
      </value>
      </block>
      </value>
      </block>
      </value>
      <next>
      <block type="variables_set" id="5OQF=sBxj^$C(cPHO[y"> <field name="VAR" id="mX4kA._w3Vj3Gb{T/zN_">dd</field> <value name="VALUE"> <block type="math_arithmetic" id="LOO1_uCB2yObhF(3Ao.h" inline="false"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="cy!FphPD6@UZo^!N5eo|"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="oB:4|Fi*KYE^3FjGkMP1"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number"> <field name="NUM">7.6</field> </shadow> <block type="variables_get" id="wijqrStadbe_On+gkU4n"> <field name="VAR" id="f-+??FgK=EkG;Jx.E4Uh">r</field> </block> </value> <value name="B"> <shadow type="math_number" id="N~_=GJQhkjzh2h[C9nWu"> <field name="NUM">100</field> </shadow> </value> </block> </value> <value name="B"> <shadow type="math_number" id="f]XaZasgJhFAf$z/8n@k"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="q8=SL{BuR[EAHn(]:Hq">
      <field name="VAR" id="3Z$x1{!vu;(:9
      ^Og4Mr">sdd</field>
      </block>
      </value>
      </block>
      </value>
      <next>
      <block type="variables_set" id="V.LWooF4=WgvA1LGfkBP">
      <field name="VAR" id="{NP4D8gJ;3K@K(4++fqR">eln</field>
      <value name="VALUE">
      <block type="math_single" id="ZS@~m80I{rE{yD.bFAVW">
      <field name="OP">LOG10</field>
      <value name="NUM">
      <shadow type="math_number">
      <field name="NUM">9</field>
      </shadow>
      <block type="math_arithmetic" id="ozDO$-;H}.0A@Yod[_b" inline="false">
      <field name="OP">DIVIDE</field>
      <value name="A">
      <shadow type="math_number" id="c:}sw
      2_;B]H[?gPr^g0">
      <field name="NUM">1</field>
      </shadow>
      <block type="variables_get" id="x@kg5Wf;VpLbn-0z(so;">
      <field name="VAR" id="mX4kA.w3Vj3Gb{T/zN">dd</field>
      </block>
      </value>
      <value name="B">
      <shadow type="math_number" id="sEtqixSVh@rW/|O^cbET">
      <field name="NUM">6.1078</field>
      </shadow>
      </value>
      </block>
      </value>
      </block>
      </value>
      <next>
      <block type="variables_set" id="J;ubZ2|r/nw^jdXyKr3L">
      <field name="VAR" id="UL:4GF)A];9++Y79).sv">td</field>
      <value name="VALUE">
      <block type="math_arithmetic" id="kIefD#q5wDGn+i4Z]:w" inline="false"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number" id="PHt0V{{d0iijFXw@ldg0"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="s-_(SzYRKU@FPCmSJj0I"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="NA+=G8*WO(Y8E.RUE5.="> <field name="NUM">237.3</field> </shadow> </value> <value name="B"> <shadow type="math_number"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="qFxw]#bth0/miCmcPu@|"> <field name="VAR" id="{NP4D8gJ;3K@K(4++fqR">eln</field> </block> </value> </block> </value> <value name="B"> <shadow type="math_number" id="A^):KB{[ss]U#]}u=%;R"> <field name="NUM">6.1078</field> </shadow> <block type="math_arithmetic" id="~n^jByV/9B7}/g~y+,)">
      <field name="OP">MINUS</field>
      <value name="A">
      <shadow type="math_number" id="2tg8805p7f|=_pB0L].">
      <field name="NUM">7.5</field>
      </shadow>
      </value>
      <value name="B">
      <shadow type="math_number">
      <field name="NUM">1</field>
      </shadow>
      <block type="variables_get" id="UBF{jeWYsA|!~8fRHDz7">
      <field name="VAR" id="{NP4D8gJ;3K@K(4++fqR">eln</field>
      </block>
      </value>
      </block>
      </value>
      </block>
      </value>
      </block>
      </next>
      </block>
      </next>
      </block>
      </next>
      </block>
      </statement>
      <statement name="ELSE">
      <block type="variables_set" id="g$QTSdGTy+T-aFZX9$wp">
      <field name="VAR" id="3Z$x1{!vu;(:9
      ^Og4Mr">sdd</field>
      <value name="VALUE">
      <block type="math_arithmetic" id="g$P^tql^~WUAamw8k7n" inline="false"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="(c1.KCn%}THJH{W5Bkmz"> <field name="NUM">6.1078</field> </shadow> </value> <value name="B"> <shadow type="math_number"> <field name="NUM">1</field> </shadow> <block type="math_single" id="/1T#,u#%)1#jT)HCV=9J"> <field name="OP">POW10</field> <value name="NUM"> <shadow type="math_number"> <field name="NUM">9</field> </shadow> <block type="math_arithmetic" id="vp8rg(E,B,YS,I%ug)[Q" inline="false"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="8HB}OAR3P8F:?w7qE22-"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="}Ln*)/CqQr4MyM(c#EjH"> <field name="NUM">7.6</field> </shadow> </value> <value name="B"> <shadow type="math_number"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="o+w;;K}Q|%_n/Etl/gl9"> <field name="VAR" id="M$gd;on{YS_4sZS7%v5;">T</field> </block> </value> </block> </value> <value name="B"> <shadow type="math_number"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="G?GFHbIe}%)q$lz:Bz?c"> <field name="OP">ADD</field> <value name="A"> <shadow type="math_number" id="Q||2_A,%@XWwv5CCKFk#"> <field name="NUM">240.7</field> </shadow> </value> <value name="B"> <shadow type="math_number"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="@}]UG%@}P.HPSrz]iHgC"> <field name="VAR" id="M$gd;on{YS_4sZS7%v5;">T</field> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> <next> <block type="variables_set" id="g/N;f_%f8Cn|9kuyE{(F"> <field name="VAR" id="mX4kA._w3Vj3Gb{T/zN_">dd</field> <value name="VALUE"> <block type="math_arithmetic" id="u69dXBrq66BCLE^M{]V2" inline="false"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="J0lJ2u^IQu9boEc1aa$Z"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="{A]Yj,E@@tC7=?3vy.{G"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number" id="}_|z]Pr1Ms^k+Gh6_FVS"> <field name="NUM">7.6</field> </shadow> <block type="variables_get" id="^hq}Dvu!rIQB{R*$6mt">
      <field name="VAR" id="f-+??FgK=EkG;Jx.E4Uh">r</field>
      </block>
      </value>
      <value name="B">
      <shadow type="math_number" id="}p=-XZ~(js#}jeqwsdn">
      <field name="NUM">100</field>
      </shadow>
      </value>
      </block>
      </value>
      <value name="B">
      <shadow type="math_number" id="pJlcaR:BP9^@(gw$(RtG">
      <field name="NUM">1</field>
      </shadow>
      <block type="variables_get" id="uMHVhIUx1FQ-Lvu$l^])">
      <field name="VAR" id="3Z$x1{!vu;(:9
      ^Og4Mr">sdd</field>
      </block>
      </value>
      </block>
      </value>
      <next>
      <block type="variables_set" id="jjt:t%m%BfYT3Zap=M;"> <field name="VAR" id="{NP4D8gJ;3K@K(4++fqR">eln</field> <value name="VALUE"> <block type="math_single" id="+99f$xJ)^XL:a,7onGF,"> <field name="OP">LOG10</field> <value name="NUM"> <shadow type="math_number"> <field name="NUM">9</field> </shadow> <block type="math_arithmetic" id="xW02mthV|YNG5nwYvynh" inline="false"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="E6#c7WR_4V%m=z{p)MPZ"> <field name="VAR" id="mX4kA._w3Vj3Gb{T/zN_">dd</field> </block> </value> <value name="B"> <shadow type="math_number" id=";uRP3BRr7?n|n~5lmTJ/"> <field name="NUM">6.1078</field> </shadow> </value> </block> </value> </block> </value> <next> <block type="variables_set" id="R[tn_(Y0qqH~W~+.puY-"> <field name="VAR" id="UL:4GF)A];9++Y79).sv">td</field> <value name="VALUE"> <block type="math_arithmetic" id="aS/=lAk=ZQ#dpFbE+QDx" inline="false"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="laq*gf7u+IX8+!!x-R5d"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="XLNI074{%m0%e0[cIMlp"> <field name="NUM">240.7</field> </shadow> </value> <value name="B"> <shadow type="math_number"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="EL2YKNTNBS5sQG+pBf@i"> <field name="VAR" id="{NP4D8gJ;3K@K(4++fqR">eln</field> </block> </value> </block> </value> <value name="B"> <shadow type="math_number"> <field name="NUM">6.1078</field> </shadow> <block type="math_arithmetic" id=".hEJ#RYdL%zb+4Hjr6|I"> <field name="OP">MINUS</field> <value name="A"> <shadow type="math_number" id="?b;^}jKWg7j)IMPTuo?">
      <field name="NUM">7.6</field>
      </shadow>
      </value>
      <value name="B">
      <shadow type="math_number">
      <field name="NUM">1</field>
      </shadow>
      <block type="variables_get" id=":0Nxo1iLv@ng5s_g)o9)">
      <field name="VAR" id="{NP4D8gJ;3K@K(4++fqR">eln</field>
      </block>
      </value>
      </block>
      </value>
      </block>
      </value>
      </block>
      </next>
      </block>
      </next>
      </block>
      </next>
      </block>
      </statement>
      <next>
      <block type="variables_set" id=")8/1GENxlDMsoC-~NmZR">
      <field name="VAR" id="sMuyz@sFD?~GL7Pbp0m">tp</field>
      <value name="VALUE">
      <block type="math_rndfixed" id="ss$V$R-Lv=/XIzX@$EAS">
      <field name="n">2</field>
      <value name="x">
      <shadow type="math_number" id="+$_x
      @enw?zJVQC2:3JV">
      <field name="NUM">3.1234</field>
      </shadow>
      <block type="math_arithmetic" id="mk0h{=j0(diHL.Gn4zYl" inline="false">
      <field name="OP">DIVIDE</field>
      <value name="A">
      <shadow type="math_number" id="[,?Y1NM~2Jm[hD+Gm)Hv">
      <field name="NUM">1</field>
      </shadow>
      <block type="math_arithmetic" id="[l`.ygZH4@]-KjJ2(OA+">
      <field name="OP">MULTIPLY</field>
      <value name="A">
      <shadow type="math_number" id="q^y@mBmcN:Pdn6YXT5Q7">
      <field name="NUM">100</field>
      </shadow>
      </value>
      <value name="B">
      <shadow type="math_number">
      <field name="NUM">1</field>
      </shadow>
      <block type="variables_get" id="YrIu}OINL[7w1/KQihT">
      <field name="VAR" id="UL:4GF)A];9++Y79).sv">td</field>
      </block>
      </value>
      </block>
      </value>
      <value name="B">
      <shadow type="math_number" id="z)N+HO
      fmqR01vg:!kLJ">
      <field name="NUM">100</field>
      </shadow>
      </value>
      </block>
      </value>
      </block>
      </value>
      </block>
      </next>
      </block>
      </next>
      </block>
      </statement>
      </block>
      </xml>

      Mit Verbose wird mir im Log nachfolgendes angezeigt:

      15:14:25.889	info	javascript.0 (733) script.js.common.Taupunkt: getState(id=zigbee.0.00158d0002b51c2b.humidity, timerId=undefined) => {"val":59.88,"ack":true,"ts":1630329265881,"q":0,"from":"system.adapter.zigbee.0","user":"system.user.admin","lc":1630329265881}
      15:14:25.891	info	javascript.0 (733) script.js.common.Taupunkt: getState(id=zigbee.0.00158d0002b51c2b.temperature, timerId=undefined) => {"val":23.18,"ack":true,"ts":1630329265857,"q":0,"from":"system.adapter.zigbee.0","user":"system.user.admin","lc":1630329014681}
      15:14:25.892	info	javascript.0 (733) script.js.common.Taupunkt: setForeignState(id=0_userdata.0.Taupunkt.dpwohnzimmer, state={"val":null,"ack":true,"c":"script.js.common.Taupunkt"})
      
      posted in Blockly
      NEA1971
      NEA1971
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo