Weiter zum Inhalt

Blockly

6.6k Themen 80.4k Beiträge

Hilfe für Skripterstellung mit Blockly

NEWS

  • Datenmapping KNX > HUE - HUE > KNX

    21
    1
    0 Stimmen
    21 Beiträge
    3k Aufrufe
    S
    @paul53 danke trotzdem für die Hilfe. Ich habe das alte noch ein wenig optimiert, so funktioniert es einwandfrei. [image: 1581429938100-30b99600-cac2-495a-9d42-14e82c98030f-image-resized.png] Hier noch der Blocky Code, falls andere diesen benötigen. <xml xmlns="http://www.w3.org/1999/xhtml"> <block type="comment" id="T~`/,zsTzrW~5?2hUoja" x="-2887" y="-937"> <field name="COMMENT">KNX schalten und Helligkeit setzen</field> <next> <block type="on_ext" id="sW9}K$jM|ubI0LaaQ?AN"> <mutation items="1"></mutation> <field name="CONDITION">any</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="2es_x0f[u@d[7gf3PIg="> <field name="oid">knx.0.ioBroker.HUE_API.Arbeitszimmer_HUE_lightstrip_plus_schalten</field> </shadow> </value> <statement name="STATEMENT"> <block type="control" id="eI6eFeX(fcqK?n+}bd+r"> <mutation delay_input="false"></mutation> <field name="OID">hue.0.Hue_lightstrip_plus_1.on</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="convert_toboolean" id=",(NsX*lvw6E?8lC*SI`c"> <value name="VALUE"> <block type="on_source" id="TlstZ{sS~%H+L6Yh$iDK"> <field name="ATTR">state.val</field> </block> </value> </block> </value> </block> </statement> <next> <block type="on_ext" id="Pn#.R~sPbk]bU)gu.v;X"> <mutation items="1"></mutation> <field name="CONDITION">any</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="yMSqOpiV`+lN;*PWeHW)"> <field name="oid">knx.0.ioBroker.HUE_API.Arbeitszimmer_HUE_lightstrip_plus_Helligkeitswert</field> </shadow> </value> <statement name="STATEMENT"> <block type="control" id="9y5yytGCSt$WP$CC}wm/"> <mutation delay_input="false"></mutation> <field name="OID">hue.0.Hue_lightstrip_plus_1.level</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="get_value" id="Gnf;(7l=^A6;6#)OIqs|"> <field name="ATTR">val</field> <field name="OID">knx.0.ioBroker.HUE_API.Arbeitszimmer_HUE_lightstrip_plus_Helligkeitswert</field> </block> </value> </block> </statement> <next> <block type="comment" id="Zt!a?;Qi5}{Kete@3z$Z"> <field name="COMMENT">KNX RGB setzen</field> <next> <block type="on_ext" id="o5OeOn})e%C3SC.FY#3B"> <mutation items="1"></mutation> <field name="CONDITION">any</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="b=.S@|0LH3WaZiE7TQnY"> <field name="oid">knx.0.ioBroker.HUE_API.Arbeitszimmer_HUE_lightstrip_plus_R</field> </shadow> </value> <statement name="STATEMENT"> <block type="control" id="lH+F}uxKV5UQC0X.w@S7"> <mutation delay_input="false"></mutation> <field name="OID">hue.0.Hue_lightstrip_plus_1.r</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_arithmetic" id="$_p2*%[cOLy@PEirI=~u"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="eqz+9knwAcCYk5m*q+I_"> <field name="NUM">1</field> </shadow> <block type="get_value" id="V0;Cjx!Le^P,q%V$W#j+"> <field name="ATTR">val</field> <field name="OID">knx.0.ioBroker.HUE_API.Arbeitszimmer_HUE_lightstrip_plus_R</field> </block> </value> <value name="B"> <shadow type="math_number" id="xvUjXH}v*y6dZ7qA#~VW"> <field name="NUM">2.54</field> </shadow> </value> </block> </value> </block> </statement> <next> <block type="on_ext" id="ei_{([w?bwzVGLGZb-;e"> <mutation items="1"></mutation> <field name="CONDITION">any</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="U{yHh`tY6f8Xt:MX^RJj"> <field name="oid">knx.0.ioBroker.HUE_API.Arbeitszimmer_HUE_lightstrip_plus_G</field> </shadow> </value> <statement name="STATEMENT"> <block type="control" id="Y+/b_KUcfnTHVrg=GL-M"> <mutation delay_input="false"></mutation> <field name="OID">hue.0.Hue_lightstrip_plus_1.g</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_arithmetic" id="STt-9^l4V:C@A@5#s%oh"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="AsNKVkqC!6;kN=[1u}iG"> <field name="NUM">1</field> </shadow> <block type="get_value" id="MDCFr831ITN^Ir?R6.1A"> <field name="ATTR">val</field> <field name="OID">knx.0.ioBroker.HUE_API.Arbeitszimmer_HUE_lightstrip_plus_G</field> </block> </value> <value name="B"> <shadow type="math_number" id="%6fLuA;lTtYA+)nZopz3"> <field name="NUM">2.54</field> </shadow> </value> </block> </value> </block> </statement> <next> <block type="on_ext" id="BaKlRg0cpY:q^Q~q$KO)"> <mutation items="1"></mutation> <field name="CONDITION">any</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="3C:IJ3=wPu!x!t8RZKH,"> <field name="oid">knx.0.ioBroker.HUE_API.Arbeitszimmer_HUE_lightstrip_plus_B</field> </shadow> </value> <statement name="STATEMENT"> <block type="control" id="s?~|E1%6Fc7JRr+G:~H0"> <mutation delay_input="false"></mutation> <field name="OID">hue.0.Hue_lightstrip_plus_1.b</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_arithmetic" id="T9=M1u]uRwWFZH|r/_r="> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="AsNKVkqC!6;kN=[1u}iG"> <field name="NUM">1</field> </shadow> <block type="get_value" id="NswJY5d_Hut,!1j+Fp^z"> <field name="ATTR">val</field> <field name="OID">knx.0.ioBroker.HUE_API.Arbeitszimmer_HUE_lightstrip_plus_B</field> </block> </value> <value name="B"> <shadow type="math_number" id="FB#@a*F#9`DK(-eBVcmV"> <field name="NUM">2.54</field> </shadow> </value> </block> </value> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> <block type="comment" id="fQClQ1-Ay[n6k}}GNc(Q" x="-1837" y="-962"> <field name="COMMENT">HUE Status nach KNX Schalten und Helligkeit</field> <next> <block type="on_ext" id="Hz/aqz[iTr3Z~3%GM20["> <mutation items="1"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="UNTJ[CW54VoHo#WRu_o~"> <field name="oid">hue.0.Hue_lightstrip_plus_1.on</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="O,1z~Di@EnWb{4Lxl2E."> <value name="IF0"> <block type="logic_compare" id="fJLX5shUc=/{Sw,!jD@q"> <field name="OP">NEQ</field> <value name="A"> <block type="on_source" id="#0LB_r2Dy}zDp;[$k?@S"> <field name="ATTR">state.from</field> </block> </value> <value name="B"> <block type="text" id="GjO`626V][CrVBb|d@b`"> <field name="TEXT">system.adapter.javascript.0</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="_3+#qx4rJcFfT;0wqeHw"> <mutation delay_input="false"></mutation> <field name="OID">knx.0.ioBroker.HUE_API.Arbeitszimmer_HUE_lightstrip_plus_schalten</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="convert_toboolean" id="^(4`f@OJ}2sk]MJLz~NF"> <value name="VALUE"> <block type="on_source" id="0/JBNpq||h~f[m/~j`%L"> <field name="ATTR">state.val</field> </block> </value> </block> </value> </block> </statement> <next> <block type="update" id="+FSIg4J|K[4gs!)oc.w%"> <mutation delay_input="false"></mutation> <field name="OID">knx.0.ioBroker.HUE_API.Arbeitszimmer_HUE_lightstrip_plus_schalten_Status</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="get_value" id="mCE;,kO[/}7M]Ea,A5yk"> <field name="ATTR">val</field> <field name="OID">hue.0.Hue_lightstrip_plus_1.on</field> </block> </value> </block> </next> </block> </statement> <next> <block type="on_ext" id=";Yg%$9`!-8;CL`vSH0El"> <mutation items="1"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="u6%*qZY38R8;RJkIXrkd"> <field name="oid">hue.0.Hue_lightstrip_plus_1.level</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="E[P.5DjPHk_;eGn2o2Yb"> <value name="IF0"> <block type="logic_compare" id="a1cHJ+74vZ4wWtMR/.fp"> <field name="OP">NEQ</field> <value name="A"> <block type="on_source" id="gc`qX-R%~{?x~v-ZTha)"> <field name="ATTR">state.from</field> </block> </value> <value name="B"> <block type="text" id="4/exVgGa+OQer%f~A:IG"> <field name="TEXT">system.adapter.javascript.0</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="_plSilsfI)RQZ4=IjrL_"> <mutation delay_input="false"></mutation> <field name="OID">knx.0.ioBroker.HUE_API.Arbeitszimmer_HUE_lightstrip_plus_Helligkeitswert</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="on_source" id="MC,Av;i(66.A^fa4rsWe"> <field name="ATTR">state.val</field> </block> </value> </block> </statement> <next> <block type="update" id="f:]zy$}82$KXsg=oc}I~"> <mutation delay_input="false"></mutation> <field name="OID">knx.0.ioBroker.HUE_API.Arbeitszimmer_HUE_lightstrip_plus_Helligkeitswert_Status</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="get_value" id="`HQQ]6Ss=XgAWhTXUW2E"> <field name="ATTR">val</field> <field name="OID">hue.0.Hue_lightstrip_plus_1.level</field> </block> </value> </block> </next> </block> </statement> <next> <block type="comment" id="6-#R(8dN2n5;g3VwH#L?"> <field name="COMMENT">HUE Status nach KNX RGB</field> <next> <block type="on_ext" id="A(9mRWI:M@(VojA=0/:O"> <mutation items="1"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="aHlmkGx3ut`Q5Q;2ywP0"> <field name="oid">hue.0.Hue_lightstrip_plus_1.r</field> </shadow> </value> <statement name="STATEMENT"> <block type="update" id="6nO-O0_(~w;B]LYaTZKU"> <mutation delay_input="false"></mutation> <field name="OID">knx.0.ioBroker.HUE_API.Arbeitszimmer_HUE_lightstrip_plus_R_Status</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_arithmetic" id="y|I/UBT^{YK^xs0l:WD3"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number" id="J!..N`GU}R$9+4V-yeYn"> <field name="NUM">1</field> </shadow> <block type="get_value" id="bETfr_q+~1;#%P~aNK-M"> <field name="ATTR">val</field> <field name="OID">hue.0.Hue_lightstrip_plus_1.r</field> </block> </value> <value name="B"> <shadow type="math_number" id="Pq4:rSs%2pDSg${Ofe`o"> <field name="NUM">2.54</field> </shadow> </value> </block> </value> </block> </statement> <next> <block type="on_ext" id="e[=.7ashK4?LZX%JYE^7"> <mutation items="1"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="_qJ07wWc5@T?ltZ08hi?"> <field name="oid">hue.0.Hue_lightstrip_plus_1.g</field> </shadow> </value> <statement name="STATEMENT"> <block type="update" id="@NJeBTDC#H*01~CQ~|c`"> <mutation delay_input="false"></mutation> <field name="OID">knx.0.ioBroker.HUE_API.Arbeitszimmer_HUE_lightstrip_plus_G_Status</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_arithmetic" id="$LkKrSEKc1()7V^CXZ`!"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number" id="J!..N`GU}R$9+4V-yeYn"> <field name="NUM">1</field> </shadow> <block type="get_value" id="LGx-2`Gvw=)7)2k(qew1"> <field name="ATTR">val</field> <field name="OID">hue.0.Hue_lightstrip_plus_1.g</field> </block> </value> <value name="B"> <shadow type="math_number" id="^M~.H+T)Q6w*AS{{`7_-"> <field name="NUM">2.54</field> </shadow> </value> </block> </value> </block> </statement> <next> <block type="on_ext" id="`:Y*ssY+Y_QF$wL}?.:="> <mutation items="1"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="eh(x_X+WmA7f](y[.OZu"> <field name="oid">hue.0.Hue_lightstrip_plus_1.b</field> </shadow> </value> <statement name="STATEMENT"> <block type="update" id="j=UR+3^:M3$UH7Q8G|:Z"> <mutation delay_input="false"></mutation> <field name="OID">knx.0.ioBroker.HUE_API.Arbeitszimmer_HUE_lightstrip_plus_B_Status</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_arithmetic" id="zgF_m_lvpSya.%:n)cx2"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number" id="J!..N`GU}R$9+4V-yeYn"> <field name="NUM">1</field> </shadow> <block type="get_value" id="jgn}0iTXT5tMG_zBCVOd"> <field name="ATTR">val</field> <field name="OID">hue.0.Hue_lightstrip_plus_1.g</field> </block> </value> <value name="B"> <shadow type="math_number" id="]QqvLuJ7Ot3uqc}NAR-)"> <field name="NUM">2.54</field> </shadow> </value> </block> </value> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </xml>
  • Anfängerfrage zu Skripten: Pro Abfrage ein eigenes Script?

    7
    0 Stimmen
    7 Beiträge
    722 Aufrufe
    UhulaU
    @Uwe2020 Genau so!
  • [gelöst] Scripte die mehrfach auslösen und Objekte

    blockly communication
    8
    2
    0 Stimmen
    8 Beiträge
    988 Aufrufe
    A
    Hallo Zusammen, wollte noch kurz Feedback geben. Ich hatte das alles umgesetzt, und seither klappt es Prima. Vielen Dank an alle! VG
  • Datenübernahme aus MCP23017

    4
    2
    0 Stimmen
    4 Beiträge
    323 Aufrufe
    M
    @Asgothian said in Datenübernahme aus MCP23017: @Moehn 2 Dinge.. das eine ist das du nach dem trigger den wert des Objektes extra Abfragst. Wenn du im Trigger Blockly schaust, da gibt es einen lila Baustein wo "Objekt id" drin steht. Den nehmen, umstellen auf "wert", und dann das "wert von Objekt" im falls ersetzen als 2. gibt es im JS adapter eine globale Einstellung" Beim start nicht alle states abonnieren"... diese ist bei dir gesetzt. Wenn sie nicht gesetzt wäre würde es auch gehen. (das schreibt die Meldung im übrigen auch genau so) A. Hallo Danke euch beiden. Es läuft. Wie gesagt, ich bin dbzgl. noch blutiger Anfänger. Ich habe bis vor 10 Jahren mit den Atmels in C++ rumgespielt. Nach 10 Jahren Elektronikpause beschäftige ich mich nun mit den Raspberrys. Da ist noch viel neu und vieles ist anders als vor 10 Jahren. Danke für den prompten support (und ich denke das wird nicht das letzte mal sein, dass ich ihn benötige). Grüße und gute stürmische Nacht (ich geh jetzt noch mal raus , mal schauen ob alles o.k. ist) Dirk
  • Neues Projekt: Prozentuale Veränderung / Monat

    3
    0 Stimmen
    3 Beiträge
    193 Aufrufe
    P
    sorry, bump up
  • Kommunikation übergreifend...

    communication monitoring
    1
    2
    0 Stimmen
    1 Beiträge
    291 Aufrufe
    Niemand hat geantwortet
  • Dumme Waschmaschine mit Shelly S überwachen?

    26
    0 Stimmen
    26 Beiträge
    8k Aufrufe
    U
    Hab nun mal eine funktionierende Lösung. Eigentlich sehr simple. // ############################################################################################### // Waschmaschine: // ############################################################################################### on({id: 'shelly.0.SHPLG2-1#B267F#1.Relay0.Power'/*json*/, change : "any"}, function(json) { log("Waschmaschine: " + getState("shelly.0.SHPLG2-1#B267F#1.Relay0.Power").val); if (getState("shelly.0.SHPLG2-1#B267F#1.Relay0.Power").val < 4) { setTimeout(function() { if (getState("shelly.0.SHPLG2-1#B267F#1.Relay0.Power").val < 4) { // Echo Ausgabe: setState("alexa2.0.Echo-Devices.03895f74a54647171c68b388651.Commands.speak", 'Hinweis Waschmaschine ist fertig. Hinweis Waschmaschine ist fertig. Hinweis Waschmaschine ist fertig.'); // Echo Alle Gruppe // Telegramm: sendTo('telegram.0', 'Waschmaschine ist fertig!'); } }, 60000); } });
  • Datenpunkt erzeugen

    2
    0 Stimmen
    2 Beiträge
    461 Aufrufe
    dslraserD
    @tommii85 https://forum.iobroker.net/post/240223
  • Waschmaschinen Meldung, um Siebwechel Nachricht erweitern.

    1
    1
    0 Stimmen
    1 Beiträge
    199 Aufrufe
    Niemand hat geantwortet
  • Skriptprobleme

    5
    1
    0 Stimmen
    5 Beiträge
    355 Aufrufe
    D
    Nein habe ich immer ohne
  • Einfaches Script reagiert temporär nicht.

    9
    2
    0 Stimmen
    9 Beiträge
    455 Aufrufe
    ?
    Das ist ja fast wie im Bildersuchrätsel. :) Danke!, ich werde es mal 24/48 Stunden laufen lassen und dann die Werte vergleichen. Edit: Kurze Rückmeldung, das Script läuft gut. Allerdings ist der gespeicherte Zählerstand ein völlig anderer als der reale Zählerstand. Das liegt sehr wahrscheinlich nicht am Script, sonder am der Sensorabstimmung in ESP_Easy.
  • Schalter in Visualisation gehen teilweise nicht

    10
    1
    0 Stimmen
    10 Beiträge
    404 Aufrufe
    HomoranH
    @smarthome2020 sagte in Schalter in Visualisation gehen teilweise nicht: So wurde das in einem Tut gezeigt nicht jedes tut ist richtig oder -"gezeigt" impliziert Video- aktuell. @smarthome2020 sagte in Schalter in Visualisation gehen teilweise nicht: Wo soll das entsprechende File denn abgelegt werden? entweder javascript.0 (oder welche Instanz auch immer) oder 0_userdata.0
  • Meldung wenn Tor 10 Minuten offen ist...

    29
    1
    0 Stimmen
    29 Beiträge
    5k Aufrufe
    M
    Jo, aber damit habe ich es ja nicht hinbekommen. Habe da so meine Problemen wenn es um Variablen geht :(
  • Allgemeine Blockly Variable Frage(n).

    blockly
    3
    1
    0 Stimmen
    3 Beiträge
    562 Aufrufe
    crunchipC
    @4-Real <xml xmlns="http://www.w3.org/1999/xhtml"> <variables> <variable type="" id="uaabfL2,adYJ@iY=zx2l">Liste Komplett</variable> <variable type="undefined" id="timeout">timeout</variable> </variables> <block type="schedule" id="P2Hg(K;P^iRR!Ed%IHh~" x="13" y="-488"> <field name="SCHEDULE">0 12 * * *</field> <statement name="STATEMENT"> <block type="variables_set" id="nCM7Rti?@q?DFIFVmjUo"> <field name="VAR" id="uaabfL2,adYJ@iY=zx2l" variabletype="">Liste Komplett</field> <value name="VALUE"> <block type="lists_create_with" id="8nq^2B(B/glCW+00)G^%"> <mutation items="24"></mutation> <value name="ADD0"> <block type="lists_split" id="CSVu!krK}j=!9Zc5,]7|" inline="false"> <mutation mode="JOIN"></mutation> <field name="MODE">JOIN</field> <value name="INPUT"> <block type="lists_create_with" id=":1coCxqo7v~R95MaEm_g" inline="true"> <mutation items="2"></mutation> <value name="ADD0"> <block type="get_value" id="y[^{BMM?Mx{_q,0!IFaN"> <field name="ATTR">val</field> <field name="OID">mihome.0.devices.magnet_158d000321e534.percent</field> </block> </value> <value name="ADD1"> <block type="text" id="Z1jz:Y?wW7[gp)iT)oab"> <field name="TEXT">Schlafzimmerfenster</field> </block> </value> </block> </value> <value name="DELIM"> <shadow type="text" id="}He1Q)1yL9p^p8dmUB.N"> <field name="TEXT">,</field> </shadow> <block type="text" id="H(2=coBiYfS^A3J-VX+Q"> <field name="TEXT">% -</field> </block> </value> </block> </value> <value name="ADD1"> <block type="lists_split" id="RZL*$}.CbQ[;7{PP^U~L" inline="false"> <mutation mode="JOIN"></mutation> <field name="MODE">JOIN</field> <value name="INPUT"> <block type="lists_create_with" id="5aC{-7N|O1^t15_fjrG$" inline="true"> <mutation items="2"></mutation> <value name="ADD0"> <block type="get_value" id="dJ@-g5kB65^JY]w`T98f"> <field name="ATTR">val</field> <field name="OID">mihome.0.devices.magnet_158d00036b3fef.percent</field> </block> </value> <value name="ADD1"> <block type="text" id="4mTsUiw%%JI!:xN4*SfB"> <field name="TEXT">Buerofenster</field> </block> </value> </block> </value> <value name="DELIM"> <shadow type="text" id="}He1Q)1yL9p^p8dmUB.N"> <field name="TEXT">,</field> </shadow> <block type="text" id="(vP.?9W!TX[c^F%fTiNp"> <field name="TEXT">% -</field> </block> </value> </block> </value> <value name="ADD2"> <block type="lists_split" id="MO)B8:GZW|HdLaU?r2_l" inline="false"> <mutation mode="JOIN"></mutation> <field name="MODE">JOIN</field> <value name="INPUT"> <block type="lists_create_with" id="|E_YK0dK0clpBoC(t992" inline="true"> <mutation items="2"></mutation> <value name="ADD0"> <block type="get_value" id="M5+t3o:qE.lxh`bMM,ra"> <field name="ATTR">val</field> <field name="OID">mihome.0.devices.magnet_158d0002c3af20.percent</field> </block> </value> <value name="ADD1"> <block type="text" id="Q(L}4#@-{~y2?VRB7hr)"> <field name="TEXT">Fenster Noel</field> </block> </value> </block> </value> <value name="DELIM"> <shadow type="text" id="}He1Q)1yL9p^p8dmUB.N"> <field name="TEXT">,</field> </shadow> <block type="text" id="@waG%+e~[!oPaG#(MaX#"> <field name="TEXT">% -</field> </block> </value> </block> </value> <value name="ADD3"> <block type="lists_split" id="{10_e28Ls.PD6(yMi-tC" inline="false"> <mutation mode="JOIN"></mutation> <field name="MODE">JOIN</field> <value name="INPUT"> <block type="lists_create_with" id="sFH.5}OEh]1pS-r*,eoe" inline="true"> <mutation items="2"></mutation> <value name="ADD0"> <block type="get_value" id="EYv8;iONi`e[06%o..Pq"> <field name="ATTR">val</field> <field name="OID">mihome.0.devices.magnet_158d0002c78e2f.percent</field> </block> </value> <value name="ADD1"> <block type="text" id="kx})}ymu^GZ@:i(%pQ^s"> <field name="TEXT">Badfenster</field> </block> </value> </block> </value> <value name="DELIM"> <shadow type="text" id="}He1Q)1yL9p^p8dmUB.N"> <field name="TEXT">,</field> </shadow> <block type="text" id="3l{J?V5HyK8v1.Dn{vHp"> <field name="TEXT">% -</field> </block> </value> </block> </value> <value name="ADD4"> <block type="lists_split" id=")bpV?W*%`!PbK^biI2g^" inline="false"> <mutation mode="JOIN"></mutation> <field name="MODE">JOIN</field> <value name="INPUT"> <block type="lists_create_with" id="pSoBmZ9LGWP0+E?q?5l%" inline="true"> <mutation items="2"></mutation> <value name="ADD0"> <block type="get_value" id="6RPts0JV1YR7d0?d8j0)"> <field name="ATTR">val</field> <field name="OID">mihome.0.devices.magnet_158d0002ca30de.percent</field> </block> </value> <value name="ADD1"> <block type="text" id="FTjP)aKUx)cGURigd+)z"> <field name="TEXT">Küchenfenster</field> </block> </value> </block> </value> <value name="DELIM"> <shadow type="text" id="}He1Q)1yL9p^p8dmUB.N"> <field name="TEXT">,</field> </shadow> <block type="text" id="-?RmT4rps)6T[[CQmC*z"> <field name="TEXT">% -</field> </block> </value> </block> </value> <value name="ADD5"> <block type="lists_split" id="DP:3/p?E(eW3cym`5V=g" inline="false"> <mutation mode="JOIN"></mutation> <field name="MODE">JOIN</field> <value name="INPUT"> <block type="lists_create_with" id="G1EL|E^^i%/;bEog}zmX" inline="true"> <mutation items="2"></mutation> <value name="ADD0"> <block type="get_value" id="(VKMCdS`Rx2V/Q/A~}69"> <field name="ATTR">val</field> <field name="OID">mihome.0.devices.magnet_158d000252aca5.percent</field> </block> </value> <value name="ADD1"> <block type="text" id="ZZ)0INO#UFuAOWLO1tO|"> <field name="TEXT">Wohn/Garten Tür</field> </block> </value> </block> </value> <value name="DELIM"> <shadow type="text" id="}He1Q)1yL9p^p8dmUB.N"> <field name="TEXT">,</field> </shadow> <block type="text" id=";Gcje@h8IUsuR(cGpfkx"> <field name="TEXT">% -</field> </block> </value> </block> </value> <value name="ADD6"> <block type="lists_split" id="|3^F7*d)eA`eB1~NDr0E" inline="false"> <mutation mode="JOIN"></mutation> <field name="MODE">JOIN</field> <value name="INPUT"> <block type="lists_create_with" id="zWrKOW.^g]*L4q|pD`4K" inline="true"> <mutation items="2"></mutation> <value name="ADD0"> <block type="get_value" id="!8E;,oz~CuP}Jf784rpv"> <field name="ATTR">val</field> <field name="OID">mihome.0.devices.magnet_158d000252acc4.percent</field> </block> </value> <value name="ADD1"> <block type="text" id="q+eG_O0^sB6P7E#Gb5(}"> <field name="TEXT">Bad/Terrassentür</field> </block> </value> </block> </value> <value name="DELIM"> <shadow type="text" id="}He1Q)1yL9p^p8dmUB.N"> <field name="TEXT">,</field> </shadow> <block type="text" id="`sr`|C^[PE|:kN=g!zQ["> <field name="TEXT">% -</field> </block> </value> </block> </value> <value name="ADD7"> <block type="lists_split" id="L}bUcd=)rR`Rab:X#5P5" inline="false"> <mutation mode="JOIN"></mutation> <field name="MODE">JOIN</field> <value name="INPUT"> <block type="lists_create_with" id="Zc[Ds:Z]?4/Z(0K9Jf)=" inline="true"> <mutation items="2"></mutation> <value name="ADD0"> <block type="get_value" id="I%hFpNjp@7:DSqY94icF"> <field name="ATTR">val</field> <field name="OID">mihome.0.devices.sensor_wleak_aq1_158d00023368c4.percent</field> </block> </value> <value name="ADD1"> <block type="text" id="l#~F)@wnBTm8TK[?b(_l"> <field name="TEXT">Wassermelder Waschmaschine</field> </block> </value> </block> </value> <value name="DELIM"> <shadow type="text" id="}He1Q)1yL9p^p8dmUB.N"> <field name="TEXT">,</field> </shadow> <block type="text" id="o?`d_/a/`m(cV;qYI{IO"> <field name="TEXT">% -</field> </block> </value> </block> </value> <value name="ADD8"> <block type="lists_split" id="/b(_]f,5f5QsdF@uwqIh" inline="false"> <mutation mode="JOIN"></mutation> <field name="MODE">JOIN</field> <value name="INPUT"> <block type="lists_create_with" id="-8q7x+#a3rg(|{gU`/iw" inline="true"> <mutation items="2"></mutation> <value name="ADD0"> <block type="get_value" id="EPUF~M*Y_;t4=8=+en0:"> <field name="ATTR">val</field> <field name="OID">mihome.0.devices.smoke_158d0001bbb0dd.percent</field> </block> </value> <value name="ADD1"> <block type="text" id="^=p[)-1QE)VEeyJ.RaEk"> <field name="TEXT">Feuermelder Wohnzimmer</field> </block> </value> </block> </value> <value name="DELIM"> <shadow type="text" id="}He1Q)1yL9p^p8dmUB.N"> <field name="TEXT">,</field> </shadow> <block type="text" id="8HMaDEhvXv]9Al]38]!["> <field name="TEXT">% -</field> </block> </value> </block> </value> <value name="ADD9"> <block type="lists_split" id="{r3,6DUWUJe+am=;/WjJ" inline="false"> <mutation mode="JOIN"></mutation> <field name="MODE">JOIN</field> <value name="INPUT"> <block type="lists_create_with" id="j@8^VW/Xzcz%T{KVJs7+" inline="true"> <mutation items="2"></mutation> <value name="ADD0"> <block type="get_value" id="U#{uek0-WP1-MqG^d3O3"> <field name="ATTR">val</field> <field name="OID">mihome.0.devices.sensor_motion_aq2_158d000236b3f9.percent</field> </block> </value> <value name="ADD1"> <block type="text" id="5YlH[mAN5.MS~Sk5czUL"> <field name="TEXT"> Bewegungsmelder Wohnzimmer</field> </block> </value> </block> </value> <value name="DELIM"> <shadow type="text" id="}He1Q)1yL9p^p8dmUB.N"> <field name="TEXT">,</field> </shadow> <block type="text" id="::5JH,F2RsEv!|MTtHv["> <field name="TEXT">% -</field> </block> </value> </block> </value> <value name="ADD10"> <block type="lists_split" id="ie}Xydt2!aKhyXT;iTMp" inline="false"> <mutation mode="JOIN"></mutation> <field name="MODE">JOIN</field> <value name="INPUT"> <block type="lists_create_with" id=";rNivmK.el?^3M2*wl;?" inline="true"> <mutation items="2"></mutation> <value name="ADD0"> <block type="get_value" id="6)V2s(V]Luu*oe%FFi`q"> <field name="ATTR">val</field> <field name="OID">mihome.0.devices.sensor_ht_158d000221a574.percent</field> </block> </value> <value name="ADD1"> <block type="text" id="WcvI:}G+U/T[0{QM[(C5"> <field name="TEXT"> Klima Noel</field> </block> </value> </block> </value> <value name="DELIM"> <shadow type="text" id="}He1Q)1yL9p^p8dmUB.N"> <field name="TEXT">,</field> </shadow> <block type="text" id="NL`aJ7uRL1s+%8.Vkncj"> <field name="TEXT">% -</field> </block> </value> </block> </value> <value name="ADD11"> <block type="lists_split" id="e^R_~8U!k/bvcN_9bes|" inline="false"> <mutation mode="JOIN"></mutation> <field name="MODE">JOIN</field> <value name="INPUT"> <block type="lists_create_with" id="43gdlcuY7VdI8GJu-aHo" inline="true"> <mutation items="2"></mutation> <value name="ADD0"> <block type="get_value" id="XISLh(~[7BFQY%L,uL|j"> <field name="ATTR">val</field> <field name="OID">mihome.0.devices.sensor_ht_158d000221a5d5.percent</field> </block> </value> <value name="ADD1"> <block type="text" id="hY[-YHYgOC?#4b=t.DUr"> <field name="TEXT"> Klima Schlafzimmer</field> </block> </value> </block> </value> <value name="DELIM"> <shadow type="text" id="}He1Q)1yL9p^p8dmUB.N"> <field name="TEXT">,</field> </shadow> <block type="text" id="OT)j|@eEBwwm=h=wn)9d"> <field name="TEXT">% -</field> </block> </value> </block> </value> <value name="ADD12"> <block type="lists_split" id="EI]t~pF|FRf{YK(YC]m9" inline="false"> <mutation mode="JOIN"></mutation> <field name="MODE">JOIN</field> <value name="INPUT"> <block type="lists_create_with" id="xAt_nH6qJne^*1KT[brT" inline="true"> <mutation items="2"></mutation> <value name="ADD0"> <block type="get_value" id="HHXOy0v,0YwCUl)%m{u="> <field name="ATTR">val</field> <field name="OID">mihome.0.devices.magnet_158d00023700c4.percent</field> </block> </value> <value name="ADD1"> <block type="text" id="w1uw=lb!SbHGFR9dt=h5"> <field name="TEXT"> Haustüre</field> </block> </value> </block> </value> <value name="DELIM"> <shadow type="text" id="}He1Q)1yL9p^p8dmUB.N"> <field name="TEXT">,</field> </shadow> <block type="text" id="R3uu(zwPW-~LnQ4%wQ4/"> <field name="TEXT">% -</field> </block> </value> </block> </value> <value name="ADD13"> <block type="lists_split" id="%Md96PRQz8Q,D~stB^Ms" inline="false"> <mutation mode="JOIN"></mutation> <field name="MODE">JOIN</field> <value name="INPUT"> <block type="lists_create_with" id="9vuWOhCc].j.ons/cB(2" inline="true"> <mutation items="2"></mutation> <value name="ADD0"> <block type="get_value" id="wGW+82%tP!h)/HIfX3.4"> <field name="ATTR">val</field> <field name="OID">mihome.0.devices.magnet_158d00024369e0.percent</field> </block> </value> <value name="ADD1"> <block type="text" id="5HP?A=.}4Ft(SK.6H~pg"> <field name="TEXT">Terrassentür</field> </block> </value> </block> </value> <value name="DELIM"> <shadow type="text" id="}He1Q)1yL9p^p8dmUB.N"> <field name="TEXT">,</field> </shadow> <block type="text" id="pL/(jG.}M9q%lr%h1iUT"> <field name="TEXT">% -</field> </block> </value> </block> </value> <value name="ADD14"> <block type="lists_split" id=".tejDNal43HolC_Q7NV[" inline="false"> <mutation mode="JOIN"></mutation> <field name="MODE">JOIN</field> <value name="INPUT"> <block type="lists_create_with" id="K%lOpJ[99L@|X.q!aMp_" inline="true"> <mutation items="2"></mutation> <value name="ADD0"> <block type="get_value" id="9I[#1K*ziB7VJKGUZ%:M"> <field name="ATTR">val</field> <field name="OID">mihome.0.devices.sensor_motion_aq2_158d0002ec7cda.percent</field> </block> </value> <value name="ADD1"> <block type="text" id="z(J(Js,X;,4v4I]dB_v-"> <field name="TEXT">Bewegungsmelder Terrasse</field> </block> </value> </block> </value> <value name="DELIM"> <shadow type="text" id="}He1Q)1yL9p^p8dmUB.N"> <field name="TEXT">,</field> </shadow> <block type="text" id="_usGUNC)5d@m+~CW_2kq"> <field name="TEXT">% -</field> </block> </value> </block> </value> <value name="ADD15"> <block type="lists_split" id="AtKrLb5n;CP9ok]n:%B)" inline="false"> <mutation mode="JOIN"></mutation> <field name="MODE">JOIN</field> <value name="INPUT"> <block type="lists_create_with" id="60-KtzRa9Zo-ruaGT!_s" inline="true"> <mutation items="2"></mutation> <value name="ADD0"> <block type="get_value" id="[fgk0:WIAfsBpw!}kC{N"> <field name="ATTR">val</field> <field name="OID">mihome.0.devices.cube_158d0002486a98.percent</field> </block> </value> <value name="ADD1"> <block type="text" id="R%Eb%(+4nmv[mY^%iq=b"> <field name="TEXT">Cube</field> </block> </value> </block> </value> <value name="DELIM"> <shadow type="text" id="}He1Q)1yL9p^p8dmUB.N"> <field name="TEXT">,</field> </shadow> <block type="text" id="9zuF9A$Ui##E3@CTPw{p"> <field name="TEXT">% -</field> </block> </value> </block> </value> <value name="ADD16"> <block type="lists_split" id="=Z5.UYL`],fQJ[EI(po9" inline="false"> <mutation mode="JOIN"></mutation> <field name="MODE">JOIN</field> <value name="INPUT"> <block type="lists_create_with" id="?j,z|9a[GciRg5d:5Ib." inline="true"> <mutation items="2"></mutation> <value name="ADD0"> <block type="get_value" id="ZA7{|}/rQ3(z!/XwgSx9"> <field name="ATTR">val</field> <field name="OID">mihome.0.devices.sensor_motion_aq2_158d0002ebc9a9.percent</field> </block> </value> <value name="ADD1"> <block type="text" id="N(+U3B6r!o5QekB#2@},"> <field name="TEXT">Bewegungsmelder Flur</field> </block> </value> </block> </value> <value name="DELIM"> <shadow type="text" id="}He1Q)1yL9p^p8dmUB.N"> <field name="TEXT">,</field> </shadow> <block type="text" id="!-kEJ`pJ)YqRgSJv[)8Q"> <field name="TEXT">% -</field> </block> </value> </block> </value> <value name="ADD17"> <block type="lists_split" id="l9G(8,~^S?S`:G?bq;uK" inline="false"> <mutation mode="JOIN"></mutation> <field name="MODE">JOIN</field> <value name="INPUT"> <block type="lists_create_with" id="#YAhAgGWAoclv{,ZcVU$" inline="true"> <mutation items="2"></mutation> <value name="ADD0"> <block type="get_value" id="iZ(tBIbbx?w|9#~;!oCx"> <field name="ATTR">val</field> <field name="OID">ble.0.4c:65:a8:df:5d:41.battery</field> </block> </value> <value name="ADD1"> <block type="text" id="EK*C0ZcQjCcICn)p=,s%"> <field name="TEXT">MJ HT v1</field> </block> </value> </block> </value> <value name="DELIM"> <shadow type="text" id="}He1Q)1yL9p^p8dmUB.N"> <field name="TEXT">,</field> </shadow> <block type="text" id="--$*oaao0P4Uap1TF@D?"> <field name="TEXT">% -</field> </block> </value> </block> </value> <value name="ADD18"> <block type="lists_split" id="875yz.H1ac^boCt5MgRS" inline="false"> <mutation mode="JOIN"></mutation> <field name="MODE">JOIN</field> <value name="INPUT"> <block type="lists_create_with" id="%mzq17/FZI)9{F%PK.)t" inline="true"> <mutation items="2"></mutation> <value name="ADD0"> <block type="get_value" id="p+AzaCaJw.pMINy@5:?-"> <field name="ATTR">val</field> <field name="OID">mihome.0.devices.magnet_158d0003173ec1.percent</field> </block> </value> <value name="ADD1"> <block type="text" id="Y72Z^D(Jwva|$ndUK6Wh"> <field name="TEXT">Esstisch</field> </block> </value> </block> </value> <value name="DELIM"> <shadow type="text" id="}He1Q)1yL9p^p8dmUB.N"> <field name="TEXT">,</field> </shadow> <block type="text" id="p{GKS+Rp!C04VhywrF;}"> <field name="TEXT">% -</field> </block> </value> </block> </value> <value name="ADD19"> <block type="lists_split" id="b1K8.d7B*/E5%:v%vUz6" inline="false"> <mutation mode="JOIN"></mutation> <field name="MODE">JOIN</field> <value name="INPUT"> <block type="lists_create_with" id="{(@%0-J42?D(^OhR2FL$" inline="true"> <mutation items="2"></mutation> <value name="ADD0"> <block type="get_value" id="HMuR!rayy3#=;Q4m+1E="> <field name="ATTR">val</field> <field name="OID">mihome.0.devices.sensor_motion_aq2_158d0002fd50c5.percent</field> </block> </value> <value name="ADD1"> <block type="text" id="+FkBn^#=vTr]?Lt^V]FU"> <field name="TEXT">Bewegungsmelder Büro</field> </block> </value> </block> </value> <value name="DELIM"> <shadow type="text" id="}He1Q)1yL9p^p8dmUB.N"> <field name="TEXT">,</field> </shadow> <block type="text" id="(g0Rd4z)WBfl+GCNP%vf"> <field name="TEXT">% -</field> </block> </value> </block> </value> <value name="ADD20"> <block type="lists_split" id="ue:7e:vX-$v%xed)9!~t" inline="false"> <mutation mode="JOIN"></mutation> <field name="MODE">JOIN</field> <value name="INPUT"> <block type="lists_create_with" id="Fp[kDep~|CpN%AX=1AoC" inline="true"> <mutation items="2"></mutation> <value name="ADD0"> <block type="get_value" id="YicfX@#;$=%Rw][1rNF|"> <field name="ATTR">val</field> <field name="OID">mihome.0.devices.sensor_motion_aq2_158d0004147b5a.percent</field> </block> </value> <value name="ADD1"> <block type="text" id="1IP=Sa*jCkUwVzxRG1;t"> <field name="TEXT">Bewegungsmelder Dusche</field> </block> </value> </block> </value> <value name="DELIM"> <shadow type="text" id="}He1Q)1yL9p^p8dmUB.N"> <field name="TEXT">,</field> </shadow> <block type="text" id="`d|8$_Ge{Wi|poiT25`h"> <field name="TEXT">% -</field> </block> </value> </block> </value> <value name="ADD21"> <block type="lists_split" id="pyL5f-|[Z|UE|ccq!rTc" inline="false"> <mutation mode="JOIN"></mutation> <field name="MODE">JOIN</field> <value name="INPUT"> <block type="lists_create_with" id="enr~C*TNP7LqqkATD.ge" inline="true"> <mutation items="2"></mutation> <value name="ADD0"> <block type="get_value" id="/sEK@ikXLdCv^foy7}wG"> <field name="ATTR">val</field> <field name="OID">mihome.0.devices.sensor_motion_aq2_158d00035ffbfb.percent</field> </block> </value> <value name="ADD1"> <block type="text" id="A^pP~0ug8-7U_Dqk2L`#"> <field name="TEXT">Bewegungsmelder Badezimmer</field> </block> </value> </block> </value> <value name="DELIM"> <shadow type="text" id="}He1Q)1yL9p^p8dmUB.N"> <field name="TEXT">,</field> </shadow> <block type="text" id="=X[xs%r*Hy!M4K!b_#x^"> <field name="TEXT">% -</field> </block> </value> </block> </value> <value name="ADD22"> <block type="lists_split" id="2_{ACTAidRKn%e9b-$A{" inline="false"> <mutation mode="JOIN"></mutation> <field name="MODE">JOIN</field> <value name="INPUT"> <block type="lists_create_with" id="6thz,yUC)wX(NLw{mh0]" inline="true"> <mutation items="2"></mutation> <value name="ADD0"> <block type="get_value" id="[jFh,*W%Ais!LU6HsOKH"> <field name="ATTR">val</field> <field name="OID">mihome.0.devices.sensor_motion_aq2_158d000449b589.percent</field> </block> </value> <value name="ADD1"> <block type="text" id="DECBe6LV})w}n]qG|l65"> <field name="TEXT">Bewegungsmelder Küche</field> </block> </value> </block> </value> <value name="DELIM"> <shadow type="text" id="}He1Q)1yL9p^p8dmUB.N"> <field name="TEXT">,</field> </shadow> <block type="text" id="ao`sp`$TiF6AG}O}FR9Q"> <field name="TEXT">% -</field> </block> </value> </block> </value> <value name="ADD23"> <block type="lists_split" id="+GXrUlnO/$^07U-37Ug7" inline="false"> <mutation mode="JOIN"></mutation> <field name="MODE">JOIN</field> <value name="INPUT"> <block type="lists_create_with" id="=;NtrFlU9h:|Q^P0xcVY" inline="true"> <mutation items="2"></mutation> <value name="ADD0"> <block type="get_value" id="hx_EAn+4{@]COL/or!$G"> <field name="ATTR">val</field> <field name="OID">mihome.0.devices.remote_b286acn01_158d0003fa6762.percent</field> </block> </value> <value name="ADD1"> <block type="text" id="p[4qsu8=.k?;RHt)BH^e"> <field name="TEXT"> remote Schalter</field> </block> </value> </block> </value> <value name="DELIM"> <shadow type="text" id="}He1Q)1yL9p^p8dmUB.N"> <field name="TEXT">,</field> </shadow> <block type="text" id="mTPthAGo2d^_I+VtGz2*"> <field name="TEXT">% -</field> </block> </value> </block> </value> </block> </value> <next> <block type="timeouts_settimeout" id="}7EIa5-jaq_c4[s7Zk])"> <field name="NAME">timeout</field> <field name="DELAY">1000</field> <field name="UNIT">ms</field> <statement name="STATEMENT"> <block type="controls_if" id="}mrA@*az.~WcV`{p1DbP"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_operation" id=";0~b,w4l(:NxmSXW(Zd3" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="logic_operation" id="@FQvcG%;dqwBk,h*{ZDL" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="logic_compare" id="s(3~24!DS^y9t7xp5k{,"> <field name="OP">EQ</field> <value name="A"> <block type="convert_tonumber" id="4X3%b@#SpEg0SYxl#3-m" collapsed="true"> <value name="VALUE"> <block type="text_getSubstring" id="4}og|A,{^w7olq)5BH5k"> <mutation at1="true" at2="true"></mutation> <field name="WHERE1">FROM_START</field> <field name="WHERE2">FROM_START</field> <value name="STRING"> <block type="lists_split" id="+MB16`d[vm1EFTl-_oXr" inline="false"> <mutation mode="JOIN"></mutation> <field name="MODE">JOIN</field> <value name="INPUT"> <block type="lists_sort" id="zR!_^qaxVRXbacw1/Foz" inline="false"> <field name="TYPE">NUMERIC</field> <field name="DIRECTION">1</field> <value name="LIST"> <block type="variables_get" id="_EKK]CAJf7E.6Th{(.9m"> <field name="VAR" id="uaabfL2,adYJ@iY=zx2l" variabletype="">Liste Komplett</field> </block> </value> </block> </value> <value name="DELIM"> <shadow type="text" id="Xj5@!Z6,z?@F-myEu:2A"> <field name="TEXT">,</field> </shadow> <block type="time_get" id="ew_h+~B9RJy-ye@5GcD?"> <mutation format="true" language="false"></mutation> <field name="OPTION">custom</field> <field name="FORMAT">\n</field> </block> </value> </block> </value> <value name="AT1"> <block type="math_number" id="Ng0}tpXc;~2IjEgwxZNE"> <field name="NUM">1</field> </block> </value> <value name="AT2"> <block type="math_number" id="E!J^a`Ymdss],JCPwatn"> <field name="NUM">2</field> </block> </value> </block> </value> </block> </value> <value name="B"> <block type="math_number" id="X_0?tXU)DNh/6eVMj;%@"> <field name="NUM">40</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="=5.+Vzd^|iWHern`-IX?"> <field name="OP">EQ</field> <value name="A"> <block type="convert_tonumber" id="CtA{#Klt[jE@9B)dbJ5`" collapsed="true"> <value name="VALUE"> <block type="text_getSubstring" id="Mj;F?rd|npTJ=MeIw-t-"> <mutation at1="true" at2="true"></mutation> <field name="WHERE1">FROM_START</field> <field name="WHERE2">FROM_START</field> <value name="STRING"> <block type="lists_split" id="F^+lA,e{1GsXo{:2Nh.J" inline="false"> <mutation mode="JOIN"></mutation> <field name="MODE">JOIN</field> <value name="INPUT"> <block type="lists_sort" id=":,OFxvp{SfaF9{dZwLkp" inline="false"> <field name="TYPE">NUMERIC</field> <field name="DIRECTION">1</field> <value name="LIST"> <block type="variables_get" id="-z53XQ:;`P{}39CbKzh?"> <field name="VAR" id="uaabfL2,adYJ@iY=zx2l" variabletype="">Liste Komplett</field> </block> </value> </block> </value> <value name="DELIM"> <shadow type="text" id="Xj5@!Z6,z?@F-myEu:2A"> <field name="TEXT">,</field> </shadow> <block type="time_get" id="|O)qU@`(`Ui~|oGCRxdF"> <mutation format="true" language="false"></mutation> <field name="OPTION">custom</field> <field name="FORMAT">\n</field> </block> </value> </block> </value> <value name="AT1"> <block type="math_number" id=")iZxZ;I6M-kA#T-8O%lB"> <field name="NUM">1</field> </block> </value> <value name="AT2"> <block type="math_number" id="g!0Hh;Brpu+JZh.XhZZ#"> <field name="NUM">2</field> </block> </value> </block> </value> </block> </value> <value name="B"> <block type="math_number" id="}X!q|Ax?3`:p-;!.rS!;"> <field name="NUM">35</field> </block> </value> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="oK*.rOH8b~USUo#=QVXa"> <field name="OP">EQ</field> <value name="A"> <block type="convert_tonumber" id="Js~;C}|_-qm5yMat?6Iy" collapsed="true"> <value name="VALUE"> <block type="text_getSubstring" id="f[J/b?p];@?|=YkEw0Et"> <mutation at1="true" at2="true"></mutation> <field name="WHERE1">FROM_START</field> <field name="WHERE2">FROM_START</field> <value name="STRING"> <block type="lists_split" id="UEd/!T}fBY0+cYWrJVbE" inline="false"> <mutation mode="JOIN"></mutation> <field name="MODE">JOIN</field> <value name="INPUT"> <block type="lists_sort" id="yBjmeN2TMFcK)J6l.FA^" inline="false"> <field name="TYPE">NUMERIC</field> <field name="DIRECTION">1</field> <value name="LIST"> <block type="variables_get" id="ebeg9n@.RL[/CD8v!Xb`"> <field name="VAR" id="uaabfL2,adYJ@iY=zx2l" variabletype="">Liste Komplett</field> </block> </value> </block> </value> <value name="DELIM"> <shadow type="text" id="Xj5@!Z6,z?@F-myEu:2A"> <field name="TEXT">,</field> </shadow> <block type="time_get" id="#6bsCfgyNj/9fI.aM:jC"> <mutation format="true" language="false"></mutation> <field name="OPTION">custom</field> <field name="FORMAT">\n</field> </block> </value> </block> </value> <value name="AT1"> <block type="math_number" id="J=P@B6Y*_qk+p:#oca_Y"> <field name="NUM">1</field> </block> </value> <value name="AT2"> <block type="math_number" id="B./1I`AeH7q)Otscf-:F"> <field name="NUM">2</field> </block> </value> </block> </value> </block> </value> <value name="B"> <block type="math_number" id="uZx*EBqyI/rJvRO^D)t/"> <field name="NUM">30</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="controls_if" id=":*-z1e)]Z+Ffw:sQ9@HP"> <value name="IF0"> <block type="logic_compare" id="wfqy@wSTcCI7gQ)|GXrO"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="X-*@cTR?fGEyqu7@^^V."> <field name="ATTR">val</field> <field name="OID">javascript.0.Akku.Akkuwarnung</field> </block> </value> <value name="B"> <block type="logic_boolean" id="zfTD5n5i^vy,IHczeS*;"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="H%%XTP1)qIy(.W!)iz)j"> <mutation delay_input="false"></mutation> <field name="OID">javascript.0.Akku.Akkuwarnung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="_h)PE`,~{RMEh8:CMXe#"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="telegram" id="k}C%mg/Q2fsvlBzIX:,7"> <field name="INSTANCE">.0</field> <field name="LOG"></field> <field name="SILENT">FALSE</field> <field name="PARSEMODE">default</field> <value name="MESSAGE"> <shadow type="text" id=":_Y6KvyHM4*c,9]viqh["> <field name="TEXT">text</field> </shadow> <block type="text_join" id="Xs815V[h!}9h7v`}kLfz"> <mutation items="3"></mutation> <value name="ADD0"> <block type="text" id="Pc|m.lt|nvz^6fIL;Ja@"> <field name="TEXT">Neue Akkus bestellen</field> </block> </value> <value name="ADD1"> <block type="time_get" id="=(K#XAF^x3~LZ3CLQS[*"> <mutation format="true" language="false"></mutation> <field name="OPTION">custom</field> <field name="FORMAT">\n</field> </block> </value> <value name="ADD2"> <block type="lists_split" id=":1z05%8*4eadaoRQVn;B" inline="false"> <mutation mode="JOIN"></mutation> <field name="MODE">JOIN</field> <value name="INPUT"> <block type="lists_sort" id="y:y9Km}bOs~1Jj)SU5)H" inline="false"> <field name="TYPE">NUMERIC</field> <field name="DIRECTION">-1</field> <value name="LIST"> <block type="variables_get" id="`rl:Yh.y+MlER@O!_3MU"> <field name="VAR" id="uaabfL2,adYJ@iY=zx2l" variabletype="">Liste Komplett</field> </block> </value> </block> </value> <value name="DELIM"> <shadow type="text" id="Xj5@!Z6,z?@F-myEu:2A"> <field name="TEXT">,</field> </shadow> <block type="time_get" id="QNoS6]2)P96)F-*F]-~-"> <mutation format="true" language="false"></mutation> <field name="OPTION">custom</field> <field name="FORMAT">\n</field> </block> </value> </block> </value> </block> </value> </block> </next> </block> </statement> </block> </statement> <statement name="ELSE"> <block type="control" id="Y`Z~PBPNV`4TO3@CIk;r"> <mutation delay_input="true"></mutation> <field name="OID">javascript.0.Akku.Akkuwarnung</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">500</field> <field name="UNIT">ms</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="*_]p-%?`bMXhq:QWB,L~"> <field name="BOOL">FALSE</field> </block> </value> </block> </statement> </block> </statement> </block> </next> </block> </statement> </block> <block type="on_ext" id="]b|{;!]~+`Ka@bI9N5n*" x="-787" y="1338"> <mutation items="1"></mutation> <field name="CONDITION">true</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="iPv.#TpI%xN~puAl_N!a"> <field name="oid">default</field> </shadow> <block type="field_oid" id="Cflp[!S_Y.{xA1|()m6o"> <field name="oid">javascript.0.Akku.Akkustand</field> </block> </value> <statement name="STATEMENT"> <block type="telegram" id="@VLW;cn1CBj+6G9irtPR"> <field name="INSTANCE"></field> <field name="LOG"></field> <field name="SILENT">FALSE</field> <field name="PARSEMODE">default</field> <value name="MESSAGE"> <shadow type="text" id="D`IYi7vEVTRabkG;otNe"> <field name="TEXT">text</field> </shadow> <block type="text_join" id="yq=l]c^9LT(n,`wrpWAJ"> <mutation items="3"></mutation> <value name="ADD0"> <block type="text" id="2H3J{aK:)y)w40TG{lJC"> <field name="TEXT">Akkustände:</field> </block> </value> <value name="ADD1"> <block type="time_get" id="khTc~wa,HId.c5`DfrSK"> <mutation format="true" language="false"></mutation> <field name="OPTION">custom</field> <field name="FORMAT">\n</field> </block> </value> <value name="ADD2"> <block type="lists_split" id="?dvS%r3Gx1:{Kr#Le4{v" inline="false"> <mutation mode="JOIN"></mutation> <field name="MODE">JOIN</field> <value name="INPUT"> <block type="lists_sort" id="mxne_:p{;E#9r|pT*:i`" inline="false"> <field name="TYPE">NUMERIC</field> <field name="DIRECTION">-1</field> <value name="LIST"> <block type="variables_get" id="p``v%SCx}1gMFLex`PkQ"> <field name="VAR" id="uaabfL2,adYJ@iY=zx2l" variabletype="">Liste Komplett</field> </block> </value> </block> </value> <value name="DELIM"> <shadow type="text" id="Xj5@!Z6,z?@F-myEu:2A"> <field name="TEXT">,</field> </shadow> <block type="time_get" id="D7,QJ+#9rQ,#n!}ifmVU"> <mutation format="true" language="false"></mutation> <field name="OPTION">custom</field> <field name="FORMAT">\n</field> </block> </value> </block> </value> </block> </value> <next> <block type="control" id="(]g[6I.tnbzt[[`M3+[g"> <mutation delay_input="true"></mutation> <field name="OID">javascript.0.Akku.Akkustand</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">500</field> <field name="UNIT">ms</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="1y@9bSc8_aD9t+gxs[R3"> <field name="BOOL">FALSE</field> </block> </value> </block> </next> </block> </statement> </block> </xml>
  • Blockly Datum konvertieren zum doy

    blockly
    6
    0 Stimmen
    6 Beiträge
    727 Aufrufe
    SBorgS
    Oder keep it simple mit Linux [image: 1581027751562-bild-1.png]
  • Blockly-Fehler, aber was?

    blockly
    3
    2
    0 Stimmen
    3 Beiträge
    289 Aufrufe
    P
    Keine Fehlermeldung, klappt alles. Ich habe nun das on/off und Dimminglevel rausgenommen. Soll ja eh immer gleich bleiben. Nun erscheinen auch keine Fehler mehr. Logisch ist das für mich nicht.... Danke trotzdem @ticaki
  • Probleme mit der Astro Funktion. Falscher Zeitpunkt.

    4
    2
    0 Stimmen
    4 Beiträge
    278 Aufrufe
    oetziO
    @Homoran said in Probleme mit der Astro Funktion. Falscher Zeitpunkt.: @oetzi sagte in Probleme mit der Astro Funktion. Falscher Zeitpunkt.: Dort habe ich den Haken bei "Systemeinstellungen verwenden" gelassen Trage da auch Mal die Koordinaten ein und mache den Haken weg. Evtl Mal die js Instanz neu starten Das war es tatsächlich! Danke. Oh man, da muss man erstmal drauf kommen Ich hoffe die weiteren Blockly Funktionen birgen weniger solcher Überraschungen ;-)
  • gelöst - geht nicht: HmIP-BDT per Xiaomi Smart Button Dimmen

    8
    1
    0 Stimmen
    8 Beiträge
    799 Aufrufe
    M
    Versuch mal ob du die Lösung von hier adaptieren kannst: https://forum.iobroker.net/topic/21586/gelöst-tradfri-remote-control-up-down-button-pressed-dimmen-mit-ikea-fernbedienung
  • Routine von Alexa ansteuern

    blockly
    2
    1
    0 Stimmen
    2 Beiträge
    410 Aufrufe
    B
    @Ragnar-Lodbrok ja das geht. Bearbeite mal das Routine Objekt in iobroker welche du ausführen willst und erlaube das Schreiben.
  • Warum läuift mein einfaches Blocky-Skript nicht?

    3
    2
    0 Stimmen
    3 Beiträge
    495 Aufrufe
    M
    Danke, jetzt läuft es! Super!

180

Online

33.0k

Benutzer

83.5k

Themen

1.3m

Beiträge