Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. [Frage] Blockly - "if" mit Wochentage eingrenzen

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    16
    1
    1.8k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    895

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.1k

[Frage] Blockly - "if" mit Wochentage eingrenzen

Geplant Angeheftet Gesperrt Verschoben Skripten / Logik
22 Beiträge 3 Kommentatoren 4.9k Aufrufe
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • S Offline
    S Offline
    Stormbringer
    schrieb am zuletzt editiert von
    #1

    Hallo,

    dank den tollen Anleitungen und dem Forum hier bin ich schon ziemlich weit bei ioBroker gekommen. Dafür erst einmal vielen Dank.

    Irgendwie hänge ich jetzt aber bei einem Blockly script. Als erstes habe ich Variablen immer mit einem einzelnen Zeittrigger gesteuert, das funktioniert. Diese Variablen teilen den Tag in Abhängigkeit von Arbeit/Urlaub in Zeiträume ein, welche ich später für Bewegungssensoren mit Hue verwenden möchte und die Hues in anderen Farben und Helligkeiten leuchten lassen will. Sprich Aufstehen > weißes Licht bei Bewegung, Dämmerung > buntes Licht bei Bewegung…..

    Nun hat mich der Ehrgeiz gepackt und ich wollte es zur Übung fortgeschrittener mit einem Trigger und mehreren If Schleifen zusammen packen. Ich vermute es hakt an der Eingrenzung der Wochentage. Wenn ich einen simplen Test mache funktioniert es bei "Aktuelle Zeit als Wochentag = z. B. Freitag". Auch mit FR oder mit Zahl funktioniert es. Hinhauen tut es erst nimmer, wenn ich von bis haben will. Irgendwas mache ich da falsch und sehe den Wald vor lauter Bäumen nicht mehr.

    Könntet ihr mir eventuell sagen was in das Textfeld reingehört?

    Der Code würde lt. Blockly so aussehen:

    ! ````
    // Mo-So
    schedule("*/26 */30 * * * 0-6", function () {
    // Arbeit
    if (getState("javascript.0.Variable.Person.VAR100_Arbeit").val == true) {
    // Aufstehen Arbeit Mo-Fr
    if ((new Date().getDay() === 0 ? 7 : new Date().getDay()) == '1-5' && compareTime('04:00', '05:50', "between", null)) {
    setState("javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung"/HUE.WHG_VAR800_Tageseinteilung/, 'Aufstehzeit Arbeit Mo-Fr Hue');
    console.log((String('javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung') + String('auf Aufstehzeit Arbeit Mo-Fr gesetzt')));
    }
    // Aufstehen Arbeit WE
    if ((new Date().getDay() === 0 ? 7 : new Date().getDay()) == '0,6' && compareTime('09:30', '12:30', "between", null)) {
    setState("javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung"/HUE.WHG_VAR800_Tageseinteilung/, 'Aufstehzeit Arbeit WE Hue');
    console.log((String('javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung') + String('auf Aufstehzeit Arbeit WE gesetzt')));
    }
    // Daemmerung Arbeit HiFi Mo-So
    if (getState("javascript.0.Variable.WHG.VAR200_HiFi_An").val == true && compareTime('14:00', '21:25', "between", null) == true) {
    setState("javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung"/HUE.WHG_VAR800_Tageseinteilung/, 'Daemmerung Arbeit Hue');
    console.log((String('javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung') + String('auf Daemmerung Arbeit gesetzt')));
    }
    // Einschlaf Arbeit Mo-Do
    if ((new Date().getDay() === 0 ? 7 : new Date().getDay()) == '1-4' && compareTime('21:26', '23:30', "between", null)) {
    setState("javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung"/HUE.WHG_VAR800_Tageseinteilung/, 'Einschlaf Hue');
    console.log((String('javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung') + String('Einschlaf gesetzt')));
    }
    // Auto Daemmerung Fr-So
    if ((new Date().getDay() === 0 ? 7 : new Date().getDay()) == '0,4-6' && compareTime('21:26', '23:30', "between", null)) {
    setState("javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung"/HUE.WHG_VAR800_Tageseinteilung/, 'Daemmerung Hue');
    console.log((String('javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung') + String('Daemmerung gesetzt')));
    }
    } else {
    // Urlaub
    if (getState("javascript.0.Variable.Person.VAR100_Arbeit").val == false) {
    // Aufstehen Urlaub
    if (compareTime('09:30', '11:00', "between", null)) {
    setState("javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung"/HUE.WHG_VAR800_Tageseinteilung/, 'Aufstehzeit Urlaub Hue');
    console.log((String('javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung') + String('auf Aufstehzeit Urlaub gesetzt')));
    }
    }
    // Daemmerung HiFi Urlaub
    if (getState("javascript.0.Variable.WHG.VAR200_HiFi_An").val == true && compareTime('14:00', '21:25', "between", null) == true) {
    setState("javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung"/HUE.WHG_VAR800_Tageseinteilung/, 'Daemmerung Urlaub Hue');
    console.log((String('javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung') + String('auf Daemmerung Urlaub gesetzt')));
    }
    // Daemmerung Auto Urlaub
    if (compareTime('21:26', '23:30', "between", null)) {
    setState("javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung"/HUE.WHG_VAR800_Tageseinteilung/, 'Daemmerung Urlaub Hue');
    console.log((String('javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung') + String('Daemmerung Urlaub gesetzt')));
    }
    }
    });

    
    danach kommt dann ne ellen lange Zeichenfolge?!
    
    EDIT von Jey Cee: Code in Spoiler und Code Tags gepackt.
    [2548_bildschirmfoto_2017-04-14_um_14.00.09.png](/assets/uploads/files/2548_bildschirmfoto_2017-04-14_um_14.00.09.png)
    [2548_bildschirmfoto_2017-04-14_um_14.00.26.png](/assets/uploads/files/2548_bildschirmfoto_2017-04-14_um_14.00.26.png)
    [2548_bildschirmfoto_2017-04-14_um_14.00.46.png](/assets/uploads/files/2548_bildschirmfoto_2017-04-14_um_14.00.46.png)

    Angaben zur Installation: JS Controller 5.0.12, npm 9.6.7, node 18.17.1, auf einem Intel NUC mit Ubuntu 22.04

    1 Antwort Letzte Antwort
    0
    • rantanplanR Offline
      rantanplanR Offline
      rantanplan
      schrieb am zuletzt editiert von
      #2

      Hi,

      Stell mal einen Export hier rein.

      (Neben Butten "Blöcke prüfen)

      Grüße

      Rantanplan

      CCU3 / MS Server 2019(VM) / Scripten mit Blockly

      1 Antwort Letzte Antwort
      0
      • rantanplanR Offline
        rantanplanR Offline
        rantanplan
        schrieb am zuletzt editiert von
        #3

        Was ich gerade so auf die Schnelle gesehen habe.

        "Wochentag als Nummer" liefert, wie der Name sagt, eine Zahl!

        So etwas wie "1-4" wird nicht funktionieren.

        Es wird eine Zahl von 1 bis 7 geliefert. 1=Montag …..7=Sonntag

        Grüße

        Rantanplan

        CCU3 / MS Server 2019(VM) / Scripten mit Blockly

        1 Antwort Letzte Antwort
        0
        • S Offline
          S Offline
          Stormbringer
          schrieb am zuletzt editiert von
          #4

          Hallo Rantanplan,

          danke für die Antwort. Stimmt, eine Zahl geht ja aber wie macht man dann eine Zeitspanne mit Wochentage in einer if Bedingung? Sind die Zahlen da anders wie, wenn man es mit der Chron Hilfe macht? Da geht ja nur 0-6…

          Hoffe das ist das Richtige was du wolltest:

          ! ````
          <xml xmlns="http://www.w3.org/1999/xhtml"><block type="comment" id="eJb}g8KK|QLIQdnXwqWD" x="65" y="-965"><field name="COMMENT">Mo-So</field>
          <next><block type="schedule" id="c|;MRuVnd8fva-~-4=[U"><field name="SCHEDULE">/26 /30 * * * 0-6</field>
          <statement name="STATEMENT"><block type="comment" id=")Ci(qYIfWczY%jgw[qS8"><field name="COMMENT">Arbeit</field>
          <next><block type="controls_if" id="#?v{k7:OfCqcqtIzH~z"><mutation else="1"></mutation>
          <value name="IF0"><block type="logic_compare" id="lg5igbNtX-UN/fL%s}U6"><field name="OP">EQ</field>
          <value name="A"><block type="get_value" id=".Kzi#@mU+8GM
          ~AWVXj%"><field name="ATTR">val</field>
          <field name="OID">javascript.0.Variable.Person.VAR100_Arbeit</field></block></value>
          <value name="B"><block type="logic_boolean" id="y42H^{%jaLi#2=7|Zde/"><field name="BOOL">TRUE</field></block></value></block></value>
          <statement name="DO0"><block type="comment" id="]tjA!-+r);r^t
          nrZ@Y]"><field name="COMMENT">Aufstehen Arbeit Mo-Fr</field>
          <next><block type="controls_if" id="?n5I
          [By}J~m_kFcQdBS"><value name="IF0"><block type="logic_operation" id="@.5WQLLngW?9j@Rt3xJ:"><field name="OP">AND</field>
          <value name="A"><block type="logic_compare" id="630ho-4EA3L(R19tP*p"><field name="OP">EQ</field> <value name="A"><block type="time_get" id="?mXL_j%XkZWqH/ckQZMt"><mutation format="false" language="false"></mutation> <field name="OPTION">wd</field></block></value> <value name="B"><block type="text" id="iWyIrO06;|(Qoq^IV!}C"><field name="TEXT">1-5</field></block></value></block></value> <value name="B"><block type="time_compare_ex" id="uPfeP_GZLr{idZllO[Wn"><mutation end_time="true" actual_time="true"></mutation> <field name="USE_ACTUAL_TIME">TRUE</field> <field name="OPTION">between</field> <value name="START_TIME"><shadow type="text" id="9Z)6:x6:US2mm/Sk%QL8"><field name="TEXT">04:00</field></shadow></value> <value name="END_TIME"><shadow type="text" id="Ra2Q)|9.}3piNeggm^fL"><field name="TEXT">05:50</field></shadow></value></block></value></block></value> <statement name="DO0"><block type="control" id="w+co9}p?})8i-[|75Cs*"><mutation delay_input="false"></mutation> <field name="OID">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"><block type="text" id="XFE_1AYk580G1/MF;3:*"><field name="TEXT">Aufstehzeit Arbeit Mo-Fr Hue</field></block></value> <next><block type="debug" id="hXGMK@9.5{Kf?n7A0(Cw"><field name="Severity">log</field> <value name="TEXT"><shadow type="text" id="i614)}m8~UK+G?RiO|f"><field name="TEXT">test</field></shadow>
          <block type="text_join" id="fbS7.9}v{;},7-EE~Z_"><mutation items="2"></mutation> <value name="ADD0"><block type="field_oid" id="Fhb}8=Cq2aPbDA-he2[k"><field name="oid">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field></block></value> <value name="ADD1"><block type="text" id="4u/9O%k@s)4dkyfn(,eo"><field name="TEXT">auf Aufstehzeit Arbeit Mo-Fr gesetzt</field></block></value></block></value></block></next></block></statement> <next><block type="comment" id="dwFeoHF:(%YV]1cMPW^7"><field name="COMMENT">Aufstehen Arbeit WE</field> <next><block type="controls_if" id="2-6p:]3RzEQ:*,7#^zFe"><value name="IF0"><block type="logic_operation" id="*Afx}KWJtCypPPt:2|HD"><field name="OP">AND</field> <value name="A"><block type="logic_compare" id="9BnWtUYlTju~Ij2f.0T"><field name="OP">EQ</field>
          <value name="A"><block type="time_get" id=";GKJXkbvGsFJ({5u*@0"><mutation format="false" language="false"></mutation> <field name="OPTION">wd</field></block></value> <value name="B"><block type="text" id=",ti,OTc!jU.1-InP,AM%"><field name="TEXT">0,6</field></block></value></block></value> <value name="B"><block type="time_compare_ex" id="t|2pOSv4Oa,{tb?]_kc*"><mutation end_time="true" actual_time="true"></mutation> <field name="USE_ACTUAL_TIME">TRUE</field> <field name="OPTION">between</field> <value name="START_TIME"><shadow type="text" id="l[cj@u/2FtGdq(,.M*8["><field name="TEXT">09:30</field></shadow></value> <value name="END_TIME"><shadow type="text" id="A|Pkt?]]a:~6_zhY|wX"><field name="TEXT">12:30</field></shadow></value></block></value></block></value>
          <statement name="DO0"><block type="control" id="Sy!jY|;r_I;2[gF.aZt6"><mutation delay_input="false"></mutation>
          <field name="OID">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field>
          <field name="WITH_DELAY">FALSE</field>
          <value name="VALUE"><block type="text" id="@U-#HIP)sD[L1?Q+t33c"><field name="TEXT">Aufstehzeit Arbeit WE Hue</field></block></value>
          <next><block type="debug" id="pS1t{E0a/G^0V{aysh#"><field name="Severity">log</field> <value name="TEXT"><shadow type="text" id="i614)}m8~UK+G?RiO|f"><field name="TEXT">test</field></shadow>
          <block type="text_join" id="pCH!8EYu]mPlyRsN(Rs"><mutation items="2"></mutation> <value name="ADD0"><block type="field_oid" id="pE~D6n:*iZdB1yA)hR|/"><field name="oid">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field></block></value> <value name="ADD1"><block type="text" id="BZ9-Q~!/P,6WI6(jl6b"><field name="TEXT">auf Aufstehzeit Arbeit WE gesetzt</field></block></value></block></value></block></next></block></statement>
          <next><block type="comment" id="+H1T6|DoH}3fnckp8_z"><field name="COMMENT">Daemmerung Arbeit HiFi Mo-So</field> <next><block type="controls_if" id="1yv,9_cZu?{s|8R}G0S"><value name="IF0"><block type="logic_operation" id=".yT#mK]/k|tc!1cR!p{|"><field name="OP">AND</field>
          <value name="A"><block type="logic_compare" id="+={uCVHyCS},lv7E@}Se"><field name="OP">EQ</field>
          <value name="A"><block type="get_value" id="8s12K-0B]GO[pxHZBfhm"><field name="ATTR">val</field>
          <field name="OID">javascript.0.Variable.WHG.VAR200_HiFi_An</field></block></value>
          <value name="B"><block type="logic_boolean" id="[sk}|x|Co7.FJI@7OQFb"><field name="BOOL">TRUE</field></block></value></block></value>
          <value name="B"><block type="logic_compare" id="d]424_6QhEdZQ,qC48,z"><field name="OP">EQ</field>
          <value name="A"><block type="time_compare_ex" id="fbhTH2!e52EySHRPB=X|"><mutation end_time="true" actual_time="true"></mutation>
          <field name="USE_ACTUAL_TIME">TRUE</field>
          <field name="OPTION">between</field>
          <value name="START_TIME"><shadow type="text" id="d+La6SVqr6jUF_1X?#~"><field name="TEXT">14:00</field></shadow></value> <value name="END_TIME"><shadow type="text" id="1d!SpDWMg1Eg;UcdXwo4"><field name="TEXT">21:25</field></shadow></value></block></value> <value name="B"><block type="logic_boolean" id="r%/RWZVDIrmS5k?h2Stk"><field name="BOOL">TRUE</field></block></value></block></value></block></value> <statement name="DO0"><block type="control" id="YFZYKcWiwFK9i9T7xGFD"><mutation delay_input="false"></mutation> <field name="OID">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"><block type="text" id="l3xz5iteH8235OwCpZ50"><field name="TEXT">Daemmerung Arbeit Hue</field></block></value> <next><block type="debug" id="#tcTGQ8AJWbJE^1w*(x"><field name="Severity">log</field>
          <value name="TEXT"><shadow type="text" id="i614)}m8~UK+G?RiO|f"><field name="TEXT">test</field></shadow> <block type="text_join" id="(I-D~gQ]:W!-yK?/:Z5Q"><mutation items="2"></mutation> <value name="ADD0"><block type="field_oid" id="6=^*t]3y.[-=Qu3C+aE"><field name="oid">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field></block></value>
          <value name="ADD1"><block type="text" id="v=0j|u3|aPFZyY9a#ppo"><field name="TEXT">auf Daemmerung Arbeit gesetzt</field></block></value></block></value></block></next></block></statement>
          <next><block type="comment" id="0=^8iIZ5R9Fd=ESC:u"><field name="COMMENT">Einschlaf Arbeit Mo-Do</field>
          <next><block type="controls_if" id="FK3Zu093D,TDqegvptie"><value name="IF0"><block type="logic_operation" id="/%u{Vsp,qG14{^w:lqv"><field name="OP">AND</field> <value name="A"><block type="logic_compare" id="jc1@)wFzgi-Px?^SG9vL"><field name="OP">EQ</field> <value name="A"><block type="time_get" id="|PZ7Jq;;7Z[Y_gfTgH3-"><mutation format="false" language="false"></mutation> <field name="OPTION">wd</field></block></value> <value name="B"><block type="text" id="Q?![c~5qR/hs+;/!AMa^"><field name="TEXT">1-4</field></block></value></block></value> <value name="B"><block type="time_compare_ex" id="||-4;9Qo35;B^EXB#IWV"><mutation end_time="true" actual_time="true"></mutation> <field name="USE_ACTUAL_TIME">TRUE</field> <field name="OPTION">between</field> <value name="START_TIME"><shadow type="text" id="w./M~,?{5B=:?F.nvuO"><field name="TEXT">21:26</field></shadow></value>
          <value name="END_TIME"><shadow type="text" id="w#yY0A%V_k17:jk-Hj="><field name="TEXT">23:30</field></shadow></value></block></value></block></value> <statement name="DO0"><block type="control" id=";[iyF:Ch9iuUrL.1GJZU"><mutation delay_input="false"></mutation> <field name="OID">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"><block type="text" id="55Y+OS-h4N?A+[IP72x"><field name="TEXT">Einschlaf Hue</field></block></value>
          <next><block type="debug" id=":B.S8.x:QH0yg[2=Uh"><field name="Severity">log</field>
          <value name="TEXT"><shadow type="text" id="i614)}m8~UK+G?RiO|f"><field name="TEXT">test</field></shadow> <block type="text_join" id="hHgj4i55J[?T8T/;6dNn"><mutation items="2"></mutation> <value name="ADD0"><block type="field_oid" id="uepHj2:iYuWz%ppnOKh["><field name="oid">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field></block></value> <value name="ADD1"><block type="text" id="9Xg{4)WlU/UDQ2*ml19x"><field name="TEXT">Einschlaf gesetzt</field></block></value></block></value></block></next></block></statement> <next><block type="comment" id="WugZZP[c}p~Wy*#i1?Q]"><field name="COMMENT">Auto Daemmerung Fr-So</field> <next><block type="controls_if" id="ijfiUP/@3d~U7.d@nL7w"><value name="IF0"><block type="logic_operation" id="0@nwqy6.@hrl,mxeBcU^"><field name="OP">AND</field> <value name="A"><block type="logic_compare" id="tHr{RUhqhO2QYQ[ib+xH"><field name="OP">EQ</field> <value name="A"><block type="time_get" id="D3o8}NL.:C#??jl1]T|"><mutation format="false" language="false"></mutation>
          <field name="OPTION">wd</field></block></value>
          <value name="B"><block type="text" id="HZ8xHd71/0iA;Iqa0k}C"><field name="TEXT">0,4-6</field></block></value></block></value>
          <value name="B"><block type="time_compare_ex" id="mE0:Q.jc[s:TAI6HR+D"><mutation end_time="true" actual_time="true"></mutation> <field name="USE_ACTUAL_TIME">TRUE</field> <field name="OPTION">between</field> <value name="START_TIME"><shadow type="text" id="!S[a@]4rG;Y{xp5[R7|w"><field name="TEXT">21:26</field></shadow></value> <value name="END_TIME"><shadow type="text" id="8lcdrYv38}K-qQlGdc{F"><field name="TEXT">23:30</field></shadow></value></block></value></block></value> <statement name="DO0"><block type="control" id="R6Dz#,njq}OTiD67;Qd"><mutation delay_input="false"></mutation>
          <field name="OID">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field>
          <field name="WITH_DELAY">FALSE</field>
          <value name="VALUE"><block type="text" id="Jq92-2w@GoQ^.4L3Xiun"><field name="TEXT">Daemmerung Hue</field></block></value>
          <next><block type="debug" id="emlhh*#hq!fT(shY_(x"><field name="Severity">log</field>
          <value name="TEXT"><shadow type="text" id="i614)}m8~UK+G?RiO|f"><field name="TEXT">test</field></shadow> <block type="text_join" id="*Zl#2{^NAf?c/bWnCiW"><mutation items="2"></mutation>
          <value name="ADD0"><block type="field_oid" id="ptHjb?r4:Dbmhkx4QW9q"><field name="oid">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field></block></value>
          <value name="ADD1"><block type="text" id="I^j4.,VM|!~^,^tA
          7,{"><field name="TEXT">Daemmerung gesetzt</field></block></value></block></value></block></next></block></statement></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement>
          <statement name="ELSE"><block type="comment" id="A5B.6R.}ZLM6-EOuXXx"><field name="COMMENT">Urlaub</field> <next><block type="controls_if" id="d9R@IHuCPqW0Q5cXQaN7"><value name="IF0"><block type="logic_compare" id="-5%s!K):_]*,y_RV2~[G"><field name="OP">EQ</field> <value name="A"><block type="get_value" id=";xn6+pwzvyY6@mhntq~L"><field name="ATTR">val</field> <field name="OID">javascript.0.Variable.Person.VAR100_Arbeit</field></block></value> <value name="B"><block type="logic_boolean" id="bYhI|5WMubvj/D6c:aj1"><field name="BOOL">FALSE</field></block></value></block></value> <statement name="DO0"><block type="comment" id="sDxm|E]Pi8NASyvE%XCo"><field name="COMMENT">Aufstehen Urlaub</field> <next><block type="controls_if" id="~c^AEtQBSV5;RPmo]Z57"><value name="IF0"><block type="time_compare_ex" id="(zqTbNDYKu0:zxp+_wL3"><mutation end_time="true" actual_time="true"></mutation> <field name="USE_ACTUAL_TIME">TRUE</field> <field name="OPTION">between</field> <value name="START_TIME"><shadow type="text" id="@}:#Q0[k*~Jd^BL[Gl[V"><field name="TEXT">09:30</field></shadow></value> <value name="END_TIME"><shadow type="text" id=")|e5}OO|0UPQ/@DeQe^_"><field name="TEXT">11:00</field></shadow></value></block></value> <statement name="DO0"><block type="control" id="/QE?sY(al4eyDG||5Yr"><mutation delay_input="false"></mutation>
          <field name="OID">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field>
          <field name="WITH_DELAY">FALSE</field>
          <value name="VALUE"><block type="text" id="#]IJCc.ui%cDqw_J5DT"><field name="TEXT">Aufstehzeit Urlaub Hue</field></block></value> <next><block type="debug" id="Zu[;@Id7mJzS%)u0+JXQ"><field name="Severity">log</field> <value name="TEXT"><shadow type="text" id="i614)}m8~UK+G?RiO|f"><field name="TEXT">test</field></shadow>
          <block type="text_join" id=")fneWOZ_GW{IC@/%mvp("><mutation items="2"></mutation>
          <value name="ADD0"><block type="field_oid" id="F^)j03giLn(Bc7Bw0-q9"><field name="oid">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field></block></value>
          <value name="ADD1"><block type="text" id="M9{E#5ie[~A7nhi));)C"><field name="TEXT">auf Aufstehzeit Urlaub gesetzt</field></block></value></block></value></block></next></block></statement></block></next></block></statement>
          <next><block type="comment" id="Pe~J38p.]m^jo@D_69CB"><field name="COMMENT">Daemmerung HiFi Urlaub</field>
          <next><block type="controls_if" id="JG{)garR5(ydfL.dwN%"><value name="IF0"><block type="logic_operation" id="%@6r=VKASm(r~_mF.wOk"><field name="OP">AND</field> <value name="A"><block type="logic_compare" id="#Z^,Ov?qS[iotjI+^,83"><field name="OP">EQ</field> <value name="A"><block type="get_value" id="yH%b(%JeT8r:I(DXuXTn"><field name="ATTR">val</field> <field name="OID">javascript.0.Variable.WHG.VAR200_HiFi_An</field></block></value> <value name="B"><block type="logic_boolean" id="OT32T_C-*MOrLfX(/~|M"><field name="BOOL">TRUE</field></block></value></block></value> <value name="B"><block type="logic_compare" id="?eS:N*S-J)O}uONFfMzZ"><field name="OP">EQ</field> <value name="A"><block type="time_compare_ex" id="MNXF:1bOwHD{%@uyy(C;"><mutation end_time="true" actual_time="true"></mutation> <field name="USE_ACTUAL_TIME">TRUE</field> <field name="OPTION">between</field> <value name="START_TIME"><shadow type="text" id="uzqHBIek61}}O,qyf*^6"><field name="TEXT">14:00</field></shadow></value> <value name="END_TIME"><shadow type="text" id="0^kf?Ml?nGjf9+)rL4}"><field name="TEXT">21:25</field></shadow></value></block></value>
          <value name="B"><block type="logic_boolean" id="LHIqmO6Ymca3TwyG[G"><field name="BOOL">TRUE</field></block></value></block></value></block></value>
          <statement name="DO0"><block type="control" id="jkn06thS2ocl6}Q6Eyzd"><mutation delay_input="false"></mutation>
          <field name="OID">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field>
          <field name="WITH_DELAY">FALSE</field>
          <value name="VALUE"><block type="text" id="b}rP^zC50Y/:~9?ud8|?"><field name="TEXT">Daemmerung Urlaub Hue</field></block></value>
          <next><block type="debug" id=",K2ZJ)f;1N@4YaIWc@W|"><field name="Severity">log</field>
          <value name="TEXT"><shadow type="text" id="i614)}m8~UK+G?RiO|f"><field name="TEXT">test</field></shadow> <block type="text_join" id="?FRFcBj*0%[zsAp+fxm|"><mutation items="2"></mutation> <value name="ADD0"><block type="field_oid" id="BbfkC@#-eo)|}5Z?pP6"><field name="oid">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field></block></value>
          <value name="ADD1"><block type="text" id="Q|Ws4g0_@0O(KKbPgo="><field name="TEXT">auf Daemmerung Urlaub gesetzt</field></block></value></block></value></block></next></block></statement> <next><block type="comment" id="?VUemN18J(1E,8c-S~kY"><field name="COMMENT">Daemmerung Auto Urlaub</field> <next><block type="controls_if" id="?fiA1}^!|eZBocthy??A"><value name="IF0"><block type="time_compare_ex" id="GN:j{6pBd{zIU7wKf}e="><mutation end_time="true" actual_time="true"></mutation> <field name="USE_ACTUAL_TIME">TRUE</field> <field name="OPTION">between</field> <value name="START_TIME"><shadow type="text" id="uBGWU/8nyBa1|NI7elZ"><field name="TEXT">21:26</field></shadow></value>
          <value name="END_TIME"><shadow type="text" id="ne62D@EJrbwRBCG+V9s"><field name="TEXT">23:30</field></shadow></value></block></value> <statement name="DO0"><block type="control" id="tCVvl7I(rutr.L_#|yta"><mutation delay_input="false"></mutation> <field name="OID">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"><block type="text" id="#AC!uQOBb~LKDS,0;I/M"><field name="TEXT">Daemmerung Urlaub Hue</field></block></value> <next><block type="debug" id="2{DikCKC){}Y!G?;s)y#"><field name="Severity">log</field> <value name="TEXT"><shadow type="text" id="i614)}m8~UK+G?RiO|f"><field name="TEXT">test</field></shadow>
          <block type="text_join" id="`l^m+m}TK?/KC%[8=k%g"><mutation items="2"></mutation>
          <value name="ADD0"><block type="field_oid" id="c5~N4^)HL6Hc+5/1,oT0"><field name="oid">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field></block></value>
          <value name="ADD1"><block type="text" id="p(2!.,fJc[!v/6ac0k6H"><field name="TEXT">Daemmerung Urlaub gesetzt</field></block></value></block></value></block></next></block></statement></block></next></block></next></block></next></block></next></block></next></block></statement></block></next></block></statement></block></next></block></xml>

          
          EDIT von Jey Cee: Code in Spoiler und Code Tags gepackt.

          Angaben zur Installation: JS Controller 5.0.12, npm 9.6.7, node 18.17.1, auf einem Intel NUC mit Ubuntu 22.04

          1 Antwort Letzte Antwort
          0
          • rantanplanR Offline
            rantanplanR Offline
            rantanplan
            schrieb am zuletzt editiert von
            #5

            Läßt sich leider nicht importieren.

            Nimm bitte den "Code Tag" (s.die Buttons oben")

            Ich nehme bei langen Texten meist noch den "spoiler".

            (erst "spoiler" klicken, zwischen den Tags "Code" klicken und dazwischen Deinen Export einfügen.)

            sieht dann so aus.

            ! ````
            <xml xmlns="http://www.w3.org/1999/xhtml"><block type="comment" id="eJb}g8KK|QLIQdnXwqWD" x="65" y="-965"><field name="COMMENT">Mo-So</field>
            <next><block type="schedule" id="c|;MRuVnd8fva-~-4=[U"><field name="SCHEDULE">*/26 */30 * * * 0-6</field>
            <statement name="STATEMENT"><block type="comment" id=")Ci(qYIfWczY%jgw[qS8"><field name="COMMENT">Arbeit</field>
            <next><block type="controls_if" id="#?v{k7:OfCqcqtIzH~z"><mutation else="1"></mutation>
            <value name="IF0"><block type="logic_compare" id="lg5igbNtX-UN/fL%s}U6"><field name="OP">EQ</field>
            <value name="A"><block type="get_value" id=".Kzi#@mU+8GM
            ~AWVXj%"><field name="ATTR">val</field>
            <field name="OID">javascript.0.Variable.Person.VAR100_Arbeit</field></block></value>
            <value name="B"></value></block></value></block></next></block></statement></block></next></block></xml>

            
            Vor dem Absenden kannst Du "Vorschau" anwählen. Da siehst Du ob alles richtig ist.
            
            Grüße

            Rantanplan

            CCU3 / MS Server 2019(VM) / Scripten mit Blockly

            1 Antwort Letzte Antwort
            0
            • S Offline
              S Offline
              Stormbringer
              schrieb am zuletzt editiert von
              #6

              Ah, jetzt weiß ich auch wie ihr das macht :D hoffe habs hinbekommen

              ! <xml 1999/xmlns="<URL url=" http:/www.w3.org/xhtml"="">http://www.w3.org/1999/xhtml">
              ! <block type="comment" id="eJb}g8KK|QLIQdnXwqWD" x="65" y="-965"><field name="COMMENT">Mo-So</field>
              ! <next><block type="schedule" id="c|;MRuVnd8fva-~-4=[U"><field name="SCHEDULE">/26 /30 * * * 0-6</field>
              ! <statement name="STATEMENT"><block type="comment" id=")Ci(qYIfWczY%jgw[qS8"><field name="COMMENT">Arbeit</field>
              ! <next><block type="controls_if" id="#?v{k7:OfCqcqtIzH~z"><mutation else="1"></mutation>
              ! <value name="IF0"><block type="logic_compare" id="lg5igbNtX-UN/fL%s}U6"><field name="OP">EQ</field>
              ! <value name="A"><block type="get_value" id=".Kzi#@mU+8GM
              ~AWVXj%"><field name="ATTR">val</field>
              ! <field name="OID">javascript.0.Variable.Person.VAR100_Arbeit</field></block></value>
              ! <value name="B"><block type="logic_boolean" id="y42H^{%jaLi#2=7|Zde/"><field name="BOOL">TRUE</field></block></value></block></value>
              ! <statement name="DO0"><block type="comment" id="]tjA!-+r);r^t
              nrZ@Y]"><field name="COMMENT">Aufstehen Arbeit Mo-Fr</field>
              ! <next><block type="controls_if" id="?n5I
              [By}J~m_kFcQdBS"><value name="IF0"><block type="logic_operation" id="@.5WQLLngW?9j@Rt3xJ:"><field name="OP">AND</field>
              ! <value name="A"><block type="logic_compare" id="630ho-4EA3L(R19tP*p"><field name="OP">EQ</field> ! <value name="A"><block type="time_get" id="?mXL_j%XkZWqH/ckQZMt"><mutation format="false" language="false"></mutation> ! <field name="OPTION">wd</field></block></value> ! <value name="B"><block type="text" id="iWyIrO06;|(Qoq^IV!}C"><field name="TEXT">1-5</field></block></value></block></value> ! <value name="B"><block type="time_compare_ex" id="uPfeP_GZLr{idZllO[Wn"><mutation end_time="true" actual_time="true"></mutation> ! <field name="USE_ACTUAL_TIME">TRUE</field> ! <field name="OPTION">between</field> ! <value name="START_TIME"><shadow type="text" id="9Z)6:x6:US2mm/Sk%QL8"><field name="TEXT">04:00</field></shadow></value> ! <value name="END_TIME"><shadow type="text" id="Ra2Q)|9.}3piNeggm^fL"><field name="TEXT">05:50</field></shadow></value></block></value></block></value> ! <statement name="DO0"><block type="control" id="w+co9}p?})8i-[|75Cs*"><mutation delay_input="false"></mutation> ! <field name="OID">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="text" id="XFE_1AYk580G1/MF;3:*"><field name="TEXT">Aufstehzeit Arbeit Mo-Fr Hue</field></block></value> ! <next><block type="debug" id="hXGMK@9.5{Kf?n7A0(Cw"><field name="Severity">log</field> ! <value name="TEXT"><shadow type="text" id="i614)}m8~UK+G?RiO|f"><field name="TEXT">test</field></shadow>
              ! <block type="text_join" id="fbS7.9}v{;},7-EE~Z_"><mutation items="2"></mutation> ! <value name="ADD0"><block type="field_oid" id="Fhb}8=Cq2aPbDA-he2[k"><field name="oid">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field></block></value> ! <value name="ADD1"><block type="text" id="4u/9O%k@s)4dkyfn(,eo"><field name="TEXT">auf Aufstehzeit Arbeit Mo-Fr gesetzt</field></block></value></block></value></block></next></block></statement> ! <next><block type="comment" id="dwFeoHF:(%YV]1cMPW^7"><field name="COMMENT">Aufstehen Arbeit WE</field> ! <next><block type="controls_if" id="2-6p:]3RzEQ:*,7#^zFe"><value name="IF0"><block type="logic_operation" id="*Afx}KWJtCypPPt:2|HD"><field name="OP">AND</field> ! <value name="A"><block type="logic_compare" id="9BnWtUYlTju~Ij2f.0T"><field name="OP">EQ</field>
              ! <value name="A"><block type="time_get" id=";GKJXkbvGsFJ({5u*@0"><mutation format="false" language="false"></mutation> ! <field name="OPTION">wd</field></block></value> ! <value name="B"><block type="text" id=",ti,OTc!jU.1-InP,AM%"><field name="TEXT">0,6</field></block></value></block></value> ! <value name="B"><block type="time_compare_ex" id="t|2pOSv4Oa,{tb?]_kc*"><mutation end_time="true" actual_time="true"></mutation> ! <field name="USE_ACTUAL_TIME">TRUE</field> ! <field name="OPTION">between</field> ! <value name="START_TIME"><shadow type="text" id="l[cj@u/2FtGdq(,.M*8["><field name="TEXT">09:30</field></shadow></value> ! <value name="END_TIME"><shadow type="text" id="A|Pkt?]]a:~6_zhY|wX"><field name="TEXT">12:30</field></shadow></value></block></value></block></value>
              ! <statement name="DO0"><block type="control" id="Sy!jY|;r_I;2[gF.aZt6"><mutation delay_input="false"></mutation>
              ! <field name="OID">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field>
              ! <field name="WITH_DELAY">FALSE</field>
              ! <value name="VALUE"><block type="text" id="@U-#HIP)sD[L1?Q+t33c"><field name="TEXT">Aufstehzeit Arbeit WE Hue</field></block></value>
              ! <next><block type="debug" id="pS1t{E0a/G^0V{aysh#"><field name="Severity">log</field> ! <value name="TEXT"><shadow type="text" id="i614)}m8~UK+G?RiO|f"><field name="TEXT">test</field></shadow>
              ! <block type="text_join" id="pCH!8EYu]mPlyRsN(Rs"><mutation items="2"></mutation> ! <value name="ADD0"><block type="field_oid" id="pE~D6n:*iZdB1yA)hR|/"><field name="oid">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field></block></value> ! <value name="ADD1"><block type="text" id="BZ9-Q~!/P,6WI6(jl6b"><field name="TEXT">auf Aufstehzeit Arbeit WE gesetzt</field></block></value></block></value></block></next></block></statement>
              ! <next><block type="comment" id="+H1T6|DoH}3fnckp8_z"><field name="COMMENT">Daemmerung Arbeit HiFi Mo-So</field> ! <next><block type="controls_if" id="1yv,9_cZu?{s|8R}G0S"><value name="IF0"><block type="logic_operation" id=".yT#mK]/k|tc!1cR!p{|"><field name="OP">AND</field>
              ! <value name="A"><block type="logic_compare" id="+={uCVHyCS},lv7E@}Se"><field name="OP">EQ</field>
              ! <value name="A"><block type="get_value" id="8s12K-0B]GO[pxHZBfhm"><field name="ATTR">val</field>
              ! <field name="OID">javascript.0.Variable.WHG.VAR200_HiFi_An</field></block></value>
              ! <value name="B"><block type="logic_boolean" id="[sk}|x|Co7.FJI@7OQFb"><field name="BOOL">TRUE</field></block></value></block></value>
              ! <value name="B"><block type="logic_compare" id="d]424_6QhEdZQ,qC48,z"><field name="OP">EQ</field>
              ! <value name="A"><block type="time_compare_ex" id="fbhTH2!e52EySHRPB=X|"><mutation end_time="true" actual_time="true"></mutation>
              ! <field name="USE_ACTUAL_TIME">TRUE</field>
              ! <field name="OPTION">between</field>
              ! <value name="START_TIME"><shadow type="text" id="d+La6SVqr6jUF_1X?#~"><field name="TEXT">14:00</field></shadow></value> ! <value name="END_TIME"><shadow type="text" id="1d!SpDWMg1Eg;UcdXwo4"><field name="TEXT">21:25</field></shadow></value></block></value> ! <value name="B"><block type="logic_boolean" id="r%/RWZVDIrmS5k?h2Stk"><field name="BOOL">TRUE</field></block></value></block></value></block></value> ! <statement name="DO0"><block type="control" id="YFZYKcWiwFK9i9T7xGFD"><mutation delay_input="false"></mutation> ! <field name="OID">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="text" id="l3xz5iteH8235OwCpZ50"><field name="TEXT">Daemmerung Arbeit Hue</field></block></value> ! <next><block type="debug" id="#tcTGQ8AJWbJE^1w*(x"><field name="Severity">log</field>
              ! <value name="TEXT"><shadow type="text" id="i614)}m8~UK+G?RiO|f"><field name="TEXT">test</field></shadow> ! <block type="text_join" id="(I-D~gQ]:W!-yK?/:Z5Q"><mutation items="2"></mutation> ! <value name="ADD0"><block type="field_oid" id="6=^*t]3y.[-=Qu3C+aE"><field name="oid">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field></block></value>
              ! <value name="ADD1"><block type="text" id="v=0j|u3|aPFZyY9a#ppo"><field name="TEXT">auf Daemmerung Arbeit gesetzt</field></block></value></block></value></block></next></block></statement>
              ! <next><block type="comment" id="`0=^8i`IZ5R9Fd=ESC:u"><field name="COMMENT">Einschlaf Arbeit Mo-Do</field>
              ! <next><block type="controls_if" id="FK3Zu093D,TDqegvptie"><value name="IF0"><block type="logic_operation" id="/`%u{Vsp,qG14{^w:lqv"><field name="OP">AND</field>
              ! <value name="A"><block type="logic_compare" id="jc1@)wFzgi-Px?^SG9vL"><field name="OP">EQ</field>
              ! <value name="A"><block type="time_get" id="|PZ7Jq;;7Z[Y_gfTgH3-"><mutation format="false" language="false"></mutation>
              ! <field name="OPTION">wd</field></block></value>
              ! <value name="B"><block type="text" id="Q?![c~5qR/hs+;/!AMa^"><field name="TEXT">1-4</field></block></value></block></value>
              ! <value name="B"><block type="time_compare_ex" id="||-4;9Qo35;B^EXB#IWV"><mutation end_time="true" actual_time="true"></mutation>
              ! <field name="USE_ACTUAL_TIME">TRUE</field>
              ! <field name="OPTION">between</field>
              ! <value name="START_TIME"><shadow type="text" id="w./M~,?{5B`=:?F.nvuO"><field name="TEXT">21:26</field></shadow></value>
              ! <value name="END_TIME"><shadow type="text" id="w#yY0A%V_k17:`jk-Hj="><field name="TEXT">23:30</field></shadow></value></block></value></block></value>
              ! <statement name="DO0"><block type="control" id=";[iyF:Ch9iuUrL.1GJZU"><mutation delay_input="false"></mutation>
              ! <field name="OID">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field>
              ! <field name="WITH_DELAY">FALSE</field>
              ! <value name="VALUE"><block type="text" id="55Y`+OS-h4N?A+[IP72x"><field name="TEXT">Einschlaf Hue</field></block></value>
              ! <next><block type="debug" id=":B.S8.x:QH0yg[2=Uh"><field name="Severity">log</field>
              ! <value name="TEXT"><shadow type="text" id="i614)}`m8~UK+G?RiO|f"><field name="TEXT">test</field></shadow>
              ! <block type="text_join" id="hHgj4i55J[?T8T/;6dNn"><mutation items="2"></mutation>
              ! <value name="ADD0"><block type="field_oid" id="uepHj2:iYuWz%ppnOKh["><field name="oid">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field></block></value>
              ! <value name="ADD1"><block type="text" id="9Xg{4)WlU/UDQ2ml19x"><field name="TEXT">Einschlaf gesetzt</field></block></value></block></value></block></next></block></statement>
              ! <next><block type="comment" id="WugZZP[c}p~Wy
              #i1?Q]"><field name="COMMENT">Auto Daemmerung Fr-So</field>
              ! <next><block type="controls_if" id="ijfiUP/@3d~U7.d@nL7w"><value name="IF0"><block type="logic_operation" id="0@nwqy6.@hrl,mxeBcU^"><field name="OP">AND</field>
              ! <value name="A"><block type="logic_compare" id="tHr{RUhqhO2QYQ[ib+xH"><field name="OP">EQ</field>
              ! <value name="A"><block type="time_get" id="D3o8}NL.:C#??jl1]`T|"><mutation format="false" language="false"></mutation>
              ! <field name="OPTION">wd</field></block></value>
              ! <value name="B"><block type="text" id="HZ8xHd71/0iA;Iqa0k}C"><field name="TEXT">0,4-6</field></block></value></block></value>
              ! <value name="B"><block type="time_compare_ex" id="mE0:Q.jc[s:TAI6HR`+D"><mutation end_time="true" actual_time="true"></mutation>
              ! <field name="USE_ACTUAL_TIME">TRUE</field>
              ! <field name="OPTION">between</field>
              ! <value name="START_TIME"><shadow type="text" id="!S[a@]4rG;Y{xp5[R7|w"><field name="TEXT">21:26</field></shadow></value>
              ! <value name="END_TIME"><shadow type="text" id="8lcdrYv38}K-qQlGdc{F"><field name="TEXT">23:30</field></shadow></value></block></value></block></value>
              ! <statement name="DO0"><block type="control" id="R6Dz#,njq}OTiD67`;Qd"><mutation delay_input="false"></mutation>
              ! <field name="OID">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field>
              ! <field name="WITH_DELAY">FALSE</field>
              ! <value name="VALUE"><block type="text" id="Jq92-2w@GoQ^.4L3Xiun"><field name="TEXT">Daemmerung Hue</field></block></value>
              ! <next><block type="debug" id="emlhh*#hq!fT(shY_(x"><field name="Severity">log</field>
              ! <value name="TEXT"><shadow type="text" id="i614)}`m8~UK+G?RiO|f"><field name="TEXT">test</field></shadow>
              ! <block type="text_join" id="Zl#2{^NAf?c`/bWnCiW"><mutation items="2"></mutation>
              ! <value name="ADD0"><block type="field_oid" id="ptHjb?r4:Dbmhkx4QW9q"><field name="oid">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field></block></value>
              ! <value name="ADD1"><block type="text" id="I^j4.,VM|!~^,^tA
              7,{"><field name="TEXT">Daemmerung gesetzt</field></block></value></block></value></block></next></block></statement></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement>
              ! <statement name="ELSE"><block type="comment" id="A5B.6R.}ZLM6-EO`uXXx"><field name="COMMENT">Urlaub</field>
              ! <next><block type="controls_if" id="d9R@IHuCPqW0Q5cXQaN7"><value name="IF0"><block type="logic_compare" id="-5%s!K):_]
              ,y_RV2~[G"><field name="OP">EQ</field>
              ! <value name="A"><block type="get_value" id=";xn6+pwzvyY6@mhntq~L"><field name="ATTR">val</field>
              ! <field name="OID">javascript.0.Variable.Person.VAR100_Arbeit</field></block></value>
              ! <value name="B"><block type="logic_boolean" id="bYhI|5WMubvj/D6c:aj1"><field name="BOOL">FALSE</field></block></value></block></value>
              ! <statement name="DO0"><block type="comment" id="sDxm|E]Pi8NASyvE%XCo"><field name="COMMENT">Aufstehen Urlaub</field>
              ! <next><block type="controls_if" id="~c^AEtQBSV5;RPmo]Z57"><value name="IF0"><block type="time_compare_ex" id="(zqTbNDYKu0:zxp+wL3"><mutation end_time="true" actual_time="true"></mutation>
              ! <field name="USE_ACTUAL_TIME">TRUE</field>
              ! <field name="OPTION">between</field>
              ! <value name="START_TIME"><shadow type="text" id="@}:#Q0[k*~Jd^BL[Gl[V"><field name="TEXT">09:30</field></shadow></value>
              ! <value name="END_TIME"><shadow type="text" id=")|e5}OO|0UPQ/@DeQe^
              "><field name="TEXT">11:00</field></shadow></value></block></value>
              ! <statement name="DO0"><block type="control" id="/QE?sY(al4eyD`G||5Yr"><mutation delay_input="false"></mutation>
              ! <field name="OID">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field>
              ! <field name="WITH_DELAY">FALSE</field>
              ! <value name="VALUE"><block type="text" id="#]IJCc.ui%cDqw_J5D`T"><field name="TEXT">Aufstehzeit Urlaub Hue</field></block></value>
              ! <next><block type="debug" id="Zu[;@Id7mJzS%)u0+JXQ"><field name="Severity">log</field>
              ! <value name="TEXT"><shadow type="text" id="i614)}`m8~UK+G?RiO|f"><field name="TEXT">test</field></shadow>
              ! <block type="text_join" id=")fneWOZ_GW{IC@/%mvp("><mutation items="2"></mutation>
              ! <value name="ADD0"><block type="field_oid" id="F^)j03giLn(Bc7Bw0-q9"><field name="oid">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field></block></value>
              ! <value name="ADD1"><block type="text" id="M9{E#5ie[~A7nhi));)C"><field name="TEXT">auf Aufstehzeit Urlaub gesetzt</field></block></value></block></value></block></next></block></statement></block></next></block></statement>
              ! <next><block type="comment" id="Pe~J38p.]m^jo@D_69CB"><field name="COMMENT">Daemmerung HiFi Urlaub</field>
              ! <next><block type="controls_if" id="JG{)garR5(ydf`L.dwN%"><value name="IF0"><block type="logic_operation" id="%@6r=VKASm(r~mF.wOk"><field name="OP">AND</field>
              ! <value name="A"><block type="logic_compare" id="#Z^,Ov?qS[iotjI+^,83"><field name="OP">EQ</field>
              ! <value name="A"><block type="get_value" id="yH%b(%JeT8r:I(DXuXTn"><field name="ATTR">val</field>
              ! <field name="OID">javascript.0.Variable.WHG.VAR200_HiFi_An</field></block></value>
              ! <value name="B"><block type="logic_boolean" id="OT32T_C-MOrLfX(/~|M"><field name="BOOL">TRUE</field></block></value></block></value>
              ! <value name="B"><block type="logic_compare" id="?eS:N
              S-J)O}uONFfMzZ"><field name="OP">EQ</field>
              ! <value name="A"><block type="time_compare_ex" id="MNXF:1bOwHD{%@uyy(C;"><mutation end_time="true" actual_time="true"></mutation>
              ! <field name="USE_ACTUAL_TIME">TRUE</field>
              ! <field name="OPTION">between</field>
              ! <value name="START_TIME"><shadow type="text" id="uzqHBIek61}}O,qyf*^6"><field name="TEXT">14:00</field></shadow></value>
              ! <value name="END_TIME"><shadow type="text" id="0^kf?Ml?nGjf9+`)rL4}"><field name="TEXT">21:25</field></shadow></value></block></value>
              ! <value name="B"><block type="logic_boolean" id="LHIqmO6`Ymca3TwyG[`G"><field name="BOOL">TRUE</field></block></value></block></value></block></value>
              ! <statement name="DO0"><block type="control" id="jkn06thS2ocl6}Q6Eyzd"><mutation delay_input="false"></mutation>
              ! <field name="OID">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field>
              ! <field name="WITH_DELAY">FALSE</field>
              ! <value name="VALUE"><block type="text" id="b}rP^zC50Y/:~9?ud8|?"><field name="TEXT">Daemmerung Urlaub Hue</field></block></value>
              ! <next><block type="debug" id=",K2ZJ)f;1N@4YaIWc@W|"><field name="Severity">log</field>
              ! <value name="TEXT"><shadow type="text" id="i614)}`m8~UK+G?RiO|f"><field name="TEXT">test</field></shadow>
              ! <block type="text_join" id="?FRFcBj*0%[zsAp+fxm|"><mutation items="2"></mutation>
              ! <value name="ADD0"><block type="field_oid" id="BbfkC@#-eo`)|}5Z?pP6"><field name="oid">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field></block></value>
              ! <value name="ADD1"><block type="text" id="Q|Ws4`g0
              @0O(KKbPgo="><field name="TEXT">auf Daemmerung Urlaub gesetzt</field></block></value></block></value></block></next></block></statement>
              ! <next><block type="comment" id="?VUemN18J(1E,8c-S~kY"><field name="COMMENT">Daemmerung Auto Urlaub</field>
              ! <next><block type="controls_if" id="?fiA1}^!|eZBocthy??A"><value name="IF0"><block type="time_compare_ex" id="GN:j{6pBd{zIU7wKf}e="><mutation end_time="true" actual_time="true"></mutation>
              ! <field name="USE_ACTUAL_TIME">TRUE</field>
              ! <field name="OPTION">between</field>
              ! <value name="START_TIME"><shadow type="text" id="uBGWU/8n`yBa1|NI7elZ"><field name="TEXT">21:26</field></shadow></value>
              ! <value name="END_TIME"><shadow type="text" id="ne62D@EJrbwRBC`G+V9s"><field name="TEXT">23:30</field></shadow></value></block></value>
              ! <statement name="DO0"><block type="control" id="tCVvl7I(rutr.L_#|yta"><mutation delay_input="false"></mutation>
              ! <field name="OID">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field>
              ! <field name="WITH_DELAY">FALSE</field>
              ! <value name="VALUE"><block type="text" id="#AC!uQOBb~LKDS,0;I/M"><field name="TEXT">Daemmerung Urlaub Hue</field></block></value>
              ! <next><block type="debug" id="2{DikCKC){}Y!G?;s)y#"><field name="Severity">log</field>
              ! <value name="TEXT"><shadow type="text" id="i614)}`m8~UK+G?RiO|f"><field name="TEXT">test</field></shadow>
              ! <block type="text_join" id="`l^m+m}TK?/KC%[8=k%g"><mutation items="2"></mutation>
              ! <value name="ADD0"><block type="field_oid" id="c5~N4^)HL6Hc+5/1,oT0"><field name="oid">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field></block></value>
              ! <value name="ADD1"><block type="text" id="p(2!.,fJc[!v/6ac0k6H"><field name="TEXT">Daemmerung Urlaub gesetzt</field></block></value></block></value></block></next></block></statement></block></next></block></next></block></next></block></next></block></next></block></statement></block></next></block></statement></block></next></block></xml>

              Angaben zur Installation: JS Controller 5.0.12, npm 9.6.7, node 18.17.1, auf einem Intel NUC mit Ubuntu 22.04

              1 Antwort Letzte Antwort
              0
              • rantanplanR Offline
                rantanplanR Offline
                rantanplan
                schrieb am zuletzt editiert von
                #7

                Fast ;)

                Jetzt hast Du den Code Tag vergessen.

                Der ist schon wichtig wenn man Code einsetzt.

                Und wirklich nur über Strg-C und Strg-V einfügen. NICHT über den Zwischenweg von Word oder ähnlichem.

                Du kannst auch Deinen ersten Eintrag ändern und das lange Zeugs nachträglich in Tags packen.

                Aber nun kurz zu Deinem Problem.

                Wie ich bereits geschrieben habe werden die Wochentage von 1 bis 7 dargestellt. Nicht von 0 bis 6.

                Z.B.

                Wochentag = 2 = Dienstag

                Wochentag > 5 = Wochenende (Samstag oder Sonntag)

                Wochentad < 6 = Arbeitswoche (Montag bis Freitag)

                usw.usw. usw….

                Grüße

                Rantanplan

                CCU3 / MS Server 2019(VM) / Scripten mit Blockly

                1 Antwort Letzte Antwort
                0
                • S Offline
                  S Offline
                  Stormbringer
                  schrieb am zuletzt editiert von
                  #8

                  Vielen Dank auf das wäre ich nie gekommen. Einzeln getestet würde es jetzt funktionieren. Im Ganzen leider noch immer nicht also muß wohl noch was falsch sein. Hoffe das lange Zeugs geht jetzt, vorher habe ich auch nur copy paste gemacht…

                  ! <xml 1999/xmlns="<URL url=" http:/www.w3.org/xhtml"="">http://www.w3.org/1999/xhtml">
                  ! <block type="comment" id="eJb}g8KK|QLIQdnXwqWD" x="65" y="-965"><field name="COMMENT">Mo-So Wochentag = 2 = Dienstag Wochentag > 5 = Wochenende (Samstag oder Sonntag) Wochentad < 6 = Arbeitswoche (Montag bis Freitag)</field>
                  ! <next><block type="schedule" id="c|;MRuVnd8fva-~-4=[U"><field name="SCHEDULE">/30 * * * 0-6</field>
                  ! <statement name="STATEMENT"><block type="comment" id=")Ci(qYIfWczY%jgw[qS8"><field name="COMMENT">Arbeit</field>
                  ! <next><block type="controls_if" id="#?v{k7:OfCqcqtIzH~z"><mutation else="1"></mutation>
                  ! <value name="IF0"><block type="logic_compare" id="lg5igbNtX-UN/fL%s}U6"><field name="OP">EQ</field>
                  ! <value name="A"><block type="get_value" id=".Kzi#@mU+8GM
                  ~AWVXj%"><field name="ATTR">val</field>
                  ! <field name="OID">javascript.0.Variable.Person.VAR100_Arbeit</field></block></value>
                  ! <value name="B"><block type="logic_boolean" id="y42H^{%jaLi#2=7|Zde/"><field name="BOOL">TRUE</field></block></value></block></value>
                  ! <statement name="DO0"><block type="comment" id="]tjA!-+r);r^t
                  nrZ@Y]"><field name="COMMENT">Aufstehen Arbeit Mo-Fr <6</field>
                  ! <next><block type="controls_if" id="?n5I*[By}J~m_kFcQdBS"><value name="IF0"><block type="logic_operation" id="@.5WQLLngW?9j@Rt3xJ:"><field name="OP">AND</field>
                  ! <value name="A"><block type="logic_compare" id="630ho-4EA3L(R19tP*p"><field name="OP">LT</field> ! <value name="A"><block type="time_get" id="?mXL_j%XkZWqH/ckQZMt"><mutation format="false" language="false"></mutation> ! <field name="OPTION">wd</field></block></value> ! <value name="B"><block type="text" id="iWyIrO06;|(Qoq^IV!}C"><field name="TEXT">6</field></block></value></block></value> ! <value name="B"><block type="time_compare_ex" id="uPfeP_GZLr{idZllO[Wn"><mutation end_time="true" actual_time="true"></mutation> ! <field name="USE_ACTUAL_TIME">TRUE</field> ! <field name="OPTION">between</field> ! <value name="START_TIME"><shadow type="text" id="9Z)6:x6:US2mm/Sk%QL8"><field name="TEXT">04:00</field></shadow></value> ! <value name="END_TIME"><shadow type="text" id="Ra2Q)|9.}3piNeggm^fL"><field name="TEXT">05:50</field></shadow></value></block></value></block></value> ! <statement name="DO0"><block type="control" id="w+co9}p?})8i-[|75Cs*"><mutation delay_input="false"></mutation> ! <field name="OID">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="text" id="XFE_1AYk580G1/MF;3:*"><field name="TEXT">Aufstehzeit Arbeit Mo-Fr Hue</field></block></value> ! <next><block type="debug" id="hXGMK@9.5{Kf?n7A0(Cw"><field name="Severity">log</field> ! <value name="TEXT"><shadow type="text" id="i614)}m8~UK+G?RiO|f"><field name="TEXT">test</field></shadow>
                  ! <block type="text_join" id="fbS7.9}v{;},7-EE~Z_"><mutation items="2"></mutation> ! <value name="ADD0"><block type="field_oid" id="Fhb}8=Cq2aPbDA-he2[k"><field name="oid">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field></block></value> ! <value name="ADD1"><block type="text" id="4u/9O%k@s)4dkyfn(,eo"><field name="TEXT">auf Aufstehzeit Arbeit Mo-Fr gesetzt</field></block></value></block></value></block></next></block></statement> ! <next><block type="comment" id="dwFeoHF:(%YV]1cMPW^7"><field name="COMMENT">Aufstehen Arbeit WE >5</field> ! <next><block type="controls_if" id="2-6p:]3RzEQ:*,7#^zFe"><value name="IF0"><block type="logic_operation" id="*Afx}KWJtCypPPt:2|HD"><field name="OP">AND</field> ! <value name="A"><block type="logic_compare" id="9BnWtUYlTju~Ij2f.0T"><field name="OP">GT</field>
                  ! <value name="A"><block type="time_get" id=";GKJXkbvGsFJ({5u*@0"><mutation format="false" language="false"></mutation> ! <field name="OPTION">wd</field></block></value> ! <value name="B"><block type="text" id=",ti,OTc!jU.1-InP,AM%"><field name="TEXT">5</field></block></value></block></value> ! <value name="B"><block type="time_compare_ex" id="t|2pOSv4Oa,{tb?]_kc*"><mutation end_time="true" actual_time="true"></mutation> ! <field name="USE_ACTUAL_TIME">TRUE</field> ! <field name="OPTION">between</field> ! <value name="START_TIME"><shadow type="text" id="l[cj@u/2FtGdq(,.M*8["><field name="TEXT">09:30</field></shadow></value> ! <value name="END_TIME"><shadow type="text" id="A|Pkt?]]a:~6_zhY|wX"><field name="TEXT">12:30</field></shadow></value></block></value></block></value>
                  ! <statement name="DO0"><block type="control" id="Sy!jY|;r_I;2[gF.aZt6"><mutation delay_input="false"></mutation>
                  ! <field name="OID">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field>
                  ! <field name="WITH_DELAY">FALSE</field>
                  ! <value name="VALUE"><block type="text" id="@U-#HIP)sD[L1?Q+t33c"><field name="TEXT">Aufstehzeit Arbeit WE Hue</field></block></value>
                  ! <next><block type="debug" id="pS1t{E0a/G^0V{aysh#"><field name="Severity">log</field> ! <value name="TEXT"><shadow type="text" id="i614)}m8~UK+G?RiO|f"><field name="TEXT">test</field></shadow>
                  ! <block type="text_join" id="pCH!8EYu]mPlyRsN(Rs"><mutation items="2"></mutation> ! <value name="ADD0"><block type="field_oid" id="pE~D6n:*iZdB1yA)hR|/"><field name="oid">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field></block></value> ! <value name="ADD1"><block type="text" id="BZ9-Q~!/P,6WI6(jl6b"><field name="TEXT">auf Aufstehzeit Arbeit WE gesetzt</field></block></value></block></value></block></next></block></statement>
                  ! <next><block type="comment" id="+H1T6|DoH}3fnckp8_z"><field name="COMMENT">Daemmerung Arbeit HiFi Mo-So</field> ! <next><block type="controls_if" id="1yv,9_cZu?{s|8R}G0S"><value name="IF0"><block type="logic_operation" id=".yT#mK]/k|tc!1cR!p{|"><field name="OP">AND</field>
                  ! <value name="A"><block type="logic_compare" id="+={uCVHyCS},lv7E@}Se"><field name="OP">EQ</field>
                  ! <value name="A"><block type="get_value" id="8s12K-0B]GO[pxHZBfhm"><field name="ATTR">val</field>
                  ! <field name="OID">javascript.0.Variable.WHG.VAR200_HiFi_An</field></block></value>
                  ! <value name="B"><block type="logic_boolean" id="[sk}|x|Co7.FJI@7OQFb"><field name="BOOL">TRUE</field></block></value></block></value>
                  ! <value name="B"><block type="logic_compare" id="d]424_6QhEdZQ,qC48,z"><field name="OP">EQ</field>
                  ! <value name="A"><block type="time_compare_ex" id="fbhTH2!e52EySHRPB=X|"><mutation end_time="true" actual_time="true"></mutation>
                  ! <field name="USE_ACTUAL_TIME">TRUE</field>
                  ! <field name="OPTION">between</field>
                  ! <value name="START_TIME"><shadow type="text" id="d+La6SVqr6jUF_1X?#~"><field name="TEXT">14:00</field></shadow></value> ! <value name="END_TIME"><shadow type="text" id="1d!SpDWMg1Eg;UcdXwo4"><field name="TEXT">21:25</field></shadow></value></block></value> ! <value name="B"><block type="logic_boolean" id="r%/RWZVDIrmS5k?h2Stk"><field name="BOOL">TRUE</field></block></value></block></value></block></value> ! <statement name="DO0"><block type="control" id="YFZYKcWiwFK9i9T7xGFD"><mutation delay_input="false"></mutation> ! <field name="OID">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="text" id="l3xz5iteH8235OwCpZ50"><field name="TEXT">Daemmerung Arbeit Hue</field></block></value> ! <next><block type="debug" id="#tcTGQ8AJWbJE^1w*(x"><field name="Severity">log</field>
                  ! <value name="TEXT"><shadow type="text" id="i614)}m8~UK+G?RiO|f"><field name="TEXT">test</field></shadow> ! <block type="text_join" id="(I-D~gQ]:W!-yK?/:Z5Q"><mutation items="2"></mutation> ! <value name="ADD0"><block type="field_oid" id="6=^*t]3y.[-=Qu3C+aE"><field name="oid">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field></block></value>
                  ! <value name="ADD1"><block type="text" id="v=0j|u3|aPFZyY9a#ppo"><field name="TEXT">auf Daemmerung Arbeit gesetzt</field></block></value></block></value></block></next></block></statement>
                  ! <next><block type="comment" id="`0=^8i`IZ5R9Fd=ESC:u"><field name="COMMENT">Einschlaf Arbeit Mo-Do <5</field>
                  ! <next><block type="controls_if" id="FK3Zu093D,TDqegvptie"><value name="IF0"><block type="logic_operation" id="/`%u{Vsp,qG14{^w:lqv"><field name="OP">AND</field>
                  ! <value name="A"><block type="logic_compare" id="jc1@)wFzgi-Px?^SG9vL"><field name="OP">LT</field>
                  ! <value name="A"><block type="time_get" id="|PZ7Jq;;7Z[Y_gfTgH3-"><mutation format="false" language="false"></mutation>
                  ! <field name="OPTION">wd</field></block></value>
                  ! <value name="B"><block type="text" id="Q?![c~5qR/hs+;/!AMa^"><field name="TEXT">5</field></block></value></block></value>
                  ! <value name="B"><block type="time_compare_ex" id="||-4;9Qo35;B^EXB#IWV"><mutation end_time="true" actual_time="true"></mutation>
                  ! <field name="USE_ACTUAL_TIME">TRUE</field>
                  ! <field name="OPTION">between</field>
                  ! <value name="START_TIME"><shadow type="text" id="w./M~,?{5B`=:?F.nvuO"><field name="TEXT">21:26</field></shadow></value>
                  ! <value name="END_TIME"><shadow type="text" id="w#yY0A%V_k17:`jk-Hj="><field name="TEXT">23:30</field></shadow></value></block></value></block></value>
                  ! <statement name="DO0"><block type="control" id=";[iyF:Ch9iuUrL.1GJZU"><mutation delay_input="false"></mutation>
                  ! <field name="OID">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field>
                  ! <field name="WITH_DELAY">FALSE</field>
                  ! <value name="VALUE"><block type="text" id="55Y`+OS-h4N?A+[IP72x"><field name="TEXT">Einschlaf Hue</field></block></value>
                  ! <next><block type="debug" id=":B.S8.x:QH0yg[2=Uh"><field name="Severity">log</field>
                  ! <value name="TEXT"><shadow type="text" id="i614)}`m8~UK+G?RiO|f"><field name="TEXT">test</field></shadow>
                  ! <block type="text_join" id="hHgj4i55J[?T8T/;6dNn"><mutation items="2"></mutation>
                  ! <value name="ADD0"><block type="field_oid" id="uepHj2:iYuWz%ppnOKh["><field name="oid">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field></block></value>
                  ! <value name="ADD1"><block type="text" id="9Xg{4)WlU/UDQ2ml19x"><field name="TEXT">Einschlaf gesetzt</field></block></value></block></value></block></next></block></statement>
                  ! <next><block type="comment" id="WugZZP[c}p~Wy
                  #i1?Q]"><field name="COMMENT">Auto Daemmerung Fr-So >4</field>
                  ! <next><block type="controls_if" id="ijfiUP/@3d~U7.d@nL7w"><value name="IF0"><block type="logic_operation" id="0@nwqy6.@hrl,mxeBcU^"><field name="OP">AND</field>
                  ! <value name="A"><block type="logic_compare" id="tHr{RUhqhO2QYQ[ib+xH"><field name="OP">GT</field>
                  ! <value name="A"><block type="time_get" id="D3o8}NL.:C#??jl1]`T|"><mutation format="false" language="false"></mutation>
                  ! <field name="OPTION">wd</field></block></value>
                  ! <value name="B"><block type="text" id="HZ8xHd71/0iA;Iqa0k}C"><field name="TEXT">4</field></block></value></block></value>
                  ! <value name="B"><block type="time_compare_ex" id="mE0:Q.jc[s:TAI6HR`+D"><mutation end_time="true" actual_time="true"></mutation>
                  ! <field name="USE_ACTUAL_TIME">TRUE</field>
                  ! <field name="OPTION">between</field>
                  ! <value name="START_TIME"><shadow type="text" id="!S[a@]4rG;Y{xp5[R7|w"><field name="TEXT">21:26</field></shadow></value>
                  ! <value name="END_TIME"><shadow type="text" id="8lcdrYv38}K-qQlGdc{F"><field name="TEXT">23:30</field></shadow></value></block></value></block></value>
                  ! <statement name="DO0"><block type="control" id="R6Dz#,njq}OTiD67`;Qd"><mutation delay_input="false"></mutation>
                  ! <field name="OID">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field>
                  ! <field name="WITH_DELAY">FALSE</field>
                  ! <value name="VALUE"><block type="text" id="Jq92-2w@GoQ^.4L3Xiun"><field name="TEXT">Daemmerung Hue</field></block></value>
                  ! <next><block type="debug" id="emlhh*#hq!fT(shY_(x"><field name="Severity">log</field>
                  ! <value name="TEXT"><shadow type="text" id="i614)}`m8~UK+G?RiO|f"><field name="TEXT">test</field></shadow>
                  ! <block type="text_join" id="Zl#2{^NAf?c`/bWnCiW"><mutation items="2"></mutation>
                  ! <value name="ADD0"><block type="field_oid" id="ptHjb?r4:Dbmhkx4QW9q"><field name="oid">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field></block></value>
                  ! <value name="ADD1"><block type="text" id="I^j4.,VM|!~^,^tA
                  7,{"><field name="TEXT">Daemmerung gesetzt</field></block></value></block></value></block></next></block></statement></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement>
                  ! <statement name="ELSE"><block type="comment" id="A5B.6R.}ZLM6-EO`uXXx"><field name="COMMENT">Urlaub</field>
                  ! <next><block type="controls_if" id="d9R@IHuCPqW0Q5cXQaN7"><value name="IF0"><block type="logic_compare" id="-5%s!K):_]
                  ,y_RV2~[G"><field name="OP">EQ</field>
                  ! <value name="A"><block type="get_value" id=";xn6+pwzvyY6@mhntq~L"><field name="ATTR">val</field>
                  ! <field name="OID">javascript.0.Variable.Person.VAR100_Arbeit</field></block></value>
                  ! <value name="B"><block type="logic_boolean" id="bYhI|5WMubvj/D6c:aj1"><field name="BOOL">FALSE</field></block></value></block></value>
                  ! <statement name="DO0"><block type="comment" id="sDxm|E]Pi8NASyvE%XCo"><field name="COMMENT">Aufstehen Urlaub</field>
                  ! <next><block type="controls_if" id="~c^AEtQBSV5;RPmo]Z57"><value name="IF0"><block type="time_compare_ex" id="(zqTbNDYKu0:zxp+wL3"><mutation end_time="true" actual_time="true"></mutation>
                  ! <field name="USE_ACTUAL_TIME">TRUE</field>
                  ! <field name="OPTION">between</field>
                  ! <value name="START_TIME"><shadow type="text" id="@}:#Q0[k*~Jd^BL[Gl[V"><field name="TEXT">09:30</field></shadow></value>
                  ! <value name="END_TIME"><shadow type="text" id=")|e5}OO|0UPQ/@DeQe^
                  "><field name="TEXT">11:00</field></shadow></value></block></value>
                  ! <statement name="DO0"><block type="control" id="/QE?sY(al4eyD`G||5Yr"><mutation delay_input="false"></mutation>
                  ! <field name="OID">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field>
                  ! <field name="WITH_DELAY">FALSE</field>
                  ! <value name="VALUE"><block type="text" id="#]IJCc.ui%cDqw_J5D`T"><field name="TEXT">Aufstehzeit Urlaub Hue</field></block></value>
                  ! <next><block type="debug" id="Zu[;@Id7mJzS%)u0+JXQ"><field name="Severity">log</field>
                  ! <value name="TEXT"><shadow type="text" id="i614)}`m8~UK+G?RiO|f"><field name="TEXT">test</field></shadow>
                  ! <block type="text_join" id=")fneWOZ_GW{IC@/%mvp("><mutation items="2"></mutation>
                  ! <value name="ADD0"><block type="field_oid" id="F^)j03giLn(Bc7Bw0-q9"><field name="oid">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field></block></value>
                  ! <value name="ADD1"><block type="text" id="M9{E#5ie[~A7nhi));)C"><field name="TEXT">auf Aufstehzeit Urlaub gesetzt</field></block></value></block></value></block></next></block></statement></block></next></block></statement>
                  ! <next><block type="comment" id="Pe~J38p.]m^jo@D_69CB"><field name="COMMENT">Daemmerung HiFi Urlaub</field>
                  ! <next><block type="controls_if" id="JG{)garR5(ydf`L.dwN%"><value name="IF0"><block type="logic_operation" id="%@6r=VKASm(r~mF.wOk"><field name="OP">AND</field>
                  ! <value name="A"><block type="logic_compare" id="#Z^,Ov?qS[iotjI+^,83"><field name="OP">EQ</field>
                  ! <value name="A"><block type="get_value" id="yH%b(%JeT8r:I(DXuXTn"><field name="ATTR">val</field>
                  ! <field name="OID">javascript.0.Variable.WHG.VAR200_HiFi_An</field></block></value>
                  ! <value name="B"><block type="logic_boolean" id="OT32T_C-MOrLfX(/~|M"><field name="BOOL">TRUE</field></block></value></block></value>
                  ! <value name="B"><block type="logic_compare" id="?eS:N
                  S-J)O}uONFfMzZ"><field name="OP">EQ</field>
                  ! <value name="A"><block type="time_compare_ex" id="MNXF:1bOwHD{%@uyy(C;"><mutation end_time="true" actual_time="true"></mutation>
                  ! <field name="USE_ACTUAL_TIME">TRUE</field>
                  ! <field name="OPTION">between</field>
                  ! <value name="START_TIME"><shadow type="text" id="uzqHBIek61}}O,qyf*^6"><field name="TEXT">14:00</field></shadow></value>
                  ! <value name="END_TIME"><shadow type="text" id="0^kf?Ml?nGjf9+`)rL4}"><field name="TEXT">21:25</field></shadow></value></block></value>
                  ! <value name="B"><block type="logic_boolean" id="LHIqmO6`Ymca3TwyG[`G"><field name="BOOL">TRUE</field></block></value></block></value></block></value>
                  ! <statement name="DO0"><block type="control" id="jkn06thS2ocl6}Q6Eyzd"><mutation delay_input="false"></mutation>
                  ! <field name="OID">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field>
                  ! <field name="WITH_DELAY">FALSE</field>
                  ! <value name="VALUE"><block type="text" id="b}rP^zC50Y/:~9?ud8|?"><field name="TEXT">Daemmerung Urlaub Hue</field></block></value>
                  ! <next><block type="debug" id=",K2ZJ)f;1N@4YaIWc@W|"><field name="Severity">log</field>
                  ! <value name="TEXT"><shadow type="text" id="i614)}`m8~UK+G?RiO|f"><field name="TEXT">test</field></shadow>
                  ! <block type="text_join" id="?FRFcBj*0%[zsAp+fxm|"><mutation items="2"></mutation>
                  ! <value name="ADD0"><block type="field_oid" id="BbfkC@#-eo`)|}5Z?pP6"><field name="oid">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field></block></value>
                  ! <value name="ADD1"><block type="text" id="Q|Ws4`g0
                  @0O(KKbPgo="><field name="TEXT">auf Daemmerung Urlaub gesetzt</field></block></value></block></value></block></next></block></statement>
                  ! <next><block type="comment" id="?VUemN18J(1E,8c-S~kY"><field name="COMMENT">Daemmerung Auto Urlaub</field>
                  ! <next><block type="controls_if" id="?fiA1}^!|eZBocthy??A"><value name="IF0"><block type="time_compare_ex" id="GN:j{6pBd{zIU7wKf}e="><mutation end_time="true" actual_time="true"></mutation>
                  ! <field name="USE_ACTUAL_TIME">TRUE</field>
                  ! <field name="OPTION">between</field>
                  ! <value name="START_TIME"><shadow type="text" id="uBGWU/8n`yBa1|NI7elZ"><field name="TEXT">21:26</field></shadow></value>
                  ! <value name="END_TIME"><shadow type="text" id="ne62D@EJrbwRBC`G+V9s"><field name="TEXT">23:30</field></shadow></value></block></value>
                  ! <statement name="DO0"><block type="control" id="tCVvl7I(rutr.L_#|yta"><mutation delay_input="false"></mutation>
                  ! <field name="OID">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field>
                  ! <field name="WITH_DELAY">FALSE</field>
                  ! <value name="VALUE"><block type="text" id="#AC!uQOBb~LKDS,0;I/M"><field name="TEXT">Daemmerung Urlaub Hue</field></block></value>
                  ! <next><block type="debug" id="2{DikCKC){}Y!G?;s)y#"><field name="Severity">log</field>
                  ! <value name="TEXT"><shadow type="text" id="i614)}`m8~UK+G?RiO|f"><field name="TEXT">test</field></shadow>
                  ! <block type="text_join" id="`l^m+m}TK?/KC%[8=k%g"><mutation items="2"></mutation>
                  ! <value name="ADD0"><block type="field_oid" id="c5~N4^)HL6Hc+5/1,oT0"><field name="oid">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field></block></value>
                  ! <value name="ADD1"><block type="text" id="p(2!.,fJc[!v/6ac0k6H"><field name="TEXT">Daemmerung Urlaub gesetzt</field></block></value></block></value></block></next></block></statement></block></next></block></next></block></next></block></next></block></next></block></statement></block></next></block></statement></block></next></block></xml>

                  Angaben zur Installation: JS Controller 5.0.12, npm 9.6.7, node 18.17.1, auf einem Intel NUC mit Ubuntu 22.04

                  1 Antwort Letzte Antwort
                  0
                  • rantanplanR Offline
                    rantanplanR Offline
                    rantanplan
                    schrieb am zuletzt editiert von
                    #9

                    Tut mit leid, ich kann Deinen Export nicht importieren.

                    Du hast den Code-Tag wieder vergessen. :roll:

                    Wenn Du es nicht mit beiden Tags hinbekommst, nimm NUR den Code-Tag. der ich wichtiger.

                    Auf ein Neues.

                    Grüße

                    Rantanplan

                    CCU3 / MS Server 2019(VM) / Scripten mit Blockly

                    1 Antwort Letzte Antwort
                    0
                    • S Offline
                      S Offline
                      Stormbringer
                      schrieb am zuletzt editiert von
                      #10

                      Sorry, woher bekomme ich denn den Code-Tag? Ich drücke auf den "Pfeil" mit Exportieren, dann öffnet sich ein Fenster wo der ganze Text schon blau markiert ist. Ich mach dann Strg. C und hier im Forum Strg. V zwischen den Strings.

                      Angaben zur Installation: JS Controller 5.0.12, npm 9.6.7, node 18.17.1, auf einem Intel NUC mit Ubuntu 22.04

                      1 Antwort Letzte Antwort
                      0
                      • paul53P Offline
                        paul53P Offline
                        paul53
                        schrieb am zuletzt editiert von
                        #11

                        In der Antwort oben: Der 5. Button von links.

                        Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                        Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                        1 Antwort Letzte Antwort
                        0
                        • S Offline
                          S Offline
                          Stormbringer
                          schrieb am zuletzt editiert von
                          #12

                          ! ````
                          <xml xmlns="http://www.w3.org/1999/xhtml"><block type="comment" id="eJb}g8KK|QLIQdnXwqWD" x="65" y="-965"><field name="COMMENT">Mo-So Wochentag = 2 = Dienstag Wochentag > 5 = Wochenende (Samstag oder Sonntag) Wochentad < 6 = Arbeitswoche (Montag bis Freitag)</field>
                          <next><block type="schedule" id="c|;MRuVnd8fva-~-4=[U"><field name="SCHEDULE">/30 * * * 0-6</field>
                          <statement name="STATEMENT"><block type="comment" id=")Ci(qYIfWczY%jgw[qS8"><field name="COMMENT">Arbeit</field>
                          <next><block type="controls_if" id="#?v{k7:OfCqcqtIzH~z"><mutation else="1"></mutation>
                          <value name="IF0"><block type="logic_compare" id="lg5igbNtX-UN/fL%s}U6"><field name="OP">EQ</field>
                          <value name="A"><block type="get_value" id=".Kzi#@mU+8GM
                          ~AWVXj%"><field name="ATTR">val</field>
                          <field name="OID">javascript.0.Variable.Person.VAR100_Arbeit</field></block></value>
                          <value name="B"><block type="logic_boolean" id="y42H^{%jaLi#2=7|Zde/"><field name="BOOL">TRUE</field></block></value></block></value>
                          <statement name="DO0"><block type="comment" id="]tjA!-+r);r^t
                          nrZ@Y]"><field name="COMMENT">Aufstehen Arbeit Mo-Fr <6</field>
                          <next><block type="controls_if" id="?n5I*[By}J~m_kFcQdBS"><value name="IF0"><block type="logic_operation" id="@.5WQLLngW?9j@Rt3xJ:"><field name="OP">AND</field>
                          <value name="A"><block type="logic_compare" id="630ho-4EA3L(R19tP*p"><field name="OP">LT</field> <value name="A"><block type="time_get" id="?mXL_j%XkZWqH/ckQZMt"><mutation format="false" language="false"></mutation> <field name="OPTION">wd</field></block></value> <value name="B"><block type="text" id="iWyIrO06;|(Qoq^IV!}C"><field name="TEXT">6</field></block></value></block></value> <value name="B"><block type="time_compare_ex" id="uPfeP_GZLr{idZllO[Wn"><mutation end_time="true" actual_time="true"></mutation> <field name="USE_ACTUAL_TIME">TRUE</field> <field name="OPTION">between</field> <value name="START_TIME"><shadow type="text" id="9Z)6:x6:US2mm/Sk%QL8"><field name="TEXT">04:00</field></shadow></value> <value name="END_TIME"><shadow type="text" id="Ra2Q)|9.}3piNeggm^fL"><field name="TEXT">05:50</field></shadow></value></block></value></block></value> <statement name="DO0"><block type="control" id="w+co9}p?})8i-[|75Cs*"><mutation delay_input="false"></mutation> <field name="OID">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"><block type="text" id="XFE_1AYk580G1/MF;3:*"><field name="TEXT">Aufstehzeit Arbeit Mo-Fr Hue</field></block></value> <next><block type="debug" id="hXGMK@9.5{Kf?n7A0(Cw"><field name="Severity">log</field> <value name="TEXT"><shadow type="text" id="i614)}m8~UK+G?RiO|f"><field name="TEXT">test</field></shadow>
                          <block type="text_join" id="fbS7.9}v{;},7-EE~Z_"><mutation items="2"></mutation> <value name="ADD0"><block type="field_oid" id="Fhb}8=Cq2aPbDA-he2[k"><field name="oid">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field></block></value> <value name="ADD1"><block type="text" id="4u/9O%k@s)4dkyfn(,eo"><field name="TEXT">auf Aufstehzeit Arbeit Mo-Fr gesetzt</field></block></value></block></value></block></next></block></statement> <next><block type="comment" id="dwFeoHF:(%YV]1cMPW^7"><field name="COMMENT">Aufstehen Arbeit WE >5</field> <next><block type="controls_if" id="2-6p:]3RzEQ:*,7#^zFe"><value name="IF0"><block type="logic_operation" id="*Afx}KWJtCypPPt:2|HD"><field name="OP">AND</field> <value name="A"><block type="logic_compare" id="9BnWtUYlTju~Ij2f.0T"><field name="OP">GT</field>
                          <value name="A"><block type="time_get" id=";GKJXkbvGsFJ({5u*@0"><mutation format="false" language="false"></mutation> <field name="OPTION">wd</field></block></value> <value name="B"><block type="text" id=",ti,OTc!jU.1-InP,AM%"><field name="TEXT">5</field></block></value></block></value> <value name="B"><block type="time_compare_ex" id="t|2pOSv4Oa,{tb?]_kc*"><mutation end_time="true" actual_time="true"></mutation> <field name="USE_ACTUAL_TIME">TRUE</field> <field name="OPTION">between</field> <value name="START_TIME"><shadow type="text" id="l[cj@u/2FtGdq(,.M*8["><field name="TEXT">09:30</field></shadow></value> <value name="END_TIME"><shadow type="text" id="A|Pkt?]]a:~6_zhY|wX"><field name="TEXT">12:30</field></shadow></value></block></value></block></value>
                          <statement name="DO0"><block type="control" id="Sy!jY|;r_I;2[gF.aZt6"><mutation delay_input="false"></mutation>
                          <field name="OID">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE"><block type="text" id="@U-#HIP)sD[L1?Q+t33c"><field name="TEXT">Aufstehzeit Arbeit WE Hue</field></block></value>
                          <next><block type="debug" id="pS1t{E0a/G^0V{aysh#"><field name="Severity">log</field> <value name="TEXT"><shadow type="text" id="i614)}m8~UK+G?RiO|f"><field name="TEXT">test</field></shadow>
                          <block type="text_join" id="pCH!8EYu]mPlyRsN(Rs"><mutation items="2"></mutation> <value name="ADD0"><block type="field_oid" id="pE~D6n:*iZdB1yA)hR|/"><field name="oid">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field></block></value> <value name="ADD1"><block type="text" id="BZ9-Q~!/P,6WI6(jl6b"><field name="TEXT">auf Aufstehzeit Arbeit WE gesetzt</field></block></value></block></value></block></next></block></statement>
                          <next><block type="comment" id="+H1T6|DoH}3fnckp8_z"><field name="COMMENT">Daemmerung Arbeit HiFi Mo-So</field> <next><block type="controls_if" id="1yv,9_cZu?{s|8R}G0S"><value name="IF0"><block type="logic_operation" id=".yT#mK]/k|tc!1cR!p{|"><field name="OP">AND</field>
                          <value name="A"><block type="logic_compare" id="+={uCVHyCS},lv7E@}Se"><field name="OP">EQ</field>
                          <value name="A"><block type="get_value" id="8s12K-0B]GO[pxHZBfhm"><field name="ATTR">val</field>
                          <field name="OID">javascript.0.Variable.WHG.VAR200_HiFi_An</field></block></value>
                          <value name="B"><block type="logic_boolean" id="[sk}|x|Co7.FJI@7OQFb"><field name="BOOL">TRUE</field></block></value></block></value>
                          <value name="B"><block type="logic_compare" id="d]424_6QhEdZQ,qC48,z"><field name="OP">EQ</field>
                          <value name="A"><block type="time_compare_ex" id="fbhTH2!e52EySHRPB=X|"><mutation end_time="true" actual_time="true"></mutation>
                          <field name="USE_ACTUAL_TIME">TRUE</field>
                          <field name="OPTION">between</field>
                          <value name="START_TIME"><shadow type="text" id="d+La6SVqr6jUF_1X?#~"><field name="TEXT">14:00</field></shadow></value> <value name="END_TIME"><shadow type="text" id="1d!SpDWMg1Eg;UcdXwo4"><field name="TEXT">21:25</field></shadow></value></block></value> <value name="B"><block type="logic_boolean" id="r%/RWZVDIrmS5k?h2Stk"><field name="BOOL">TRUE</field></block></value></block></value></block></value> <statement name="DO0"><block type="control" id="YFZYKcWiwFK9i9T7xGFD"><mutation delay_input="false"></mutation> <field name="OID">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"><block type="text" id="l3xz5iteH8235OwCpZ50"><field name="TEXT">Daemmerung Arbeit Hue</field></block></value> <next><block type="debug" id="#tcTGQ8AJWbJE^1w*(x"><field name="Severity">log</field>
                          <value name="TEXT"><shadow type="text" id="i614)}m8~UK+G?RiO|f"><field name="TEXT">test</field></shadow> <block type="text_join" id="(I-D~gQ]:W!-yK?/:Z5Q"><mutation items="2"></mutation> <value name="ADD0"><block type="field_oid" id="6=^*t]3y.[-=Qu3C+aE"><field name="oid">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field></block></value>
                          <value name="ADD1"><block type="text" id="v=0j|u3|aPFZyY9a#ppo"><field name="TEXT">auf Daemmerung Arbeit gesetzt</field></block></value></block></value></block></next></block></statement>
                          <next><block type="comment" id="0=^8iIZ5R9Fd=ESC:u"><field name="COMMENT">Einschlaf Arbeit Mo-Do <5</field>
                          <next><block type="controls_if" id="FK3Zu093D,TDqegvptie"><value name="IF0"><block type="logic_operation" id="/%u{Vsp,qG14{^w:lqv"><field name="OP">AND</field> <value name="A"><block type="logic_compare" id="jc1@)wFzgi-Px?^SG9vL"><field name="OP">LT</field> <value name="A"><block type="time_get" id="|PZ7Jq;;7Z[Y_gfTgH3-"><mutation format="false" language="false"></mutation> <field name="OPTION">wd</field></block></value> <value name="B"><block type="text" id="Q?![c~5qR/hs+;/!AMa^"><field name="TEXT">5</field></block></value></block></value> <value name="B"><block type="time_compare_ex" id="||-4;9Qo35;B^EXB#IWV"><mutation end_time="true" actual_time="true"></mutation> <field name="USE_ACTUAL_TIME">TRUE</field> <field name="OPTION">between</field> <value name="START_TIME"><shadow type="text" id="w./M~,?{5B=:?F.nvuO"><field name="TEXT">21:26</field></shadow></value>
                          <value name="END_TIME"><shadow type="text" id="w#yY0A%V_k17:jk-Hj="><field name="TEXT">23:30</field></shadow></value></block></value></block></value> <statement name="DO0"><block type="control" id=";[iyF:Ch9iuUrL.1GJZU"><mutation delay_input="false"></mutation> <field name="OID">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"><block type="text" id="55Y+OS-h4N?A+[IP72x"><field name="TEXT">Einschlaf Hue</field></block></value>
                          <next><block type="debug" id=":B.S8.x:QH0yg[2=Uh"><field name="Severity">log</field>
                          <value name="TEXT"><shadow type="text" id="i614)}m8~UK+G?RiO|f"><field name="TEXT">test</field></shadow> <block type="text_join" id="hHgj4i55J[?T8T/;6dNn"><mutation items="2"></mutation> <value name="ADD0"><block type="field_oid" id="uepHj2:iYuWz%ppnOKh["><field name="oid">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field></block></value> <value name="ADD1"><block type="text" id="9Xg{4)WlU/UDQ2*ml19x"><field name="TEXT">Einschlaf gesetzt</field></block></value></block></value></block></next></block></statement> <next><block type="comment" id="WugZZP[c}p~Wy*#i1?Q]"><field name="COMMENT">Auto Daemmerung Fr-So >4</field> <next><block type="controls_if" id="ijfiUP/@3d~U7.d@nL7w"><value name="IF0"><block type="logic_operation" id="0@nwqy6.@hrl,mxeBcU^"><field name="OP">AND</field> <value name="A"><block type="logic_compare" id="tHr{RUhqhO2QYQ[ib+xH"><field name="OP">GT</field> <value name="A"><block type="time_get" id="D3o8}NL.:C#??jl1]T|"><mutation format="false" language="false"></mutation>
                          <field name="OPTION">wd</field></block></value>
                          <value name="B"><block type="text" id="HZ8xHd71/0iA;Iqa0k}C"><field name="TEXT">4</field></block></value></block></value>
                          <value name="B"><block type="time_compare_ex" id="mE0:Q.jc[s:TAI6HR+D"><mutation end_time="true" actual_time="true"></mutation> <field name="USE_ACTUAL_TIME">TRUE</field> <field name="OPTION">between</field> <value name="START_TIME"><shadow type="text" id="!S[a@]4rG;Y{xp5[R7|w"><field name="TEXT">21:26</field></shadow></value> <value name="END_TIME"><shadow type="text" id="8lcdrYv38}K-qQlGdc{F"><field name="TEXT">23:30</field></shadow></value></block></value></block></value> <statement name="DO0"><block type="control" id="R6Dz#,njq}OTiD67;Qd"><mutation delay_input="false"></mutation>
                          <field name="OID">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE"><block type="text" id="Jq92-2w@GoQ^.4L3Xiun"><field name="TEXT">Daemmerung Hue</field></block></value>
                          <next><block type="debug" id="emlhh*#hq!fT(shY_(x"><field name="Severity">log</field>
                          <value name="TEXT"><shadow type="text" id="i614)}m8~UK+G?RiO|f"><field name="TEXT">test</field></shadow> <block type="text_join" id="*Zl#2{^NAf?c/bWnCiW"><mutation items="2"></mutation>
                          <value name="ADD0"><block type="field_oid" id="ptHjb?r4:Dbmhkx4QW9q"><field name="oid">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field></block></value>
                          <value name="ADD1"><block type="text" id="I^j4.,VM|!~^,^tA
                          7,{"><field name="TEXT">Daemmerung gesetzt</field></block></value></block></value></block></next></block></statement></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement>
                          <statement name="ELSE"><block type="comment" id="A5B.6R.}ZLM6-EOuXXx"><field name="COMMENT">Urlaub</field> <next><block type="controls_if" id="d9R@IHuCPqW0Q5cXQaN7"><value name="IF0"><block type="logic_compare" id="-5%s!K):_]*,y_RV2~[G"><field name="OP">EQ</field> <value name="A"><block type="get_value" id=";xn6+pwzvyY6@mhntq~L"><field name="ATTR">val</field> <field name="OID">javascript.0.Variable.Person.VAR100_Arbeit</field></block></value> <value name="B"><block type="logic_boolean" id="bYhI|5WMubvj/D6c:aj1"><field name="BOOL">FALSE</field></block></value></block></value> <statement name="DO0"><block type="comment" id="sDxm|E]Pi8NASyvE%XCo"><field name="COMMENT">Aufstehen Urlaub</field> <next><block type="controls_if" id="~c^AEtQBSV5;RPmo]Z57"><value name="IF0"><block type="time_compare_ex" id="(zqTbNDYKu0:zxp+_wL3"><mutation end_time="true" actual_time="true"></mutation> <field name="USE_ACTUAL_TIME">TRUE</field> <field name="OPTION">between</field> <value name="START_TIME"><shadow type="text" id="@}:#Q0[k*~Jd^BL[Gl[V"><field name="TEXT">09:30</field></shadow></value> <value name="END_TIME"><shadow type="text" id=")|e5}OO|0UPQ/@DeQe^_"><field name="TEXT">11:00</field></shadow></value></block></value> <statement name="DO0"><block type="control" id="/QE?sY(al4eyDG||5Yr"><mutation delay_input="false"></mutation>
                          <field name="OID">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE"><block type="text" id="#]IJCc.ui%cDqw_J5DT"><field name="TEXT">Aufstehzeit Urlaub Hue</field></block></value> <next><block type="debug" id="Zu[;@Id7mJzS%)u0+JXQ"><field name="Severity">log</field> <value name="TEXT"><shadow type="text" id="i614)}m8~UK+G?RiO|f"><field name="TEXT">test</field></shadow>
                          <block type="text_join" id=")fneWOZ_GW{IC@/%mvp("><mutation items="2"></mutation>
                          <value name="ADD0"><block type="field_oid" id="F^)j03giLn(Bc7Bw0-q9"><field name="oid">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field></block></value>
                          <value name="ADD1"><block type="text" id="M9{E#5ie[~A7nhi));)C"><field name="TEXT">auf Aufstehzeit Urlaub gesetzt</field></block></value></block></value></block></next></block></statement></block></next></block></statement>
                          <next><block type="comment" id="Pe~J38p.]m^jo@D_69CB"><field name="COMMENT">Daemmerung HiFi Urlaub</field>
                          <next><block type="controls_if" id="JG{)garR5(ydfL.dwN%"><value name="IF0"><block type="logic_operation" id="%@6r=VKASm(r~_mF.wOk"><field name="OP">AND</field> <value name="A"><block type="logic_compare" id="#Z^,Ov?qS[iotjI+^,83"><field name="OP">EQ</field> <value name="A"><block type="get_value" id="yH%b(%JeT8r:I(DXuXTn"><field name="ATTR">val</field> <field name="OID">javascript.0.Variable.WHG.VAR200_HiFi_An</field></block></value> <value name="B"><block type="logic_boolean" id="OT32T_C-*MOrLfX(/~|M"><field name="BOOL">TRUE</field></block></value></block></value> <value name="B"><block type="logic_compare" id="?eS:N*S-J)O}uONFfMzZ"><field name="OP">EQ</field> <value name="A"><block type="time_compare_ex" id="MNXF:1bOwHD{%@uyy(C;"><mutation end_time="true" actual_time="true"></mutation> <field name="USE_ACTUAL_TIME">TRUE</field> <field name="OPTION">between</field> <value name="START_TIME"><shadow type="text" id="uzqHBIek61}}O,qyf*^6"><field name="TEXT">14:00</field></shadow></value> <value name="END_TIME"><shadow type="text" id="0^kf?Ml?nGjf9+)rL4}"><field name="TEXT">21:25</field></shadow></value></block></value>
                          <value name="B"><block type="logic_boolean" id="LHIqmO6Ymca3TwyG[G"><field name="BOOL">TRUE</field></block></value></block></value></block></value>
                          <statement name="DO0"><block type="control" id="jkn06thS2ocl6}Q6Eyzd"><mutation delay_input="false"></mutation>
                          <field name="OID">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE"><block type="text" id="b}rP^zC50Y/:~9?ud8|?"><field name="TEXT">Daemmerung Urlaub Hue</field></block></value>
                          <next><block type="debug" id=",K2ZJ)f;1N@4YaIWc@W|"><field name="Severity">log</field>
                          <value name="TEXT"><shadow type="text" id="i614)}m8~UK+G?RiO|f"><field name="TEXT">test</field></shadow> <block type="text_join" id="?FRFcBj*0%[zsAp+fxm|"><mutation items="2"></mutation> <value name="ADD0"><block type="field_oid" id="BbfkC@#-eo)|}5Z?pP6"><field name="oid">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field></block></value>
                          <value name="ADD1"><block type="text" id="Q|Ws4g0_@0O(KKbPgo="><field name="TEXT">auf Daemmerung Urlaub gesetzt</field></block></value></block></value></block></next></block></statement> <next><block type="comment" id="?VUemN18J(1E,8c-S~kY"><field name="COMMENT">Daemmerung Auto Urlaub</field> <next><block type="controls_if" id="?fiA1}^!|eZBocthy??A"><value name="IF0"><block type="time_compare_ex" id="GN:j{6pBd{zIU7wKf}e="><mutation end_time="true" actual_time="true"></mutation> <field name="USE_ACTUAL_TIME">TRUE</field> <field name="OPTION">between</field> <value name="START_TIME"><shadow type="text" id="uBGWU/8nyBa1|NI7elZ"><field name="TEXT">21:26</field></shadow></value>
                          <value name="END_TIME"><shadow type="text" id="ne62D@EJrbwRBCG+V9s"><field name="TEXT">23:30</field></shadow></value></block></value> <statement name="DO0"><block type="control" id="tCVvl7I(rutr.L_#|yta"><mutation delay_input="false"></mutation> <field name="OID">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"><block type="text" id="#AC!uQOBb~LKDS,0;I/M"><field name="TEXT">Daemmerung Urlaub Hue</field></block></value> <next><block type="debug" id="2{DikCKC){}Y!G?;s)y#"><field name="Severity">log</field> <value name="TEXT"><shadow type="text" id="i614)}m8~UK+G?RiO|f"><field name="TEXT">test</field></shadow>
                          <block type="text_join" id="`l^m+m}TK?/KC%[8=k%g"><mutation items="2"></mutation>
                          <value name="ADD0"><block type="field_oid" id="c5~N4^)HL6Hc+5/1,oT0"><field name="oid">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field></block></value>
                          <value name="ADD1"><block type="text" id="p(2!.,fJc[!v/6ac0k6H"><field name="TEXT">Daemmerung Urlaub gesetzt</field></block></value></block></value></block></next></block></statement></block></next></block></next></block></next></block></next></block></next></block></statement></block></next></block></statement></block></next></block></xml>

                          Angaben zur Installation: JS Controller 5.0.12, npm 9.6.7, node 18.17.1, auf einem Intel NUC mit Ubuntu 22.04

                          1 Antwort Letzte Antwort
                          0
                          • S Offline
                            S Offline
                            Stormbringer
                            schrieb am zuletzt editiert von
                            #13

                            Danke :D So? Hab mich jetzt nichts mehr dazu schreiben trauen :?

                            Angaben zur Installation: JS Controller 5.0.12, npm 9.6.7, node 18.17.1, auf einem Intel NUC mit Ubuntu 22.04

                            1 Antwort Letzte Antwort
                            0
                            • rantanplanR Offline
                              rantanplanR Offline
                              rantanplan
                              schrieb am zuletzt editiert von
                              #14

                              @Stormbringer:

                              Danke :D So? Hab mich jetzt nichts mehr dazu schreiben trauen :? `
                              Du hast jetzt wohl alles richtig gemacht.

                              Ich kann den Export allerdings immer noch nicht einlesen. :(

                              Bekommst Du eine Fehlermeldung wenn Du auf "Blöcke prüfen" klickst?

                              Vielleicht liegt es ja auch an mir.

                              Kann jemand anders den Export importieren?

                              Grüße

                              Rantanplan

                              CCU3 / MS Server 2019(VM) / Scripten mit Blockly

                              1 Antwort Letzte Antwort
                              0
                              • S Offline
                                S Offline
                                Stormbringer
                                schrieb am zuletzt editiert von
                                #15

                                Glaub schon, dass ich die Blöcke geprüft habe. Kann nur leider gerade nicht nochmal nachschauen, glaube shreddere gerade ioBroker mit z wave adapter und admin adapter update :oops: melde mich wieder, wenns wieder geht

                                Angaben zur Installation: JS Controller 5.0.12, npm 9.6.7, node 18.17.1, auf einem Intel NUC mit Ubuntu 22.04

                                1 Antwort Letzte Antwort
                                0
                                • paul53P Offline
                                  paul53P Offline
                                  paul53
                                  schrieb am zuletzt editiert von
                                  #16

                                  @Stormbringer:

                                  Könntet ihr mir eventuell sagen was in das Textfeld reingehört? `
                                  Das Feld zum Vergleichen mit dem Wochentag ist <u>kein Textfeld</u>, sondern mus eine Zahl sein, so wie von rantanplan geschrieben.
                                  @rantanplan:

                                  Wie ich bereits geschrieben habe werden die Wochentage von 1 bis 7 dargestellt. Nicht von 0 bis 6.

                                  Z.B.

                                  Wochentag = 2 = Dienstag

                                  Wochentag > 5 = Wochenende (Samstag oder Sonntag)

                                  Wochentag < 6 = Arbeitswoche (Montag bis Freitag) `

                                  Für das Auslösen zu jeder Minute trage einfach 5 Sterne in den Zeitplan ein: * * * * *

                                  Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                                  Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                                  1 Antwort Letzte Antwort
                                  0
                                  • S Offline
                                    S Offline
                                    Stormbringer
                                    schrieb am zuletzt editiert von
                                    #17

                                    Dankeschön aber haut leider noch immer nicht hin. Zu Testzwecken habe ich den Parsus "Daemmerung Arbeit HiFi Mo-So" rausgelöscht, weil das ja jetzt zutreffen würde und er dann ohne die Wochentage triggert. Dafür habe ich bei "Aufstehen Arbeit WE >5" die Uhrzeit bis 15:00 eingetragen. Objektvariable ändert sich leider nicht.

                                    Kann man "jede Sekunde" prüfen eigentlich dann auch im Produktiven so lassen? Fordert ihm das nicht zu viel Rechenleistung ab wenn da mehrere Sachen alle Sekunden laufen? Der Grund von meinem Umstieg von Homey war, dass das ganze so lahm wurde. Lichteinschalten dauerte von 10-50 Sekunden. Vermute, dass die Regeln einfach zu komplex wurden für das Maschinchen und daher bin ich auf das tolle ioBroker gestoßen :D Macht ioBroker sowas komplexes gar nichts aus? Oder geht der auch irgendwann in die Knie? Hardware ist momentan noch ein Rasperry Pi 3, wenn ich alles einigermaßen hinbekomme würde ich aber auf nen Intel Nuc Gen 7 wechseln.

                                    ! ````
                                    <block xmlns="http://www.w3.org/1999/xhtml" type="schedule" id="c|;MRuVnd8fva-~-4=[U" x="65" y="-939"><field name="SCHEDULE">*****</field>
                                    <statement name="STATEMENT"><block type="comment" id=")Ci(qYIfWczY%jgw[qS8"><field name="COMMENT">Arbeit</field>
                                    <next><block type="controls_if" id="#?v{k7:OfCqcqtIzH~z"><mutation else="1"></mutation>
                                    <value name="IF0"><block type="logic_compare" id="lg5igbNtX-UN/fL%s}U6"><field name="OP">EQ</field>
                                    <value name="A"><block type="get_value" id=".Kzi#@mU+8GM
                                    ~AWVXj%"><field name="ATTR">val</field>
                                    <field name="OID">javascript.0.Variable.Person.VAR100_Arbeit</field></block></value>
                                    <value name="B"><block type="logic_boolean" id="y42H^{%jaLi#2=7|Zde/"><field name="BOOL">TRUE</field></block></value></block></value>
                                    <statement name="DO0"><block type="comment" id="]tjA!-+r);r^tnrZ@Y]"><field name="COMMENT">Aufstehen Arbeit Mo-Fr <6</field>
                                    <next><block type="controls_if" id="?n5I
                                    [By}J~m_kFcQdBS"><value name="IF0"><block type="logic_operation" id="@.5WQLLngW?9j@Rt3xJ:"><field name="OP">AND</field>
                                    <value name="A"><block type="logic_compare" id="630ho-4EA3L(R19tP*p"><field name="OP">LT</field> <value name="A"><block type="time_get" id="?mXL_j%XkZWqH/ckQZMt"><mutation format="false" language="false"></mutation> <field name="OPTION">wd</field></block></value> <value name="B"><block type="math_number" id="t[S6ZXf!K*~ZSH|S4%e="><field name="NUM">6</field></block></value></block></value> <value name="B"><block type="time_compare_ex" id="uPfeP_GZLr{idZllO[Wn"><mutation end_time="true" actual_time="true"></mutation> <field name="USE_ACTUAL_TIME">TRUE</field> <field name="OPTION">between</field> <value name="START_TIME"><shadow type="text" id="9Z)6:x6:US2mm/Sk%QL8"><field name="TEXT">04:00</field></shadow></value> <value name="END_TIME"><shadow type="text" id="Ra2Q)|9.}3piNeggm^fL"><field name="TEXT">05:50</field></shadow></value></block></value></block></value> <statement name="DO0"><block type="control" id="w+co9}p?})8i-[|75Cs*"><mutation delay_input="false"></mutation> <field name="OID">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"><block type="text" id="XFE_1AYk580G1/MF;3:*"><field name="TEXT">Aufstehzeit Arbeit Mo-Fr Hue</field></block></value> <next><block type="debug" id="hXGMK@9.5{Kf?n7A0(Cw"><field name="Severity">log</field> <value name="TEXT"><shadow type="text" id="i614)}m8~UK+G?RiO|f"><field name="TEXT">test</field></shadow>
                                    <block type="text_join" id="fbS7.9}v{;},7-EE~Z_"><mutation items="2"></mutation> <value name="ADD0"><block type="field_oid" id="Fhb}8=Cq2aPbDA-he2[k"><field name="oid">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field></block></value> <value name="ADD1"><block type="text" id="4u/9O%k@s)4dkyfn(,eo"><field name="TEXT">auf Aufstehzeit Arbeit Mo-Fr gesetzt</field></block></value></block></value></block></next></block></statement> <next><block type="comment" id="dwFeoHF:(%YV]1cMPW^7"><field name="COMMENT">Aufstehen Arbeit WE >5</field> <next><block type="controls_if" id="2-6p:]3RzEQ:*,7#^zFe"><value name="IF0"><block type="logic_operation" id="*Afx}KWJtCypPPt:2|HD"><field name="OP">AND</field> <value name="A"><block type="logic_compare" id="9BnWtUYlTju~Ij2f.0T"><field name="OP">GT</field>
                                    <value name="A"><block type="time_get" id=";GKJXkbvGsFJ({5u*@0"><mutation format="false" language="false"></mutation> <field name="OPTION">wd</field></block></value> <value name="B"><block type="math_number" id=";Uhz{yb?r~by!MA@bN-5"><field name="NUM">5</field></block></value></block></value> <value name="B"><block type="time_compare_ex" id="t|2pOSv4Oa,{tb?]_kc*"><mutation end_time="true" actual_time="true"></mutation> <field name="USE_ACTUAL_TIME">TRUE</field> <field name="OPTION">between</field> <value name="START_TIME"><shadow type="text" id="l[cj@u/2FtGdq(,.M*8["><field name="TEXT">09:30</field></shadow></value> <value name="END_TIME"><shadow type="text" id="A|Pkt?]]a:~6_zhY|wX"><field name="TEXT">12:30</field></shadow></value></block></value></block></value>
                                    <statement name="DO0"><block type="control" id="Sy!jY|;r_I;2[gF.aZt6"><mutation delay_input="false"></mutation>
                                    <field name="OID">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE"><block type="text" id="@U-#HIP)sD[L1?Q+t33c"><field name="TEXT">Aufstehzeit Arbeit WE Hue</field></block></value>
                                    <next><block type="debug" id="pS1t{E0a/G^0V{aysh#"><field name="Severity">log</field> <value name="TEXT"><shadow type="text" id="i614)}m8~UK+G?RiO|f"><field name="TEXT">test</field></shadow>
                                    <block type="text_join" id="pCH!8EYu]mPlyRsN(Rs"><mutation items="2"></mutation> <value name="ADD0"><block type="field_oid" id="pE~D6n:*iZdB1yA)hR|/"><field name="oid">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field></block></value> <value name="ADD1"><block type="text" id="BZ9-Q~!/P,6WI6(jl6b"><field name="TEXT">auf Aufstehzeit Arbeit WE gesetzt</field></block></value></block></value></block></next></block></statement>
                                    <next><block type="comment" id="+H1T6|DoH}3fnckp8_z"><field name="COMMENT">Daemmerung Arbeit HiFi Mo-So</field> <next><block type="controls_if" id="1yv,9_cZu?{s|8R}G0S"><value name="IF0"><block type="logic_operation" id=".yT#mK]/k|tc!1cR!p{|"><field name="OP">AND</field>
                                    <value name="A"><block type="logic_compare" id="+={uCVHyCS},lv7E@}Se"><field name="OP">EQ</field>
                                    <value name="A"><block type="get_value" id="8s12K-0B]GO[pxHZBfhm"><field name="ATTR">val</field>
                                    <field name="OID">javascript.0.Variable.WHG.VAR200_HiFi_An</field></block></value>
                                    <value name="B"><block type="logic_boolean" id="[sk}|x|Co7.FJI@7OQFb"><field name="BOOL">TRUE</field></block></value></block></value>
                                    <value name="B"><block type="logic_compare" id="d]424_6QhEdZQ,qC48,z"><field name="OP">EQ</field>
                                    <value name="A"><block type="time_compare_ex" id="fbhTH2!e52EySHRPB=X|"><mutation end_time="true" actual_time="true"></mutation>
                                    <field name="USE_ACTUAL_TIME">TRUE</field>
                                    <field name="OPTION">between</field>
                                    <value name="START_TIME"><shadow type="text" id="d+La6SVqr6jUF_1X?#~"><field name="TEXT">14:00</field></shadow></value> <value name="END_TIME"><shadow type="text" id="1d!SpDWMg1Eg;UcdXwo4"><field name="TEXT">21:25</field></shadow></value></block></value> <value name="B"><block type="logic_boolean" id="r%/RWZVDIrmS5k?h2Stk"><field name="BOOL">TRUE</field></block></value></block></value></block></value> <statement name="DO0"><block type="control" id="YFZYKcWiwFK9i9T7xGFD"><mutation delay_input="false"></mutation> <field name="OID">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"><block type="text" id="l3xz5iteH8235OwCpZ50"><field name="TEXT">Daemmerung Arbeit Hue</field></block></value> <next><block type="debug" id="#tcTGQ8AJWbJE^1w*(x"><field name="Severity">log</field>
                                    <value name="TEXT"><shadow type="text" id="i614)}m8~UK+G?RiO|f"><field name="TEXT">test</field></shadow> <block type="text_join" id="(I-D~gQ]:W!-yK?/:Z5Q"><mutation items="2"></mutation> <value name="ADD0"><block type="field_oid" id="6=^*t]3y.[-=Qu3C+aE"><field name="oid">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field></block></value>
                                    <value name="ADD1"><block type="text" id="v=0j|u3|aPFZyY9a#ppo"><field name="TEXT">auf Daemmerung Arbeit gesetzt</field></block></value></block></value></block></next></block></statement>
                                    <next><block type="comment" id="0=^8iIZ5R9Fd=ESC:u"><field name="COMMENT">Einschlaf Arbeit Mo-Do <5</field>
                                    <next><block type="controls_if" id="FK3Zu093D,TDqegvptie"><value name="IF0"><block type="logic_operation" id="/%u{Vsp,qG14{^w:lqv"><field name="OP">AND</field> <value name="A"><block type="logic_compare" id="jc1@)wFzgi-Px?^SG9vL"><field name="OP">LT</field> <value name="A"><block type="time_get" id="|PZ7Jq;;7Z[Y_gfTgH3-"><mutation format="false" language="false"></mutation> <field name="OPTION">wd</field></block></value> <value name="B"><block type="math_number" id=":vQfL+JuuV*7beR:Mb:l"><field name="NUM">5</field></block></value></block></value> <value name="B"><block type="time_compare_ex" id="||-4;9Qo35;B^EXB#IWV"><mutation end_time="true" actual_time="true"></mutation> <field name="USE_ACTUAL_TIME">TRUE</field> <field name="OPTION">between</field> <value name="START_TIME"><shadow type="text" id="w./M~,?{5B=:?F.nvuO"><field name="TEXT">21:26</field></shadow></value>
                                    <value name="END_TIME"><shadow type="text" id="w#yY0A%V_k17:jk-Hj="><field name="TEXT">23:30</field></shadow></value></block></value></block></value> <statement name="DO0"><block type="control" id=";[iyF:Ch9iuUrL.1GJZU"><mutation delay_input="false"></mutation> <field name="OID">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"><block type="text" id="55Y+OS-h4N?A+[IP72x"><field name="TEXT">Einschlaf Hue</field></block></value>
                                    <next><block type="debug" id=":B.S8.x:QH0yg[2=Uh"><field name="Severity">log</field>
                                    <value name="TEXT"><shadow type="text" id="i614)}m8~UK+G?RiO|f"><field name="TEXT">test</field></shadow> <block type="text_join" id="hHgj4i55J[?T8T/;6dNn"><mutation items="2"></mutation> <value name="ADD0"><block type="field_oid" id="uepHj2:iYuWz%ppnOKh["><field name="oid">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field></block></value> <value name="ADD1"><block type="text" id="9Xg{4)WlU/UDQ2*ml19x"><field name="TEXT">Einschlaf gesetzt</field></block></value></block></value></block></next></block></statement> <next><block type="comment" id="WugZZP[c}p~Wy*#i1?Q]"><field name="COMMENT">Auto Daemmerung Fr-So >4</field> <next><block type="controls_if" id="ijfiUP/@3d~U7.d@nL7w"><value name="IF0"><block type="logic_operation" id="0@nwqy6.@hrl,mxeBcU^"><field name="OP">AND</field> <value name="A"><block type="logic_compare" id="tHr{RUhqhO2QYQ[ib+xH"><field name="OP">GT</field> <value name="A"><block type="time_get" id="D3o8}NL.:C#??jl1]T|"><mutation format="false" language="false"></mutation>
                                    <field name="OPTION">wd</field></block></value>
                                    <value name="B"><block type="math_number" id="O-:RW#uG{Es[e2.G~[K"><field name="NUM">4</field></block></value></block></value> <value name="B"><block type="time_compare_ex" id="mE0:Q.jc[s:TAI6HR+D"><mutation end_time="true" actual_time="true"></mutation>
                                    <field name="USE_ACTUAL_TIME">TRUE</field>
                                    <field name="OPTION">between</field>
                                    <value name="START_TIME"><shadow type="text" id="!S[a@]4rG;Y{xp5[R7|w"><field name="TEXT">21:26</field></shadow></value>
                                    <value name="END_TIME"><shadow type="text" id="8lcdrYv38}K-qQlGdc{F"><field name="TEXT">23:30</field></shadow></value></block></value></block></value>
                                    <statement name="DO0"><block type="control" id="R6Dz#,njq}OTiD67;Qd"><mutation delay_input="false"></mutation> <field name="OID">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"><block type="text" id="Jq92-2w@GoQ^.4L3Xiun"><field name="TEXT">Daemmerung Hue</field></block></value> <next><block type="debug" id="emlhh*#hq!fT(shY_*(x"><field name="Severity">log</field> <value name="TEXT"><shadow type="text" id="i614)}m8~UK+G?RiO|f"><field name="TEXT">test</field></shadow>
                                    <block type="text_join" id="Zl#2{^NAf?c/bWnCiW"><mutation items="2"></mutation> <value name="ADD0"><block type="field_oid" id="ptHjb?r4:Dbmhkx4QW9q"><field name="oid">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field></block></value> <value name="ADD1"><block type="text" id="I^j4.,VM|!~^,^tA*7,{"><field name="TEXT">Daemmerung gesetzt</field></block></value></block></value></block></next></block></statement></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement> <statement name="ELSE"><block type="comment" id="A5B.6R.}ZLM6-EOuXXx"><field name="COMMENT">Urlaub</field>
                                    <next><block type="controls_if" id="d9R@IHuCPqW0Q5cXQaN7"><value name="IF0"><block type="logic_compare" id="-5%s!K):_]
                                    ,y_RV2~[G"><field name="OP">EQ</field>
                                    <value name="A"><block type="get_value" id=";xn6+pwzvyY6@mhntq~L"><field name="ATTR">val</field>
                                    <field name="OID">javascript.0.Variable.Person.VAR100_Arbeit</field></block></value>
                                    <value name="B"><block type="logic_boolean" id="bYhI|5WMubvj/D6c:aj1"><field name="BOOL">FALSE</field></block></value></block></value>
                                    <statement name="DO0"><block type="comment" id="sDxm|E]Pi8NASyvE%XCo"><field name="COMMENT">Aufstehen Urlaub</field>
                                    <next><block type="controls_if" id="~c^AEtQBSV5;RPmo]Z57"><value name="IF0"><block type="time_compare_ex" id="(zqTbNDYKu0:zxp+wL3"><mutation end_time="true" actual_time="true"></mutation>
                                    <field name="USE_ACTUAL_TIME">TRUE</field>
                                    <field name="OPTION">between</field>
                                    <value name="START_TIME"><shadow type="text" id="@}:#Q0[k*~Jd^BL[Gl[V"><field name="TEXT">09:30</field></shadow></value>
                                    <value name="END_TIME"><shadow type="text" id=")|e5}OO|0UPQ/@DeQe^
                                    "><field name="TEXT">11:00</field></shadow></value></block></value>
                                    <statement name="DO0"><block type="control" id="/QE?sY(al4eyDG||5Yr"><mutation delay_input="false"></mutation> <field name="OID">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"><block type="text" id="#]IJCc.ui%cDqw_J5DT"><field name="TEXT">Aufstehzeit Urlaub Hue</field></block></value>
                                    <next><block type="debug" id="Zu[;@Id7mJzS%)u0+JXQ"><field name="Severity">log</field>
                                    <value name="TEXT"><shadow type="text" id="i614)}m8~UK+G?RiO|f"><field name="TEXT">test</field></shadow> <block type="text_join" id=")fneWOZ_GW{IC@/%mvp("><mutation items="2"></mutation> <value name="ADD0"><block type="field_oid" id="F^)j03giLn(Bc7Bw0-q9"><field name="oid">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field></block></value> <value name="ADD1"><block type="text" id="M9{E#5ie[~A7nhi));)C"><field name="TEXT">auf Aufstehzeit Urlaub gesetzt</field></block></value></block></value></block></next></block></statement></block></next></block></statement> <next><block type="comment" id="Pe~J38p.]m^jo@D_69CB"><field name="COMMENT">Daemmerung HiFi Urlaub</field> <next><block type="controls_if" id="JG{)garR5(ydfL.dwN%"><value name="IF0"><block type="logic_operation" id="%@6r=VKASm(r~mF.wOk"><field name="OP">AND</field>
                                    <value name="A"><block type="logic_compare" id="#Z^,Ov?qS[iotjI+^,83"><field name="OP">EQ</field>
                                    <value name="A"><block type="get_value" id="yH%b(%JeT8r:I(DXuXTn"><field name="ATTR">val</field>
                                    <field name="OID">javascript.0.Variable.WHG.VAR200_HiFi_An</field></block></value>
                                    <value name="B"><block type="logic_boolean" id="OT32T_C-MOrLfX(/~|M"><field name="BOOL">TRUE</field></block></value></block></value>
                                    <value name="B"><block type="logic_compare" id="?eS:N
                                    S-J)O}uONFfMzZ"><field name="OP">EQ</field>
                                    <value name="A"><block type="time_compare_ex" id="MNXF:1bOwHD{%@uyy(C;"><mutation end_time="true" actual_time="true"></mutation>
                                    <field name="USE_ACTUAL_TIME">TRUE</field>
                                    <field name="OPTION">between</field>
                                    <value name="START_TIME"><shadow type="text" id="uzqHBIek61}}O,qyf*^6"><field name="TEXT">14:00</field></shadow></value>
                                    <value name="END_TIME"><shadow type="text" id="0^kf?Ml?nGjf9+)rL4}"><field name="TEXT">21:25</field></shadow></value></block></value> <value name="B"><block type="logic_boolean" id="LHIqmO6Ymca3TwyG[G"><field name="BOOL">TRUE</field></block></value></block></value></block></value> <statement name="DO0"><block type="control" id="jkn06thS2ocl6}Q6Eyzd"><mutation delay_input="false"></mutation> <field name="OID">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"><block type="text" id="b}rP^zC50Y/:~9?ud8|?"><field name="TEXT">Daemmerung Urlaub Hue</field></block></value> <next><block type="debug" id=",K2ZJ)f;1N@4YaIWc@W|"><field name="Severity">log</field> <value name="TEXT"><shadow type="text" id="i614)}m8~UK+G?RiO|f"><field name="TEXT">test</field></shadow>
                                    <block type="text_join" id="?FRFcBj*0%[zsAp+fxm|"><mutation items="2"></mutation>
                                    <value name="ADD0"><block type="field_oid" id="BbfkC@#-eo)|}5Z?pP6"><field name="oid">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field></block></value> <value name="ADD1"><block type="text" id="Q|Ws4g0
                                    @0O(KKbPgo="><field name="TEXT">auf Daemmerung Urlaub gesetzt</field></block></value></block></value></block></next></block></statement>
                                    <next><block type="comment" id="?VUemN18J(1E,8c-S~kY"><field name="COMMENT">Daemmerung Auto Urlaub</field>
                                    <next><block type="controls_if" id="?fiA1}^!|eZBocthy??A"><value name="IF0"><block type="time_compare_ex" id="GN:j{6pBd{zIU7wKf}e="><mutation end_time="true" actual_time="true"></mutation>
                                    <field name="USE_ACTUAL_TIME">TRUE</field>
                                    <field name="OPTION">between</field>
                                    <value name="START_TIME"><shadow type="text" id="uBGWU/8nyBa1|NI7elZ"><field name="TEXT">21:26</field></shadow></value> <value name="END_TIME"><shadow type="text" id="ne62D@EJrbwRBCG+V9s"><field name="TEXT">23:30</field></shadow></value></block></value>
                                    <statement name="DO0"><block type="control" id="tCVvl7I(rutr.L_#|yta"><mutation delay_input="false"></mutation>
                                    <field name="OID">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE"><block type="text" id="#AC!uQOBb~LKDS,0;I/M"><field name="TEXT">Daemmerung Urlaub Hue</field></block></value>
                                    <next><block type="debug" id="2{DikCKC){}Y!G?;s)y#"><field name="Severity">log</field>
                                    <value name="TEXT"><shadow type="text" id="i614)}m8~UK+G?RiO|f"><field name="TEXT">test</field></shadow> <block type="text_join" id="l^m+m}TK?/KC%[8=k%g"><mutation items="2"></mutation>
                                    <value name="ADD0"><block type="field_oid" id="c5~N4^)HL6Hc+5/1,oT0"><field name="oid">javascript.0.Variable.HUE.WHG_VAR800_Tageseinteilung</field></block></value>
                                    <value name="ADD1"><block type="text" id="p(2!.,fJc[!v/6ac0k6H"><field name="TEXT">Daemmerung Urlaub gesetzt</field></block></value></block></value></block></next></block></statement></block></next></block></next></block></next></block></next></block></next></block></statement></block></next></block></statement></block>

                                    Angaben zur Installation: JS Controller 5.0.12, npm 9.6.7, node 18.17.1, auf einem Intel NUC mit Ubuntu 22.04

                                    1 Antwort Letzte Antwort
                                    0
                                    • paul53P Offline
                                      paul53P Offline
                                      paul53
                                      schrieb am zuletzt editiert von
                                      #18

                                      Zwischen den Sternen im Zeitplan müssen Leerzeichen stehen.

                                      Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                                      Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                                      1 Antwort Letzte Antwort
                                      0
                                      • paul53P Offline
                                        paul53P Offline
                                        paul53
                                        schrieb am zuletzt editiert von
                                        #19

                                        Du hast generell (außer um 21:25 Uhr) vergessen, zu programmieren, was am Ende der angegebenen Zeitspanne passieren soll (Sonst-Zweige fehlen).

                                        Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                                        Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                                        1 Antwort Letzte Antwort
                                        0
                                        • S Offline
                                          S Offline
                                          Stormbringer
                                          schrieb am zuletzt editiert von
                                          #20

                                          looool jetzt habe ich alle Böcke geschossen, die man schießen kann? Vielen lieben Dank, jetzt geht es. Wünsche euch schon einmal Frohe Ostern, falls wir uns nicht mehr lesen….

                                          Angaben zur Installation: JS Controller 5.0.12, npm 9.6.7, node 18.17.1, auf einem Intel NUC mit Ubuntu 22.04

                                          1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          382

                                          Online

                                          32.6k

                                          Benutzer

                                          82.1k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe