Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • 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. Taupunkt ganz simpel berechnen

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    787

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

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

Taupunkt ganz simpel berechnen

Geplant Angeheftet Gesperrt Verschoben Blockly
25 Beiträge 8 Kommentatoren 7.3k Aufrufe 6 Beobachtet
  • Ä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.
  • H Offline
    H Offline
    Hamudulu
    schrieb am zuletzt editiert von
    #5

    Ok das ist schon mal gut. Jetzt ganz konkret. Wie stell ich so eine Formel in Blockly dar?
    sdd = 6.1078Math.pow(10,((7.5msg1)/(237.3 + msg1)))

    paul53P 1 Antwort Letzte Antwort
    0
    • H Hamudulu

      Ok das ist schon mal gut. Jetzt ganz konkret. Wie stell ich so eine Formel in Blockly dar?
      sdd = 6.1078Math.pow(10,((7.5msg1)/(237.3 + msg1)))

      paul53P Offline
      paul53P Offline
      paul53
      schrieb am zuletzt editiert von
      #6

      @Hamudulu sagte:

      sdd = 6.1078Math.pow(10,((7.5msg1)/(237.3 + msg1)))

      Blockly_temp.JPG

      Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
      Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

      H 1 Antwort Letzte Antwort
      0
      • paul53P paul53

        @Hamudulu sagte:

        sdd = 6.1078Math.pow(10,((7.5msg1)/(237.3 + msg1)))

        Blockly_temp.JPG

        H Offline
        H Offline
        Hamudulu
        schrieb am zuletzt editiert von
        #7

        @paul53 Danke.
        Jetzt mein Problem. Wie bekomme ich die mathematischen Funktionen einzeln als blöcke? Also zb. das "mal"
        Daran scheiter ich im Moment...

        H 1 Antwort Letzte Antwort
        0
        • H Hamudulu

          @paul53 Danke.
          Jetzt mein Problem. Wie bekomme ich die mathematischen Funktionen einzeln als blöcke? Also zb. das "mal"
          Daran scheiter ich im Moment...

          H Offline
          H Offline
          Hamudulu
          schrieb am zuletzt editiert von
          #8

          Ah jetzt geht es weiter. Ich muss umstellen auf exerne Eingänge :-)

          BBTownB paul53P 2 Antworten Letzte Antwort
          0
          • H Hamudulu

            Ah jetzt geht es weiter. Ich muss umstellen auf exerne Eingänge :-)

            BBTownB Offline
            BBTownB Offline
            BBTown
            schrieb am zuletzt editiert von
            #9

            @Hamudulu multiplizieren.gif

            ioBroker auf NUC (VM debian v13 (Trixie ), node v22.22.2 npm v10.9.4, js-controller v7.1.1 jsonl/jsonl / HomeMatic CCU-2 (Wired und Funk) / Philips HUE / echo.DOT / Broadlink RM pro / SONOS

            1 Antwort Letzte Antwort
            0
            • H Hamudulu

              Ah jetzt geht es weiter. Ich muss umstellen auf exerne Eingänge :-)

              paul53P Offline
              paul53P Offline
              paul53
              schrieb am zuletzt editiert von paul53
              #10

              @Hamudulu
              Nach den Formeln, die ich kenne, müsste es so funktionieren:

              Blockly_temp.JPG

              Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
              Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

              H 1 Antwort Letzte Antwort
              0
              • paul53P paul53

                @Hamudulu
                Nach den Formeln, die ich kenne, müsste es so funktionieren:

                Blockly_temp.JPG

                H Offline
                H Offline
                Hamudulu
                schrieb am zuletzt editiert von
                #11

                @paul53 Ich war auch mal fleißig und hab versucht mein script nachzustellen.
                Bildschirmfoto 2019-11-21 um 21.45.38.png

                Leider schreibt es mir nix in den Datenpunkt. Wo hab ich da was falsch gedacht?

                paul53P 1 Antwort Letzte Antwort
                0
                • H Hamudulu

                  @paul53 Ich war auch mal fleißig und hab versucht mein script nachzustellen.
                  Bildschirmfoto 2019-11-21 um 21.45.38.png

                  Leider schreibt es mir nix in den Datenpunkt. Wo hab ich da was falsch gedacht?

                  paul53P Offline
                  paul53P Offline
                  paul53
                  schrieb am zuletzt editiert von
                  #12

                  @Hamudulu sagte:

                  Wo hab ich da was falsch gedacht?

                  Die Berechnung von dd ist falsch. Richtig: dd = sdd * msg3 / 100

                  100 * td / 100 ist umsonst. Das, was Du möchtest ist in Runde auf 2 Nachkommastellen enthalten.

                  Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                  Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                  H 1 Antwort Letzte Antwort
                  0
                  • paul53P paul53

                    @Hamudulu sagte:

                    Wo hab ich da was falsch gedacht?

                    Die Berechnung von dd ist falsch. Richtig: dd = sdd * msg3 / 100

                    100 * td / 100 ist umsonst. Das, was Du möchtest ist in Runde auf 2 Nachkommastellen enthalten.

                    H Offline
                    H Offline
                    Hamudulu
                    schrieb am zuletzt editiert von
                    #13

                    @paul53 jetzt läuft es. Vielen Dank
                    Und dein Vorschlag bring ich auch noch zum laufen, scheinbar hab ich noch Fehler drin...der Unterschied zu meiner Berechnung würde mich interessieren...

                    1 Antwort Letzte Antwort
                    0
                    • SBorgS Offline
                      SBorgS Offline
                      SBorg
                      Forum Testing Most Active
                      schrieb am zuletzt editiert von
                      #14

                      Wäre das Ganze nicht einfacher und übersichtlicher in einer JS-Funktion (unter Funktionen ;) ) aufgehoben? Da ließe sich die ganze Berechnung sogar 1:1 von Node-RED übernehmen.

                      LG SBorg ( SBorg auf GitHub)
                      Projekte: Lebensmittelwarnung.de | WLAN-Wetterstation | PimpMyStation

                      H 1 Antwort Letzte Antwort
                      0
                      • SBorgS SBorg

                        Wäre das Ganze nicht einfacher und übersichtlicher in einer JS-Funktion (unter Funktionen ;) ) aufgehoben? Da ließe sich die ganze Berechnung sogar 1:1 von Node-RED übernehmen.

                        H Offline
                        H Offline
                        Hamudulu
                        schrieb am zuletzt editiert von
                        #15

                        @SBorg Hab ich versucht, klappte mit meinen bescheidenen JS Kenntnissen nicht. Blockly funktioniert jetzt und ich hab einiges dabei gelernt...

                        SBorgS 1 Antwort Letzte Antwort
                        0
                        • H Hamudulu

                          @SBorg Hab ich versucht, klappte mit meinen bescheidenen JS Kenntnissen nicht. Blockly funktioniert jetzt und ich hab einiges dabei gelernt...

                          SBorgS Offline
                          SBorgS Offline
                          SBorg
                          Forum Testing Most Active
                          schrieb am zuletzt editiert von SBorg
                          #16

                          @Hamudulu Easy going:
                          Bild 1.png
                          That's all 😊
                          Ich habe halt einen Cron-Trigger benutzt und ein Debug zur Ausgabe. Die msg1/3 habe ich so übernommen (temp + humi wären hier aber besser, weil eindeutiger) und da ich keine aktuellen Werte als Datenpunkt habe, hier fest eingestellt.
                          In der Funktion ist dann fast kpl. dein JS-Code von Node-RED.

                          Blockly-Export:


                          <xml xmlns="http://www.w3.org/1999/xhtml">
                          <variables>
                          <variable type="" id="H)XqzXx2DSAF|Z5$AgFL">msg1</variable>
                          <variable type="" id="?qF=cSs#f$u2;HED+TJf">msg3</variable>
                          </variables>
                          <block type="schedule" id="+xkHtiOO^+1Ys$7)SPz}" x="38" y="38">
                          <field name="SCHEDULE">/5 * * * * </field>
                          <statement name="STATEMENT">
                          <block type="debug" id="M[-Vh_Ud6$DwyujC+0)V">
                          <field name="Severity">log</field>
                          <value name="TEXT">
                          <shadow type="text" id="a8dY^CVd
                          azdSo#t:I]i">
                          <field name="TEXT">test</field>
                          </shadow>
                          <block type="text_join" id="hR[WD8TuSxQ?X|anBa{H">
                          <mutation items="1"></mutation>
                          <value name="ADD0">
                          <block type="procedures_callcustomreturn" id="Mp1gKA/lDvDP/dwMp103">
                          <mutation name="Taupunkt">
                          <arg name="msg1"></arg>
                          <arg name="msg3"></arg>
                          </mutation>
                          <value name="ARG0">
                          <block type="math_number" id="8C@Q,_tg8HTF9k1ubR6H">
                          <field name="NUM">20.01</field>
                          </block>
                          </value>
                          <value name="ARG1">
                          <block type="math_number" id="l6@4Z1?2vc!U/NZEaayO">
                          <field name="NUM">47.5</field>
                          </block>
                          </value>
                          </block>
                          </value>
                          </block>
                          </value>
                          </block>
                          </statement>
                          </block>
                          <block type="procedures_defcustomreturn" id="Dn
                          cOkshtMy.AA|l%RnJ" x="338" y="37">
                          <mutation statements="false">
                          <arg name="msg1" varid="H)XqzXx2DSAF|Z5$AgFL"></arg>
                          <arg name="msg3" varid="?qF=cSs#f$u2;HED+TJf"></arg>
                          </mutation>
                          <field name="NAME">Taupunkt</field>
                          <field name="SCRIPT">DQp2YXIgc2RkID0gMDsNCnZhciBkZCA9IDA7DQp2YXIgZWxuID0gMDsNCnZhciB0ZCA9IDA7DQoNCmlmIChtc2cxID49IDApDQp7DQogc2RkID0gNi4xMDc4Kk1hdGgucG93KDEwLCgoNy41Km1zZzEpLygyMzcuMyArIG1zZzEpKSk7DQogZGQgPSBtc2czLzEwMC4wKnNkZDsNCiBlbG4gPSBNYXRoLmxvZzEwKGRkLzYuMTA3OCk7DQogdGQgPSAyMzcuMyplbG4vKDcuNSAtIGVsbik7DQp9DQplbHNlDQp7DQogc2RkID0gNi4xMDc4Kk1hdGgucG93KDEwLCgoNy42Km1zZzEpLygyNDAuNyArIG1zZzEpKSk7DQogZGQgPSBtc2czLzEwMC4wKnNkZDsNCiBlbG4gPSBNYXRoLmxvZzEwKGRkLzYuMTA3OCk7DQogdGQgPSAyNDAuNyplbG4vKDcuNiAtIGVsbik7DQogICAgDQp9DQpyZXR1cm4gTWF0aC5yb3VuZCgxMDAqdGQpLzEwMDsNCg==</field>
                          <comment pinned="false" h="80" w="160">Berechnet den Taupunkt</comment>
                          </block>
                          </xml>

                          LG SBorg ( SBorg auf GitHub)
                          Projekte: Lebensmittelwarnung.de | WLAN-Wetterstation | PimpMyStation

                          H 1 Antwort Letzte Antwort
                          0
                          • SBorgS SBorg

                            @Hamudulu Easy going:
                            Bild 1.png
                            That's all 😊
                            Ich habe halt einen Cron-Trigger benutzt und ein Debug zur Ausgabe. Die msg1/3 habe ich so übernommen (temp + humi wären hier aber besser, weil eindeutiger) und da ich keine aktuellen Werte als Datenpunkt habe, hier fest eingestellt.
                            In der Funktion ist dann fast kpl. dein JS-Code von Node-RED.

                            Blockly-Export:


                            <xml xmlns="http://www.w3.org/1999/xhtml">
                            <variables>
                            <variable type="" id="H)XqzXx2DSAF|Z5$AgFL">msg1</variable>
                            <variable type="" id="?qF=cSs#f$u2;HED+TJf">msg3</variable>
                            </variables>
                            <block type="schedule" id="+xkHtiOO^+1Ys$7)SPz}" x="38" y="38">
                            <field name="SCHEDULE">/5 * * * * </field>
                            <statement name="STATEMENT">
                            <block type="debug" id="M[-Vh_Ud6$DwyujC+0)V">
                            <field name="Severity">log</field>
                            <value name="TEXT">
                            <shadow type="text" id="a8dY^CVd
                            azdSo#t:I]i">
                            <field name="TEXT">test</field>
                            </shadow>
                            <block type="text_join" id="hR[WD8TuSxQ?X|anBa{H">
                            <mutation items="1"></mutation>
                            <value name="ADD0">
                            <block type="procedures_callcustomreturn" id="Mp1gKA/lDvDP/dwMp103">
                            <mutation name="Taupunkt">
                            <arg name="msg1"></arg>
                            <arg name="msg3"></arg>
                            </mutation>
                            <value name="ARG0">
                            <block type="math_number" id="8C@Q,_tg8HTF9k1ubR6H">
                            <field name="NUM">20.01</field>
                            </block>
                            </value>
                            <value name="ARG1">
                            <block type="math_number" id="l6@4Z1?2vc!U/NZEaayO">
                            <field name="NUM">47.5</field>
                            </block>
                            </value>
                            </block>
                            </value>
                            </block>
                            </value>
                            </block>
                            </statement>
                            </block>
                            <block type="procedures_defcustomreturn" id="Dn
                            cOkshtMy.AA|l%RnJ" x="338" y="37">
                            <mutation statements="false">
                            <arg name="msg1" varid="H)XqzXx2DSAF|Z5$AgFL"></arg>
                            <arg name="msg3" varid="?qF=cSs#f$u2;HED+TJf"></arg>
                            </mutation>
                            <field name="NAME">Taupunkt</field>
                            <field name="SCRIPT">DQp2YXIgc2RkID0gMDsNCnZhciBkZCA9IDA7DQp2YXIgZWxuID0gMDsNCnZhciB0ZCA9IDA7DQoNCmlmIChtc2cxID49IDApDQp7DQogc2RkID0gNi4xMDc4Kk1hdGgucG93KDEwLCgoNy41Km1zZzEpLygyMzcuMyArIG1zZzEpKSk7DQogZGQgPSBtc2czLzEwMC4wKnNkZDsNCiBlbG4gPSBNYXRoLmxvZzEwKGRkLzYuMTA3OCk7DQogdGQgPSAyMzcuMyplbG4vKDcuNSAtIGVsbik7DQp9DQplbHNlDQp7DQogc2RkID0gNi4xMDc4Kk1hdGgucG93KDEwLCgoNy42Km1zZzEpLygyNDAuNyArIG1zZzEpKSk7DQogZGQgPSBtc2czLzEwMC4wKnNkZDsNCiBlbG4gPSBNYXRoLmxvZzEwKGRkLzYuMTA3OCk7DQogdGQgPSAyNDAuNyplbG4vKDcuNiAtIGVsbik7DQogICAgDQp9DQpyZXR1cm4gTWF0aC5yb3VuZCgxMDAqdGQpLzEwMDsNCg==</field>
                            <comment pinned="false" h="80" w="160">Berechnet den Taupunkt</comment>
                            </block>
                            </xml>

                            H Offline
                            H Offline
                            Hamudulu
                            schrieb am zuletzt editiert von
                            #17

                            @SBorg das ist cool, so hab ich angefangen zu probieren. War aber nur try n error...
                            Gut versuch ich auch mal so. Ist auch ne nette Lösung. Danke

                            NEA1971N 1 Antwort Letzte Antwort
                            0
                            • H Hamudulu

                              @SBorg das ist cool, so hab ich angefangen zu probieren. War aber nur try n error...
                              Gut versuch ich auch mal so. Ist auch ne nette Lösung. Danke

                              NEA1971N Offline
                              NEA1971N Offline
                              NEA1971
                              schrieb am zuletzt editiert von NEA1971
                              #18

                              @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"})
                              
                              SBorgS paul53P 2 Antworten Letzte Antwort
                              0
                              • NEA1971N NEA1971

                                @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"})
                                
                                SBorgS Offline
                                SBorgS Offline
                                SBorg
                                Forum Testing Most Active
                                schrieb am zuletzt editiert von
                                #19

                                @nea1971 sagte in Taupunkt ganz simpel berechnen:

                                Leider beschreibt mir das Script die Datenpunkte nicht - als Wert wird mir unter dem Datenpunkt "(null)" angezeigt.

                                "tp" ist bei dir auch nicht definiert, da die Funktion "Taupunkt" nie ausgeführt wird ;)
                                Du musst die Funktion "Taupunkt" zum Ausführen noch in jeden "Zimmerblock" mit einfügen (schau mal genau im Original "Taupunkt_aussen")

                                LG SBorg ( SBorg auf GitHub)
                                Projekte: Lebensmittelwarnung.de | WLAN-Wetterstation | PimpMyStation

                                1 Antwort Letzte Antwort
                                0
                                • NEA1971N Offline
                                  NEA1971N Offline
                                  NEA1971
                                  schrieb am zuletzt editiert von
                                  #20

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

                                  1 Antwort Letzte Antwort
                                  0
                                  • NEA1971N NEA1971

                                    @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"})
                                    
                                    paul53P Offline
                                    paul53P Offline
                                    paul53
                                    schrieb am zuletzt editiert von
                                    #21

                                    @nea1971 sagte: das Blockly:

                                    Anmerkungen:

                                    • einen Wert, der sich runden ließ, muss man nicht "nach Zahl" wandeln, denn es kann nur eine Zahl sein
                                    • die Operation 100 * td / 100 ist sinnlos.

                                    Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                                    Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                                    NEA1971N 1 Antwort Letzte Antwort
                                    0
                                    • paul53P paul53

                                      @nea1971 sagte: das Blockly:

                                      Anmerkungen:

                                      • einen Wert, der sich runden ließ, muss man nicht "nach Zahl" wandeln, denn es kann nur eine Zahl sein
                                      • die Operation 100 * td / 100 ist sinnlos.
                                      NEA1971N Offline
                                      NEA1971N Offline
                                      NEA1971
                                      schrieb am zuletzt editiert von
                                      #22

                                      @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.

                                      1 Antwort Letzte Antwort
                                      0
                                      • FreunderNachtF Offline
                                        FreunderNachtF Offline
                                        FreunderNacht
                                        schrieb am zuletzt editiert von FreunderNacht
                                        #23

                                        Hi,
                                        ich war schon lange auf der Suche nach einer Möglichkeit den Taupunkt zu berechnen und bei mir in der VIS und Grafana sichtbar zu machen.

                                        Das hier hat mir sehr viel Zeit erspart.

                                        Hier nochmal mein Blocklyscript mit den Änderungen die @paul53 und @SBorg oben beschrieben hat.
                                        Außerdem wird dort nur auf eine Nachkommastelle gerundet und die Funktion "Taupunkt" ist jetzt auch eingebunden.
                                        Das ganze ist jetzt nur für einen "Raum" geschrieben (nicht wie im ursprünglichen Skript für mehrere) es können aber weitere ohne Probleme hinzugefügt werden.

                                        910a6f91-88fd-4953-927b-3751fcbf8513-image.png

                                        <xml xmlns="https://developers.google.com/blockly/xml">
                                          <variables>
                                            <variable id="sMuyz@sFD?~GL7Pbp0m">tp</variable>
                                            <variable id="UL:4GF)A];9++Y79).sv">td</variable>
                                            <variable id="M$gd;on{YS_4sZS7%v5;">T</variable>
                                            <variable id="3Z$x1{!vu;(:9*^Og4Mr">sdd</variable>
                                            <variable id="f-+??FgK=EkG;Jx.E4Uh">r</variable>
                                            <variable id="{NP4D8gJ;3K@K(4++fqR">eln</variable>
                                            <variable id="mX4kA._w3Vj3Gb{T/zN_">dd</variable>
                                          </variables>
                                          <block type="variables_set" id="P8WyPT`-=ZPwnF!3a0A1" x="-87" y="-612">
                                            <field name="VAR" id="sMuyz@sFD?~GL7Pbp0m">tp</field>
                                            <value name="VALUE">
                                              <block type="math_number" id="p.P1W%Xp-{!64dV92|#T">
                                                <field name="NUM">0</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="variables_set" id="NSXa`/DW*7QOWsQ^rQE{">
                                                <field name="VAR" id="M$gd;on{YS_4sZS7%v5;">T</field>
                                                <value name="VALUE">
                                                  <block type="math_number" id="cn8n?6GrD$4]+Fw:`UFu">
                                                    <field name="NUM">0</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="variables_set" id="#(tqP_1!X}A`jdEaT-q#">
                                                    <field name="VAR" id="3Z$x1{!vu;(:9*^Og4Mr">sdd</field>
                                                    <value name="VALUE">
                                                      <block type="math_number" id=";zSk*;X;3n)tp:{?cg*(">
                                                        <field name="NUM">0</field>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="variables_set" id="oH)8#Ny}tiOVyB|WA+b}">
                                                        <field name="VAR" id="f-+??FgK=EkG;Jx.E4Uh">r</field>
                                                        <value name="VALUE">
                                                          <block type="math_number" id="d3zGbkmOpnzPIrwfo4v^">
                                                            <field name="NUM">0</field>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="variables_set" id="[?K/:+U+Jxfz)k)mb!Z/">
                                                            <field name="VAR" id="{NP4D8gJ;3K@K(4++fqR">eln</field>
                                                            <value name="VALUE">
                                                              <block type="math_number" id="#NuXt{~?ssF8t$)^M]Tb">
                                                                <field name="NUM">0</field>
                                                              </block>
                                                            </value>
                                                            <next>
                                                              <block type="variables_set" id=";#g0JZzbb=rdh1X28kG$">
                                                                <field name="VAR" id="mX4kA._w3Vj3Gb{T/zN_">dd</field>
                                                                <value name="VALUE">
                                                                  <block type="math_number" id="OvsSA;~PwG9IF_Ep7iFI">
                                                                    <field name="NUM">0</field>
                                                                  </block>
                                                                </value>
                                                                <next>
                                                                  <block type="variables_set" id="2|v*9}Y4aD)W]aCsd07,">
                                                                    <field name="VAR" id="UL:4GF)A];9++Y79).sv">td</field>
                                                                    <value name="VALUE">
                                                                      <block type="math_number" id="ig,b[/+=dU*v[V:;@u-.">
                                                                        <field name="NUM">0</field>
                                                                      </block>
                                                                    </value>
                                                                    <next>
                                                                      <block type="comment" id="ndKR~-IJm/HMq4#npK/I">
                                                                        <field name="COMMENT">Aussen</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">hm-rpc.0.00185BE9922B49.1.HUMIDITY</field>
                                                                              </shadow>
                                                                            </value>
                                                                            <value name="OID1">
                                                                              <shadow type="field_oid" id="LQ3(J5H5(E/dpFZK[Lbj">
                                                                                <field name="oid">hm-rpc.0.00185BE9922B49.1.ACTUAL_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">hm-rpc.0.00185BE9922B49.1.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">hm-rpc.0.00185BE9922B49.1.ACTUAL_TEMPERATURE</field>
                                                                                      </block>
                                                                                    </value>
                                                                                    <next>
                                                                                      <block type="procedures_callnoreturn" id="DYa}UxDWp2sN,mGUb8HK">
                                                                                        <mutation name="Taupunkt"></mutation>
                                                                                        <next>
                                                                                          <block type="update" id="lRF2qapOYsx)t{MfqY(B">
                                                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                            <field name="OID">0_userdata.0.Variablen.Wetter.Temperatur.Temp_Taupunkt</field>
                                                                                            <field name="WITH_DELAY">FALSE</field>
                                                                                            <value name="VALUE">
                                                                                              <block type="variables_get" id="BXVaB~y0dn7~%]1/k`dO">
                                                                                                <field name="VAR" id="sMuyz@sFD?~GL7Pbp0m">tp</field>
                                                                                              </block>
                                                                                            </value>
                                                                                            <next>
                                                                                              <block type="debug" id="nol0Fa:#.@{!()XBYK!-" disabled="true">
                                                                                                <field name="Severity">log</field>
                                                                                                <value name="TEXT">
                                                                                                  <shadow type="text" id="-q,S47F%l//)#Z-r/6:%">
                                                                                                    <field name="TEXT">test</field>
                                                                                                  </shadow>
                                                                                                  <block type="variables_get" id="R.HyVSgf-PVmRz^mDumt">
                                                                                                    <field name="VAR" id="sMuyz@sFD?~GL7Pbp0m">tp</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                              </block>
                                                                                            </next>
                                                                                          </block>
                                                                                        </next>
                                                                                      </block>
                                                                                    </next>
                                                                                  </block>
                                                                                </next>
                                                                              </block>
                                                                            </statement>
                                                                          </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,@Iu.">
                                                <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:}sw2_;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">1</field>
                                                            <value name="x">
                                                              <shadow type="math_number" id="+$_x@enw?zJVQC2:3JV">
                                                                <field name="NUM">3.1234</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>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </statement>
                                          </block>
                                          <block type="variables_set" id="S?]|Oa4B=/dClMIj]{^B" x="-59" y="-406">
                                            <field name="VAR" id="UL:4GF)A];9++Y79).sv">td</field>
                                            <value name="VALUE">
                                              <block type="math_number" id=";H!JEX3.HDqOqP2BkJlO">
                                                <field name="NUM">0</field>
                                              </block>
                                            </value>
                                          </block>
                                        </xml>
                                        

                                        Intel NUC mit Proxmox
                                        IO Broker (Homematic IP / CCU3 / Shelly / Tasmota / Zigbee)
                                        Influx DB
                                        Grafana
                                        PiHole
                                        PiVPN

                                        M 1 Antwort Letzte Antwort
                                        0
                                        • FreunderNachtF FreunderNacht

                                          Hi,
                                          ich war schon lange auf der Suche nach einer Möglichkeit den Taupunkt zu berechnen und bei mir in der VIS und Grafana sichtbar zu machen.

                                          Das hier hat mir sehr viel Zeit erspart.

                                          Hier nochmal mein Blocklyscript mit den Änderungen die @paul53 und @SBorg oben beschrieben hat.
                                          Außerdem wird dort nur auf eine Nachkommastelle gerundet und die Funktion "Taupunkt" ist jetzt auch eingebunden.
                                          Das ganze ist jetzt nur für einen "Raum" geschrieben (nicht wie im ursprünglichen Skript für mehrere) es können aber weitere ohne Probleme hinzugefügt werden.

                                          910a6f91-88fd-4953-927b-3751fcbf8513-image.png

                                          <xml xmlns="https://developers.google.com/blockly/xml">
                                            <variables>
                                              <variable id="sMuyz@sFD?~GL7Pbp0m">tp</variable>
                                              <variable id="UL:4GF)A];9++Y79).sv">td</variable>
                                              <variable id="M$gd;on{YS_4sZS7%v5;">T</variable>
                                              <variable id="3Z$x1{!vu;(:9*^Og4Mr">sdd</variable>
                                              <variable id="f-+??FgK=EkG;Jx.E4Uh">r</variable>
                                              <variable id="{NP4D8gJ;3K@K(4++fqR">eln</variable>
                                              <variable id="mX4kA._w3Vj3Gb{T/zN_">dd</variable>
                                            </variables>
                                            <block type="variables_set" id="P8WyPT`-=ZPwnF!3a0A1" x="-87" y="-612">
                                              <field name="VAR" id="sMuyz@sFD?~GL7Pbp0m">tp</field>
                                              <value name="VALUE">
                                                <block type="math_number" id="p.P1W%Xp-{!64dV92|#T">
                                                  <field name="NUM">0</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="variables_set" id="NSXa`/DW*7QOWsQ^rQE{">
                                                  <field name="VAR" id="M$gd;on{YS_4sZS7%v5;">T</field>
                                                  <value name="VALUE">
                                                    <block type="math_number" id="cn8n?6GrD$4]+Fw:`UFu">
                                                      <field name="NUM">0</field>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="variables_set" id="#(tqP_1!X}A`jdEaT-q#">
                                                      <field name="VAR" id="3Z$x1{!vu;(:9*^Og4Mr">sdd</field>
                                                      <value name="VALUE">
                                                        <block type="math_number" id=";zSk*;X;3n)tp:{?cg*(">
                                                          <field name="NUM">0</field>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="variables_set" id="oH)8#Ny}tiOVyB|WA+b}">
                                                          <field name="VAR" id="f-+??FgK=EkG;Jx.E4Uh">r</field>
                                                          <value name="VALUE">
                                                            <block type="math_number" id="d3zGbkmOpnzPIrwfo4v^">
                                                              <field name="NUM">0</field>
                                                            </block>
                                                          </value>
                                                          <next>
                                                            <block type="variables_set" id="[?K/:+U+Jxfz)k)mb!Z/">
                                                              <field name="VAR" id="{NP4D8gJ;3K@K(4++fqR">eln</field>
                                                              <value name="VALUE">
                                                                <block type="math_number" id="#NuXt{~?ssF8t$)^M]Tb">
                                                                  <field name="NUM">0</field>
                                                                </block>
                                                              </value>
                                                              <next>
                                                                <block type="variables_set" id=";#g0JZzbb=rdh1X28kG$">
                                                                  <field name="VAR" id="mX4kA._w3Vj3Gb{T/zN_">dd</field>
                                                                  <value name="VALUE">
                                                                    <block type="math_number" id="OvsSA;~PwG9IF_Ep7iFI">
                                                                      <field name="NUM">0</field>
                                                                    </block>
                                                                  </value>
                                                                  <next>
                                                                    <block type="variables_set" id="2|v*9}Y4aD)W]aCsd07,">
                                                                      <field name="VAR" id="UL:4GF)A];9++Y79).sv">td</field>
                                                                      <value name="VALUE">
                                                                        <block type="math_number" id="ig,b[/+=dU*v[V:;@u-.">
                                                                          <field name="NUM">0</field>
                                                                        </block>
                                                                      </value>
                                                                      <next>
                                                                        <block type="comment" id="ndKR~-IJm/HMq4#npK/I">
                                                                          <field name="COMMENT">Aussen</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">hm-rpc.0.00185BE9922B49.1.HUMIDITY</field>
                                                                                </shadow>
                                                                              </value>
                                                                              <value name="OID1">
                                                                                <shadow type="field_oid" id="LQ3(J5H5(E/dpFZK[Lbj">
                                                                                  <field name="oid">hm-rpc.0.00185BE9922B49.1.ACTUAL_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">hm-rpc.0.00185BE9922B49.1.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">hm-rpc.0.00185BE9922B49.1.ACTUAL_TEMPERATURE</field>
                                                                                        </block>
                                                                                      </value>
                                                                                      <next>
                                                                                        <block type="procedures_callnoreturn" id="DYa}UxDWp2sN,mGUb8HK">
                                                                                          <mutation name="Taupunkt"></mutation>
                                                                                          <next>
                                                                                            <block type="update" id="lRF2qapOYsx)t{MfqY(B">
                                                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                              <field name="OID">0_userdata.0.Variablen.Wetter.Temperatur.Temp_Taupunkt</field>
                                                                                              <field name="WITH_DELAY">FALSE</field>
                                                                                              <value name="VALUE">
                                                                                                <block type="variables_get" id="BXVaB~y0dn7~%]1/k`dO">
                                                                                                  <field name="VAR" id="sMuyz@sFD?~GL7Pbp0m">tp</field>
                                                                                                </block>
                                                                                              </value>
                                                                                              <next>
                                                                                                <block type="debug" id="nol0Fa:#.@{!()XBYK!-" disabled="true">
                                                                                                  <field name="Severity">log</field>
                                                                                                  <value name="TEXT">
                                                                                                    <shadow type="text" id="-q,S47F%l//)#Z-r/6:%">
                                                                                                      <field name="TEXT">test</field>
                                                                                                    </shadow>
                                                                                                    <block type="variables_get" id="R.HyVSgf-PVmRz^mDumt">
                                                                                                      <field name="VAR" id="sMuyz@sFD?~GL7Pbp0m">tp</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </next>
                                                                                            </block>
                                                                                          </next>
                                                                                        </block>
                                                                                      </next>
                                                                                    </block>
                                                                                  </next>
                                                                                </block>
                                                                              </statement>
                                                                            </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,@Iu.">
                                                  <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:}sw2_;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">1</field>
                                                              <value name="x">
                                                                <shadow type="math_number" id="+$_x@enw?zJVQC2:3JV">
                                                                  <field name="NUM">3.1234</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>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </statement>
                                            </block>
                                            <block type="variables_set" id="S?]|Oa4B=/dClMIj]{^B" x="-59" y="-406">
                                              <field name="VAR" id="UL:4GF)A];9++Y79).sv">td</field>
                                              <value name="VALUE">
                                                <block type="math_number" id=";H!JEX3.HDqOqP2BkJlO">
                                                  <field name="NUM">0</field>
                                                </block>
                                              </value>
                                            </block>
                                          </xml>
                                          
                                          M Offline
                                          M Offline
                                          Meckii
                                          schrieb am zuletzt editiert von
                                          #24

                                          @freundernacht sagte in Taupunkt ganz simpel berechnen:

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

                                          Vielen Dank - werde in nächster Zeit da noch ein bisschen daran rumbasteln.
                                          Jedenfalls passt der errechnete Wert aus deinem Blockly sehr gut mit dem wert mit dem Thermometer der den Taupunkt direkt anzeigt überein :-)

                                          M 1 Antwort Letzte Antwort
                                          0

                                          Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.

                                          Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.

                                          Mit deinem Input könnte dieser Beitrag noch besser werden 💗

                                          Registrieren Anmelden
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          586

                                          Online

                                          32.8k

                                          Benutzer

                                          82.7k

                                          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