NEWS
Windrichtung auf Kompasswidget anzeigen lassen.
-
Guten Tag zus@mmen.
Ich möchte mir die windrichtung nun auf einem Kompass anzeigen lassen. Dazu habe ich mir den DasWetter.com Adapter installiert. Problem: Die windrichtung wird dort angegeben als N,S,E,W .... Das kann von dem Canvas-gauges widget nicht ausgewertet werden, da hier eine Gradzahl benötigt wird.
Demzufolge habe ich mir folgenden Datenpunkt angelegt, in den Objekten des DasWetter.com Adapters
{ "from": "system.adapter.admin.0", "user": "system.user.admin", "ts": 1599036004022, "common": { "name": "meinewindrichtung", "role": "", "type": "number", "desc": "Manuell erzeugt", "unit": "°", "min": 0, "max": 325, "def": 0, "read": true, "write": true }, "native": {}, "acl": { "object": 1638, "owner": "system.user.admin", "ownerGroup": "system.group.administrator", "state": 1638 }, "_id": "daswetter.0.meinewindrichtung", "type": "state" }Ausserdem habe ich mir ein Blocklyscript geschrieben wie folgt:
<block type="on_ext" id=".blqGhaI=39-g9QjfEp7" x="-187" y="-137"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation> <field name="CONDITION">any</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="Lody%y2mGB.9OH:Mnf*L"> <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.wind_dir</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="v:$@mWD:,Je%Gqis26!`"> <value name="IF0"> <block type="logic_compare" id=";*7tp1lVlmj`im`(%1#B"> <field name="OP">EQ</field> <value name="A"> <block type="field_oid" id="dlHs{Z)H77b$zBFoO,s)"> <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.wind_dir</field> </block> </value> <value name="B"> <block type="text" id="-0]?RX!zU90@va?|vx4a"> <field name="TEXT">N</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="lpP8U$.=l``#aAB9mC,?"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">daswetter.0.meinewindrichtung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="At00bA`J:.|_fWsQfGkk"> <field name="NUM">0</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="lI}{akvE?OUR#P`JaCj:"> <value name="IF0"> <block type="logic_compare" id="*=E[LQ;2,qUqz38_O`MH"> <field name="OP">EQ</field> <value name="A"> <block type="field_oid" id="|YL(~cWFi3G[Fc=K`s?9"> <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.wind_dir</field> </block> </value> <value name="B"> <block type="text" id="?lB6yFyjB-obX7yu-5HB"> <field name="TEXT">NE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="l%iT9/f7C5$=2I/;tG,O"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">daswetter.0.meinewindrichtung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="bP_jxn+dc{edoKY}(Ul#"> <field name="NUM">45</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="i3egPgo3$caHWS;T:S+p"> <value name="IF0"> <block type="logic_compare" id="PY][/UMN?Lq)dWrijX0E"> <field name="OP">EQ</field> <value name="A"> <block type="field_oid" id="WqmZK_|A{O|8J7LtNiH*"> <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.wind_dir</field> </block> </value> <value name="B"> <block type="text" id="4X5juHQsk^k~[MHJuqc,"> <field name="TEXT">E</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id=";q5zCF{A5{Y_y^JOSy$_"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">daswetter.0.meinewindrichtung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id=".#|2[?q!5CXs!.TrXWSf"> <field name="NUM">90</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="HzB2*HUd;igpo(5Bso:d"> <value name="IF0"> <block type="logic_compare" id="!SDzgVrn}w:Hw:7BCCT@"> <field name="OP">EQ</field> <value name="A"> <block type="field_oid" id="U4xFJZgX@S,F)|QmuUuo"> <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.wind_dir</field> </block> </value> <value name="B"> <block type="text" id="Ny~:cl$}tlHoWOw(]Hz3"> <field name="TEXT">SE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="I#zBA#:UV#JqV-(BO/oT"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">daswetter.0.meinewindrichtung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="x*OrAoND=Z,yYn|6.(bd"> <field name="NUM">135</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="6?.edGMDd.1izl]boc|@"> <value name="IF0"> <block type="logic_compare" id="k-m^Q5.mn:@n;S7SkFjj"> <field name="OP">EQ</field> <value name="A"> <block type="field_oid" id=",(He1!_C6;]w5969Qs?O"> <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.wind_dir</field> </block> </value> <value name="B"> <block type="text" id="kTyhT])bO1xgT;%0,S0h"> <field name="TEXT">S</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="pWsw!M*-Ys8z0(iscA#S"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">daswetter.0.meinewindrichtung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="Y3A=_Z1|W(Y$2%Dl/E%A"> <field name="NUM">180</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="Kd8uVu:)E1Qgg(c_DiA~"> <value name="IF0"> <block type="logic_compare" id=",ij`#j}T~sb1al%[h(T2"> <field name="OP">EQ</field> <value name="A"> <block type="field_oid" id="fn?rt0*{pfhi80*5u)sN"> <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.wind_dir</field> </block> </value> <value name="B"> <block type="text" id="?+KYgFP[l9R*}`N.U,h_"> <field name="TEXT">SW</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="t1p#VETwla0g)r2/AG6V"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">daswetter.0.meinewindrichtung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="q!Ce2QWE?TaH?U+VNQZH"> <field name="NUM">225</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="ugd%mgLa~C]g*Gym[#~X"> <value name="IF0"> <block type="logic_compare" id="{7v*]MbWabFGQ^CiQ(Vq"> <field name="OP">EQ</field> <value name="A"> <block type="field_oid" id="5ZQ{~0Z?GR|p;/7^pbu5"> <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.wind_dir</field> </block> </value> <value name="B"> <block type="text" id="n:f#Np7ny7EVXO.+SQV_"> <field name="TEXT">W</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="*ztZ4pIjT7WNk$,#7@Fw"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">daswetter.0.meinewindrichtung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="3XnFuA#}/-7L50a)#lpH"> <field name="NUM">270</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="vv?L0pwhseU(Bz6/B|XB"> <value name="IF0"> <block type="logic_compare" id="YQ}SO%p9gxvdZGexfl?2"> <field name="OP">EQ</field> <value name="A"> <block type="field_oid" id="ZlOtueL(.q8N3.;PIC(V"> <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.wind_dir</field> </block> </value> <value name="B"> <block type="text" id="9w@JFI+?JHS=Gq]2KALI"> <field name="TEXT">NW</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="owt(u+bU~MY?SGIH|]By"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">daswetter.0.meinewindrichtung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="?:;nb!31%$kDB2mzBduE"> <field name="NUM">315</field> </block> </value> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </xml>Es soll jeweils bei Änderung die Umrechnung von Buchstabe in Gradzahl erfolgen. Leider passiert da jedoch nichts. Mein angelegter Datenpunkt wird nicht mit Daten gefüllt. Könnte mir da jemand auf die Sprünge helfen? wäre toll. Danke euch
-
Guten Tag zus@mmen.
Ich möchte mir die windrichtung nun auf einem Kompass anzeigen lassen. Dazu habe ich mir den DasWetter.com Adapter installiert. Problem: Die windrichtung wird dort angegeben als N,S,E,W .... Das kann von dem Canvas-gauges widget nicht ausgewertet werden, da hier eine Gradzahl benötigt wird.
Demzufolge habe ich mir folgenden Datenpunkt angelegt, in den Objekten des DasWetter.com Adapters
{ "from": "system.adapter.admin.0", "user": "system.user.admin", "ts": 1599036004022, "common": { "name": "meinewindrichtung", "role": "", "type": "number", "desc": "Manuell erzeugt", "unit": "°", "min": 0, "max": 325, "def": 0, "read": true, "write": true }, "native": {}, "acl": { "object": 1638, "owner": "system.user.admin", "ownerGroup": "system.group.administrator", "state": 1638 }, "_id": "daswetter.0.meinewindrichtung", "type": "state" }Ausserdem habe ich mir ein Blocklyscript geschrieben wie folgt:
<block type="on_ext" id=".blqGhaI=39-g9QjfEp7" x="-187" y="-137"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation> <field name="CONDITION">any</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="Lody%y2mGB.9OH:Mnf*L"> <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.wind_dir</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="v:$@mWD:,Je%Gqis26!`"> <value name="IF0"> <block type="logic_compare" id=";*7tp1lVlmj`im`(%1#B"> <field name="OP">EQ</field> <value name="A"> <block type="field_oid" id="dlHs{Z)H77b$zBFoO,s)"> <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.wind_dir</field> </block> </value> <value name="B"> <block type="text" id="-0]?RX!zU90@va?|vx4a"> <field name="TEXT">N</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="lpP8U$.=l``#aAB9mC,?"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">daswetter.0.meinewindrichtung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="At00bA`J:.|_fWsQfGkk"> <field name="NUM">0</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="lI}{akvE?OUR#P`JaCj:"> <value name="IF0"> <block type="logic_compare" id="*=E[LQ;2,qUqz38_O`MH"> <field name="OP">EQ</field> <value name="A"> <block type="field_oid" id="|YL(~cWFi3G[Fc=K`s?9"> <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.wind_dir</field> </block> </value> <value name="B"> <block type="text" id="?lB6yFyjB-obX7yu-5HB"> <field name="TEXT">NE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="l%iT9/f7C5$=2I/;tG,O"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">daswetter.0.meinewindrichtung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="bP_jxn+dc{edoKY}(Ul#"> <field name="NUM">45</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="i3egPgo3$caHWS;T:S+p"> <value name="IF0"> <block type="logic_compare" id="PY][/UMN?Lq)dWrijX0E"> <field name="OP">EQ</field> <value name="A"> <block type="field_oid" id="WqmZK_|A{O|8J7LtNiH*"> <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.wind_dir</field> </block> </value> <value name="B"> <block type="text" id="4X5juHQsk^k~[MHJuqc,"> <field name="TEXT">E</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id=";q5zCF{A5{Y_y^JOSy$_"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">daswetter.0.meinewindrichtung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id=".#|2[?q!5CXs!.TrXWSf"> <field name="NUM">90</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="HzB2*HUd;igpo(5Bso:d"> <value name="IF0"> <block type="logic_compare" id="!SDzgVrn}w:Hw:7BCCT@"> <field name="OP">EQ</field> <value name="A"> <block type="field_oid" id="U4xFJZgX@S,F)|QmuUuo"> <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.wind_dir</field> </block> </value> <value name="B"> <block type="text" id="Ny~:cl$}tlHoWOw(]Hz3"> <field name="TEXT">SE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="I#zBA#:UV#JqV-(BO/oT"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">daswetter.0.meinewindrichtung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="x*OrAoND=Z,yYn|6.(bd"> <field name="NUM">135</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="6?.edGMDd.1izl]boc|@"> <value name="IF0"> <block type="logic_compare" id="k-m^Q5.mn:@n;S7SkFjj"> <field name="OP">EQ</field> <value name="A"> <block type="field_oid" id=",(He1!_C6;]w5969Qs?O"> <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.wind_dir</field> </block> </value> <value name="B"> <block type="text" id="kTyhT])bO1xgT;%0,S0h"> <field name="TEXT">S</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="pWsw!M*-Ys8z0(iscA#S"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">daswetter.0.meinewindrichtung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="Y3A=_Z1|W(Y$2%Dl/E%A"> <field name="NUM">180</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="Kd8uVu:)E1Qgg(c_DiA~"> <value name="IF0"> <block type="logic_compare" id=",ij`#j}T~sb1al%[h(T2"> <field name="OP">EQ</field> <value name="A"> <block type="field_oid" id="fn?rt0*{pfhi80*5u)sN"> <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.wind_dir</field> </block> </value> <value name="B"> <block type="text" id="?+KYgFP[l9R*}`N.U,h_"> <field name="TEXT">SW</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="t1p#VETwla0g)r2/AG6V"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">daswetter.0.meinewindrichtung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="q!Ce2QWE?TaH?U+VNQZH"> <field name="NUM">225</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="ugd%mgLa~C]g*Gym[#~X"> <value name="IF0"> <block type="logic_compare" id="{7v*]MbWabFGQ^CiQ(Vq"> <field name="OP">EQ</field> <value name="A"> <block type="field_oid" id="5ZQ{~0Z?GR|p;/7^pbu5"> <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.wind_dir</field> </block> </value> <value name="B"> <block type="text" id="n:f#Np7ny7EVXO.+SQV_"> <field name="TEXT">W</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="*ztZ4pIjT7WNk$,#7@Fw"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">daswetter.0.meinewindrichtung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="3XnFuA#}/-7L50a)#lpH"> <field name="NUM">270</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="vv?L0pwhseU(Bz6/B|XB"> <value name="IF0"> <block type="logic_compare" id="YQ}SO%p9gxvdZGexfl?2"> <field name="OP">EQ</field> <value name="A"> <block type="field_oid" id="ZlOtueL(.q8N3.;PIC(V"> <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.wind_dir</field> </block> </value> <value name="B"> <block type="text" id="9w@JFI+?JHS=Gq]2KALI"> <field name="TEXT">NW</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="owt(u+bU~MY?SGIH|]By"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">daswetter.0.meinewindrichtung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="?:;nb!31%$kDB2mzBduE"> <field name="NUM">315</field> </block> </value> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </xml>Es soll jeweils bei Änderung die Umrechnung von Buchstabe in Gradzahl erfolgen. Leider passiert da jedoch nichts. Mein angelegter Datenpunkt wird nicht mit Daten gefüllt. Könnte mir da jemand auf die Sprünge helfen? wäre toll. Danke euch
@michaelxhoffmann sagte:
Ausserdem habe ich mir ein Blocklyscript geschrieben wie folgt:
Der Export ist unvollständig (Anfang fehlt).
-
@michaelxhoffmann sagte:
Ausserdem habe ich mir ein Blocklyscript geschrieben wie folgt:
Der Export ist unvollständig (Anfang fehlt).
<xml xmlns="https://developers.google.com/blockly/xml"> <block type="on_ext" id=".blqGhaI=39-g9QjfEp7" x="-187" y="-137"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation> <field name="CONDITION">any</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="Lody%y2mGB.9OH:Mnf*L"> <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.wind_dir</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="v:$@mWD:,Je%Gqis26!`"> <value name="IF0"> <block type="logic_compare" id=";*7tp1lVlmj`im`(%1#B"> <field name="OP">EQ</field> <value name="A"> <block type="field_oid" id="dlHs{Z)H77b$zBFoO,s)"> <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.wind_dir</field> </block> </value> <value name="B"> <block type="text" id="-0]?RX!zU90@va?|vx4a"> <field name="TEXT">N</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="lpP8U$.=l``#aAB9mC,?"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">daswetter.0.meinewindrichtung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="At00bA`J:.|_fWsQfGkk"> <field name="NUM">0</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="lI}{akvE?OUR#P`JaCj:"> <value name="IF0"> <block type="logic_compare" id="*=E[LQ;2,qUqz38_O`MH"> <field name="OP">EQ</field> <value name="A"> <block type="field_oid" id="|YL(~cWFi3G[Fc=K`s?9"> <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.wind_dir</field> </block> </value> <value name="B"> <block type="text" id="?lB6yFyjB-obX7yu-5HB"> <field name="TEXT">NE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="l%iT9/f7C5$=2I/;tG,O"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">daswetter.0.meinewindrichtung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="bP_jxn+dc{edoKY}(Ul#"> <field name="NUM">45</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="i3egPgo3$caHWS;T:S+p"> <value name="IF0"> <block type="logic_compare" id="PY][/UMN?Lq)dWrijX0E"> <field name="OP">EQ</field> <value name="A"> <block type="field_oid" id="WqmZK_|A{O|8J7LtNiH*"> <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.wind_dir</field> </block> </value> <value name="B"> <block type="text" id="4X5juHQsk^k~[MHJuqc,"> <field name="TEXT">E</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id=";q5zCF{A5{Y_y^JOSy$_"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">daswetter.0.meinewindrichtung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id=".#|2[?q!5CXs!.TrXWSf"> <field name="NUM">90</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="HzB2*HUd;igpo(5Bso:d"> <value name="IF0"> <block type="logic_compare" id="!SDzgVrn}w:Hw:7BCCT@"> <field name="OP">EQ</field> <value name="A"> <block type="field_oid" id="U4xFJZgX@S,F)|QmuUuo"> <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.wind_dir</field> </block> </value> <value name="B"> <block type="text" id="Ny~:cl$}tlHoWOw(]Hz3"> <field name="TEXT">SE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="I#zBA#:UV#JqV-(BO/oT"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">daswetter.0.meinewindrichtung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="x*OrAoND=Z,yYn|6.(bd"> <field name="NUM">135</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="6?.edGMDd.1izl]boc|@"> <value name="IF0"> <block type="logic_compare" id="k-m^Q5.mn:@n;S7SkFjj"> <field name="OP">EQ</field> <value name="A"> <block type="field_oid" id=",(He1!_C6;]w5969Qs?O"> <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.wind_dir</field> </block> </value> <value name="B"> <block type="text" id="kTyhT])bO1xgT;%0,S0h"> <field name="TEXT">S</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="pWsw!M*-Ys8z0(iscA#S"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">daswetter.0.meinewindrichtung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="Y3A=_Z1|W(Y$2%Dl/E%A"> <field name="NUM">180</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="Kd8uVu:)E1Qgg(c_DiA~"> <value name="IF0"> <block type="logic_compare" id=",ij`#j}T~sb1al%[h(T2"> <field name="OP">EQ</field> <value name="A"> <block type="field_oid" id="fn?rt0*{pfhi80*5u)sN"> <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.wind_dir</field> </block> </value> <value name="B"> <block type="text" id="?+KYgFP[l9R*}`N.U,h_"> <field name="TEXT">SW</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="t1p#VETwla0g)r2/AG6V"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">daswetter.0.meinewindrichtung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="q!Ce2QWE?TaH?U+VNQZH"> <field name="NUM">225</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="ugd%mgLa~C]g*Gym[#~X"> <value name="IF0"> <block type="logic_compare" id="{7v*]MbWabFGQ^CiQ(Vq"> <field name="OP">EQ</field> <value name="A"> <block type="field_oid" id="5ZQ{~0Z?GR|p;/7^pbu5"> <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.wind_dir</field> </block> </value> <value name="B"> <block type="text" id="n:f#Np7ny7EVXO.+SQV_"> <field name="TEXT">W</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="*ztZ4pIjT7WNk$,#7@Fw"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">daswetter.0.meinewindrichtung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="3XnFuA#}/-7L50a)#lpH"> <field name="NUM">270</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="vv?L0pwhseU(Bz6/B|XB"> <value name="IF0"> <block type="logic_compare" id="YQ}SO%p9gxvdZGexfl?2"> <field name="OP">EQ</field> <value name="A"> <block type="field_oid" id="ZlOtueL(.q8N3.;PIC(V"> <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.wind_dir</field> </block> </value> <value name="B"> <block type="text" id="9w@JFI+?JHS=Gq]2KALI"> <field name="TEXT">NW</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="owt(u+bU~MY?SGIH|]By"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">daswetter.0.meinewindrichtung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="?:;nb!31%$kDB2mzBduE"> <field name="NUM">315</field> </block> </value> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </xml>So besser? :)
-
<xml xmlns="https://developers.google.com/blockly/xml"> <block type="on_ext" id=".blqGhaI=39-g9QjfEp7" x="-187" y="-137"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation> <field name="CONDITION">any</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="Lody%y2mGB.9OH:Mnf*L"> <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.wind_dir</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="v:$@mWD:,Je%Gqis26!`"> <value name="IF0"> <block type="logic_compare" id=";*7tp1lVlmj`im`(%1#B"> <field name="OP">EQ</field> <value name="A"> <block type="field_oid" id="dlHs{Z)H77b$zBFoO,s)"> <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.wind_dir</field> </block> </value> <value name="B"> <block type="text" id="-0]?RX!zU90@va?|vx4a"> <field name="TEXT">N</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="lpP8U$.=l``#aAB9mC,?"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">daswetter.0.meinewindrichtung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="At00bA`J:.|_fWsQfGkk"> <field name="NUM">0</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="lI}{akvE?OUR#P`JaCj:"> <value name="IF0"> <block type="logic_compare" id="*=E[LQ;2,qUqz38_O`MH"> <field name="OP">EQ</field> <value name="A"> <block type="field_oid" id="|YL(~cWFi3G[Fc=K`s?9"> <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.wind_dir</field> </block> </value> <value name="B"> <block type="text" id="?lB6yFyjB-obX7yu-5HB"> <field name="TEXT">NE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="l%iT9/f7C5$=2I/;tG,O"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">daswetter.0.meinewindrichtung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="bP_jxn+dc{edoKY}(Ul#"> <field name="NUM">45</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="i3egPgo3$caHWS;T:S+p"> <value name="IF0"> <block type="logic_compare" id="PY][/UMN?Lq)dWrijX0E"> <field name="OP">EQ</field> <value name="A"> <block type="field_oid" id="WqmZK_|A{O|8J7LtNiH*"> <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.wind_dir</field> </block> </value> <value name="B"> <block type="text" id="4X5juHQsk^k~[MHJuqc,"> <field name="TEXT">E</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id=";q5zCF{A5{Y_y^JOSy$_"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">daswetter.0.meinewindrichtung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id=".#|2[?q!5CXs!.TrXWSf"> <field name="NUM">90</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="HzB2*HUd;igpo(5Bso:d"> <value name="IF0"> <block type="logic_compare" id="!SDzgVrn}w:Hw:7BCCT@"> <field name="OP">EQ</field> <value name="A"> <block type="field_oid" id="U4xFJZgX@S,F)|QmuUuo"> <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.wind_dir</field> </block> </value> <value name="B"> <block type="text" id="Ny~:cl$}tlHoWOw(]Hz3"> <field name="TEXT">SE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="I#zBA#:UV#JqV-(BO/oT"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">daswetter.0.meinewindrichtung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="x*OrAoND=Z,yYn|6.(bd"> <field name="NUM">135</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="6?.edGMDd.1izl]boc|@"> <value name="IF0"> <block type="logic_compare" id="k-m^Q5.mn:@n;S7SkFjj"> <field name="OP">EQ</field> <value name="A"> <block type="field_oid" id=",(He1!_C6;]w5969Qs?O"> <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.wind_dir</field> </block> </value> <value name="B"> <block type="text" id="kTyhT])bO1xgT;%0,S0h"> <field name="TEXT">S</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="pWsw!M*-Ys8z0(iscA#S"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">daswetter.0.meinewindrichtung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="Y3A=_Z1|W(Y$2%Dl/E%A"> <field name="NUM">180</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="Kd8uVu:)E1Qgg(c_DiA~"> <value name="IF0"> <block type="logic_compare" id=",ij`#j}T~sb1al%[h(T2"> <field name="OP">EQ</field> <value name="A"> <block type="field_oid" id="fn?rt0*{pfhi80*5u)sN"> <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.wind_dir</field> </block> </value> <value name="B"> <block type="text" id="?+KYgFP[l9R*}`N.U,h_"> <field name="TEXT">SW</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="t1p#VETwla0g)r2/AG6V"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">daswetter.0.meinewindrichtung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="q!Ce2QWE?TaH?U+VNQZH"> <field name="NUM">225</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="ugd%mgLa~C]g*Gym[#~X"> <value name="IF0"> <block type="logic_compare" id="{7v*]MbWabFGQ^CiQ(Vq"> <field name="OP">EQ</field> <value name="A"> <block type="field_oid" id="5ZQ{~0Z?GR|p;/7^pbu5"> <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.wind_dir</field> </block> </value> <value name="B"> <block type="text" id="n:f#Np7ny7EVXO.+SQV_"> <field name="TEXT">W</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="*ztZ4pIjT7WNk$,#7@Fw"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">daswetter.0.meinewindrichtung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="3XnFuA#}/-7L50a)#lpH"> <field name="NUM">270</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="vv?L0pwhseU(Bz6/B|XB"> <value name="IF0"> <block type="logic_compare" id="YQ}SO%p9gxvdZGexfl?2"> <field name="OP">EQ</field> <value name="A"> <block type="field_oid" id="ZlOtueL(.q8N3.;PIC(V"> <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.wind_dir</field> </block> </value> <value name="B"> <block type="text" id="9w@JFI+?JHS=Gq]2KALI"> <field name="TEXT">NW</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="owt(u+bU~MY?SGIH|]By"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">daswetter.0.meinewindrichtung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="?:;nb!31%$kDB2mzBduE"> <field name="NUM">315</field> </block> </value> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </xml>So besser? :)
@michaelxhoffmann sagte:
So besser?
Ja. Eigene Datenpunkte sollte man nicht unter einem Adapter erstellen, denn dort werden sie vom Adapter verwaltet, können also auch gelöscht werden. Vorzugsordner: "0_userdata.0". Außerdem schont es Ressourcen, wenn man den Wert (Grad) erst in eine Variable schreibt und diese zum Schluss in einen Datenpunkt.
-
Guten Tag zus@mmen.
Ich möchte mir die windrichtung nun auf einem Kompass anzeigen lassen. Dazu habe ich mir den DasWetter.com Adapter installiert. Problem: Die windrichtung wird dort angegeben als N,S,E,W .... Das kann von dem Canvas-gauges widget nicht ausgewertet werden, da hier eine Gradzahl benötigt wird.
Demzufolge habe ich mir folgenden Datenpunkt angelegt, in den Objekten des DasWetter.com Adapters
{ "from": "system.adapter.admin.0", "user": "system.user.admin", "ts": 1599036004022, "common": { "name": "meinewindrichtung", "role": "", "type": "number", "desc": "Manuell erzeugt", "unit": "°", "min": 0, "max": 325, "def": 0, "read": true, "write": true }, "native": {}, "acl": { "object": 1638, "owner": "system.user.admin", "ownerGroup": "system.group.administrator", "state": 1638 }, "_id": "daswetter.0.meinewindrichtung", "type": "state" }Ausserdem habe ich mir ein Blocklyscript geschrieben wie folgt:
<block type="on_ext" id=".blqGhaI=39-g9QjfEp7" x="-187" y="-137"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation> <field name="CONDITION">any</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="Lody%y2mGB.9OH:Mnf*L"> <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.wind_dir</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="v:$@mWD:,Je%Gqis26!`"> <value name="IF0"> <block type="logic_compare" id=";*7tp1lVlmj`im`(%1#B"> <field name="OP">EQ</field> <value name="A"> <block type="field_oid" id="dlHs{Z)H77b$zBFoO,s)"> <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.wind_dir</field> </block> </value> <value name="B"> <block type="text" id="-0]?RX!zU90@va?|vx4a"> <field name="TEXT">N</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="lpP8U$.=l``#aAB9mC,?"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">daswetter.0.meinewindrichtung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="At00bA`J:.|_fWsQfGkk"> <field name="NUM">0</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="lI}{akvE?OUR#P`JaCj:"> <value name="IF0"> <block type="logic_compare" id="*=E[LQ;2,qUqz38_O`MH"> <field name="OP">EQ</field> <value name="A"> <block type="field_oid" id="|YL(~cWFi3G[Fc=K`s?9"> <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.wind_dir</field> </block> </value> <value name="B"> <block type="text" id="?lB6yFyjB-obX7yu-5HB"> <field name="TEXT">NE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="l%iT9/f7C5$=2I/;tG,O"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">daswetter.0.meinewindrichtung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="bP_jxn+dc{edoKY}(Ul#"> <field name="NUM">45</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="i3egPgo3$caHWS;T:S+p"> <value name="IF0"> <block type="logic_compare" id="PY][/UMN?Lq)dWrijX0E"> <field name="OP">EQ</field> <value name="A"> <block type="field_oid" id="WqmZK_|A{O|8J7LtNiH*"> <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.wind_dir</field> </block> </value> <value name="B"> <block type="text" id="4X5juHQsk^k~[MHJuqc,"> <field name="TEXT">E</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id=";q5zCF{A5{Y_y^JOSy$_"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">daswetter.0.meinewindrichtung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id=".#|2[?q!5CXs!.TrXWSf"> <field name="NUM">90</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="HzB2*HUd;igpo(5Bso:d"> <value name="IF0"> <block type="logic_compare" id="!SDzgVrn}w:Hw:7BCCT@"> <field name="OP">EQ</field> <value name="A"> <block type="field_oid" id="U4xFJZgX@S,F)|QmuUuo"> <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.wind_dir</field> </block> </value> <value name="B"> <block type="text" id="Ny~:cl$}tlHoWOw(]Hz3"> <field name="TEXT">SE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="I#zBA#:UV#JqV-(BO/oT"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">daswetter.0.meinewindrichtung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="x*OrAoND=Z,yYn|6.(bd"> <field name="NUM">135</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="6?.edGMDd.1izl]boc|@"> <value name="IF0"> <block type="logic_compare" id="k-m^Q5.mn:@n;S7SkFjj"> <field name="OP">EQ</field> <value name="A"> <block type="field_oid" id=",(He1!_C6;]w5969Qs?O"> <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.wind_dir</field> </block> </value> <value name="B"> <block type="text" id="kTyhT])bO1xgT;%0,S0h"> <field name="TEXT">S</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="pWsw!M*-Ys8z0(iscA#S"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">daswetter.0.meinewindrichtung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="Y3A=_Z1|W(Y$2%Dl/E%A"> <field name="NUM">180</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="Kd8uVu:)E1Qgg(c_DiA~"> <value name="IF0"> <block type="logic_compare" id=",ij`#j}T~sb1al%[h(T2"> <field name="OP">EQ</field> <value name="A"> <block type="field_oid" id="fn?rt0*{pfhi80*5u)sN"> <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.wind_dir</field> </block> </value> <value name="B"> <block type="text" id="?+KYgFP[l9R*}`N.U,h_"> <field name="TEXT">SW</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="t1p#VETwla0g)r2/AG6V"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">daswetter.0.meinewindrichtung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="q!Ce2QWE?TaH?U+VNQZH"> <field name="NUM">225</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="ugd%mgLa~C]g*Gym[#~X"> <value name="IF0"> <block type="logic_compare" id="{7v*]MbWabFGQ^CiQ(Vq"> <field name="OP">EQ</field> <value name="A"> <block type="field_oid" id="5ZQ{~0Z?GR|p;/7^pbu5"> <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.wind_dir</field> </block> </value> <value name="B"> <block type="text" id="n:f#Np7ny7EVXO.+SQV_"> <field name="TEXT">W</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="*ztZ4pIjT7WNk$,#7@Fw"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">daswetter.0.meinewindrichtung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="3XnFuA#}/-7L50a)#lpH"> <field name="NUM">270</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="vv?L0pwhseU(Bz6/B|XB"> <value name="IF0"> <block type="logic_compare" id="YQ}SO%p9gxvdZGexfl?2"> <field name="OP">EQ</field> <value name="A"> <block type="field_oid" id="ZlOtueL(.q8N3.;PIC(V"> <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.wind_dir</field> </block> </value> <value name="B"> <block type="text" id="9w@JFI+?JHS=Gq]2KALI"> <field name="TEXT">NW</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="owt(u+bU~MY?SGIH|]By"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">daswetter.0.meinewindrichtung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="?:;nb!31%$kDB2mzBduE"> <field name="NUM">315</field> </block> </value> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </xml>Es soll jeweils bei Änderung die Umrechnung von Buchstabe in Gradzahl erfolgen. Leider passiert da jedoch nichts. Mein angelegter Datenpunkt wird nicht mit Daten gefüllt. Könnte mir da jemand auf die Sprünge helfen? wäre toll. Danke euch
@michaelxhoffmann sagte in Windrichtung auf Kompasswidget anzeigen lassen.:
Die windrichtung wird dort angegeben als N,S,E,W
Warum nimmst du nicht weatherunderground? Da gibt es eine Anzeige in Grad.
-
@michaelxhoffmann sagte in Windrichtung auf Kompasswidget anzeigen lassen.:
Die windrichtung wird dort angegeben als N,S,E,W
Warum nimmst du nicht weatherunderground? Da gibt es eine Anzeige in Grad.
@sigi234 Habe ich versucht. bekomme aber keine API
Und wenn ich den API Key leer lasse, werden keine werte hinterlegt -
@sigi234 Habe ich versucht. bekomme aber keine API
Und wenn ich den API Key leer lasse, werden keine werte hinterlegt@michaelxhoffmann sagte in Windrichtung auf Kompasswidget anzeigen lassen.:
bekomme aber keine API
Brauchst du nicht, einfach Station in deiner Nähe suchen.

-
@michaelxhoffmann sagte in Windrichtung auf Kompasswidget anzeigen lassen.:
bekomme aber keine API
Brauchst du nicht, einfach Station in deiner Nähe suchen.

@sigi234 Top habe ich gemacht wird auch eingetragen. Dankeschön :) !Aber mein eigentliches Problem ist jetzt noch immer nicht gelöst. Mir scheint ich habe ein Verständnisproblem was das anlegen von Datenpunkten und der Umrechnung angeht.
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