Skip to content

Blockly

6.6k Topics 79.9k Posts

Hilfe für Skripterstellung mit Blockly

NEWS

  • Blockly erstellen aus z.BSP "open", true oder false machen

    41
    0 Votes
    41 Posts
    4k Views
    T
    @thomsguy Also so wie es aussieht geht es. Wie würde es sich denn verhalten wenn da nicht nur Open und Closed drinne stehen würden, sondern mehrere verschieden Texte?
  • Blockly - Addieren mehrerer Werte (Klammersetzung)

    24
    1
    0 Votes
    24 Posts
    5k Views
    ohle64O
    @haus-automatisierung @Ingo-2 nur mal so als Beispiel aus: [image: 1703948403786-mathetest2.png] wird diese Klammersetzung genutzt: Tages_Energie = PV_Energie + ((Netz_Bezug - Netz_Einspeisung) - (Batterie_Ladung + Batterie_Entladung)); Man muss die Blöcke so setzen wie die Klammern kommen sollen.
  • Hilfe bei Script - ACK nein /nicht bestätigter Wert

    Moved
    13
    4
    0 Votes
    13 Posts
    879 Views
    D
    @mickym klappt auch nicht - und gebe mich iobroker für heute geschlagen.
  • Daten aus Url abfragen und in Datenpunkt schreiben

    Moved
    114
    1
    0 Votes
    114 Posts
    13k Views
    keksnK
    @paul53 Hallo Paul, wenn der Wert "Anzahl der Stunden" 0 ist sollten keine Ladestunden aus der api ausgewählt werden. Was muss ich verändern das das funktioniert? Ich habe heute auch eine Abfrage für 3 Stunden gemacht. javascript.0 (87107) script.js.Verschiedenes.Strom_Batterien_Netzladen_Awattar: Tagesladezeiten Batterie 01:00 21:00 03:00 Nachtladezeiten Batterie 01:00 Die Ladezeit 21:00 funktioniert nicht da der Datenpunkt sich nicht auf "true" ändert. Auch der Preis des Stroms ist um 21:00 - 22:00 nicht unter den billigsten 3 Stunden.
  • CRON Timer mit externe Variablen

    7
    3
    0 Votes
    7 Posts
    845 Views
    M
    @haus-automatisierung Ja genau so habe ich angefangen. In meinem Testaufbau habe ich dann auch die Wochentage ausprobiert um zu sehen ob das einen Einfluss hat. Wäre ja auch schon z.B. am WE die Rollläden etwas später zu öffnen… Im Testaufbau funktioniert es auch…
  • Ersten Eintrag aus JSON entfernen

    12
    1
    0 Votes
    12 Posts
    491 Views
    M
    Hätte noch eine Frage zu den Schleifen: Immer wenn ich die Schleifen "wiederhole solange" oder "wiederhole bis" nehme, stürtzt die Javascript instanz ab. Wie verwendet man diese Schleifen eigentlich richtig?
  • Mehrere Bewegungsmelder in einem Treppenhaus

    5
    1
    0 Votes
    5 Posts
    423 Views
    F
    @homoran said in Mehrere Bewegungsmelder in einem Treppenhaus: ist es denn gesichert, dass jeder BWM eine erneute Bewegung meldet, auch wenn er noch auf "Bewegung aktiv" steht? Das habe ich jetzt mal geprüft und das war wahrscheinlich mein Denkfehler. Die Haltezeit ist 10s nachdem der Sensor die letzte Bewegung erkannt hat. DAS hat bei mir zu einigen Schwierigkeiten geführt. Ich war offensichtlich kein BWM-Versteher... Vielen Dank für den lehrreichen Hinweis! Hätte ich doch mal eher gefragt, dann hätte ich viele Stunden gespart... Tolles Forum! Gruß Tobias
  • SONOS Blockly Ein-/Ausschalten "Prüfe"

    12
    1
    0 Votes
    12 Posts
    289 Views
    T
    @homoran : Ja du hattest recht. Der trigger fehlte. Danke dir für den Tipp mit dem Debuggen :)
  • Taupunkt ganz simpel berechnen

    25
    0 Votes
    25 Posts
    7k Views
    M
    @meckii So habe jetzt noch ein bisschen daran rumgespielt und erweitert. Nun wird auch noch die absolute Feuchte [g/m³] berechnet. <xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="3Z$x1{!vu;(:9*^Og4Mr">SDD</variable> <variable id="sMuyz@sFD?~GL7Pbp0m">tp</variable> <variable id="f-+??FgK=EkG;Jx.E4Uh">r</variable> <variable id="M$gd;on{YS_4sZS7%v5;">T</variable> <variable id="mX4kA._w3Vj3Gb{T/zN_">DD</variable> <variable id="{B56Lv3ul+5edI:{Uc]3">abshum</variable> <variable id="{NP4D8gJ;3K@K(4++fqR">eln</variable> <variable id="UL:4GF)A];9++Y79).sv">td</variable> <variable id="YgLQFsamPgYe~I1PeN#y">AF</variable> </variables> <block type="comment" id="QJ%/9PRR1k?`fCY}3%Z:" x="-112" y="-912"> <field name="COMMENT">https://www.wetterochs.de/wetter/feuchte.html</field> <next> <block type="create" id="QbX9ckz3P;Fh,UosB(;1"> <field name="NAME">Raumname.Taupunkt</field> <value name="VALUE"> <block type="math_number" id="y{{fts?WuZ~z_q;3:DFm"> <field name="NUM">0</field> </block> </value> <value name="COMMON"> <block type="text" id="!(-PlK^yPa682SlW#8qg"> <field name="TEXT">{"type": "number", "unit": "°C"}</field> </block> </value> <next> <block type="create" id="uKlSigcT.:5Z}gVd*#n|"> <field name="NAME">Raumname.AbsoluteFeuchte</field> <value name="VALUE"> <block type="math_number" id="E}?m$]NS(R%g!Cm_*Jj:"> <field name="NUM">0</field> </block> </value> <value name="COMMON"> <block type="text" id="p+/5H*I2b(?T7Z)Cm]g2"> <field name="TEXT">{"type": "number", "unit": "g/m³"}</field> </block> </value> <next> <block type="comment" id="$cuDkNb4J4KqW9QrpvU^"> <field name="COMMENT">relative Luftfeuchte</field> <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="comment" id="M9ao7w{!8GJAHxHanrVO"> <field name="COMMENT">Temperatur in °C</field> <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="comment" id=":[cdj,}!;|Cx/^?!H;`."> <field name="COMMENT">Dampfdruck in hPa</field> <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="comment" id="[{HN9D[v3Iy#eyR`=Z=0"> <field name="COMMENT">Sättigungsdampfdruck in hPa</field> <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="comment" id="hbdsrN!],S_15N@:l}hY"> <field name="COMMENT">Kommentar</field> <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="comment" id="Jo4a8%9{c|vwvVnQ5+AU"> <field name="COMMENT">Taupunkttemperatur in °C</field> <next> <block type="variables_set" id="P8WyPT`-=ZPwnF!3a0A1"> <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="comment" id="qgYelVPLa_kt$a-x}1;%"> <field name="COMMENT">Taupunkttemperatur in °C (gerundet)</field> <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="xns9vGd$=a2h`e*;mD!v"> <field name="COMMENT">Absolute Feurchte in g/m³ (gerundet)</field> <next> <block type="variables_set" id="rUSwM8u/[A#aUAehe(Rb"> <field name="VAR" id="{B56Lv3ul+5edI:{Uc]3">abshum</field> <value name="VALUE"> <block type="math_number" id="]xv^l:wP{R9aq$.d/Ey_"> <field name="NUM">0</field> </block> </value> <next> <block type="comment" id="ndKR~-IJm/HMq4#npK/I"> <field name="COMMENT">Wohnzimmer</field> <next> <block type="on_ext" id="49IX5uyvrT9iH8;jyoUj"> <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="0~LsZgL?g)):4O4+-B$i"> <field name="oid">default</field> </shadow> </value> <value name="OID1"> <shadow type="field_oid" id="w9`*ap97SIBqRWe|Pa~W"> <field name="oid">default</field> </shadow> </value> <statement name="STATEMENT"> <block type="comment" id="F)a,EHKl]/s3Q/@LDWWn"> <field name="COMMENT">Sensorobjekt Luftfeuchte</field> <next> <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="jdi6Rqo;:-{axFE!H7?#"> <field name="ATTR">val</field> <field name="OID">ID auswählen</field> </block> </value> <next> <block type="comment" id="qV~LJcUnNE#0Unq@1B6q"> <field name="COMMENT">Sensorobjekt Temperatur</field> <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="B_a#!RBL/*fiJ(4fN9Q*"> <field name="ATTR">val</field> <field name="OID">ID auswählen</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">javascript.0.Raumname.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="update" id="9rW{;%GvO1Nw~WL~~#[A"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">javascript.0.Raumname.AbsoluteFeuchte</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="variables_get" id="CDyvchN=r;uV8[b=0Vzp"> <field name="VAR" id="{B56Lv3ul+5edI:{Uc]3">abshum</field> </block> </value> </block> </next> </block> </next> </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> </next> </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="763" y="-812"> <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">0</field> </shadow> <block type="math_number" id="fOllHl|_Bzz)TCbkR#qg"> <field name="NUM">6.1078</field> </block> </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" id="m_@iDRZdJy,p|B,-m{O("> <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" id="HNz*b-.(QrpGncmL$bmH"> <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" id="=5E=naN@`7NdrxneG$y5"> <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" id="c?|Td:?KmUuuBUEKtE~%"> <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" id="K+E6u=IT-@_p=/;Hz0!A"> <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> <next> <block type="variables_set" id="x:x3SBT[x8nA(-u@c2@O"> <field name="VAR" id="YgLQFsamPgYe~I1PeN#y">AF</field> <value name="VALUE"> <block type="math_arithmetic" id="W}XrDu_jow[X-jW8|QWS" inline="false"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="lVM969lnfAohb4E/jBjX"> <field name="NUM">1</field> </shadow> <block type="math_single" id="G$!#u*N#05MD7UTDhmL#"> <field name="OP">POW10</field> <value name="NUM"> <shadow type="math_number" id="G|/T/U,^:l2WZpVG5*i."> <field name="NUM">9</field> </shadow> <block type="math_number" id="Fn(]jpd{zgZu7hw|Rc:a"> <field name="NUM">5</field> </block> </value> </block> </value> <value name="B"> <shadow type="math_number" id="#{*K8HG5ThmW5hpco3Gp"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="o#|@Zbl6#k=rPN*CLU$S" inline="false"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="QyD0sMCD3#C](G$}r@_"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="v}$Nwh2S)~McMT2DKjaQ"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number" id="wQCZVw$gs!VjpCB|0#3!"> <field name="NUM">1</field> </shadow> <block type="math_number" id="Z.QElI(:)Y7fj,^M`2ry"> <field name="NUM">18.016</field> </block> </value> <value name="B"> <shadow type="math_number" id="/;F7=XL2@v?@*$x2%05;"> <field name="NUM">1</field> </shadow> <block type="math_number" id="i?,:KALxujs=+39KBjf4"> <field name="NUM">8314.3</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="#Z7XpzSwsn[/[d#8)3TZ"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number" id="j]h2O^6j0fTrhSX[_fTk"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="$TD|6D/|nxrAcuXO*W5M"> <field name="VAR" id="mX4kA._w3Vj3Gb{T/zN_">DD</field> </block> </value> <value name="B"> <shadow type="math_number" id="Js~pQ7Ka?tH6J,ZV.u]K"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="byJHCM*Qlxf..1;uS_/i"> <field name="OP">ADD</field> <value name="A"> <shadow type="math_number" id="([g~X(b7N*3U2/urt.2t"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="JpEpX7}A|Eol=G%~`B7q"> <field name="VAR" id="M$gd;on{YS_4sZS7%v5;">T</field> </block> </value> <value name="B"> <shadow type="math_number" id="uyi=,e=TWw3|JS.xj;Fz"> <field name="NUM">1</field> </shadow> <block type="math_number" id="lJJs#^4T24r:kN[o{(:v"> <field name="NUM">273.15</field> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> </block> </next> </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" id="~o$m6RO}2R:QE#qY$*x@"> <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" id="!Vsle})Ppwf7LAK~5jNE"> <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" id="V@9?0%ZKgBRFgHxC-hK6"> <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" id="k:za[:pRTVY:hUTn6wfY"> <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" id="dIcy);mcrC@N4Np0zd{S"> <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" id="4yQP(LpM-*Ew-vN6f799"> <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" id="!r7$@7$_Gk)wd#~mA3[@"> <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" id="7W~%P^(^P2Q8O5R%:zwN"> <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" id="#z8,O$RDtUXL_oNq%u$g"> <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" id="Z2DOS_z+//E%gT#)WKyu"> <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" id="N-$+a[!HV(?r8hwU@V-s"> <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" id="Tqw?pTUN!2JRCx)~VZay"> <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> <next> <block type="variables_set" id="c?+b,%4=ESdv$P_!BUD0"> <field name="VAR" id="YgLQFsamPgYe~I1PeN#y">AF</field> <value name="VALUE"> <block type="math_arithmetic" id="oxx#gfE`xNeG@#wh!6@g" inline="false"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="lVM969lnfAohb4E/jBjX"> <field name="NUM">1</field> </shadow> <block type="math_single" id="b,*:|yqAN7Bj9BYz{x*/"> <field name="OP">POW10</field> <value name="NUM"> <shadow type="math_number" id="G|/T/U,^:l2WZpVG5*i."> <field name="NUM">9</field> </shadow> <block type="math_number" id="xCJYAZ?4OfZg(RY$LUIK"> <field name="NUM">5</field> </block> </value> </block> </value> <value name="B"> <shadow type="math_number" id="#{*K8HG5ThmW5hpco3Gp"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="y$k4f+`(5f=?fwPoXHP." inline="false"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="QyD0sMCD3#C](G$}r@_"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="l=I0V!ruOqY?PvYrg_GM"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number" id="wQCZVw$gs!VjpCB|0#3!"> <field name="NUM">1</field> </shadow> <block type="math_number" id="#;O*;Y[,@4S?J$CPg=/R"> <field name="NUM">18.016</field> </block> </value> <value name="B"> <shadow type="math_number" id="/;F7=XL2@v?@*$x2%05;"> <field name="NUM">1</field> </shadow> <block type="math_number" id="EnK}xc|q=o9rrEYlM.{O"> <field name="NUM">8314.3</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="82Q_9{WGh~?aw#GQ{YFH"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number" id="j]h2O^6j0fTrhSX[_fTk"> <field name="NUM">1</field> </shadow> <block type="variables_get" id=")8{pT%AD.Kw7wT+~_ywn"> <field name="VAR" id="mX4kA._w3Vj3Gb{T/zN_">DD</field> </block> </value> <value name="B"> <shadow type="math_number" id="Js~pQ7Ka?tH6J,ZV.u]K"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="0[218DIn${p`=BivzTr."> <field name="OP">ADD</field> <value name="A"> <shadow type="math_number" id="([g~X(b7N*3U2/urt.2t"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="J:;1W(tL7|klowQ~C3a["> <field name="VAR" id="M$gd;on{YS_4sZS7%v5;">T</field> </block> </value> <value name="B"> <shadow type="math_number" id="uyi=,e=TWw3|JS.xj;Fz"> <field name="NUM">1</field> </shadow> <block type="math_number" id="W?0z)upz5n}SI$$2Hqc@"> <field name="NUM">273.15</field> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> </block> </next> </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> <next> <block type="variables_set" id="5xzQCjh1ANgXAuiT/:42"> <field name="VAR" id="{B56Lv3ul+5edI:{Uc]3">abshum</field> <value name="VALUE"> <block type="math_rndfixed" id="*KB]BZszZ,o:opR7w!kp"> <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="]*:.36Vi*#[^umGb1e,8"> <field name="VAR" id="YgLQFsamPgYe~I1PeN#y">AF</field> </block> </value> </block> </value> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </xml>
  • Regelung Klimaanlage, Zeitblöcke, Lüften, Anwesenheit

    20
    1
    0 Votes
    20 Posts
    1k Views
    G
    @paul53 Hmm, irgendwo muss ich noch nen "Wurm" drin haben, obwohl die Temperaturen heute nach 08:00 Uhr unterschritten waren, waren alle Klimaanlagen ausgeschaltet.
  • Verständnisfrage Log

    2
    1
    0 Votes
    2 Posts
    227 Views
    D
    hat sich erledigt: https://haus-automatisierung.com/software/iobroker/2021/02/02/iobroker-steuere-aktualisiere-bestaetigt.html
  • Licht Dimmung

    10
    1
    0 Votes
    10 Posts
    783 Views
    leovandavartL
    @paul53 hab es jetzt mit Transition gelöst ich stelle da den wert (in sekunden ) ein bis wann der gewünsche Dimmwert erreicht ist also z.b 120s und im skript sagte ich einfach nur noch zu der zeit den wert von der Helligkeit jetzt muss ich nur noch eine lösung finden das auch das richtige gerät erkannt wird
  • Lichtsteuerung Zeitplan & Helligkeitssensor

    6
    0 Votes
    6 Posts
    315 Views
    T
    @paul53 Danke dir für deine rasche Antwort. Ich werde morgen früh noch mal kontrollieren, ob alles passt. Bin da aber sehr zuversichtlich. :) :) :)
  • Lampe schalten, Zigbee, Garagentor und Schalter

    3
    3
    0 Votes
    3 Posts
    337 Views
    paul53P
    @wusa sagte: Und hier das andere Skript: Die Objekt ID enthält einen konstanten String. Versuche es so: [image: 1703778815338-blockly_temp.jpg] Ich nehme nicht an, dass das Garagentor die ganze Zeit offen ist, wenn man im Haus ist. Deshalb die Prüfung, ob das Licht schon eingeschaltet ist.
  • Kostal Wallbox Status Update

    6
    1
    0 Votes
    6 Posts
    530 Views
    HomoranH
    @neo77 sagte in Kostal Wallbox Status Update: Was genau meinst du mit dem Trigger in der Callback-Funktion? du hast da den Falls objekt -Triggerbauatein, statt des blauen Logik falls drin
  • (erledigt) Blockly: switch / Case Block funktioniert nicht

    9
    1
    0 Votes
    9 Posts
    469 Views
    ubeckerU
    @codierknecht hatte ich wohl schon gelesen aber der Hinweis ist richtig. danke und bis demnächst
  • Anwesenheit mit ESPresence

    18
    1
    0 Votes
    18 Posts
    2k Views
    T
    @darkdevil Hallo DarkDevil, ich wollte dich fragen, wie deine Erfahrungen mit ESPresence + IPhone sind und ob du es noch nutzt? Könntest du dein Blockly Script für mich posten und deine Einstellungen in ESPresence, bitte? Ich habe die Erfahrungen gemacht, dass ESPresence sehr ungenau ist, was die Entfernungsbestimmung zum IPhone angeht. Soll heißen, dass wenn ich auf eine bestimmte Entfernung einen Trigger setze, der heute im Raum ist, kann er morgen schon wieder außerhalb des Raumes sein. Daher wollte ich dich mal nach deinen Erfahrungswerten fragen. VG Takahara
  • PV Reglung

    52
    0 Votes
    52 Posts
    10k Views
    peter pan01P
    @sidm Sorry für die späte Antwort. Das ist der Schaltplan, das ich mit Kicad erzeugt habe. Hier werden drei Phasen einzeln per PWM angesteuert und mit dem DS18b20 die Temperatur überwacht, um die Steuerung abzuschalten, bei erreichen der kritischen Temperatur. Ja, ich habe eine Platine entwickelt, die aber für BTA16 konzipiert wurde, somit nicht passend für BTA41. Inzwischen ist eine neue (angepasste) Platine bestellt, die aber noch nicht da ist. [image: 1703720417652-pwm-heizstab.jpg]
  • Überwachen der ersten Stunde des Geschirrspülers

    blockly
    17
    0 Votes
    17 Posts
    1k Views
    HomoranH
    @phantomkommander sagte in Überwachen der ersten Stunde des Geschirrspülers: Vielleicht kann ein Admin die Komentarfunktion deaktivieren. so etwas gibt es nicht. @phantomkommander sagte in Überwachen der ersten Stunde des Geschirrspülers: Lass es doch einfach gut sein! ok, wenn du das möchtest. Sollten nur Hinweise sein, damit du das Übel an der Wurzel packen kannst, statt an Symptomen herumzudoktern. Da kommen -falls unsere Vermutungen passen- nämlich sonst weitere Folgeschäden auf dich zu.
  • Radio soll Beleuchtung steuern

    15
    1
    0 Votes
    15 Posts
    1k Views
    D
    @paul53 Ja stimmt mein Fehler und dann geht es auch @DJMarc75 deins scheint auch zu funktionieren Vielen Dank ihr beiden es gehen anscheinend beide Scripte kann ich mir eins aus suchen.

272

Online

32.8k

Users

82.9k

Topics

1.3m

Posts