Weiter zum Inhalt

Blockly

6.6k Themen 80.4k Beiträge

Hilfe für Skripterstellung mit Blockly

NEWS

  • HM Programm in Blockly

    1
    2
    0 Stimmen
    1 Beiträge
    297 Aufrufe
    Niemand hat geantwortet
  • Ansteuerung einer GLEDOPTO-LED mit Zigbee-Adapter

    blockly multimedia
    1
    0 Stimmen
    1 Beiträge
    217 Aufrufe
    Niemand hat geantwortet
  • Mail mit mehr als 2 Anhängen?

    blockly communication
    37
    1
    0 Stimmen
    37 Beiträge
    3k Aufrufe
    AlCalzoneA
    @lost-in-translation Am liebsten wäre es mir, wenn ich nach dem holen des Bildes so lange warten könnte bis 1,5 Sekunden vergangen sind z.B. so: // ... const wgetInterval = 1500; // ms function wait(ms) { return new Promise((resolve) => { setTimeout(resolve, ms); }); } for (let i = 0; i < 20; i++) { const startTime = Date.now(); await execAsync("Befehl..."); // Dauer des Befehls in ms ermitteln const duration = Date.now() - startTime; // Wenn der Befehl zu schnell war, bis zur Mindestzeit warten if (duration < wgetInterval) await wait(wgetInterval - duration); } // ...
  • [Erledigt]Astro funktioniert nicht alternativ

    6
    3
    0 Stimmen
    6 Beiträge
    884 Aufrufe
    E
    @paul53 So jetzt klappt alles ,Vielen Dank [image: 1560411846822-a.png]
  • *gelöst* Shelly / Tasmota LED-Dimmer per Blockly

    blockly scenes
    7
    0 Stimmen
    7 Beiträge
    1k Aufrufe
    S
    Hier ist mein fertiges Skript zum Dimmen der 3 Kanäle: <xml xmlns="http://www.w3.org/1999/xhtml"> <variables> <variable type="undefined" id="Intervall2">Intervall2</variable> <variable type="undefined" id="Intervall1">Intervall1</variable> <variable type="undefined" id="Intervall3">Intervall3</variable> <variable type="undefined" id="Intervall4">Intervall4</variable> <variable type="undefined" id="Intervall5">Intervall5</variable> <variable type="undefined" id="Intervall6">Intervall6</variable> </variables> <block type="schedule" id="dFsy~.H~Vz|c#~[1Ar~K" x="-1287" y="-362"> <field name="SCHEDULE">{"time":{"exactTime":true,"start":"06:30"},"period":{"days":1}}</field> <statement name="STATEMENT"> <block type="control" id="|pg{48[uMZ~d+[^$NcBL"> <mutation delay_input="false"></mutation> <field name="OID">shelly.0.SHRGBW2#661CD1#1.white1.Switch</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="2g#/}eo]`q.x30hJ0dVF"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="control" id="DPu9:ZErz7*@$JPn7-ID"> <mutation delay_input="false"></mutation> <field name="OID">shelly.0.SHRGBW2#661CD1#1.white1.brightness</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="eVDhM6womq]}AVp!]9oF"> <field name="NUM">1</field> </block> </value> <next> <block type="comment" id="8Jp9u+k~BeHuSCV4^]#F"> <field name="COMMENT">6 Sekunden Intervall bei 100 als Max Wert bedeutet dimmen in 10 Minuten</field> <next> <block type="comment" id="G@S2)ldsSk2/:c!fwX=q"> <field name="COMMENT">500ms sind ein guter Wert für zügiges hoch/runter Dimmen</field> <next> <block type="timeouts_setinterval" id="||nx?p9s`g:b^G:%^K-/"> <field name="NAME">Intervall1</field> <field name="INTERVAL">6</field> <field name="UNIT">sec</field> <statement name="STATEMENT"> <block type="controls_if" id="`r3J6B98q3n[-V+W_448"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_compare" id="{|%r#gvfL@x[s$R^t7GV"> <field name="OP">LT</field> <value name="A"> <block type="get_value" id="gHu;/QEk*b*}Ezfp6Uxq"> <field name="ATTR">val</field> <field name="OID">shelly.0.SHRGBW2#661CD1#1.white1.brightness</field> </block> </value> <value name="B"> <block type="math_number" id="**1x+)/[5JrT7jWWCSpB"> <field name="NUM">100</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="n#:Hx6?::L@%3Ka#)2n5"> <mutation delay_input="false"></mutation> <field name="OID">shelly.0.SHRGBW2#661CD1#1.white1.brightness</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_arithmetic" id="ltsp%YwgN/pQu7W#w|k["> <field name="OP">ADD</field> <value name="A"> <shadow type="math_number" id="tSa(@Me46JE#QlwQL3v;"> <field name="NUM">1</field> </shadow> <block type="get_value" id="4z.^!486bxG;38W=a/T0"> <field name="ATTR">val</field> <field name="OID">shelly.0.SHRGBW2#661CD1#1.white1.brightness</field> </block> </value> <value name="B"> <shadow type="math_number" id="/5@~j7QF*]EHD{[479Nm"> <field name="NUM">1</field> </shadow> </value> </block> </value> </block> </statement> <statement name="ELSE"> <block type="timeouts_clearinterval" id="hRo@cfm~{Ycti.EM+aBW"> <field name="NAME">Intervall1</field> </block> </statement> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> <next> <block type="schedule" id="eZr:0^RW:Zn7!DPz+8:P"> <field name="SCHEDULE">{"time":{"exactTime":true,"start":"07:00"},"period":{"days":1}}</field> <statement name="STATEMENT"> <block type="control" id="r@FXtSGbBnOTR`V1ZOe("> <mutation delay_input="false"></mutation> <field name="OID">shelly.0.SHRGBW2#661CD1#1.white2.Switch</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="BfY1_d!OE,hWK^%nwU|8"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="control" id="nmEW$Ntf[mbtb}5TMFuq"> <mutation delay_input="false"></mutation> <field name="OID">shelly.0.SHRGBW2#661CD1#1.white2.brightness</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="ee2N/{`R!xN-I0#3OudZ"> <field name="NUM">1</field> </block> </value> <next> <block type="timeouts_setinterval" id="S[Mt::{C/-4YR).94/ic"> <field name="NAME">Intervall2</field> <field name="INTERVAL">6</field> <field name="UNIT">sec</field> <statement name="STATEMENT"> <block type="controls_if" id="P67+U/[Aoc/@c`oJj/2p"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_compare" id="(,^?Rai;+BEiv=B~hqAw"> <field name="OP">LT</field> <value name="A"> <block type="get_value" id="M9#mD.GL%nNmCvUnR9fL"> <field name="ATTR">val</field> <field name="OID">shelly.0.SHRGBW2#661CD1#1.white2.brightness</field> </block> </value> <value name="B"> <block type="math_number" id="m?7X*(moy(coREN^HwZ8"> <field name="NUM">100</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="t7v5VU`]nqP1lR6H,CzK"> <mutation delay_input="false"></mutation> <field name="OID">shelly.0.SHRGBW2#661CD1#1.white2.brightness</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_arithmetic" id="vb98+Enqpe|gK!6F95Yc"> <field name="OP">ADD</field> <value name="A"> <shadow type="math_number" id="tSa(@Me46JE#QlwQL3v;"> <field name="NUM">1</field> </shadow> <block type="get_value" id="vPj;Rl`+d@^X75gXW/U@"> <field name="ATTR">val</field> <field name="OID">shelly.0.SHRGBW2#661CD1#1.white2.brightness</field> </block> </value> <value name="B"> <shadow type="math_number" id="s=LY_Q-UrPGG/kh*$a{J"> <field name="NUM">1</field> </shadow> </value> </block> </value> </block> </statement> <statement name="ELSE"> <block type="timeouts_clearinterval" id="P*r,XDkv|5T5d13Y{`-`"> <field name="NAME">Intervall2</field> </block> </statement> </block> </statement> </block> </next> </block> </next> </block> </statement> <next> <block type="schedule" id="ME~y0:KCaq+;cwiC][JG"> <field name="SCHEDULE">{"time":{"exactTime":true,"start":"07:40"},"period":{"days":1}}</field> <statement name="STATEMENT"> <block type="control" id="!C(cJS$!zs(CM7.xu~Ra"> <mutation delay_input="false"></mutation> <field name="OID">shelly.0.SHRGBW2#661CD1#1.white0.Switch</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="w.Q5x?`%34|ZOJ_^@:K%"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="control" id="f^1@e6$a-J#KN=1.ip.e"> <mutation delay_input="false"></mutation> <field name="OID">shelly.0.SHRGBW2#661CD1#1.white0.brightness</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="K{4}W^-4yTXzi2=R@ZE["> <field name="NUM">1</field> </block> </value> <next> <block type="timeouts_setinterval" id="xbE2m+~lpb$4E?s$SLtD"> <field name="NAME">Intervall3</field> <field name="INTERVAL">12</field> <field name="UNIT">sec</field> <statement name="STATEMENT"> <block type="controls_if" id="YZw~Y-=%:Qoe|EZ@U2tB"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_compare" id="bGKIi)g|#9|.a|@Z1[S%"> <field name="OP">LT</field> <value name="A"> <block type="get_value" id="qwkxMys=Xp^3uzCe![[["> <field name="ATTR">val</field> <field name="OID">shelly.0.SHRGBW2#661CD1#1.white0.brightness</field> </block> </value> <value name="B"> <block type="math_number" id=";sr@urwI{T55?A5@%Oiv"> <field name="NUM">100</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id=":n9?3N26J9WB$_wl{nQf"> <mutation delay_input="false"></mutation> <field name="OID">shelly.0.SHRGBW2#661CD1#1.white0.brightness</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_arithmetic" id="O~v.cx{d(7E8!H=xE~L:"> <field name="OP">ADD</field> <value name="A"> <shadow type="math_number" id="tSa(@Me46JE#QlwQL3v;"> <field name="NUM">1</field> </shadow> <block type="get_value" id="BoQ;6TM|`=:0E{p/Jq;C"> <field name="ATTR">val</field> <field name="OID">shelly.0.SHRGBW2#661CD1#1.white0.brightness</field> </block> </value> <value name="B"> <shadow type="math_number" id="CKc%hoSh!$in_3x:B`9r"> <field name="NUM">1</field> </shadow> </value> </block> </value> </block> </statement> <statement name="ELSE"> <block type="timeouts_clearinterval" id="}#q?lx?}U_2N%/RCh[)D"> <field name="NAME">Intervall4</field> </block> </statement> </block> </statement> </block> </next> </block> </next> </block> </statement> <next> <block type="schedule" id="j9)c@b,+kx]mo2:7_!MF"> <field name="SCHEDULE">{"time":{"exactTime":true,"start":"19:15"},"period":{"days":1}}</field> <statement name="STATEMENT"> <block type="control" id="ScZ*4DDK5Czp(@7v#]`E"> <mutation delay_input="false"></mutation> <field name="OID">shelly.0.SHRGBW2#661CD1#1.white0.brightness</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="_q2HADF%6hru9zfMc,E7"> <field name="NUM">100</field> </block> </value> <next> <block type="timeouts_setinterval" id="9$[07FN{U/J`k;RPF{$z"> <field name="NAME">Intervall4</field> <field name="INTERVAL">12</field> <field name="UNIT">sec</field> <statement name="STATEMENT"> <block type="controls_if" id="8_bL=eN3_FFKWwd}=EqK"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_compare" id="y1lGg2a]xcS$7$@-_F{2"> <field name="OP">GT</field> <value name="A"> <block type="get_value" id="FA,pyxfxF;pr32IHx7E]"> <field name="ATTR">val</field> <field name="OID">shelly.0.SHRGBW2#661CD1#1.white0.brightness</field> </block> </value> <value name="B"> <block type="math_number" id="Md4_{-0W`w2l~@6fBL;c"> <field name="NUM">0</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="c1Wz[9h}.VTc7VwKq$(g"> <mutation delay_input="false"></mutation> <field name="OID">shelly.0.SHRGBW2#661CD1#1.white0.brightness</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_arithmetic" id="^A#kr%{vqm0*dvyvg01]"> <field name="OP">MINUS</field> <value name="A"> <shadow type="math_number" id="tSa(@Me46JE#QlwQL3v;"> <field name="NUM">1</field> </shadow> <block type="get_value" id="6%4Ok~HC]Z](L(R;btWo"> <field name="ATTR">val</field> <field name="OID">shelly.0.SHRGBW2#661CD1#1.white0.brightness</field> </block> </value> <value name="B"> <shadow type="math_number" id="`#Zh~mY@9HV$#+/}]8ep"> <field name="NUM">1</field> </shadow> </value> </block> </value> </block> </statement> <statement name="ELSE"> <block type="timeouts_clearinterval" id="d(Xw,32AQY(Lo@PTb/O^"> <field name="NAME">Intervall4</field> </block> </statement> </block> </statement> </block> </next> </block> </statement> <next> <block type="schedule" id="=~:HF8C:eGk?4=OylE)c"> <field name="SCHEDULE">{"time":{"exactTime":true,"start":"20:15"},"period":{"days":1}}</field> <statement name="STATEMENT"> <block type="control" id="qH_8P:xfQ6w]u~)}xGg_"> <mutation delay_input="false"></mutation> <field name="OID">shelly.0.SHRGBW2#661CD1#1.white2.brightness</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="o6O09:@BAFGZ8T41(nnT"> <field name="NUM">100</field> </block> </value> <next> <block type="timeouts_setinterval" id="w;eM:6b}Yok6SZS+hNIY"> <field name="NAME">Intervall5</field> <field name="INTERVAL">10</field> <field name="UNIT">sec</field> <statement name="STATEMENT"> <block type="controls_if" id="E9qK$hsKay?*8R_#Q$e2"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_compare" id="ed%Zq1i;9Yi`Ob-LK0V;"> <field name="OP">GT</field> <value name="A"> <block type="get_value" id="0lN[GGOU,(KZkHtZC2wV"> <field name="ATTR">val</field> <field name="OID">shelly.0.SHRGBW2#661CD1#1.white2.brightness</field> </block> </value> <value name="B"> <block type="math_number" id="kdSF=N%Oba8($[nn/,i2"> <field name="NUM">0</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="XQJoZ;f04}X[C,?HAE#?"> <mutation delay_input="false"></mutation> <field name="OID">shelly.0.SHRGBW2#661CD1#1.white2.brightness</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_arithmetic" id="K2j-}@3hC=/5!$n,@Y67"> <field name="OP">MINUS</field> <value name="A"> <shadow type="math_number" id="tSa(@Me46JE#QlwQL3v;"> <field name="NUM">1</field> </shadow> <block type="get_value" id="9fImv#m(Lb=[5dX`oiKJ"> <field name="ATTR">val</field> <field name="OID">shelly.0.SHRGBW2#661CD1#1.white2.brightness</field> </block> </value> <value name="B"> <shadow type="math_number" id="W@Cs-Bh[N!/qxnbm$S|i"> <field name="NUM">1</field> </shadow> </value> </block> </value> </block> </statement> <statement name="ELSE"> <block type="timeouts_clearinterval" id="Jg6,M^vP^t[kbP8Uo0:p"> <field name="NAME">Intervall5</field> </block> </statement> </block> </statement> </block> </next> </block> </statement> <next> <block type="schedule" id="]$xU$W5=AECTa_p:7s9W"> <field name="SCHEDULE">{"time":{"exactTime":true,"start":"21:00"},"period":{"days":1}}</field> <statement name="STATEMENT"> <block type="control" id="njAlWi|m@0IYDkQbC%J."> <mutation delay_input="false"></mutation> <field name="OID">shelly.0.SHRGBW2#661CD1#1.white1.brightness</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="#MwO-_2-PS6~X5x3@Ql-"> <field name="NUM">100</field> </block> </value> <next> <block type="timeouts_setinterval" id="1bZjJHW!+173vrO{$M6L"> <field name="NAME">Intervall6</field> <field name="INTERVAL">8</field> <field name="UNIT">sec</field> <statement name="STATEMENT"> <block type="controls_if" id="``L}W:~+KvN8dFqU_]0*"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_compare" id="rpM8_F1AHMN2M#qkm@!^"> <field name="OP">GT</field> <value name="A"> <block type="get_value" id="dqNNInr%fy)D4#xbG,=w"> <field name="ATTR">val</field> <field name="OID">shelly.0.SHRGBW2#661CD1#1.white1.brightness</field> </block> </value> <value name="B"> <block type="math_number" id="6!1[k^qexun$dstj[*r!"> <field name="NUM">0</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="#i+OjuXW~}^dmR~-CVAJ"> <mutation delay_input="false"></mutation> <field name="OID">shelly.0.SHRGBW2#661CD1#1.white1.brightness</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_arithmetic" id="[6QYJ$T6#{MT!,phdnko"> <field name="OP">MINUS</field> <value name="A"> <shadow type="math_number" id="tSa(@Me46JE#QlwQL3v;"> <field name="NUM">1</field> </shadow> <block type="get_value" id="SOq6d`HLz)MP3jpt.Rt+"> <field name="ATTR">val</field> <field name="OID">shelly.0.SHRGBW2#661CD1#1.white1.brightness</field> </block> </value> <value name="B"> <shadow type="math_number" id="c?w^OYdW8sV/vSQ{eFyN"> <field name="NUM">1</field> </shadow> </value> </block> </value> </block> </statement> <statement name="ELSE"> <block type="timeouts_clearinterval" id="};D6b=0c5P*_-]J8xv-F"> <field name="NAME">Intervall6</field> </block> </statement> </block> </statement> </block> </next> </block> </statement> <next> <block type="schedule" id="NP|}@;USn!yFW~cLwby@"> <field name="SCHEDULE">{"time":{"exactTime":true,"start":"21:15"},"period":{"days":1}}</field> <statement name="STATEMENT"> <block type="control" id="fswGL0zAF]#9|:M1fUl}"> <mutation delay_input="false"></mutation> <field name="OID">shelly.0.SHRGBW2#661CD1#1.white1.Switch</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="=b[;rqb1eH4})d.pg0/#"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="control" id="eM)p@Q$THzP~R7nm)]iT"> <mutation delay_input="false"></mutation> <field name="OID">shelly.0.SHRGBW2#661CD1#1.white2.Switch</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="b6FP0ud*1@KtydAd0rlR"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="control" id="?v$cv?i`1)o[kS.ij7=I"> <mutation delay_input="false"></mutation> <field name="OID">shelly.0.SHRGBW2#661CD1#1.white0.Switch</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="%.YEC#MSh[oK|FRaph78"> <field name="BOOL">FALSE</field> </block> </value> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </xml>
  • Skripte Tab öffnet sich leider nicht

    4
    1
    0 Stimmen
    4 Beiträge
    710 Aufrufe
    SpegeliS
    Das Problem haben wohl mehrere (einschließlich mich seit heute): https://github.com/ioBroker/ioBroker.javascript/issues/373 Über den Standard Admin geht es wohl, nur über einen selbst angelegten Admin User. Warum das aber plötzlich einfach passiert keine Ahnung. Bisher konnte ich auch über den selbst angelegten Admin Problemlos drauf zugreifen.
  • View-Wechsel mit Blockly und Instanzen ?

    1
    0 Stimmen
    1 Beiträge
    190 Aufrufe
    Niemand hat geantwortet
  • [gelöst] Temp Steuerung

    3
    1
    0 Stimmen
    3 Beiträge
    361 Aufrufe
    AphofisA
    Also hast du nur > und = in > geändert und ist < und = in < mehr nicht !? und die Objekt logik durch Wert ersetzt !? Problem besteht weiterhin aber auch beim Raspberry springt der Lüfter nur an wenn der Wert sich ändert! Man muss doch den aktuellen wert alle x sek lesen können und danach den Lüfter per relais ein oder ausschalten.
  • TR064-Saugroboter starten bei Abwesenheit

    12
    0 Stimmen
    12 Beiträge
    1k Aufrufe
    J
    @chris877 Schau mein Blockly an, das macht das und ist wirklich nicht so groß.
  • Blockly Script Alamierung wenn Tür geöffnet wurde

    6
    2
    0 Stimmen
    6 Beiträge
    653 Aufrufe
    Ralla66R
    Denke dann triggerst du zu viel. Wenn erste mal Tor auf muß 1 min das Programm ablaufen. Erst dann darf der zweite trigger ausgewertet werden. Anders herum wenn trigger 1 läuft muß trigger 2, 3 egal sein innerhalb einer min.
  • [gelöst] Element für Link ?

    4
    0 Stimmen
    4 Beiträge
    184 Aufrufe
    S
    @iomountain nee, damit [image: 1560160444560-1.png]
  • Blockly Script Fernseher Türsensor

    12
    1
    0 Stimmen
    12 Beiträge
    2k Aufrufe
    N
    @eumats Vielen Dank. Werde es mal ausprobieren
  • [Gelöst] Blockly und Zugriff auf Key:Value

    blockly
    1
    0 Stimmen
    1 Beiträge
    398 Aufrufe
    Niemand hat geantwortet
  • Abfrage und/oder wie bei Homematic möglich?

    10
    1
    0 Stimmen
    10 Beiträge
    571 Aufrufe
    capitaenzC
    Habe die ganze Zeit versucht das Objekt ID aus dem Fenster zu ziehen. Das man es innerhalt des Fensters verschieben muss, da bin ich nicht drauf gekommen. Also, nochmals danke!
  • Anwesenheit mit Zeit Puffer

    2
    0 Stimmen
    2 Beiträge
    222 Aufrufe
    C
    Hab mal mit Timeout versucht sollte doch so klappen? <xml xmlns="http://www.w3.org/1999/xhtml"> <variables> <variable type="undefined" id="timeout">timeout</variable> </variables> <block type="on_ext" id="[Kf+~E]`WU^B|jj/b_-+" x="-462" y="-562"> <mutation items="5"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="Z9?_mgxHczl;`*w?,cOE"> <field name="oid">EIGENE_OBJEKTE.0.ANWESENHEIT.chris</field> </shadow> </value> <value name="OID1"> <shadow type="field_oid" id="Z.Ksmjm6xGSjLN-FD6mJ"> <field name="oid">EIGENE_OBJEKTE.0.ANWESENHEIT.tanja</field> </shadow> </value> <value name="OID2"> <shadow type="field_oid" id="Il)%j0Ij9-fb0_4*XKCP"> <field name="oid">EIGENE_OBJEKTE.0.ANWESENHEIT.marcel</field> </shadow> </value> <value name="OID3"> <shadow type="field_oid" id="39b7_XhHjDLIGoq5ytJ3"> <field name="oid">EIGENE_OBJEKTE.0.ANWESENHEIT.milena</field> </shadow> </value> <value name="OID4"> <shadow type="field_oid" id="-3*1qo$UUm$etEqID$_C"> <field name="oid">EIGENE_OBJEKTE.0.ANWESENHEIT.gast</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="0.)bcIfB?@i~a`;FHOE1"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_compare" id="GOY-!e1]#zXUvvk`q]va" inline="false"> <field name="OP">EQ</field> <value name="A"> <block type="logic_operation" id="m[S__0Qq,ejpAVNU?Sjt" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="logic_operation" id="y!6lR9zP]kftTt`)G$Cl" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="logic_operation" id="Y*ayI^IMzkFk}r@U`=Z%" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="get_value" id="tA)ge`.hwKg0E-XKs~v5"> <field name="ATTR">val</field> <field name="OID">EIGENE_OBJEKTE.0.ANWESENHEIT.chris</field> </block> </value> <value name="B"> <block type="get_value" id="z8G;`UV.pYvI~]wsGK%a"> <field name="ATTR">val</field> <field name="OID">EIGENE_OBJEKTE.0.ANWESENHEIT.tanja</field> </block> </value> </block> </value> <value name="B"> <block type="get_value" id="7+WNSriRnZzM,9dIckSH"> <field name="ATTR">val</field> <field name="OID">EIGENE_OBJEKTE.0.ANWESENHEIT.gast</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="J67*dVUc$b[4#CJ4y^nS" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="get_value" id="0.n3`q$K|V~ZzI2yi*A|"> <field name="ATTR">val</field> <field name="OID">EIGENE_OBJEKTE.0.ANWESENHEIT.marcel</field> </block> </value> <value name="B"> <block type="get_value" id="xQ(+%ts?9qdF_:1t1g%g"> <field name="ATTR">val</field> <field name="OID">EIGENE_OBJEKTE.0.ANWESENHEIT.milena</field> </block> </value> </block> </value> </block> </value> <value name="B"> <block type="logic_boolean" id="FKsX^!Blk}@JlR-wo.bp"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="timeouts_cleartimeout" id=";rry:kI$#ZQG27n2-$DF"> <field name="NAME">timeout</field> <next> <block type="control" id=",%L+mbbI0-6pgQ(s,^~4"> <mutation delay_input="false"></mutation> <field name="OID">EIGENE_OBJEKTE.0.ANWESENHEIT.einerda</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="-d-(C@l-5@g`Kw,y^u?x"> <field name="BOOL">TRUE</field> </block> </value> </block> </next> </block> </statement> <statement name="ELSE"> <block type="timeouts_cleartimeout" id="x_b72sR_jjYt5sOSIjw,"> <field name="NAME">timeout</field> <next> <block type="timeouts_settimeout" id="]883rCf]ky2;OAr8%HB="> <field name="NAME">timeout</field> <field name="DELAY">15</field> <field name="UNIT">sec</field> <statement name="STATEMENT"> <block type="control" id="ZT#9(7|YkhYTdiZ{/t?m"> <mutation delay_input="false"></mutation> <field name="OID">EIGENE_OBJEKTE.0.ANWESENHEIT.einerda</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="aGFvgp#sgksLT;f^qQ2?"> <field name="BOOL">FALSE</field> </block> </value> </block> </statement> </block> </next> </block> </statement> </block> </statement> </block> </xml>
  • Zu viele Emails

    10
    2
    0 Stimmen
    10 Beiträge
    929 Aufrufe
    paul53P
    @Patrick-Gerhäuser sagte in Zu viele Emails: Jetzt schreibt er garkeine Email mehr Dann bleibt der Wert des Triggerdatenpunktes keine 15 Minuten konstant.
  • [Erledigt]Tuya Rolladensteuerung Zeit Script

    3
    3
    0 Stimmen
    3 Beiträge
    501 Aufrufe
    E
    @Jan1 ja kann man sagen bin noch Anfänger Aber jetz läuft alles wunderbar. So lernt man von Profis Vielen Dank
  • Bewegungsmelder mit Klick aktivieren

    1
    1
    0 Stimmen
    1 Beiträge
    239 Aufrufe
    Niemand hat geantwortet
  • Hilfe: Werte nur jede Minute schicken

    blockly
    2
    0 Stimmen
    2 Beiträge
    243 Aufrufe
    arteckA
    @Homoran dein job :-)
  • Texte von mehreren SV in eine SV schreiben

    11
    1
    0 Stimmen
    11 Beiträge
    824 Aufrufe
    hananH
    Hallo Homoran Ist vielleicht nicht das sauberste, aber könnte funktionieren... var freier_Tag_Name; schedule("* * * * *", function () { if (getState("hm-rega.0.25018").val == 0) { freier_Tag_Name = 'unbekannt'; } else if (getState("hm-rega.0.25018").val == 1) { freier_Tag_Name = 'Arbeit'; } else if (getState("hm-rega.0.25018").val == 2) { freier_Tag_Name = 'Wochenende'; } else if (getState("hm-rega.0.25018").val == 3) { freier_Tag_Name = 'Frei'; } else if (getState("hm-rega.0.25018").val == 4) { freier_Tag_Name = 'Ferien'; } else if (getState("hm-rega.0.25018").val == 5) { freier_Tag_Name = 'Urlaub'; } setStateDelayed("hm-rega.0.2633"/*Heute ist*/, (String(freier_Tag_Name)), 1000, false); if (getState("hm-rega.0.3365").val == '' && getState("hm-rega.0.39794").val == '') { setStateDelayed("hm-rega.0.2633"/*Heute ist*/, (String(freier_Tag_Name)), 1000, false); } else if (getState("hm-rega.0.3365").val != '' && getState("hm-rega.0.39794").val == '') { setStateDelayed("hm-rega.0.2633"/*Heute ist*/, ([freier_Tag_Name,'; ',getState("hm-rega.0.3365").val].join('')), 1000, false); } else if (getState("hm-rega.0.3365").val == '' && getState("hm-rega.0.39794").val != '') { setStateDelayed("hm-rega.0.2633"/*Heute ist*/, ([freier_Tag_Name,'; ',getState("hm-rega.0.39794").val].join('')), 1000, false); } else if (getState("hm-rega.0.3365").val != '' && getState("hm-rega.0.39794").val != '') { setStateDelayed("hm-rega.0.2633"/*Heute ist*/, ([freier_Tag_Name,'; ',getState("hm-rega.0.39794").val,'; ',getState("hm-rega.0.3365").val].join('')), 1000, false); } }); [image: 1559916414485-0a17b221-248f-426b-9c92-76cb76dcae1e-image.png]

471

Online

33.0k

Benutzer

83.5k

Themen

1.3m

Beiträge