Skip to content

Blockly

6.6k Topics 79.8k Posts

Hilfe für Skripterstellung mit Blockly

NEWS

  • Frage...

    2
    0 Votes
    2 Posts
    295 Views
    liv-in-skyL
    @turrican hier gehts weiter https://forum.iobroker.net/post/590109
  • Blockly funktioniert nur manchmal

    4
    0 Votes
    4 Posts
    156 Views
    R
    Also mit der alten Version Java hatte es funktioniert. Nun habe ich so viel geändert, dass ich nicht mehr weiß was. <xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="y~7J[6y=#n^R6V6y{@A#">timeout2 laeuft</variable> <variable id="obP`JV;QUU%V#ga-ubf7">WM State</variable> <variable type="timeout" id="timeout2">timeout2</variable> </variables> <block type="on_ext" id="]nm@fXILEu8mmca4J!}S" x="-287" y="13"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="^y^94DZ+R]6b4~Y@S|NF"> <field name="oid">deconz.0.sensors.60a423fffe620720.power</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="JV-H#l({$GTnPrUa8y{3"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="logic_operation" id="M:@_gjjI/w8vfS2qLOGa"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="PM)qIzUYsmB^@HycHPHH"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="JsQ@!uO)bo0B4ul9Lfr~"> <field name="VAR" id="y~7J[6y=#n^R6V6y{@A#">timeout2 laeuft</field> </block> </value> <value name="B"> <block type="logic_boolean" id=".|#T=RNjlbit^F8MDF]x"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="BT1+lSS:@uduP0a?V87;"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="-H+iRz]Uqs[l)$HtUlFb"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="w0|7,Rz!7e*(Isl;z^|*"> <field name="ATTR">val</field> <field name="OID">deconz.0.lights.60a423fffe620720.on</field> </block> </value> <value name="B"> <block type="logic_boolean" id="oRXS=]W|YWHn_j^mTfop"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="pOk]GXVqIbHV_ageKu)_"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="/uPHwL2H%FIIbi[,uV?7"> <field name="OP">LTE</field> <value name="A"> <block type="on_source" id="HF{nrhe:q{Abj{LHZhyL"> <field name="ATTR">state.val</field> </block> </value> <value name="B"> <block type="math_number" id=";yW3,/MeGY0Xm3-SBT1]"> <field name="NUM">5</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="+;dNW$-US?GH.*8%xhDP"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="$UISt9g$wu6FGFhJM;%1"> <field name="VAR" id="obP`JV;QUU%V#ga-ubf7">WM State</field> </block> </value> <value name="B"> <block type="logic_boolean" id="#FNXT:j[{g#6^ek$S2YO"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="JL#cs,QR6%KOe9b:_kBl"> <field name="VAR" id="y~7J[6y=#n^R6V6y{@A#">timeout2 laeuft</field> <value name="VALUE"> <block type="logic_boolean" id="_#exSs!eL3DWJ!F2~wFS"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="timeouts_settimeout" id="!onvlitH0:sESCUF:%rG"> <field name="NAME">timeout2</field> <field name="DELAY">5</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="variables_set" id="`{3,PaU:nQ5f_o%Q4Rue"> <field name="VAR" id="obP`JV;QUU%V#ga-ubf7">WM State</field> <value name="VALUE"> <block type="logic_boolean" id=",azJL-m/fi@I^13c[|48"> <field name="BOOL">TRUE</field> </block> </value> </block> </statement> </block> </next> </block> </statement> <value name="IF1"> <block type="logic_operation" id="FyT5Xy@*}(|Jl%Irp]Yx"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="I/sCDvjrlJ+Cq59oa:5-"> <field name="OP">GTE</field> <value name="A"> <block type="on_source" id="j%w8y9.s{wX3QIfDEp]e"> <field name="ATTR">state.val</field> </block> </value> <value name="B"> <block type="math_number" id="dSIx~IwX%CiF$zVGu?@Q"> <field name="NUM">5</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="=y*g.8h5{Keb?j]@NMDv"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="SgV`ADWO)?wf:WK3F6T."> <field name="ATTR">val</field> <field name="OID">deconz.0.lights.60a423fffe620720.on</field> </block> </value> <value name="B"> <block type="logic_boolean" id="k.2RVcrdrkcKxh#]Fp2I"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> <statement name="DO1"> <block type="variables_set" id="Q=SNwc@Z;COj!!~.]wWT"> <field name="VAR" id="obP`JV;QUU%V#ga-ubf7">WM State</field> <value name="VALUE"> <block type="logic_boolean" id="d[O:fYc*ye@Viio:qFc7"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="variables_set" id="D-oDWb#/vUM+[UnpgqvE"> <field name="VAR" id="y~7J[6y=#n^R6V6y{@A#">timeout2 laeuft</field> <value name="VALUE"> <block type="logic_boolean" id="cv[;g$(]([@Q0SXBZWDV"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="control" id="2WqC,w.]]Y@~T-lu7rmb"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Trockner.Trockner</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="rW@4^]i_V40)^XE?WYN@"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="timeouts_cleartimeout" id="2I]L7z7mQO^HVpM-d5^Q"> <field name="NAME">timeout2</field> <next> <block type="timeouts_cleartimeout" id="qLVq#~d3PJaW5%tdd:fI"> <field name="NAME">timeout2</field> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> <next> <block type="controls_if" id=".D(GY(Fu:0Hpl[T;i2gH"> <value name="IF0"> <block type="logic_compare" id="W7pxvQ8@.auCssuNrHw."> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="BDhwprXphiuUGv{YowK="> <field name="VAR" id="obP`JV;QUU%V#ga-ubf7">WM State</field> </block> </value> <value name="B"> <block type="logic_boolean" id="qo;@]3`btuaF!QU,[Y/1"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="VKZNk-62)50*Q_WI[xK!"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Trockner.Trockner</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="s=s1AizYN8%}g0aA=Qpy"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="variables_set" id=")gVj-JyVo;gciJjD#dgQ"> <field name="VAR" id="obP`JV;QUU%V#ga-ubf7">WM State</field> <value name="VALUE"> <block type="logic_boolean" id="=-kkiN(/m7Z1#X2O[@3*"> <field name="BOOL">FALSE</field> </block> </value> </block> </next> </block> </statement> </block> </next> </block> </statement> <next> <block type="on" id="jAJjv$O|HpaqgHsPd!Uv"> <field name="OID">deconz.0.sensors.60a423fffe620720.consumption</field> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <statement name="STATEMENT"> <block type="update" id=".q~xL%Yfx;h7KK`n8mx-"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">deconz.0.sensors.60a423fffe620720.Verbrauch</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text_join" id="gs?d)ImsgaTw+,m%y`k%"> <mutation items="3"></mutation> <value name="ADD0"> <block type="text" id="-/:-p?J@hP;nX[Wv$nPm"> <field name="TEXT">Gesamt: </field> </block> </value> <value name="ADD1"> <block type="math_rndfixed" id="{oY#PZ8r%y=0-Ufh@vp8"> <field name="n">1</field> <value name="x"> <shadow type="math_number" id="b~H9wo!eDO~1foljlRih"> <field name="NUM">3.1234</field> </shadow> <block type="math_arithmetic" id="9N]MvOfAmSYL[S;P|)mC"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number" id="zGW~;$BhCL%}+qOJXg8["> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="Ml#noR$fUeeJX/=[P%?j"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id=".Z#e9T@m5;HOIrAUX$NI"> <field name="NUM">0.875</field> </shadow> </value> <value name="B"> <shadow type="math_number" id="hc6tc[/kZifk]HaFsSap"> <field name="NUM">2</field> </shadow> <block type="math_arithmetic" id="oBzKG6jR(/1p4uhh%|*9"> <field name="OP">MINUS</field> <value name="A"> <shadow type="math_number" id="6BCZ;m?}Co6SUSOa%vzl"> <field name="NUM">1</field> </shadow> <block type="get_value" id="jdq9psh+:t49x7RkFHEK"> <field name="ATTR">val</field> <field name="OID">deconz.0.sensors.60a423fffe620720.consumption</field> </block> </value> <value name="B"> <shadow type="math_number" id="0qjWP5tm8|u,=CQVlg,b"> <field name="NUM">8950</field> </shadow> </value> </block> </value> </block> </value> <value name="B"> <shadow type="math_number" id=",Z~gh`IWQyotKVxH6X1Q"> <field name="NUM">1000</field> </shadow> </value> </block> </value> </block> </value> <value name="ADD2"> <block type="text" id="Kei=*V7z6~q#WV!$RizC"> <field name="TEXT"> kWh</field> </block> </value> </block> </value> </block> </statement> </block> </next> </block> </xml>
  • Badlicht einstellen über Aqara Switch

    3
    1
    0 Votes
    3 Posts
    147 Views
    L
    @paul53 [image: 1614536441009-screenshot_20210228_192004.jpg] Aber warum gehen dann die anderen 2 Funktionen?
  • Pumpenleistung wird nicht errechnet

    10
    1
    0 Votes
    10 Posts
    333 Views
    H
    Heute genug Sonne gehabt. Ich habe das Script nochmal neu aufgebaut, Schritt für Schritt. Ich bekomme jetzt zumindest eine Pumpenleistung in Watt geliefert, weiß aber immer noch nicht, woran es lag. Werde morgen mal vergleichen und bescheid geben.
  • Display vom Echo 5 ausschalten

    6
    0 Votes
    6 Posts
    1k Views
    MichaHiddM
    @elcad Einfach im textCommand vom Echho 5 den Wert "schalte Display aus" eintragen
  • Periodischen Verbrauch ermitteln und darstellen.

    blockly
    37
    -1 Votes
    37 Posts
    6k Views
    docadamsD
    Oh Mann, ich glaub, ich kann mich nie wieder hier sehen lassen... Ich hatte immer in den Einstellungen der einzelnen Graphen gesucht, nicht in den globalen Einstellungen. Also, da stand immer 200 drin. Für meinen Zeitrahmen viel zu groß, so dass ich das nie als Balken ansah. Der Wert 0.05 ist ganz gut. Das Ganze nach links zum Monatsanfang und dann 2 Wochen nach rechts verschoben, steht es etwa in Monatsmitte. So gefällt es mir ... [image: 1614438880598-eauto15.png] Ich glaube, mein Problem ist gelöst. Ich Danke für deine Geduld :-)
  • Zeitstempel einer Messung verschieben

    blockly
    2
    1
    0 Votes
    2 Posts
    133 Views
    docadamsD
    Das eigentliche Problem hat sich erledigt. Eine Monatsmenge kann man ja erst am/nach Monatsende ermitteln. Der Wert stünde dann also bereits am Anfang des Folgemonats, was nicht schön aussieht. Darum der Versuch, das über den Zeitstempel zu manipulieren. Habe jetzt eine andere Lösung gefunden: Unter editieren weitere Einstellungen unten steht "verschiebe x-Werte" Es gibt zwar nicht die Auswahl Monatsmitte, aber Monatsanfang. Das sieht zumindest logischer aus, finde ich. [image: 1614427949944-eauto14.png] Aber eigentlich hätte ich den Befehl siehe oben für soetwas gedacht... Oder wie setzt man den Befehl Zeitstmpel richtig ein?
  • [Gelöst] Problem mit Blockly

    18
    0 Votes
    18 Posts
    791 Views
    wendy2702W
    @paul53 OK. Wenn man scheinbar blind ist. Danke
  • ESP-RFID "opendoor" GPIO4 über blockly schalten

    Moved
    3
    0 Votes
    3 Posts
    186 Views
    falke69F
    @olafwalther ich habe das bei mir so gelöst. [image: 1614423410009-2021-02-27_115602.jpg]
  • Zigbee Xiaomi Tuya Bewegunsmelder Licht Skript

    2
    1
    0 Votes
    2 Posts
    211 Views
    mickymM
    @grazer75 60 sek. ist die minimalste Auflösung. Das heißt der BMW reagiert in 1 Minute maximal 1xMal. Man kann das durch Löten auf 5 sec. verkürzen. In Deinem Du setzt den Occupancy Timeout auf 8. Da Du das Ding durch Löten aber nicht in den Daueranlernmodus versetzt hast, ist jeder Wert < 60 eh sinnlos. Google einfach mal..
  • [gelöst] Kann Blockly nicht mehr löschen

    12
    2
    0 Votes
    12 Posts
    1k Views
    TG70T
    Perfekt hat geklappt. Herzlichen Dank Euch iobroker stop Datei mit Windows editiert: download mit WinSCP >> /opt/iobroker/iobroker-data/objects.json Edit mit Notepad++ Datei wieder hochgeladen iobroker start
  • Zigbee Bewegungsmelder Tuya Lichtschaltung klappt nicht

    2
    0 Votes
    2 Posts
    299 Views
    paul53P
    @grazer75 sagte: wurde nicht ausgeführt, während der Debug-Modus aktiv ist Debug-Modus rechts oben deaktivieren!
  • Noob-Frage: Rechnen mit Variablen

    9
    1
    0 Votes
    9 Posts
    551 Views
    MierscheidM
    @homoran Mal abgesehen davon, dass ich noch die im Userscript erstellte Variable statt des Alter Zählerstand eintragen muss, geht es aber doch so. (dass ich die Variable einfügen kann – es geht nicht um das Script an sich) [image: 1614284776400-bildschirmfoto-vom-2021-02-25-21-24-50.png]
  • Alexa device für Sprachausgabe bestimmen

    33
    0 Votes
    33 Posts
    3k Views
    FenriswolfF
    @dslraser sagte in Alexa device für Sprachausgabe bestimmen: @fenriswolf lege Deine Datenpunkte unter 0_userdata.0 oder javascript.x (x=Instanznummer) an, diese "Ordner" sind dafür gedacht. ja ich weiß - Schande über mein Haupt - aber als ich das angelegt habe, war ich noch unerfahren - was ich auch jetzt großteils noch bin - aber es hat bis jetzt immer alles geklappt. Wenn ich mal wirklich viel langeweile habe, das werde ich die ganzen Werte umziehen nach userdata ... aber momentan geht es noch so.
  • Http Request - Ausführung zu langsam

    9
    2
    0 Votes
    9 Posts
    465 Views
    H
    @xbit Ok, Ping-Zeiten sind <0.1 ms, das dürfte passen. Ich komme hier nicht weiter, danke dir sehr für die Tips und deine Zeit. VG
  • Briefkastenalarm Vibrationssensor Gyroskop

    6
    3
    0 Votes
    6 Posts
    798 Views
    D
    @christian-wöhrle auch nicht schlecht, vermutlich einacher als das skript mit den koordinaten. danke für eure Hilfe
  • [solved]Astro Offset aus Datenpunkt

    blockly
    9
    0 Votes
    9 Posts
    928 Views
    S
    @paul53 @ente34 Mega! Hab nen Augenblick gebraucht, aber verstanden und klappt! Danke Euch!
  • Kleine Alarmanlagen Schaltung

    7
    1
    0 Votes
    7 Posts
    736 Views
    AphofisA
    @paul53 sagte in Kleine Alarmanlagen Schaltung: @Aphofis sagte: Man kann den Datenpunkt Alarmanlage an/aus nicht einschalten. Antwort: @Aphofis sagte in Kleine Alarmanlagen Schaltung: per Datenpunkt wird die Alarmanlage per alexa ein-aus/geschaltet Der Datenpunkt wird im Script auch nur ausgewertet, nicht geschaltet. Korrektur <xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="~42gns1qvls4T]2Gv/p/">Alarmanlage_an</variable> <variable type="timeout" id="timeout">timeout</variable> <variable id="3jwA!ZrM0=W-y3.@me`C">count</variable> <variable type="interval" id="Intervall">Intervall</variable> </variables> <block type="on_ext" id="@(7^^2tnC$!0BEBP3UL)" x="-13" y="-138"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="6"></mutation> <field name="CONDITION">gt</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="^fLGq+uP=!S4:QPS%;$,"> <field name="oid">Aqua_Control.0.Alarm_Sensoren.fenster_sensor_badezimmer_trigger</field> </shadow> </value> <value name="OID1"> <shadow type="field_oid" id="baVj~1Kg@|*WU2u%#U6)"> <field name="oid">Aqua_Control.0.Alarm_Sensoren.fenster_sensor_buero_trigger</field> </shadow> </value> <value name="OID2"> <shadow type="field_oid" id="ZzsDJ,7:]gw{$F6cVT-l"> <field name="oid">Aqua_Control.0.Alarm_Sensoren.fenster_sensor_kueche_trigger</field> </shadow> </value> <value name="OID3"> <shadow type="field_oid" id="TWY~%/ha|s=b(n3`y[I/"> <field name="oid">Aqua_Control.0.Alarm_Sensoren.fenster_sensor_schlafzimmer_trigger</field> </shadow> </value> <value name="OID4"> <shadow type="field_oid" id="tZ3sL*a$fY{e?Pu~6XaW"> <field name="oid">Aqua_Control.0.Alarm_Sensoren.fenster_sensor_wohnzimmer_trigger</field> </shadow> </value> <value name="OID5"> <shadow type="field_oid" id="%!8oH@`8qQfEC91oI]^s"> <field name="oid">Aqua_Control.0.Alarm_Sensoren.tuer_sensor_wohnzimmer_trigger</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="{DF~LTM?T?V+8E~c(KTZ"> <value name="IF0"> <block type="logic_operation" id="$e^RM+N6?^KR@g|.J=+d" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="variables_get" id="T*#O,/w])n%t4rEP{ezz"> <field name="VAR" id="~42gns1qvls4T]2Gv/p/">Alarmanlage_an</field> </block> </value> <value name="B"> <block type="logic_negate" id="d+maHLr2++G$_q~jV{@t"> <value name="BOOL"> <block type="variables_get" id="K%N^([Tl$@Cx?nVj,xP2"> <field name="VAR" id="timeout" variabletype="timeout">timeout</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="VJhhs/f%2O~Fs(ICzq_="> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">sonoff.0.Aqua_Control.POWER3</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="i{%u[8RwK_kdu=xC*X,8"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="timeouts_settimeout" id="sGM%_KwEeqMkBb^!9Dt["> <field name="NAME">timeout</field> <field name="DELAY">10</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="control" id="PHNReWGK^!.OE0tf!wMB"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">sonoff.0.Aqua_Control.POWER3</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="%h-p3npZodWronYw6OV("> <field name="BOOL">FALSE</field> </block> </value> </block> </statement> <next> <block type="variables_set" id="tL_!DX+EtJkijwrSYoCu"> <field name="VAR" id="3jwA!ZrM0=W-y3.@me`C">count</field> <value name="VALUE"> <block type="math_number" id="#Mb;Cfs*ybJA)vOG)Otg"> <field name="NUM">3</field> </block> </value> <next> <block type="timeouts_setinterval" id=")?_nfX$XeWfejdtM?{@:"> <field name="NAME">Intervall</field> <field name="INTERVAL">1</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="telegram" id="j?[eYA{1[-k9gF*G%sRm"> <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="a[#sXffT7Kk;2du0_6ge"> <field name="TEXT">Alarmanlage wurde ausgelöst</field> </shadow> </value> <next> <block type="control" id="o`TK2BDhCiRG}5p}@`Oc"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G0913L06031202PA.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="S4g1HiY^qo3zT/)MHzgO"> <field name="TEXT">Alarmanlage wurde ausgelöst,, die polizei wird alamiert</field> </block> </value> <next> <block type="math_change" id="k0.8$[`[VJF4V[Qm_H#i"> <field name="VAR" id="3jwA!ZrM0=W-y3.@me`C">count</field> <value name="DELTA"> <shadow type="math_number" id=";.XND*yB?At(jFB2WLzp"> <field name="NUM">-1</field> </shadow> </value> <next> <block type="controls_if" id=".bC2{))CNvc1zTSS_UKt"> <value name="IF0"> <block type="logic_compare" id="2rQ]9K`GDqW,+W3I*OmB"> <field name="OP">LTE</field> <value name="A"> <block type="variables_get" id="Q(.hMoHYB(-.[%V)9Ax#"> <field name="VAR" id="3jwA!ZrM0=W-y3.@me`C">count</field> </block> </value> <value name="B"> <block type="math_number" id="^7iVgvpke5T~|4R4/s6^"> <field name="NUM">0</field> </block> </value> </block> </value> <statement name="DO0"> <block type="timeouts_clearinterval" id="{M]%8!f*iqHt(BArC^i@"> <field name="NAME">Intervall</field> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </statement> </block> <block type="on_ext" id="Jq/I$|oPFD[s4t4P1CV#" x="663" y="-137"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="T:hHw8fSF1[LA`Uhzkb8"> <field name="oid">Aqua_Control.0.Alarm_Sensoren.Alarmanlage_an/aus</field> </shadow> </value> <statement name="STATEMENT"> <block type="variables_set" id="5l/Q2qMP]By~R+#/YVI("> <field name="VAR" id="~42gns1qvls4T]2Gv/p/">Alarmanlage_an</field> <value name="VALUE"> <block type="on_source" id="RZ=Ug=y:QJoR):jl:|/|"> <field name="ATTR">state.val</field> </block> </value> <next> <block type="controls_if" id="m2Wtk.fEc:o3Inw`^p#b"> <value name="IF0"> <block type="get_value_var" id="B{21%qyo_h}e2bo7LC}#"> <field name="ATTR">val</field> <value name="OID"> <shadow type="text" id="SQ,`D:hBCAOF_iCa}F),"> <field name="TEXT">sonoff.0.Aqua_Control.POWER3</field> </shadow> </value> </block> </value> <statement name="DO0"> <block type="control" id="OZlRY(Q:9Fr*.~Xto]IG"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">sonoff.0.Aqua_Control.POWER3</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="@Uqg_*kL=f@hs1p!ech/"> <field name="BOOL">FALSE</field> </block> </value> </block> </statement> <next> <block type="timeouts_clearinterval" id="wEMtls$8czoDBv.NRT^1"> <field name="NAME">Intervall</field> <next> <block type="timeouts_cleartimeout" id="v5Mf2Bu3uPA0+8NDGfyN"> <field name="NAME">timeout</field> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </xml> Dank dir !!!
  • [solved] Skriptprobleme

    2
    0 Votes
    2 Posts
    74 Views
    D
    Wie es immer so ist.... Ich habe jetzt drei Tage lang verzweifelt das Problem gesucht. Habe jetzt den anderen Trigger Baustein genommen und es funktioniert... Verrückt, aber hauptsache es läuft jetzt....
  • Alexa flüstern lassen

    9
    1
    0 Votes
    9 Posts
    519 Views
    dslraserD
    @mcbirne sagte in Alexa flüstern lassen: Ah, ich dachte immer ich muss es in ssml kopieren. Danke für den Tipp! eigentlich gehört es da auch hin...

623

Online

32.8k

Users

82.8k

Topics

1.3m

Posts