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. Gelöst [Blockly] Hue Lichtwecker

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.9k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.2k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.4k

Gelöst [Blockly] Hue Lichtwecker

Geplant Angeheftet Gesperrt Verschoben Skripten / Logik
45 Beiträge 14 Kommentatoren 7.5k Aufrufe 8 Watching
  • Ä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.
  • G Offline
    G Offline
    Gwoony
    schrieb am zuletzt editiert von Negalein
    #11

    Vielleicht kurz bisschen zu erklären. Vielleicht kann man einiges auch einfacher manchen, aber manches ist durch try and error entstanden :-)

    Auch sind noch ein paar Debug von mir und Sento Befehle drin, die man bestimmt nicht braucht :)

    Weckzeit = Zeit wo man geweckt werden will

    Zeitspanne_Wecker = Länge des "Sonnenaufganges" (Start Lichtwecker = Weckzeit - Zeitspanne_Wecker)

    Farbverlauf durch ct (Warmweiss nach Kaltweiss) von value 500 nach 153 (max Spanne)

    Helligkeit durch bri von 1 bis 254 (max Spanne)

    Wecker wird gesteuert über Wecker_Aktiv. Diese wiederum wird gesteuert über die Variable frei heute (aus anderem Skript und berücksichtigt Urlaub aus iCal Adapter, WE und Feiertage)

    Cron Beginnwerte berechnen

    Berechnet die Cron Werte für Min und Std.

    • Korrigiert auch aus bsp 5:20 zu 05:20

    Intervall beenden wenn Licht aus

    Beendet Lichtwecker wenn Licht manuell ausgemacht wird

    Die gelbumrahmten Objekt muss man eingeben, dann werden die anderen alle berechnet

    Ich kann leider das Blockly nicht posten, da die Max Zeichen gesprengt werden. Oder gibt es einen anderen Weg?
    7094_blockly.jpeg
    7094_variablen_in_objekte.jpeg

    1 Antwort Letzte Antwort
    0
    • HomoranH Nicht stören
      HomoranH Nicht stören
      Homoran
      Global Moderator Administrators
      schrieb am zuletzt editiert von Homoran
      #12

      Sorry, dass ich jetzt erst dazu komme meinen Sonnenaufgang zu posten:
      144_sonnenaufgang.png

      Export:

       <xml xmlns="http://www.w3.org/1999/xhtml"><block type="comment" id="e7P]EfnRO|mg|xzUU=#." x="88" y="-137"><field name="COMMENT">Sonnenaufgang per Schedule</field>
          <next><block type="schedule" id="mI!1MxMMqfmAkYTPMJX-"><field name="SCHEDULE">45 06 * * 1-5</field>
              <statement name="STATEMENT"><block type="controls_if" id="y35~folwA64JELdx*aZ_"><value name="IF0"><block type="logic_compare" id="s3sEA.5IE{Fen=nr3}^("><field name="OP">EQ</field>
                      <value name="A"><block type="get_value" id="DOA7KEe-NvFZvDH{MK0B"><field name="ATTR">val</field>
                          <field name="OID">feiertage.0.today.boolean</field></block></value> 
                      <value name="B"><block type="logic_boolean" id="#rb1##iZs[9_sOPrxI[T"><field name="BOOL">FALSE</field></block></value></block></value> 
                  <statement name="DO0"><block type="timeouts_clearinterval" id="icH=6OkVId1/.haYArX-"><field name="NAME">Intervall</field>
                      <next><block type="variables_set" id="fVqkEb48.`%t[:LcLpje"><field name="VAR">Timesteps</field>
                          <value name="VALUE"><block type="math_number" id="pSw*~!|l[%.t]7;Ywu|s"><field name="NUM">0</field></block></value> 
                          <next><block type="variables_set" id=",-(_MP:7b]`f(|D7OF`M"><field name="VAR">Farbe_Hue</field>
                              <value name="VALUE"><block type="math_number" id="1:[z]B%MWNE}N!hRhmEy"><field name="NUM">27</field></block></value> 
                              <next><block type="variables_set" id="MQL8QGsHpuw%:IIz?,Ip"><field name="VAR">Farbe:Sat</field>
                                  <value name="VALUE"><block type="math_number" id="]AXkCF,taTjWXz4(%-eN"><field name="NUM">100</field></block></value> 
                                  <next><block type="comment" id="zL7Fs]/lGoKX#)_8Dx(7"><field name="COMMENT">Zeiteinheit pro Stufe</field>
                                      <next><block type="timeouts_setinterval" id="aYso6.3`0KZpiU!ixQ9T"><field name="NAME">Intervall</field>
                                          <field name="INTERVAL">40</field>
                                          <field name="UNIT">sec</field>
                                          <statement name="STATEMENT"><block type="control" id="_/oy-UP*Q|OpAe#8j6]z"><mutation delay_input="false"></mutation>
                                              <field name="OID">tradfri.0.L-65539.lightbulb.transitionDuration</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE"><block type="math_number" id="LXPUqCPxF_5,=yaCm]Mh"><field name="NUM">0</field></block></value> 
                                              <next><block type="control" id="EL#h3qPd3;k/WtxadMHp"><mutation delay_input="false"></mutation>
                                                  <field name="OID">tradfri.0.L-65539.lightbulb.brightness</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE"><block type="variables_get" id="}iroE9Nn~^%nw0Uv40@z"><field name="VAR">Timesteps</field></block></value> 
                                                  <next><block type="control" id="S~awpi`u+e#,,o?~L3J("><mutation delay_input="false"></mutation>
                                                      <field name="OID">tradfri.0.L-65539.lightbulb.transitionDuration</field>
                                                      <field name="WITH_DELAY">FALSE</field>
                                                      <value name="VALUE"><block type="math_number" id="H~d*_yP{Bc!T;|]H@zX%"><field name="NUM">0</field></block></value> 
                                                      <next><block type="control" id="th!vt7:0Tk0^Yv2@xlO^"><mutation delay_input="false"></mutation>
                                                          <field name="OID">tradfri.0.L-65539.lightbulb.hue</field>
                                                          <field name="WITH_DELAY">FALSE</field>
                                                          <value name="VALUE"><block type="variables_get" id="Pb6Yl!1+i!-fvuexZ.3i"><field name="VAR">Farbe_Hue</field></block></value> 
                                                          <next><block type="control" id="wU3N,FaRZ77wx,:i7G}@"><mutation delay_input="false"></mutation>
                                                              <field name="OID">tradfri.0.L-65539.lightbulb.transitionDuration</field>
                                                              <field name="WITH_DELAY">FALSE</field>
                                                              <value name="VALUE"><block type="math_number" id="87hw*u;(lW]E)_[Va*eO"><field name="NUM">0</field></block></value> 
                                                              <next><block type="control" id="gE7}sOpkMH?!.Y7PNtpz"><mutation delay_input="false"></mutation>
                                                                  <field name="OID">tradfri.0.L-65539.lightbulb.saturation</field>
                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                  <value name="VALUE"><block type="variables_get" id="0%C^b;Y9b#OQ)/.tO[Qt"><field name="VAR">Farbe:Sat</field></block></value> 
                                                                  <next><block type="comment" id="6]MxZ:=}qAgQgny94518"><field name="COMMENT">Stufen erhöhen</field>
                                                                      <next><block type="variables_set" id="q|w6}P/MqM^Z]Q9c@lZp"><field name="VAR">Timesteps</field>
                                                                          <value name="VALUE"><block type="math_arithmetic" id="7^A`S:+9p^Egv)f[6)?/"><field name="OP">ADD</field>
                                                                              <value name="A"><shadow type="math_number" id=",3Ix@FLr[leEH.PZxCTj"><field name="NUM">1</field></shadow> 
                                                                                <block type="variables_get" id="6R+dE9AjkDe@_Q26AQE-"><field name="VAR">Timesteps</field></block></value> 
                                                                              <value name="B"><shadow type="math_number" id="+/F]U2:je(yC3}oU@,LU"><field name="NUM">1</field></shadow> 
                                                                                <block type="math_number" id="XC2hP/tC}U*qITEOk)db"><field name="NUM">1</field></block></value></block></value> 
                                                                          <next><block type="variables_set" id="3u{v{:UzTA,tfbeouyOC"><field name="VAR">Farbe_Hue</field>
                                                                              <value name="VALUE"><block type="math_arithmetic" id="1XiOvP|W[8jo=rRSg2%-"><field name="OP">ADD</field>
                                                                                  <value name="A"><shadow type="math_number" id=",3Ix@FLr[leEH.PZxCTj"><field name="NUM">1</field></shadow> 
                                                                                    <block type="variables_get" id=",/`@dMc_8K~rAi,=]DA{"><field name="VAR">Farbe_Hue</field></block></value> 
                                                                                  <value name="B"><shadow type="math_number" id="+/F]U2:je(yC3}oU@,LU"><field name="NUM">1</field></shadow> 
                                                                                    <block type="math_number" id="^2OM=4%4!ojW;=R8BPa0"><field name="NUM">0.1</field></block></value></block></value> 
                                                                              <next><block type="variables_set" id="OJtc]JN(wj0Mc*}^B(mS"><field name="VAR">Farbe:Sat</field>
                                                                                  <value name="VALUE"><block type="math_arithmetic" id="pBsazw6;9z2l@JujGePr"><field name="OP">MINUS</field>
                                                                                      <value name="A"><shadow type="math_number" id=",3Ix@FLr[leEH.PZxCTj"><field name="NUM">1</field></shadow> 
                                                                                        <block type="variables_get" id="C+d5~VJ/h;oGJDLn47dc"><field name="VAR">Farbe:Sat</field></block></value> 
                                                                                      <value name="B"><shadow type="math_number" id="+/F]U2:je(yC3}oU@,LU"><field name="NUM">1</field></shadow> 
                                                                                        <block type="math_number" id="]l~mrti-7j^?,i05z@ZC"><field name="NUM">1</field></block></value></block></value> 
                                                                                  <next><block type="controls_if" id="c9d^cx}En)QJ^5LBl_.e"><value name="IF0"><block type="logic_compare" id="6S_vBdKEEXwB9y7dS+5Q"><field name="OP">EQ</field>
                                                                                          <value name="A"><block type="variables_get" id="`x=8)h:X3ni1O#OwO/;-"><field name="VAR">Timesteps</field></block></value> 
                                                                                          <value name="B"><block type="math_number" id="/eH;_D[-f!B,_d{.kQ#S"><field name="NUM">99</field></block></value></block></value> 
                                                                                      <statement name="DO0"><block type="comment" id="d@z26Wa+#kDyXAsPPolt"><field name="COMMENT">Wenn Endeinstellung erreicht stoppe Zyklen</field>
                                                                                          <next><block type="timeouts_clearinterval" id="YwJUV,R/}uU_PI:V7VXG"><field name="NAME">Intervall</field></block></next></block></statement></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block></next></block></next></block></next></block></next></block></next></block></statement></block></statement></block></next></block> 
        <block type="comment" id="*EFw|LDD~6Ss4b)In.eM" x="738" y="-138"><field name="COMMENT">Abbruch per Fernbedienung</field>
          <next><block type="on_ext" id=":Mw*gCWotTHocSv[3uwd"><mutation items="1"></mutation>
              <field name="CONDITION">ne</field>
      
              <value name="OID0"><shadow type="field_oid" id="Cj?.K4aL+{%eYH+_bS#L"><field name="oid">tradfri.0.L-65539.lightbulb.state</field></shadow></value> 
              <statement name="STATEMENT"><block type="comment" id="m#[V-7wmJ_s0{XHXk=CO"><field name="COMMENT">wenn Fernbedienung aus dann stoppe Zyklen</field>
                  <next><block type="controls_if" id="_gdEV:4:y(?k:ip~o/b^"><value name="IF0"><block type="logic_operation" id="ghZ#k`vY-z}Re}]kdkyH" inline="false"><field name="OP">AND</field>
                          <value name="A"><block type="logic_compare" id="NFNS+kXaz8myPISu/9;0"><field name="OP">EQ</field>
                              <value name="A"><block type="get_value" id="o(N]OR-Tqd4r/r/Q~F|d"><field name="ATTR">val</field>
                                  <field name="OID">tradfri.0.L-65539.lightbulb.state</field></block></value> 
                              <value name="B"><block type="logic_boolean" id="4a;}(XEFQk[`hRRv1v8%"><field name="BOOL">FALSE</field></block></value></block></value> 
                          <value name="B"><block type="logic_compare" id="Ix|::b*3j!{%cpgkwjKC"><field name="OP">LT</field>
                              <value name="A"><block type="variables_get" id="Ukl)t7G5qqZX?@`Z(Sj%"><field name="VAR">Timesteps</field></block></value> 
                              <value name="B"><block type="math_number" id="O|pySQ}{qDn|Q9y,-T=["><field name="NUM">99</field></block></value></block></value></block></value> 
                      <statement name="DO0"><block type="timeouts_clearinterval" id="#`4q,dgH38Q6|+n%=6^:"><field name="NAME">Intervall</field></block></statement></block></next></block></statement></block></next></block></xml> 
      

      kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

      Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

      der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

      Basti97B 1 Antwort Letzte Antwort
      0
      • A Offline
        A Offline
        aje89
        schrieb am zuletzt editiert von
        #13

        @Gwoony:

        Vielleicht kurz bisschen zu erklären. Vielleicht kann man einiges auch einfacher manchen, aber manches ist durch try and error entstanden :-)

        Auch sind noch ein paar Debug von mir und Sento Befehle drin, die man bestimmt nicht braucht :)

        Weckzeit = Zeit wo man geweckt werden will

        Zeitspanne_Wecker = Länge des "Sonnenaufganges" (Start Lichtwecker = Weckzeit - Zeitspanne_Wecker)

        Farbverlauf durch ct (Warmweiss nach Kaltweiss) von value 500 nach 153 (max Spanne)

        Helligkeit durch bri von 1 bis 254 (max Spanne)

        Wecker wird gesteuert über Wecker_Aktiv. Diese wiederum wird gesteuert über die Variable frei heute (aus anderem Skript und berücksichtigt Urlaub aus iCal Adapter, WE und Feiertage)

        Cron Beginnwerte berechnen

        Berechnet die Cron Werte für Min und Std.

        • Korrigiert auch aus bsp 5:20 zu 05:20

        Intervall beenden wenn Licht aus

        Beendet Lichtwecker wenn Licht manuell ausgemacht wird

        Die gelbumrahmten Objekt muss man eingeben, dann werden die anderen alle berechnet

        Ich kann leider das Blockly nicht posten, da die Max Zeichen gesprengt werden. Oder gibt es einen anderen Weg? `

        Du kannst den Export in eine Texdatei packen und diese hier mit Anhängen

        1 Antwort Letzte Antwort
        1
        • NovalisN Offline
          NovalisN Offline
          Novalis
          schrieb am zuletzt editiert von
          #14

          Guten Morgen meine Lieben,
          obgleich das Thema schon etwas älter ist, möchte ich noch einmal meine Anpassung für die Philips Hue Lampen einbringen.

          • Der Sonnenaufgang beginnt 15 Minuten vor dem Weckerklingeln. In meinem Fall startet (bei einem angesetzten Klingeln um 06:00 Uhr) der Sonnenaufgang um 05:45 Uhr.
          • Farblich verändert sich das Licht von einem rötlichen Ton zu einem gelblich-weißen.

          e59a98ae-83c6-4610-82d7-87992be32c57-image.png

          <xml xmlns="https://developers.google.com/blockly/xml">
            <variables>
              <variable id="!;/[u^vQs,tRIaZhN%@,">Timesteps</variable>
              <variable id="K$?TZ05P_nNo#(2H~G#M">Farbe_Hue</variable>
              <variable id="+wmE3GSnSf(]x%lgQx*c">Farbe_Sat</variable>
              <variable type="interval" id="Intervall">Intervall</variable>
            </variables>
            <block type="schedule" id="!ttNhYm1F*[/qNb$9Wnb" x="187" y="63">
              <field name="SCHEDULE">{"time":{"exactTime":true,"start":"05:45"},"period":{"days":1}}</field>
              <statement name="STATEMENT">
                <block type="controls_if" id="/IPuT}!9AbE_qAkM^M6|">
                  <value name="IF0">
                    <block type="logic_compare" id="eymVL5uq#V^)dABSo2+4">
                      <field name="OP">EQ</field>
                      <value name="A">
                        <block type="get_value" id="@=#`hn,wpAcU~[b1ysM^">
                          <field name="ATTR">val</field>
                          <field name="OID">alexa2.0.Echo-Devices.XXXXXX.Alarm.XXXXXX.enabled</field>
                        </block>
                      </value>
                      <value name="B">
                        <block type="logic_boolean" id="hE5EHAD,XE7tCuKtH8sJ">
                          <field name="BOOL">TRUE</field>
                        </block>
                      </value>
                    </block>
                  </value>
                  <statement name="DO0">
                    <block type="variables_set" id="JCWeDStbtm50i-S#/[_3">
                      <field name="VAR" id="!;/[u^vQs,tRIaZhN%@,">Timesteps</field>
                      <value name="VALUE">
                        <block type="math_number" id="a^t4?#!ms]ioV/BNjtX2">
                          <field name="NUM">0</field>
                        </block>
                      </value>
                      <next>
                        <block type="variables_set" id="1gSLmMgqA0w+7n#6K}Ft">
                          <field name="VAR" id="K$?TZ05P_nNo#(2H~G#M">Farbe_Hue</field>
                          <value name="VALUE">
                            <block type="math_number" id="9XwM$F4E^?3|pP=(Mcj$">
                              <field name="NUM">1</field>
                            </block>
                          </value>
                          <next>
                            <block type="variables_set" id="QUvE$NAO7*n/{{*=BG_o">
                              <field name="VAR" id="+wmE3GSnSf(]x%lgQx*c">Farbe_Sat</field>
                              <value name="VALUE">
                                <block type="math_number" id="(+k5x{OMb0?,=?4^IPcJ">
                                  <field name="NUM">254</field>
                                </block>
                              </value>
                              <next>
                                <block type="timeouts_setinterval" id="}m-RdKOYjC]1r^uqr#c!">
                                  <field name="NAME">Intervall</field>
                                  <field name="INTERVAL">60</field>
                                  <field name="UNIT">sec</field>
                                  <statement name="STATEMENT">
                                    <block type="control" id="q*nkfofX%/{[7a#|@/WP">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                      <field name="OID">hue.0.Stimmungslicht_(Schlafzimmer).bri</field>
                                      <field name="WITH_DELAY">FALSE</field>
                                      <value name="VALUE">
                                        <block type="variables_get" id="dtIxq=9U}`|Nyb:00x0d">
                                          <field name="VAR" id="!;/[u^vQs,tRIaZhN%@,">Timesteps</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="control" id="v^Pr_E.xKe_x_S^f9NQZ">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">hue.0.Stimmungslicht_(Schlafzimmer).hue</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="variables_get" id="G4Hne9,Nm-Ii#mVW0N;~">
                                              <field name="VAR" id="K$?TZ05P_nNo#(2H~G#M">Farbe_Hue</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="control" id=",Ye^pG44{yc@TlOYly}h">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">hue.0.Stimmungslicht_(Schlafzimmer).sat</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="variables_get" id="Nj_L#||xgxd+u9:L^,C@">
                                                  <field name="VAR" id="+wmE3GSnSf(]x%lgQx*c">Farbe_Sat</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="variables_set" id="@=x.T*4S.$2)@O|A|!:4">
                                                  <field name="VAR" id="!;/[u^vQs,tRIaZhN%@,">Timesteps</field>
                                                  <value name="VALUE">
                                                    <block type="math_arithmetic" id="7w7mw;F~Qq1^~%;c-hmp">
                                                      <field name="OP">ADD</field>
                                                      <value name="A">
                                                        <shadow type="math_number" id="e=f=Q7y[Iclt4a$}4#mE">
                                                          <field name="NUM">1</field>
                                                        </shadow>
                                                        <block type="variables_get" id="o4[BraKJ5QLJUo1+RbEY">
                                                          <field name="VAR" id="!;/[u^vQs,tRIaZhN%@,">Timesteps</field>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <shadow type="math_number" id="A!X34WDk*a$]3keId}i,">
                                                          <field name="NUM">13</field>
                                                        </shadow>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="variables_set" id="!-+qw6XlEgMT9/tk}BuI">
                                                      <field name="VAR" id="K$?TZ05P_nNo#(2H~G#M">Farbe_Hue</field>
                                                      <value name="VALUE">
                                                        <block type="math_arithmetic" id="CzIO[xQKUwqPO))%E+L+">
                                                          <field name="OP">ADD</field>
                                                          <value name="A">
                                                            <shadow type="math_number">
                                                              <field name="NUM">1</field>
                                                            </shadow>
                                                            <block type="variables_get" id="LsFB?;7HrHoI~Im!.4sH">
                                                              <field name="VAR" id="K$?TZ05P_nNo#(2H~G#M">Farbe_Hue</field>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <shadow type="math_number" id="=#2R$lCY`HwaN0=2r`1I">
                                                              <field name="NUM">4</field>
                                                            </shadow>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="variables_set" id="Ooqg7W/@{tCW|y%lFiLM">
                                                          <field name="VAR" id="+wmE3GSnSf(]x%lgQx*c">Farbe_Sat</field>
                                                          <value name="VALUE">
                                                            <block type="math_arithmetic" id="JxmFIXz0ePa7tCJhejg|">
                                                              <field name="OP">MINUS</field>
                                                              <value name="A">
                                                                <shadow type="math_number">
                                                                  <field name="NUM">1</field>
                                                                </shadow>
                                                                <block type="variables_get" id="0x{[!bXY|ave}Evn4f10">
                                                                  <field name="VAR" id="+wmE3GSnSf(]x%lgQx*c">Farbe_Sat</field>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <shadow type="math_number" id="Jzwmyk^u`t:#A/~om+`o">
                                                                  <field name="NUM">14</field>
                                                                </shadow>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <next>
                                                            <block type="controls_if" id="GUx[jne8MMD+Hx0/Vsfr">
                                                              <value name="IF0">
                                                                <block type="logic_operation" id="Z3T*P|%WJWRRz@H-cYD=">
                                                                  <field name="OP">OR</field>
                                                                  <value name="A">
                                                                    <block type="logic_compare" id="%U8YW5.E(OIk:w1pUzL5">
                                                                      <field name="OP">EQ</field>
                                                                      <value name="A">
                                                                        <block type="variables_get" id="*y%L,xS0I6:LK:#cqpMG">
                                                                          <field name="VAR" id="!;/[u^vQs,tRIaZhN%@,">Timesteps</field>
                                                                        </block>
                                                                      </value>
                                                                      <value name="B">
                                                                        <block type="math_number" id="3T0waKEGP].2dB.]^s0~">
                                                                          <field name="NUM">195</field>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                  <value name="B">
                                                                    <block type="logic_compare" id="#`42~yA+E4iKs$jps:=%">
                                                                      <field name="OP">EQ</field>
                                                                      <value name="A">
                                                                        <block type="get_value" id="=n=AZjdUKlGr+(|l(Y1A">
                                                                          <field name="ATTR">val</field>
                                                                          <field name="OID">alexa2.0.Echo-Devices.XXXXX.Alarm.XXXXX.enabled</field>
                                                                        </block>
                                                                      </value>
                                                                      <value name="B">
                                                                        <block type="logic_boolean" id="1%Uy.b2Q-ROL{3Y/kygu">
                                                                          <field name="BOOL">FALSE</field>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                              <statement name="DO0">
                                                                <block type="timeouts_clearinterval" id="zrxJAaEjJv;m|a|)IGvD">
                                                                  <field name="NAME">Intervall</field>
                                                                  <next>
                                                                    <block type="control" id="3^~r{uZhNgqaBlKkH~G{">
                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                                      <field name="OID">hue-extended.0.groups.stimmungslicht__schlafzimmer_-5.action.on</field>
                                                                      <field name="WITH_DELAY">TRUE</field>
                                                                      <field name="DELAY_MS">60</field>
                                                                      <field name="UNIT">sec</field>
                                                                      <field name="CLEAR_RUNNING">FALSE</field>
                                                                      <value name="VALUE">
                                                                        <block type="logic_boolean" id=".)4%+#]?1JYZ3g$KU*[V">
                                                                          <field name="BOOL">FALSE</field>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </statement>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </statement>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </statement>
                </block>
              </statement>
            </block>
          </xml>
          

          Liebe Grüße

          Ich küsse gern mein braunes Weib
          Und meine lieben Kinder,
          Und das tut wahrlich doch mein Leib,
          Und mir ist es gesünder.

          1 Antwort Letzte Antwort
          0
          • HomoranH Homoran

            Sorry, dass ich jetzt erst dazu komme meinen Sonnenaufgang zu posten:
            144_sonnenaufgang.png

            Export:

             <xml xmlns="http://www.w3.org/1999/xhtml"><block type="comment" id="e7P]EfnRO|mg|xzUU=#." x="88" y="-137"><field name="COMMENT">Sonnenaufgang per Schedule</field>
                <next><block type="schedule" id="mI!1MxMMqfmAkYTPMJX-"><field name="SCHEDULE">45 06 * * 1-5</field>
                    <statement name="STATEMENT"><block type="controls_if" id="y35~folwA64JELdx*aZ_"><value name="IF0"><block type="logic_compare" id="s3sEA.5IE{Fen=nr3}^("><field name="OP">EQ</field>
                            <value name="A"><block type="get_value" id="DOA7KEe-NvFZvDH{MK0B"><field name="ATTR">val</field>
                                <field name="OID">feiertage.0.today.boolean</field></block></value> 
                            <value name="B"><block type="logic_boolean" id="#rb1##iZs[9_sOPrxI[T"><field name="BOOL">FALSE</field></block></value></block></value> 
                        <statement name="DO0"><block type="timeouts_clearinterval" id="icH=6OkVId1/.haYArX-"><field name="NAME">Intervall</field>
                            <next><block type="variables_set" id="fVqkEb48.`%t[:LcLpje"><field name="VAR">Timesteps</field>
                                <value name="VALUE"><block type="math_number" id="pSw*~!|l[%.t]7;Ywu|s"><field name="NUM">0</field></block></value> 
                                <next><block type="variables_set" id=",-(_MP:7b]`f(|D7OF`M"><field name="VAR">Farbe_Hue</field>
                                    <value name="VALUE"><block type="math_number" id="1:[z]B%MWNE}N!hRhmEy"><field name="NUM">27</field></block></value> 
                                    <next><block type="variables_set" id="MQL8QGsHpuw%:IIz?,Ip"><field name="VAR">Farbe:Sat</field>
                                        <value name="VALUE"><block type="math_number" id="]AXkCF,taTjWXz4(%-eN"><field name="NUM">100</field></block></value> 
                                        <next><block type="comment" id="zL7Fs]/lGoKX#)_8Dx(7"><field name="COMMENT">Zeiteinheit pro Stufe</field>
                                            <next><block type="timeouts_setinterval" id="aYso6.3`0KZpiU!ixQ9T"><field name="NAME">Intervall</field>
                                                <field name="INTERVAL">40</field>
                                                <field name="UNIT">sec</field>
                                                <statement name="STATEMENT"><block type="control" id="_/oy-UP*Q|OpAe#8j6]z"><mutation delay_input="false"></mutation>
                                                    <field name="OID">tradfri.0.L-65539.lightbulb.transitionDuration</field>
                                                    <field name="WITH_DELAY">FALSE</field>
                                                    <value name="VALUE"><block type="math_number" id="LXPUqCPxF_5,=yaCm]Mh"><field name="NUM">0</field></block></value> 
                                                    <next><block type="control" id="EL#h3qPd3;k/WtxadMHp"><mutation delay_input="false"></mutation>
                                                        <field name="OID">tradfri.0.L-65539.lightbulb.brightness</field>
                                                        <field name="WITH_DELAY">FALSE</field>
                                                        <value name="VALUE"><block type="variables_get" id="}iroE9Nn~^%nw0Uv40@z"><field name="VAR">Timesteps</field></block></value> 
                                                        <next><block type="control" id="S~awpi`u+e#,,o?~L3J("><mutation delay_input="false"></mutation>
                                                            <field name="OID">tradfri.0.L-65539.lightbulb.transitionDuration</field>
                                                            <field name="WITH_DELAY">FALSE</field>
                                                            <value name="VALUE"><block type="math_number" id="H~d*_yP{Bc!T;|]H@zX%"><field name="NUM">0</field></block></value> 
                                                            <next><block type="control" id="th!vt7:0Tk0^Yv2@xlO^"><mutation delay_input="false"></mutation>
                                                                <field name="OID">tradfri.0.L-65539.lightbulb.hue</field>
                                                                <field name="WITH_DELAY">FALSE</field>
                                                                <value name="VALUE"><block type="variables_get" id="Pb6Yl!1+i!-fvuexZ.3i"><field name="VAR">Farbe_Hue</field></block></value> 
                                                                <next><block type="control" id="wU3N,FaRZ77wx,:i7G}@"><mutation delay_input="false"></mutation>
                                                                    <field name="OID">tradfri.0.L-65539.lightbulb.transitionDuration</field>
                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                    <value name="VALUE"><block type="math_number" id="87hw*u;(lW]E)_[Va*eO"><field name="NUM">0</field></block></value> 
                                                                    <next><block type="control" id="gE7}sOpkMH?!.Y7PNtpz"><mutation delay_input="false"></mutation>
                                                                        <field name="OID">tradfri.0.L-65539.lightbulb.saturation</field>
                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                        <value name="VALUE"><block type="variables_get" id="0%C^b;Y9b#OQ)/.tO[Qt"><field name="VAR">Farbe:Sat</field></block></value> 
                                                                        <next><block type="comment" id="6]MxZ:=}qAgQgny94518"><field name="COMMENT">Stufen erhöhen</field>
                                                                            <next><block type="variables_set" id="q|w6}P/MqM^Z]Q9c@lZp"><field name="VAR">Timesteps</field>
                                                                                <value name="VALUE"><block type="math_arithmetic" id="7^A`S:+9p^Egv)f[6)?/"><field name="OP">ADD</field>
                                                                                    <value name="A"><shadow type="math_number" id=",3Ix@FLr[leEH.PZxCTj"><field name="NUM">1</field></shadow> 
                                                                                      <block type="variables_get" id="6R+dE9AjkDe@_Q26AQE-"><field name="VAR">Timesteps</field></block></value> 
                                                                                    <value name="B"><shadow type="math_number" id="+/F]U2:je(yC3}oU@,LU"><field name="NUM">1</field></shadow> 
                                                                                      <block type="math_number" id="XC2hP/tC}U*qITEOk)db"><field name="NUM">1</field></block></value></block></value> 
                                                                                <next><block type="variables_set" id="3u{v{:UzTA,tfbeouyOC"><field name="VAR">Farbe_Hue</field>
                                                                                    <value name="VALUE"><block type="math_arithmetic" id="1XiOvP|W[8jo=rRSg2%-"><field name="OP">ADD</field>
                                                                                        <value name="A"><shadow type="math_number" id=",3Ix@FLr[leEH.PZxCTj"><field name="NUM">1</field></shadow> 
                                                                                          <block type="variables_get" id=",/`@dMc_8K~rAi,=]DA{"><field name="VAR">Farbe_Hue</field></block></value> 
                                                                                        <value name="B"><shadow type="math_number" id="+/F]U2:je(yC3}oU@,LU"><field name="NUM">1</field></shadow> 
                                                                                          <block type="math_number" id="^2OM=4%4!ojW;=R8BPa0"><field name="NUM">0.1</field></block></value></block></value> 
                                                                                    <next><block type="variables_set" id="OJtc]JN(wj0Mc*}^B(mS"><field name="VAR">Farbe:Sat</field>
                                                                                        <value name="VALUE"><block type="math_arithmetic" id="pBsazw6;9z2l@JujGePr"><field name="OP">MINUS</field>
                                                                                            <value name="A"><shadow type="math_number" id=",3Ix@FLr[leEH.PZxCTj"><field name="NUM">1</field></shadow> 
                                                                                              <block type="variables_get" id="C+d5~VJ/h;oGJDLn47dc"><field name="VAR">Farbe:Sat</field></block></value> 
                                                                                            <value name="B"><shadow type="math_number" id="+/F]U2:je(yC3}oU@,LU"><field name="NUM">1</field></shadow> 
                                                                                              <block type="math_number" id="]l~mrti-7j^?,i05z@ZC"><field name="NUM">1</field></block></value></block></value> 
                                                                                        <next><block type="controls_if" id="c9d^cx}En)QJ^5LBl_.e"><value name="IF0"><block type="logic_compare" id="6S_vBdKEEXwB9y7dS+5Q"><field name="OP">EQ</field>
                                                                                                <value name="A"><block type="variables_get" id="`x=8)h:X3ni1O#OwO/;-"><field name="VAR">Timesteps</field></block></value> 
                                                                                                <value name="B"><block type="math_number" id="/eH;_D[-f!B,_d{.kQ#S"><field name="NUM">99</field></block></value></block></value> 
                                                                                            <statement name="DO0"><block type="comment" id="d@z26Wa+#kDyXAsPPolt"><field name="COMMENT">Wenn Endeinstellung erreicht stoppe Zyklen</field>
                                                                                                <next><block type="timeouts_clearinterval" id="YwJUV,R/}uU_PI:V7VXG"><field name="NAME">Intervall</field></block></next></block></statement></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block></next></block></next></block></next></block></next></block></next></block></statement></block></statement></block></next></block> 
              <block type="comment" id="*EFw|LDD~6Ss4b)In.eM" x="738" y="-138"><field name="COMMENT">Abbruch per Fernbedienung</field>
                <next><block type="on_ext" id=":Mw*gCWotTHocSv[3uwd"><mutation items="1"></mutation>
                    <field name="CONDITION">ne</field>
            
                    <value name="OID0"><shadow type="field_oid" id="Cj?.K4aL+{%eYH+_bS#L"><field name="oid">tradfri.0.L-65539.lightbulb.state</field></shadow></value> 
                    <statement name="STATEMENT"><block type="comment" id="m#[V-7wmJ_s0{XHXk=CO"><field name="COMMENT">wenn Fernbedienung aus dann stoppe Zyklen</field>
                        <next><block type="controls_if" id="_gdEV:4:y(?k:ip~o/b^"><value name="IF0"><block type="logic_operation" id="ghZ#k`vY-z}Re}]kdkyH" inline="false"><field name="OP">AND</field>
                                <value name="A"><block type="logic_compare" id="NFNS+kXaz8myPISu/9;0"><field name="OP">EQ</field>
                                    <value name="A"><block type="get_value" id="o(N]OR-Tqd4r/r/Q~F|d"><field name="ATTR">val</field>
                                        <field name="OID">tradfri.0.L-65539.lightbulb.state</field></block></value> 
                                    <value name="B"><block type="logic_boolean" id="4a;}(XEFQk[`hRRv1v8%"><field name="BOOL">FALSE</field></block></value></block></value> 
                                <value name="B"><block type="logic_compare" id="Ix|::b*3j!{%cpgkwjKC"><field name="OP">LT</field>
                                    <value name="A"><block type="variables_get" id="Ukl)t7G5qqZX?@`Z(Sj%"><field name="VAR">Timesteps</field></block></value> 
                                    <value name="B"><block type="math_number" id="O|pySQ}{qDn|Q9y,-T=["><field name="NUM">99</field></block></value></block></value></block></value> 
                            <statement name="DO0"><block type="timeouts_clearinterval" id="#`4q,dgH38Q6|+n%=6^:"><field name="NAME">Intervall</field></block></statement></block></next></block></statement></block></next></block></xml> 
            
            Basti97B Offline
            Basti97B Offline
            Basti97
            Most Active
            schrieb am zuletzt editiert von
            #15

            @homoran Ist dein Script noch aktuell? Würde es auch mit einen normalen RGB Streifen funktionieren.
            Diese Dbs habe ich

            72a6c0cc-3e89-409f-b9a1-2ef89a6e6883-grafik.png

            Iobroker läuft als VM auf Proxmoxserver x folgende Hersteller im Einsatz Sonoff, Gosund, Siemens x Aofo über Tasmota x Zigbee x das Smarthome wächst und wächst

            HomoranH 1 Antwort Letzte Antwort
            0
            • Basti97B Basti97

              @homoran Ist dein Script noch aktuell? Würde es auch mit einen normalen RGB Streifen funktionieren.
              Diese Dbs habe ich

              72a6c0cc-3e89-409f-b9a1-2ef89a6e6883-grafik.png

              HomoranH Nicht stören
              HomoranH Nicht stören
              Homoran
              Global Moderator Administrators
              schrieb am zuletzt editiert von
              #16

              @basti97 sagte in Gelöst [Blockly] Hue Lichtwecker:

              Ist dein Script noch aktuell

              ich kann mich nicht erinnern da noch groß was geändert zu haben. läuft bei mir immer och.

              @basti97 sagte in Gelöst [Blockly] Hue Lichtwecker:

              Würde es auch mit einen normalen RGB Streifen funktionieren.

              keine Ahnung. ist für den Tradfri Adapter konzipiert

              kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

              Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

              der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

              1 Antwort Letzte Antwort
              0
              • Basti97B Offline
                Basti97B Offline
                Basti97
                Most Active
                schrieb am zuletzt editiert von
                #17

                @homoran Ok danke ich werde es mal probieren.

                Iobroker läuft als VM auf Proxmoxserver x folgende Hersteller im Einsatz Sonoff, Gosund, Siemens x Aofo über Tasmota x Zigbee x das Smarthome wächst und wächst

                jmeister79J 1 Antwort Letzte Antwort
                0
                • Basti97B Basti97

                  @homoran Ok danke ich werde es mal probieren.

                  jmeister79J Offline
                  jmeister79J Offline
                  jmeister79
                  schrieb am zuletzt editiert von jmeister79
                  #18

                  @basti97 ich versuche auch grad das in rgb zu verwirklichen. Hast Du schon ne idee wie?

                  Via Gimp kann man ja RGB in HSV übersetzen.

                  Meine Lampe hat allerdings seltsame Datenpunkte.
                  Sowohl RGB als auch Brightness und Color Temp...

                  Die Colortemp scheint die RGB Farben zu überschreiben und umgekehrt.

                  Muss mich mal etwas mit der Farblehre diesbezüglich beschäftigen.

                  jmeister79J 1 Antwort Letzte Antwort
                  0
                  • jmeister79J jmeister79

                    @basti97 ich versuche auch grad das in rgb zu verwirklichen. Hast Du schon ne idee wie?

                    Via Gimp kann man ja RGB in HSV übersetzen.

                    Meine Lampe hat allerdings seltsame Datenpunkte.
                    Sowohl RGB als auch Brightness und Color Temp...

                    Die Colortemp scheint die RGB Farben zu überschreiben und umgekehrt.

                    Muss mich mal etwas mit der Farblehre diesbezüglich beschäftigen.

                    jmeister79J Offline
                    jmeister79J Offline
                    jmeister79
                    schrieb am zuletzt editiert von
                    #19

                    @jmeister79 habs hinbekommen.

                    Es basiert komplett auf der Arbeit von @Homoran und ist an Colortemp und Brightness meiens Lidl dingens angepasst. Müsste aber auch für LED Streifen gehen. Hab hier irgendwo sogar noch einen rumkleben.

                    Die Colortemp kann man entweder in Kelvin angeben oder wie ich es gemacht hab von 500 bis runter auf 153.
                    Das ist von Tattooine Twin Sunset bis Weißer Riese. Parallel die Helligkeit von 0 auf 100

                    Ich habe das Intervall testen auf 1s gestellt, so dauert es ca. 6min für einen "Sonnenaufgang" ich werde es auf 5s stellen so hab ich ca. ne halbe Stunde.

                    33459f0b-c63c-4ad5-9f9e-0db78a274254-image.png

                    
                    BlocklyJavascriptTypeScriptRules
                    Protokoll
                    Ausgewählte Blöcke exportieren
                    <xml xmlns="https://developers.google.com/blockly/xml">
                      <variables>
                        <variable id="!;/[u^vQs,tRIaZhN%@,">cycle_active</variable>
                        <variable id="K$?TZ05P_nNo#(2H~G#M">colortemp</variable>
                        <variable id="#`vBU..=KLr*eObqk]U:">brightness</variable>
                        <variable type="interval" id="Intervall">Intervall</variable>
                      </variables>
                      <block type="comment" id="e7P]EfnRO|mg|xzUU=#." x="88" y="-137">
                        <field name="COMMENT">Sonnenaufgang per Schedule</field>
                        <next>
                          <block type="schedule" id="mI!1MxMMqfmAkYTPMJX-">
                            <field name="SCHEDULE">45 5 * * 1-5</field>
                            <statement name="STATEMENT">
                              <block type="controls_if" id="y35~folwA64JELdx*aZ_">
                                <value name="IF0">
                                  <block type="logic_compare" id="s3sEA.5IE{Fen=nr3}^(">
                                    <field name="OP">EQ</field>
                                    <value name="A">
                                      <block type="get_value" id="DOA7KEe-NvFZvDH{MK0B">
                                        <field name="ATTR">val</field>
                                        <field name="OID">javascript.0.Parameter.Urlaub</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="logic_boolean" id="#rb1##iZs[9_sOPrxI[T">
                                        <field name="BOOL">FALSE</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="control_ex" id="3YN{3i5Wz{0%p{Ey|Lnd">
                                    <field name="TYPE">false</field>
                                    <field name="CLEAR_RUNNING">FALSE</field>
                                    <value name="OID">
                                      <shadow type="field_oid">
                                        <field name="oid">Object ID</field>
                                      </shadow>
                                      <block type="field_oid" id="/dsN)+8$UZUcE?1vrU12">
                                        <field name="oid">zigbee.0.cc86ecfffec1c74f.state</field>
                                      </block>
                                    </value>
                                    <value name="VALUE">
                                      <shadow type="logic_boolean" id="ZglUN6GoTCa%xNusP!az">
                                        <field name="BOOL">TRUE</field>
                                      </shadow>
                                    </value>
                                    <value name="DELAY_MS">
                                      <shadow type="math_number" id="czDJd`$Yz3r.XkrMhv09">
                                        <field name="NUM">0</field>
                                      </shadow>
                                    </value>
                                    <next>
                                      <block type="timeouts_clearinterval" id="icH=6OkVId1/.haYArX-">
                                        <field name="NAME">Intervall</field>
                                        <next>
                                          <block type="variables_set" id="fVqkEb48.`%t[:LcLpje">
                                            <field name="VAR" id="!;/[u^vQs,tRIaZhN%@,">cycle_active</field>
                                            <value name="VALUE">
                                              <block type="logic_boolean" id="S#m_=UYR,kQ+!qIeK56W">
                                                <field name="BOOL">FALSE</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="variables_set" id=",-(_MP:7b]`f(|D7OF`M">
                                                <field name="VAR" id="K$?TZ05P_nNo#(2H~G#M">colortemp</field>
                                                <value name="VALUE">
                                                  <block type="math_number" id="1:[z]B%MWNE}N!hRhmEy">
                                                    <field name="NUM">500</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="variables_set" id="MQL8QGsHpuw%:IIz?,Ip">
                                                    <field name="VAR" id="#`vBU..=KLr*eObqk]U:">brightness</field>
                                                    <value name="VALUE">
                                                      <block type="math_number" id="]AXkCF,taTjWXz4(%-eN">
                                                        <field name="NUM">0</field>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="comment" id="zL7Fs]/lGoKX#)_8Dx(7">
                                                        <field name="COMMENT">Zeiteinheit pro Stufe</field>
                                                        <next>
                                                          <block type="timeouts_setinterval" id="aYso6.3`0KZpiU!ixQ9T">
                                                            <field name="NAME">Intervall</field>
                                                            <field name="INTERVAL">1</field>
                                                            <field name="UNIT">sec</field>
                                                            <statement name="STATEMENT">
                                                              <block type="control" id="_/oy-UP*Q|OpAe#8j6]z">
                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                <field name="OID">zigbee.0.cc86ecfffec1c74f.transition_time</field>
                                                                <field name="WITH_DELAY">FALSE</field>
                                                                <value name="VALUE">
                                                                  <block type="math_number" id="LXPUqCPxF_5,=yaCm]Mh">
                                                                    <field name="NUM">0</field>
                                                                  </block>
                                                                </value>
                                                                <next>
                                                                  <block type="control" id="EL#h3qPd3;k/WtxadMHp">
                                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                    <field name="OID">zigbee.0.cc86ecfffec1c74f.brightness</field>
                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                    <value name="VALUE">
                                                                      <block type="variables_get" id="}iroE9Nn~^%nw0Uv40@z">
                                                                        <field name="VAR" id="#`vBU..=KLr*eObqk]U:">brightness</field>
                                                                      </block>
                                                                    </value>
                                                                    <next>
                                                                      <block type="control" id="S~awpi`u+e#,,o?~L3J(">
                                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                        <field name="OID">zigbee.0.cc86ecfffec1c74f.transition_time</field>
                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                        <value name="VALUE">
                                                                          <block type="math_number" id="H~d*_yP{Bc!T;|]H@zX%">
                                                                            <field name="NUM">0</field>
                                                                          </block>
                                                                        </value>
                                                                        <next>
                                                                          <block type="control" id="th!vt7:0Tk0^Yv2@xlO^">
                                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                            <field name="OID">zigbee.0.cc86ecfffec1c74f.colortemp</field>
                                                                            <field name="WITH_DELAY">FALSE</field>
                                                                            <value name="VALUE">
                                                                              <block type="variables_get" id="Pb6Yl!1+i!-fvuexZ.3i">
                                                                                <field name="VAR" id="K$?TZ05P_nNo#(2H~G#M">colortemp</field>
                                                                              </block>
                                                                            </value>
                                                                            <next>
                                                                              <block type="control" id="wU3N,FaRZ77wx,:i7G}@">
                                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                <field name="OID">zigbee.0.cc86ecfffec1c74f.transition_time</field>
                                                                                <field name="WITH_DELAY">FALSE</field>
                                                                                <value name="VALUE">
                                                                                  <block type="math_number" id="87hw*u;(lW]E)_[Va*eO">
                                                                                    <field name="NUM">0</field>
                                                                                  </block>
                                                                                </value>
                                                                                <next>
                                                                                  <block type="comment" id="6]MxZ:=}qAgQgny94518">
                                                                                    <field name="COMMENT">Stufen erhöhen (ims ekundentakt brauchen sie 6 min)</field>
                                                                                    <next>
                                                                                      <block type="variables_set" id="q|w6}P/MqM^Z]Q9c@lZp">
                                                                                        <field name="VAR" id="!;/[u^vQs,tRIaZhN%@,">cycle_active</field>
                                                                                        <value name="VALUE">
                                                                                          <block type="logic_boolean" id="?{u0tERi57^BOi#U?T0q">
                                                                                            <field name="BOOL">TRUE</field>
                                                                                          </block>
                                                                                        </value>
                                                                                        <next>
                                                                                          <block type="variables_set" id="3u{v{:UzTA,tfbeouyOC">
                                                                                            <field name="VAR" id="#`vBU..=KLr*eObqk]U:">brightness</field>
                                                                                            <value name="VALUE">
                                                                                              <block type="math_arithmetic" id="1XiOvP|W[8jo=rRSg2%-">
                                                                                                <field name="OP">ADD</field>
                                                                                                <value name="A">
                                                                                                  <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id=",3Ix@FLr[leEH.PZxCTj">
                                                                                                    <field name="NUM">1</field>
                                                                                                  </shadow>
                                                                                                  <block type="variables_get" id=",/`@dMc_8K~rAi,=]DA{">
                                                                                                    <field name="VAR" id="#`vBU..=KLr*eObqk]U:">brightness</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="B">
                                                                                                  <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="+/F]U2:je(yC3}oU@,LU">
                                                                                                    <field name="NUM">1</field>
                                                                                                  </shadow>
                                                                                                  <block type="math_number" id="^2OM=4%4!ojW;=R8BPa0">
                                                                                                    <field name="NUM">0.28</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                              </block>
                                                                                            </value>
                                                                                            <next>
                                                                                              <block type="variables_set" id="OJtc]JN(wj0Mc*}^B(mS">
                                                                                                <field name="VAR" id="K$?TZ05P_nNo#(2H~G#M">colortemp</field>
                                                                                                <value name="VALUE">
                                                                                                  <block type="math_arithmetic" id="pBsazw6;9z2l@JujGePr">
                                                                                                    <field name="OP">MINUS</field>
                                                                                                    <value name="A">
                                                                                                      <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id=",3Ix@FLr[leEH.PZxCTj">
                                                                                                        <field name="NUM">1</field>
                                                                                                      </shadow>
                                                                                                      <block type="variables_get" id="C+d5~VJ/h;oGJDLn47dc">
                                                                                                        <field name="VAR" id="K$?TZ05P_nNo#(2H~G#M">colortemp</field>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                    <value name="B">
                                                                                                      <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="+/F]U2:je(yC3}oU@,LU">
                                                                                                        <field name="NUM">1</field>
                                                                                                      </shadow>
                                                                                                      <block type="math_number" id="]l~mrti-7j^?,i05z@ZC">
                                                                                                        <field name="NUM">1</field>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <next>
                                                                                                  <block type="controls_if" id="c9d^cx}En)QJ^5LBl_.e">
                                                                                                    <value name="IF0">
                                                                                                      <block type="logic_operation" id="6xUzHTC-$2v8g6ZoOx0~">
                                                                                                        <field name="OP">AND</field>
                                                                                                        <value name="A">
                                                                                                          <block type="logic_compare" id="6S_vBdKEEXwB9y7dS+5Q">
                                                                                                            <field name="OP">LTE</field>
                                                                                                            <value name="A">
                                                                                                              <block type="variables_get" id="`x=8)h:X3ni1O#OwO/;-">
                                                                                                                <field name="VAR" id="K$?TZ05P_nNo#(2H~G#M">colortemp</field>
                                                                                                              </block>
                                                                                                            </value>
                                                                                                            <value name="B">
                                                                                                              <block type="math_number" id="/eH;_D[-f!B,_d{.kQ#S">
                                                                                                                <field name="NUM">153</field>
                                                                                                              </block>
                                                                                                            </value>
                                                                                                          </block>
                                                                                                        </value>
                                                                                                        <value name="B">
                                                                                                          <block type="logic_compare" id="y63_7Joq9ZQrG3wg.1)/">
                                                                                                            <field name="OP">GTE</field>
                                                                                                            <value name="A">
                                                                                                              <block type="variables_get" id="WL]Ta,[5EEyOyKK)+=wu">
                                                                                                                <field name="VAR" id="#`vBU..=KLr*eObqk]U:">brightness</field>
                                                                                                              </block>
                                                                                                            </value>
                                                                                                            <value name="B">
                                                                                                              <block type="math_number" id="B5CbauAhU|AnKd3OuWV*">
                                                                                                                <field name="NUM">100</field>
                                                                                                              </block>
                                                                                                            </value>
                                                                                                          </block>
                                                                                                        </value>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                    <statement name="DO0">
                                                                                                      <block type="comment" id="d@z26Wa+#kDyXAsPPolt">
                                                                                                        <field name="COMMENT">Wenn Endeinstellung erreicht stoppe Zyklen</field>
                                                                                                        <next>
                                                                                                          <block type="timeouts_clearinterval" id="YwJUV,R/}uU_PI:V7VXG">
                                                                                                            <field name="NAME">Intervall</field>
                                                                                                          </block>
                                                                                                        </next>
                                                                                                      </block>
                                                                                                    </statement>
                                                                                                  </block>
                                                                                                </next>
                                                                                              </block>
                                                                                            </next>
                                                                                          </block>
                                                                                        </next>
                                                                                      </block>
                                                                                    </next>
                                                                                  </block>
                                                                                </next>
                                                                              </block>
                                                                            </next>
                                                                          </block>
                                                                        </next>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </statement>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </statement>
                              </block>
                            </statement>
                          </block>
                        </next>
                      </block>
                      <block type="comment" id="*EFw|LDD~6Ss4b)In.eM" x="613" y="-162">
                        <field name="COMMENT">Abbruch per Fernbedienung</field>
                        <next>
                          <block type="on_ext" id=":Mw*gCWotTHocSv[3uwd">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                            <field name="CONDITION">ne</field>
                            <field name="ACK_CONDITION"></field>
                            <value name="OID0">
                              <shadow type="field_oid" id="Cj?.K4aL+{%eYH+_bS#L">
                                <field name="oid">zigbee.0.cc86ecfffec1c74f.state</field>
                              </shadow>
                            </value>
                            <statement name="STATEMENT">
                              <block type="comment" id="m#[V-7wmJ_s0{XHXk=CO">
                                <field name="COMMENT">wenn Fernbedienung aus dann stoppe Zyklen</field>
                                <next>
                                  <block type="controls_if" id="_gdEV:4:y(?k:ip~o/b^">
                                    <value name="IF0">
                                      <block type="logic_operation" id="ghZ#k`vY-z}Re}]kdkyH" inline="false">
                                        <field name="OP">AND</field>
                                        <value name="A">
                                          <block type="logic_compare" id="NFNS+kXaz8myPISu/9;0">
                                            <field name="OP">EQ</field>
                                            <value name="A">
                                              <block type="get_value" id="o(N]OR-Tqd4r/r/Q~F|d">
                                                <field name="ATTR">val</field>
                                                <field name="OID">zigbee.0.cc86ecfffec1c74f.state</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="logic_boolean" id="4a;}(XEFQk[`hRRv1v8%">
                                                <field name="BOOL">FALSE</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="logic_compare" id="Ix|::b*3j!{%cpgkwjKC">
                                            <field name="OP">EQ</field>
                                            <value name="A">
                                              <block type="variables_get" id="Ukl)t7G5qqZX?@`Z(Sj%">
                                                <field name="VAR" id="!;/[u^vQs,tRIaZhN%@,">cycle_active</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="logic_boolean" id="lpJs4t=stg,DVhEDR$p`">
                                                <field name="BOOL">TRUE</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="timeouts_clearinterval" id="#`4q,dgH38Q6|+n%=6^:">
                                        <field name="NAME">Intervall</field>
                                      </block>
                                    </statement>
                                  </block>
                                </next>
                              </block>
                            </statement>
                          </block>
                        </next>
                      </block>
                    </xml>
                    <xml xmlns="https://developers.google.com/blockly/xml">
                      <variables>
                        <variable id="!;/[u^vQs,tRIaZhN%@,">cycle_active</variable>
                        <variable id="K$?TZ05P_nNo#(2H~G#M">colortemp</variable>
                        <variable id="#`vBU..=KLr*eObqk]U:">brightness</variable>
                        <variable type="interval" id="Intervall">Intervall</variable>
                      </variables>
                      <block type="comment" id="e7P]EfnRO|mg|xzUU=#." x="88" y="-137">
                        <field name="COMMENT">Sonnenaufgang per Schedule</field>
                        <next>
                          <block type="schedule" id="mI!1MxMMqfmAkYTPMJX-">
                            <field name="SCHEDULE">45 5 * * 1-5</field>
                            <statement name="STATEMENT">
                              <block type="controls_if" id="y35~folwA64JELdx*aZ_">
                                <value name="IF0">
                                  <block type="logic_compare" id="s3sEA.5IE{Fen=nr3}^(">
                                    <field name="OP">EQ</field>
                                    <value name="A">
                                      <block type="get_value" id="DOA7KEe-NvFZvDH{MK0B">
                                        <field name="ATTR">val</field>
                                        <field name="OID">javascript.0.Parameter.Urlaub</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="logic_boolean" id="#rb1##iZs[9_sOPrxI[T">
                                        <field name="BOOL">FALSE</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="control_ex" id="3YN{3i5Wz{0%p{Ey|Lnd">
                                    <field name="TYPE">false</field>
                                    <field name="CLEAR_RUNNING">FALSE</field>
                                    <value name="OID">
                                      <shadow type="field_oid">
                                        <field name="oid">Object ID</field>
                                      </shadow>
                                      <block type="field_oid" id="/dsN)+8$UZUcE?1vrU12">
                                        <field name="oid">zigbee.0.cc86ecfffec1c74f.state</field>
                                      </block>
                                    </value>
                                    <value name="VALUE">
                                      <shadow type="logic_boolean" id="ZglUN6GoTCa%xNusP!az">
                                        <field name="BOOL">TRUE</field>
                                      </shadow>
                                    </value>
                                    <value name="DELAY_MS">
                                      <shadow type="math_number" id="czDJd`$Yz3r.XkrMhv09">
                                        <field name="NUM">0</field>
                                      </shadow>
                                    </value>
                                    <next>
                                      <block type="timeouts_clearinterval" id="icH=6OkVId1/.haYArX-">
                                        <field name="NAME">Intervall</field>
                                        <next>
                                          <block type="variables_set" id="fVqkEb48.`%t[:LcLpje">
                                            <field name="VAR" id="!;/[u^vQs,tRIaZhN%@,">cycle_active</field>
                                            <value name="VALUE">
                                              <block type="logic_boolean" id="S#m_=UYR,kQ+!qIeK56W">
                                                <field name="BOOL">FALSE</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="variables_set" id=",-(_MP:7b]`f(|D7OF`M">
                                                <field name="VAR" id="K$?TZ05P_nNo#(2H~G#M">colortemp</field>
                                                <value name="VALUE">
                                                  <block type="math_number" id="1:[z]B%MWNE}N!hRhmEy">
                                                    <field name="NUM">500</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="variables_set" id="MQL8QGsHpuw%:IIz?,Ip">
                                                    <field name="VAR" id="#`vBU..=KLr*eObqk]U:">brightness</field>
                                                    <value name="VALUE">
                                                      <block type="math_number" id="]AXkCF,taTjWXz4(%-eN">
                                                        <field name="NUM">0</field>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="comment" id="zL7Fs]/lGoKX#)_8Dx(7">
                                                        <field name="COMMENT">Zeiteinheit pro Stufe</field>
                                                        <next>
                                                          <block type="timeouts_setinterval" id="aYso6.3`0KZpiU!ixQ9T">
                                                            <field name="NAME">Intervall</field>
                                                            <field name="INTERVAL">1</field>
                                                            <field name="UNIT">sec</field>
                                                            <statement name="STATEMENT">
                                                              <block type="control" id="_/oy-UP*Q|OpAe#8j6]z">
                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                <field name="OID">zigbee.0.cc86ecfffec1c74f.transition_time</field>
                                                                <field name="WITH_DELAY">FALSE</field>
                                                                <value name="VALUE">
                                                                  <block type="math_number" id="LXPUqCPxF_5,=yaCm]Mh">
                                                                    <field name="NUM">0</field>
                                                                  </block>
                                                                </value>
                                                                <next>
                                                                  <block type="control" id="EL#h3qPd3;k/WtxadMHp">
                                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                    <field name="OID">zigbee.0.cc86ecfffec1c74f.brightness</field>
                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                    <value name="VALUE">
                                                                      <block type="variables_get" id="}iroE9Nn~^%nw0Uv40@z">
                                                                        <field name="VAR" id="#`vBU..=KLr*eObqk]U:">brightness</field>
                                                                      </block>
                                                                    </value>
                                                                    <next>
                                                                      <block type="control" id="S~awpi`u+e#,,o?~L3J(">
                                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                        <field name="OID">zigbee.0.cc86ecfffec1c74f.transition_time</field>
                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                        <value name="VALUE">
                                                                          <block type="math_number" id="H~d*_yP{Bc!T;|]H@zX%">
                                                                            <field name="NUM">0</field>
                                                                          </block>
                                                                        </value>
                                                                        <next>
                                                                          <block type="control" id="th!vt7:0Tk0^Yv2@xlO^">
                                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                            <field name="OID">zigbee.0.cc86ecfffec1c74f.colortemp</field>
                                                                            <field name="WITH_DELAY">FALSE</field>
                                                                            <value name="VALUE">
                                                                              <block type="variables_get" id="Pb6Yl!1+i!-fvuexZ.3i">
                                                                                <field name="VAR" id="K$?TZ05P_nNo#(2H~G#M">colortemp</field>
                                                                              </block>
                                                                            </value>
                                                                            <next>
                                                                              <block type="control" id="wU3N,FaRZ77wx,:i7G}@">
                                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                <field name="OID">zigbee.0.cc86ecfffec1c74f.transition_time</field>
                                                                                <field name="WITH_DELAY">FALSE</field>
                                                                                <value name="VALUE">
                                                                                  <block type="math_number" id="87hw*u;(lW]E)_[Va*eO">
                                                                                    <field name="NUM">0</field>
                                                                                  </block>
                                                                                </value>
                                                                                <next>
                                                                                  <block type="comment" id="6]MxZ:=}qAgQgny94518">
                                                                                    <field name="COMMENT">Stufen erhöhen (ims ekundentakt brauchen sie 6 min)</field>
                                                                                    <next>
                                                                                      <block type="variables_set" id="q|w6}P/MqM^Z]Q9c@lZp">
                                                                                        <field name="VAR" id="!;/[u^vQs,tRIaZhN%@,">cycle_active</field>
                                                                                        <value name="VALUE">
                                                                                          <block type="logic_boolean" id="?{u0tERi57^BOi#U?T0q">
                                                                                            <field name="BOOL">TRUE</field>
                                                                                          </block>
                                                                                        </value>
                                                                                        <next>
                                                                                          <block type="variables_set" id="3u{v{:UzTA,tfbeouyOC">
                                                                                            <field name="VAR" id="#`vBU..=KLr*eObqk]U:">brightness</field>
                                                                                            <value name="VALUE">
                                                                                              <block type="math_arithmetic" id="1XiOvP|W[8jo=rRSg2%-">
                                                                                                <field name="OP">ADD</field>
                                                                                                <value name="A">
                                                                                                  <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id=",3Ix@FLr[leEH.PZxCTj">
                                                                                                    <field name="NUM">1</field>
                                                                                                  </shadow>
                                                                                                  <block type="variables_get" id=",/`@dMc_8K~rAi,=]DA{">
                                                                                                    <field name="VAR" id="#`vBU..=KLr*eObqk]U:">brightness</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="B">
                                                                                                  <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="+/F]U2:je(yC3}oU@,LU">
                                                                                                    <field name="NUM">1</field>
                                                                                                  </shadow>
                                                                                                  <block type="math_number" id="^2OM=4%4!ojW;=R8BPa0">
                                                                                                    <field name="NUM">0.28</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                              </block>
                                                                                            </value>
                                                                                            <next>
                                                                                              <block type="variables_set" id="OJtc]JN(wj0Mc*}^B(mS">
                                                                                                <field name="VAR" id="K$?TZ05P_nNo#(2H~G#M">colortemp</field>
                                                                                                <value name="VALUE">
                                                                                                  <block type="math_arithmetic" id="pBsazw6;9z2l@JujGePr">
                                                                                                    <field name="OP">MINUS</field>
                                                                                                    <value name="A">
                                                                                                      <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id=",3Ix@FLr[leEH.PZxCTj">
                                                                                                        <field name="NUM">1</field>
                                                                                                      </shadow>
                                                                                                      <block type="variables_get" id="C+d5~VJ/h;oGJDLn47dc">
                                                                                                        <field name="VAR" id="K$?TZ05P_nNo#(2H~G#M">colortemp</field>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                    <value name="B">
                                                                                                      <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="+/F]U2:je(yC3}oU@,LU">
                                                                                                        <field name="NUM">1</field>
                                                                                                      </shadow>
                                                                                                      <block type="math_number" id="]l~mrti-7j^?,i05z@ZC">
                                                                                                        <field name="NUM">1</field>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <next>
                                                                                                  <block type="controls_if" id="c9d^cx}En)QJ^5LBl_.e">
                                                                                                    <value name="IF0">
                                                                                                      <block type="logic_operation" id="6xUzHTC-$2v8g6ZoOx0~">
                                                                                                        <field name="OP">AND</field>
                                                                                                        <value name="A">
                                                                                                          <block type="logic_compare" id="6S_vBdKEEXwB9y7dS+5Q">
                                                                                                            <field name="OP">LTE</field>
                                                                                                            <value name="A">
                                                                                                              <block type="variables_get" id="`x=8)h:X3ni1O#OwO/;-">
                                                                                                                <field name="VAR" id="K$?TZ05P_nNo#(2H~G#M">colortemp</field>
                                                                                                              </block>
                                                                                                            </value>
                                                                                                            <value name="B">
                                                                                                              <block type="math_number" id="/eH;_D[-f!B,_d{.kQ#S">
                                                                                                                <field name="NUM">153</field>
                                                                                                              </block>
                                                                                                            </value>
                                                                                                          </block>
                                                                                                        </value>
                                                                                                        <value name="B">
                                                                                                          <block type="logic_compare" id="y63_7Joq9ZQrG3wg.1)/">
                                                                                                            <field name="OP">GTE</field>
                                                                                                            <value name="A">
                                                                                                              <block type="variables_get" id="WL]Ta,[5EEyOyKK)+=wu">
                                                                                                                <field name="VAR" id="#`vBU..=KLr*eObqk]U:">brightness</field>
                                                                                                              </block>
                                                                                                            </value>
                                                                                                            <value name="B">
                                                                                                              <block type="math_number" id="B5CbauAhU|AnKd3OuWV*">
                                                                                                                <field name="NUM">100</field>
                                                                                                              </block>
                                                                                                            </value>
                                                                                                          </block>
                                                                                                        </value>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                    <statement name="DO0">
                                                                                                      <block type="comment" id="d@z26Wa+#kDyXAsPPolt">
                                                                                                        <field name="COMMENT">Wenn Endeinstellung erreicht stoppe Zyklen</field>
                                                                                                        <next>
                                                                                                          <block type="timeouts_clearinterval" id="YwJUV,R/}uU_PI:V7VXG">
                                                                                                            <field name="NAME">Intervall</field>
                                                                                                          </block>
                                                                                                        </next>
                                                                                                      </block>
                                                                                                    </statement>
                                                                                                  </block>
                                                                                                </next>
                                                                                              </block>
                                                                                            </next>
                                                                                          </block>
                                                                                        </next>
                                                                                      </block>
                                                                                    </next>
                                                                                  </block>
                                                                                </next>
                                                                              </block>
                                                                            </next>
                                                                          </block>
                                                                        </next>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </statement>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </statement>
                              </block>
                            </statement>
                          </block>
                        </next>
                      </block>
                      <block type="comment" id="*EFw|LDD~6Ss4b)In.eM" x="613" y="-162">
                        <field name="COMMENT">Abbruch per Fernbedienung</field>
                        <next>
                          <block type="on_ext" id=":Mw*gCWotTHocSv[3uwd">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                            <field name="CONDITION">ne</field>
                            <field name="ACK_CONDITION"></field>
                            <value name="OID0">
                              <shadow type="field_oid" id="Cj?.K4aL+{%eYH+_bS#L">
                                <field name="oid">zigbee.0.cc86ecfffec1c74f.state</field>
                              </shadow>
                            </value>
                            <statement name="STATEMENT">
                              <block type="comment" id="m#[V-7wmJ_s0{XHXk=CO">
                                <field name="COMMENT">wenn Fernbedienung aus dann stoppe Zyklen</field>
                                <next>
                                  <block type="controls_if" id="_gdEV:4:y(?k:ip~o/b^">
                                    <value name="IF0">
                                      <block type="logic_operation" id="ghZ#k`vY-z}Re}]kdkyH" inline="false">
                                        <field name="OP">AND</field>
                                        <value name="A">
                                          <block type="logic_compare" id="NFNS+kXaz8myPISu/9;0">
                                            <field name="OP">EQ</field>
                                            <value name="A">
                                              <block type="get_value" id="o(N]OR-Tqd4r/r/Q~F|d">
                                                <field name="ATTR">val</field>
                                                <field name="OID">zigbee.0.cc86ecfffec1c74f.state</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="logic_boolean" id="4a;}(XEFQk[`hRRv1v8%">
                                                <field name="BOOL">FALSE</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="logic_compare" id="Ix|::b*3j!{%cpgkwjKC">
                                            <field name="OP">EQ</field>
                                            <value name="A">
                                              <block type="variables_get" id="Ukl)t7G5qqZX?@`Z(Sj%">
                                                <field name="VAR" id="!;/[u^vQs,tRIaZhN%@,">cycle_active</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="logic_boolean" id="lpJs4t=stg,DVhEDR$p`">
                                                <field name="BOOL">TRUE</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="timeouts_clearinterval" id="#`4q,dgH38Q6|+n%=6^:">
                                        <field name="NAME">Intervall</field>
                                      </block>
                                    </statement>
                                  </block>
                                </next>
                              </block>
                            </statement>
                          </block>
                        </next>
                      </block>
                    </xml>
                    
                    

                    Nils

                    Basti97B 2 Antworten Letzte Antwort
                    0
                    • jmeister79J jmeister79

                      @jmeister79 habs hinbekommen.

                      Es basiert komplett auf der Arbeit von @Homoran und ist an Colortemp und Brightness meiens Lidl dingens angepasst. Müsste aber auch für LED Streifen gehen. Hab hier irgendwo sogar noch einen rumkleben.

                      Die Colortemp kann man entweder in Kelvin angeben oder wie ich es gemacht hab von 500 bis runter auf 153.
                      Das ist von Tattooine Twin Sunset bis Weißer Riese. Parallel die Helligkeit von 0 auf 100

                      Ich habe das Intervall testen auf 1s gestellt, so dauert es ca. 6min für einen "Sonnenaufgang" ich werde es auf 5s stellen so hab ich ca. ne halbe Stunde.

                      33459f0b-c63c-4ad5-9f9e-0db78a274254-image.png

                      
                      BlocklyJavascriptTypeScriptRules
                      Protokoll
                      Ausgewählte Blöcke exportieren
                      <xml xmlns="https://developers.google.com/blockly/xml">
                        <variables>
                          <variable id="!;/[u^vQs,tRIaZhN%@,">cycle_active</variable>
                          <variable id="K$?TZ05P_nNo#(2H~G#M">colortemp</variable>
                          <variable id="#`vBU..=KLr*eObqk]U:">brightness</variable>
                          <variable type="interval" id="Intervall">Intervall</variable>
                        </variables>
                        <block type="comment" id="e7P]EfnRO|mg|xzUU=#." x="88" y="-137">
                          <field name="COMMENT">Sonnenaufgang per Schedule</field>
                          <next>
                            <block type="schedule" id="mI!1MxMMqfmAkYTPMJX-">
                              <field name="SCHEDULE">45 5 * * 1-5</field>
                              <statement name="STATEMENT">
                                <block type="controls_if" id="y35~folwA64JELdx*aZ_">
                                  <value name="IF0">
                                    <block type="logic_compare" id="s3sEA.5IE{Fen=nr3}^(">
                                      <field name="OP">EQ</field>
                                      <value name="A">
                                        <block type="get_value" id="DOA7KEe-NvFZvDH{MK0B">
                                          <field name="ATTR">val</field>
                                          <field name="OID">javascript.0.Parameter.Urlaub</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="logic_boolean" id="#rb1##iZs[9_sOPrxI[T">
                                          <field name="BOOL">FALSE</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <statement name="DO0">
                                    <block type="control_ex" id="3YN{3i5Wz{0%p{Ey|Lnd">
                                      <field name="TYPE">false</field>
                                      <field name="CLEAR_RUNNING">FALSE</field>
                                      <value name="OID">
                                        <shadow type="field_oid">
                                          <field name="oid">Object ID</field>
                                        </shadow>
                                        <block type="field_oid" id="/dsN)+8$UZUcE?1vrU12">
                                          <field name="oid">zigbee.0.cc86ecfffec1c74f.state</field>
                                        </block>
                                      </value>
                                      <value name="VALUE">
                                        <shadow type="logic_boolean" id="ZglUN6GoTCa%xNusP!az">
                                          <field name="BOOL">TRUE</field>
                                        </shadow>
                                      </value>
                                      <value name="DELAY_MS">
                                        <shadow type="math_number" id="czDJd`$Yz3r.XkrMhv09">
                                          <field name="NUM">0</field>
                                        </shadow>
                                      </value>
                                      <next>
                                        <block type="timeouts_clearinterval" id="icH=6OkVId1/.haYArX-">
                                          <field name="NAME">Intervall</field>
                                          <next>
                                            <block type="variables_set" id="fVqkEb48.`%t[:LcLpje">
                                              <field name="VAR" id="!;/[u^vQs,tRIaZhN%@,">cycle_active</field>
                                              <value name="VALUE">
                                                <block type="logic_boolean" id="S#m_=UYR,kQ+!qIeK56W">
                                                  <field name="BOOL">FALSE</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="variables_set" id=",-(_MP:7b]`f(|D7OF`M">
                                                  <field name="VAR" id="K$?TZ05P_nNo#(2H~G#M">colortemp</field>
                                                  <value name="VALUE">
                                                    <block type="math_number" id="1:[z]B%MWNE}N!hRhmEy">
                                                      <field name="NUM">500</field>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="variables_set" id="MQL8QGsHpuw%:IIz?,Ip">
                                                      <field name="VAR" id="#`vBU..=KLr*eObqk]U:">brightness</field>
                                                      <value name="VALUE">
                                                        <block type="math_number" id="]AXkCF,taTjWXz4(%-eN">
                                                          <field name="NUM">0</field>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="comment" id="zL7Fs]/lGoKX#)_8Dx(7">
                                                          <field name="COMMENT">Zeiteinheit pro Stufe</field>
                                                          <next>
                                                            <block type="timeouts_setinterval" id="aYso6.3`0KZpiU!ixQ9T">
                                                              <field name="NAME">Intervall</field>
                                                              <field name="INTERVAL">1</field>
                                                              <field name="UNIT">sec</field>
                                                              <statement name="STATEMENT">
                                                                <block type="control" id="_/oy-UP*Q|OpAe#8j6]z">
                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                  <field name="OID">zigbee.0.cc86ecfffec1c74f.transition_time</field>
                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                  <value name="VALUE">
                                                                    <block type="math_number" id="LXPUqCPxF_5,=yaCm]Mh">
                                                                      <field name="NUM">0</field>
                                                                    </block>
                                                                  </value>
                                                                  <next>
                                                                    <block type="control" id="EL#h3qPd3;k/WtxadMHp">
                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                      <field name="OID">zigbee.0.cc86ecfffec1c74f.brightness</field>
                                                                      <field name="WITH_DELAY">FALSE</field>
                                                                      <value name="VALUE">
                                                                        <block type="variables_get" id="}iroE9Nn~^%nw0Uv40@z">
                                                                          <field name="VAR" id="#`vBU..=KLr*eObqk]U:">brightness</field>
                                                                        </block>
                                                                      </value>
                                                                      <next>
                                                                        <block type="control" id="S~awpi`u+e#,,o?~L3J(">
                                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                          <field name="OID">zigbee.0.cc86ecfffec1c74f.transition_time</field>
                                                                          <field name="WITH_DELAY">FALSE</field>
                                                                          <value name="VALUE">
                                                                            <block type="math_number" id="H~d*_yP{Bc!T;|]H@zX%">
                                                                              <field name="NUM">0</field>
                                                                            </block>
                                                                          </value>
                                                                          <next>
                                                                            <block type="control" id="th!vt7:0Tk0^Yv2@xlO^">
                                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                              <field name="OID">zigbee.0.cc86ecfffec1c74f.colortemp</field>
                                                                              <field name="WITH_DELAY">FALSE</field>
                                                                              <value name="VALUE">
                                                                                <block type="variables_get" id="Pb6Yl!1+i!-fvuexZ.3i">
                                                                                  <field name="VAR" id="K$?TZ05P_nNo#(2H~G#M">colortemp</field>
                                                                                </block>
                                                                              </value>
                                                                              <next>
                                                                                <block type="control" id="wU3N,FaRZ77wx,:i7G}@">
                                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                  <field name="OID">zigbee.0.cc86ecfffec1c74f.transition_time</field>
                                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                                  <value name="VALUE">
                                                                                    <block type="math_number" id="87hw*u;(lW]E)_[Va*eO">
                                                                                      <field name="NUM">0</field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <next>
                                                                                    <block type="comment" id="6]MxZ:=}qAgQgny94518">
                                                                                      <field name="COMMENT">Stufen erhöhen (ims ekundentakt brauchen sie 6 min)</field>
                                                                                      <next>
                                                                                        <block type="variables_set" id="q|w6}P/MqM^Z]Q9c@lZp">
                                                                                          <field name="VAR" id="!;/[u^vQs,tRIaZhN%@,">cycle_active</field>
                                                                                          <value name="VALUE">
                                                                                            <block type="logic_boolean" id="?{u0tERi57^BOi#U?T0q">
                                                                                              <field name="BOOL">TRUE</field>
                                                                                            </block>
                                                                                          </value>
                                                                                          <next>
                                                                                            <block type="variables_set" id="3u{v{:UzTA,tfbeouyOC">
                                                                                              <field name="VAR" id="#`vBU..=KLr*eObqk]U:">brightness</field>
                                                                                              <value name="VALUE">
                                                                                                <block type="math_arithmetic" id="1XiOvP|W[8jo=rRSg2%-">
                                                                                                  <field name="OP">ADD</field>
                                                                                                  <value name="A">
                                                                                                    <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id=",3Ix@FLr[leEH.PZxCTj">
                                                                                                      <field name="NUM">1</field>
                                                                                                    </shadow>
                                                                                                    <block type="variables_get" id=",/`@dMc_8K~rAi,=]DA{">
                                                                                                      <field name="VAR" id="#`vBU..=KLr*eObqk]U:">brightness</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="B">
                                                                                                    <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="+/F]U2:je(yC3}oU@,LU">
                                                                                                      <field name="NUM">1</field>
                                                                                                    </shadow>
                                                                                                    <block type="math_number" id="^2OM=4%4!ojW;=R8BPa0">
                                                                                                      <field name="NUM">0.28</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </value>
                                                                                              <next>
                                                                                                <block type="variables_set" id="OJtc]JN(wj0Mc*}^B(mS">
                                                                                                  <field name="VAR" id="K$?TZ05P_nNo#(2H~G#M">colortemp</field>
                                                                                                  <value name="VALUE">
                                                                                                    <block type="math_arithmetic" id="pBsazw6;9z2l@JujGePr">
                                                                                                      <field name="OP">MINUS</field>
                                                                                                      <value name="A">
                                                                                                        <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id=",3Ix@FLr[leEH.PZxCTj">
                                                                                                          <field name="NUM">1</field>
                                                                                                        </shadow>
                                                                                                        <block type="variables_get" id="C+d5~VJ/h;oGJDLn47dc">
                                                                                                          <field name="VAR" id="K$?TZ05P_nNo#(2H~G#M">colortemp</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <value name="B">
                                                                                                        <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="+/F]U2:je(yC3}oU@,LU">
                                                                                                          <field name="NUM">1</field>
                                                                                                        </shadow>
                                                                                                        <block type="math_number" id="]l~mrti-7j^?,i05z@ZC">
                                                                                                          <field name="NUM">1</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <next>
                                                                                                    <block type="controls_if" id="c9d^cx}En)QJ^5LBl_.e">
                                                                                                      <value name="IF0">
                                                                                                        <block type="logic_operation" id="6xUzHTC-$2v8g6ZoOx0~">
                                                                                                          <field name="OP">AND</field>
                                                                                                          <value name="A">
                                                                                                            <block type="logic_compare" id="6S_vBdKEEXwB9y7dS+5Q">
                                                                                                              <field name="OP">LTE</field>
                                                                                                              <value name="A">
                                                                                                                <block type="variables_get" id="`x=8)h:X3ni1O#OwO/;-">
                                                                                                                  <field name="VAR" id="K$?TZ05P_nNo#(2H~G#M">colortemp</field>
                                                                                                                </block>
                                                                                                              </value>
                                                                                                              <value name="B">
                                                                                                                <block type="math_number" id="/eH;_D[-f!B,_d{.kQ#S">
                                                                                                                  <field name="NUM">153</field>
                                                                                                                </block>
                                                                                                              </value>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                          <value name="B">
                                                                                                            <block type="logic_compare" id="y63_7Joq9ZQrG3wg.1)/">
                                                                                                              <field name="OP">GTE</field>
                                                                                                              <value name="A">
                                                                                                                <block type="variables_get" id="WL]Ta,[5EEyOyKK)+=wu">
                                                                                                                  <field name="VAR" id="#`vBU..=KLr*eObqk]U:">brightness</field>
                                                                                                                </block>
                                                                                                              </value>
                                                                                                              <value name="B">
                                                                                                                <block type="math_number" id="B5CbauAhU|AnKd3OuWV*">
                                                                                                                  <field name="NUM">100</field>
                                                                                                                </block>
                                                                                                              </value>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <statement name="DO0">
                                                                                                        <block type="comment" id="d@z26Wa+#kDyXAsPPolt">
                                                                                                          <field name="COMMENT">Wenn Endeinstellung erreicht stoppe Zyklen</field>
                                                                                                          <next>
                                                                                                            <block type="timeouts_clearinterval" id="YwJUV,R/}uU_PI:V7VXG">
                                                                                                              <field name="NAME">Intervall</field>
                                                                                                            </block>
                                                                                                          </next>
                                                                                                        </block>
                                                                                                      </statement>
                                                                                                    </block>
                                                                                                  </next>
                                                                                                </block>
                                                                                              </next>
                                                                                            </block>
                                                                                          </next>
                                                                                        </block>
                                                                                      </next>
                                                                                    </block>
                                                                                  </next>
                                                                                </block>
                                                                              </next>
                                                                            </block>
                                                                          </next>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </statement>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </statement>
                                </block>
                              </statement>
                            </block>
                          </next>
                        </block>
                        <block type="comment" id="*EFw|LDD~6Ss4b)In.eM" x="613" y="-162">
                          <field name="COMMENT">Abbruch per Fernbedienung</field>
                          <next>
                            <block type="on_ext" id=":Mw*gCWotTHocSv[3uwd">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                              <field name="CONDITION">ne</field>
                              <field name="ACK_CONDITION"></field>
                              <value name="OID0">
                                <shadow type="field_oid" id="Cj?.K4aL+{%eYH+_bS#L">
                                  <field name="oid">zigbee.0.cc86ecfffec1c74f.state</field>
                                </shadow>
                              </value>
                              <statement name="STATEMENT">
                                <block type="comment" id="m#[V-7wmJ_s0{XHXk=CO">
                                  <field name="COMMENT">wenn Fernbedienung aus dann stoppe Zyklen</field>
                                  <next>
                                    <block type="controls_if" id="_gdEV:4:y(?k:ip~o/b^">
                                      <value name="IF0">
                                        <block type="logic_operation" id="ghZ#k`vY-z}Re}]kdkyH" inline="false">
                                          <field name="OP">AND</field>
                                          <value name="A">
                                            <block type="logic_compare" id="NFNS+kXaz8myPISu/9;0">
                                              <field name="OP">EQ</field>
                                              <value name="A">
                                                <block type="get_value" id="o(N]OR-Tqd4r/r/Q~F|d">
                                                  <field name="ATTR">val</field>
                                                  <field name="OID">zigbee.0.cc86ecfffec1c74f.state</field>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="logic_boolean" id="4a;}(XEFQk[`hRRv1v8%">
                                                  <field name="BOOL">FALSE</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="logic_compare" id="Ix|::b*3j!{%cpgkwjKC">
                                              <field name="OP">EQ</field>
                                              <value name="A">
                                                <block type="variables_get" id="Ukl)t7G5qqZX?@`Z(Sj%">
                                                  <field name="VAR" id="!;/[u^vQs,tRIaZhN%@,">cycle_active</field>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="logic_boolean" id="lpJs4t=stg,DVhEDR$p`">
                                                  <field name="BOOL">TRUE</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO0">
                                        <block type="timeouts_clearinterval" id="#`4q,dgH38Q6|+n%=6^:">
                                          <field name="NAME">Intervall</field>
                                        </block>
                                      </statement>
                                    </block>
                                  </next>
                                </block>
                              </statement>
                            </block>
                          </next>
                        </block>
                      </xml>
                      <xml xmlns="https://developers.google.com/blockly/xml">
                        <variables>
                          <variable id="!;/[u^vQs,tRIaZhN%@,">cycle_active</variable>
                          <variable id="K$?TZ05P_nNo#(2H~G#M">colortemp</variable>
                          <variable id="#`vBU..=KLr*eObqk]U:">brightness</variable>
                          <variable type="interval" id="Intervall">Intervall</variable>
                        </variables>
                        <block type="comment" id="e7P]EfnRO|mg|xzUU=#." x="88" y="-137">
                          <field name="COMMENT">Sonnenaufgang per Schedule</field>
                          <next>
                            <block type="schedule" id="mI!1MxMMqfmAkYTPMJX-">
                              <field name="SCHEDULE">45 5 * * 1-5</field>
                              <statement name="STATEMENT">
                                <block type="controls_if" id="y35~folwA64JELdx*aZ_">
                                  <value name="IF0">
                                    <block type="logic_compare" id="s3sEA.5IE{Fen=nr3}^(">
                                      <field name="OP">EQ</field>
                                      <value name="A">
                                        <block type="get_value" id="DOA7KEe-NvFZvDH{MK0B">
                                          <field name="ATTR">val</field>
                                          <field name="OID">javascript.0.Parameter.Urlaub</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="logic_boolean" id="#rb1##iZs[9_sOPrxI[T">
                                          <field name="BOOL">FALSE</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <statement name="DO0">
                                    <block type="control_ex" id="3YN{3i5Wz{0%p{Ey|Lnd">
                                      <field name="TYPE">false</field>
                                      <field name="CLEAR_RUNNING">FALSE</field>
                                      <value name="OID">
                                        <shadow type="field_oid">
                                          <field name="oid">Object ID</field>
                                        </shadow>
                                        <block type="field_oid" id="/dsN)+8$UZUcE?1vrU12">
                                          <field name="oid">zigbee.0.cc86ecfffec1c74f.state</field>
                                        </block>
                                      </value>
                                      <value name="VALUE">
                                        <shadow type="logic_boolean" id="ZglUN6GoTCa%xNusP!az">
                                          <field name="BOOL">TRUE</field>
                                        </shadow>
                                      </value>
                                      <value name="DELAY_MS">
                                        <shadow type="math_number" id="czDJd`$Yz3r.XkrMhv09">
                                          <field name="NUM">0</field>
                                        </shadow>
                                      </value>
                                      <next>
                                        <block type="timeouts_clearinterval" id="icH=6OkVId1/.haYArX-">
                                          <field name="NAME">Intervall</field>
                                          <next>
                                            <block type="variables_set" id="fVqkEb48.`%t[:LcLpje">
                                              <field name="VAR" id="!;/[u^vQs,tRIaZhN%@,">cycle_active</field>
                                              <value name="VALUE">
                                                <block type="logic_boolean" id="S#m_=UYR,kQ+!qIeK56W">
                                                  <field name="BOOL">FALSE</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="variables_set" id=",-(_MP:7b]`f(|D7OF`M">
                                                  <field name="VAR" id="K$?TZ05P_nNo#(2H~G#M">colortemp</field>
                                                  <value name="VALUE">
                                                    <block type="math_number" id="1:[z]B%MWNE}N!hRhmEy">
                                                      <field name="NUM">500</field>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="variables_set" id="MQL8QGsHpuw%:IIz?,Ip">
                                                      <field name="VAR" id="#`vBU..=KLr*eObqk]U:">brightness</field>
                                                      <value name="VALUE">
                                                        <block type="math_number" id="]AXkCF,taTjWXz4(%-eN">
                                                          <field name="NUM">0</field>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="comment" id="zL7Fs]/lGoKX#)_8Dx(7">
                                                          <field name="COMMENT">Zeiteinheit pro Stufe</field>
                                                          <next>
                                                            <block type="timeouts_setinterval" id="aYso6.3`0KZpiU!ixQ9T">
                                                              <field name="NAME">Intervall</field>
                                                              <field name="INTERVAL">1</field>
                                                              <field name="UNIT">sec</field>
                                                              <statement name="STATEMENT">
                                                                <block type="control" id="_/oy-UP*Q|OpAe#8j6]z">
                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                  <field name="OID">zigbee.0.cc86ecfffec1c74f.transition_time</field>
                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                  <value name="VALUE">
                                                                    <block type="math_number" id="LXPUqCPxF_5,=yaCm]Mh">
                                                                      <field name="NUM">0</field>
                                                                    </block>
                                                                  </value>
                                                                  <next>
                                                                    <block type="control" id="EL#h3qPd3;k/WtxadMHp">
                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                      <field name="OID">zigbee.0.cc86ecfffec1c74f.brightness</field>
                                                                      <field name="WITH_DELAY">FALSE</field>
                                                                      <value name="VALUE">
                                                                        <block type="variables_get" id="}iroE9Nn~^%nw0Uv40@z">
                                                                          <field name="VAR" id="#`vBU..=KLr*eObqk]U:">brightness</field>
                                                                        </block>
                                                                      </value>
                                                                      <next>
                                                                        <block type="control" id="S~awpi`u+e#,,o?~L3J(">
                                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                          <field name="OID">zigbee.0.cc86ecfffec1c74f.transition_time</field>
                                                                          <field name="WITH_DELAY">FALSE</field>
                                                                          <value name="VALUE">
                                                                            <block type="math_number" id="H~d*_yP{Bc!T;|]H@zX%">
                                                                              <field name="NUM">0</field>
                                                                            </block>
                                                                          </value>
                                                                          <next>
                                                                            <block type="control" id="th!vt7:0Tk0^Yv2@xlO^">
                                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                              <field name="OID">zigbee.0.cc86ecfffec1c74f.colortemp</field>
                                                                              <field name="WITH_DELAY">FALSE</field>
                                                                              <value name="VALUE">
                                                                                <block type="variables_get" id="Pb6Yl!1+i!-fvuexZ.3i">
                                                                                  <field name="VAR" id="K$?TZ05P_nNo#(2H~G#M">colortemp</field>
                                                                                </block>
                                                                              </value>
                                                                              <next>
                                                                                <block type="control" id="wU3N,FaRZ77wx,:i7G}@">
                                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                  <field name="OID">zigbee.0.cc86ecfffec1c74f.transition_time</field>
                                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                                  <value name="VALUE">
                                                                                    <block type="math_number" id="87hw*u;(lW]E)_[Va*eO">
                                                                                      <field name="NUM">0</field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <next>
                                                                                    <block type="comment" id="6]MxZ:=}qAgQgny94518">
                                                                                      <field name="COMMENT">Stufen erhöhen (ims ekundentakt brauchen sie 6 min)</field>
                                                                                      <next>
                                                                                        <block type="variables_set" id="q|w6}P/MqM^Z]Q9c@lZp">
                                                                                          <field name="VAR" id="!;/[u^vQs,tRIaZhN%@,">cycle_active</field>
                                                                                          <value name="VALUE">
                                                                                            <block type="logic_boolean" id="?{u0tERi57^BOi#U?T0q">
                                                                                              <field name="BOOL">TRUE</field>
                                                                                            </block>
                                                                                          </value>
                                                                                          <next>
                                                                                            <block type="variables_set" id="3u{v{:UzTA,tfbeouyOC">
                                                                                              <field name="VAR" id="#`vBU..=KLr*eObqk]U:">brightness</field>
                                                                                              <value name="VALUE">
                                                                                                <block type="math_arithmetic" id="1XiOvP|W[8jo=rRSg2%-">
                                                                                                  <field name="OP">ADD</field>
                                                                                                  <value name="A">
                                                                                                    <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id=",3Ix@FLr[leEH.PZxCTj">
                                                                                                      <field name="NUM">1</field>
                                                                                                    </shadow>
                                                                                                    <block type="variables_get" id=",/`@dMc_8K~rAi,=]DA{">
                                                                                                      <field name="VAR" id="#`vBU..=KLr*eObqk]U:">brightness</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="B">
                                                                                                    <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="+/F]U2:je(yC3}oU@,LU">
                                                                                                      <field name="NUM">1</field>
                                                                                                    </shadow>
                                                                                                    <block type="math_number" id="^2OM=4%4!ojW;=R8BPa0">
                                                                                                      <field name="NUM">0.28</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </value>
                                                                                              <next>
                                                                                                <block type="variables_set" id="OJtc]JN(wj0Mc*}^B(mS">
                                                                                                  <field name="VAR" id="K$?TZ05P_nNo#(2H~G#M">colortemp</field>
                                                                                                  <value name="VALUE">
                                                                                                    <block type="math_arithmetic" id="pBsazw6;9z2l@JujGePr">
                                                                                                      <field name="OP">MINUS</field>
                                                                                                      <value name="A">
                                                                                                        <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id=",3Ix@FLr[leEH.PZxCTj">
                                                                                                          <field name="NUM">1</field>
                                                                                                        </shadow>
                                                                                                        <block type="variables_get" id="C+d5~VJ/h;oGJDLn47dc">
                                                                                                          <field name="VAR" id="K$?TZ05P_nNo#(2H~G#M">colortemp</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <value name="B">
                                                                                                        <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="+/F]U2:je(yC3}oU@,LU">
                                                                                                          <field name="NUM">1</field>
                                                                                                        </shadow>
                                                                                                        <block type="math_number" id="]l~mrti-7j^?,i05z@ZC">
                                                                                                          <field name="NUM">1</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <next>
                                                                                                    <block type="controls_if" id="c9d^cx}En)QJ^5LBl_.e">
                                                                                                      <value name="IF0">
                                                                                                        <block type="logic_operation" id="6xUzHTC-$2v8g6ZoOx0~">
                                                                                                          <field name="OP">AND</field>
                                                                                                          <value name="A">
                                                                                                            <block type="logic_compare" id="6S_vBdKEEXwB9y7dS+5Q">
                                                                                                              <field name="OP">LTE</field>
                                                                                                              <value name="A">
                                                                                                                <block type="variables_get" id="`x=8)h:X3ni1O#OwO/;-">
                                                                                                                  <field name="VAR" id="K$?TZ05P_nNo#(2H~G#M">colortemp</field>
                                                                                                                </block>
                                                                                                              </value>
                                                                                                              <value name="B">
                                                                                                                <block type="math_number" id="/eH;_D[-f!B,_d{.kQ#S">
                                                                                                                  <field name="NUM">153</field>
                                                                                                                </block>
                                                                                                              </value>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                          <value name="B">
                                                                                                            <block type="logic_compare" id="y63_7Joq9ZQrG3wg.1)/">
                                                                                                              <field name="OP">GTE</field>
                                                                                                              <value name="A">
                                                                                                                <block type="variables_get" id="WL]Ta,[5EEyOyKK)+=wu">
                                                                                                                  <field name="VAR" id="#`vBU..=KLr*eObqk]U:">brightness</field>
                                                                                                                </block>
                                                                                                              </value>
                                                                                                              <value name="B">
                                                                                                                <block type="math_number" id="B5CbauAhU|AnKd3OuWV*">
                                                                                                                  <field name="NUM">100</field>
                                                                                                                </block>
                                                                                                              </value>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <statement name="DO0">
                                                                                                        <block type="comment" id="d@z26Wa+#kDyXAsPPolt">
                                                                                                          <field name="COMMENT">Wenn Endeinstellung erreicht stoppe Zyklen</field>
                                                                                                          <next>
                                                                                                            <block type="timeouts_clearinterval" id="YwJUV,R/}uU_PI:V7VXG">
                                                                                                              <field name="NAME">Intervall</field>
                                                                                                            </block>
                                                                                                          </next>
                                                                                                        </block>
                                                                                                      </statement>
                                                                                                    </block>
                                                                                                  </next>
                                                                                                </block>
                                                                                              </next>
                                                                                            </block>
                                                                                          </next>
                                                                                        </block>
                                                                                      </next>
                                                                                    </block>
                                                                                  </next>
                                                                                </block>
                                                                              </next>
                                                                            </block>
                                                                          </next>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </statement>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </statement>
                                </block>
                              </statement>
                            </block>
                          </next>
                        </block>
                        <block type="comment" id="*EFw|LDD~6Ss4b)In.eM" x="613" y="-162">
                          <field name="COMMENT">Abbruch per Fernbedienung</field>
                          <next>
                            <block type="on_ext" id=":Mw*gCWotTHocSv[3uwd">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                              <field name="CONDITION">ne</field>
                              <field name="ACK_CONDITION"></field>
                              <value name="OID0">
                                <shadow type="field_oid" id="Cj?.K4aL+{%eYH+_bS#L">
                                  <field name="oid">zigbee.0.cc86ecfffec1c74f.state</field>
                                </shadow>
                              </value>
                              <statement name="STATEMENT">
                                <block type="comment" id="m#[V-7wmJ_s0{XHXk=CO">
                                  <field name="COMMENT">wenn Fernbedienung aus dann stoppe Zyklen</field>
                                  <next>
                                    <block type="controls_if" id="_gdEV:4:y(?k:ip~o/b^">
                                      <value name="IF0">
                                        <block type="logic_operation" id="ghZ#k`vY-z}Re}]kdkyH" inline="false">
                                          <field name="OP">AND</field>
                                          <value name="A">
                                            <block type="logic_compare" id="NFNS+kXaz8myPISu/9;0">
                                              <field name="OP">EQ</field>
                                              <value name="A">
                                                <block type="get_value" id="o(N]OR-Tqd4r/r/Q~F|d">
                                                  <field name="ATTR">val</field>
                                                  <field name="OID">zigbee.0.cc86ecfffec1c74f.state</field>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="logic_boolean" id="4a;}(XEFQk[`hRRv1v8%">
                                                  <field name="BOOL">FALSE</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="logic_compare" id="Ix|::b*3j!{%cpgkwjKC">
                                              <field name="OP">EQ</field>
                                              <value name="A">
                                                <block type="variables_get" id="Ukl)t7G5qqZX?@`Z(Sj%">
                                                  <field name="VAR" id="!;/[u^vQs,tRIaZhN%@,">cycle_active</field>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="logic_boolean" id="lpJs4t=stg,DVhEDR$p`">
                                                  <field name="BOOL">TRUE</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO0">
                                        <block type="timeouts_clearinterval" id="#`4q,dgH38Q6|+n%=6^:">
                                          <field name="NAME">Intervall</field>
                                        </block>
                                      </statement>
                                    </block>
                                  </next>
                                </block>
                              </statement>
                            </block>
                          </next>
                        </block>
                      </xml>
                      
                      

                      Nils

                      Basti97B Offline
                      Basti97B Offline
                      Basti97
                      Most Active
                      schrieb am zuletzt editiert von
                      #20

                      @jmeister79 Cool danke für die Arbeit war bestimmt nicht einfach oder?
                      Wenn ich meinen PC angemacht habe werde ich es auch mal testen. Ich hatte es direkt mit Datenpunkt, Verzögerung und den bestimmten Werten probiert, anstatt wie du es gemacht hast. Aber ich habe dann aufgehört da das Script echt lange geworden ist bzw wäre.

                      Iobroker läuft als VM auf Proxmoxserver x folgende Hersteller im Einsatz Sonoff, Gosund, Siemens x Aofo über Tasmota x Zigbee x das Smarthome wächst und wächst

                      jmeister79J 1 Antwort Letzte Antwort
                      0
                      • Basti97B Basti97

                        @jmeister79 Cool danke für die Arbeit war bestimmt nicht einfach oder?
                        Wenn ich meinen PC angemacht habe werde ich es auch mal testen. Ich hatte es direkt mit Datenpunkt, Verzögerung und den bestimmten Werten probiert, anstatt wie du es gemacht hast. Aber ich habe dann aufgehört da das Script echt lange geworden ist bzw wäre.

                        jmeister79J Offline
                        jmeister79J Offline
                        jmeister79
                        schrieb am zuletzt editiert von
                        #21

                        @basti97 Gern, aber das Lob geht aber an @Homoran , ich habe nur leichte anpassungen gemacht wie andere Datenpunkte und hier und da ne Variable geändert.

                        Heue Morgen das erste mal probiert, hab aber das gefühl, dass das Licht anfangs noch zu hell ist, aber vielleicht bin ich nicht direkt wach geworden
                        viel Erfolg

                        Nils

                        Basti97B HomoranH 2 Antworten Letzte Antwort
                        0
                        • jmeister79J jmeister79

                          @basti97 Gern, aber das Lob geht aber an @Homoran , ich habe nur leichte anpassungen gemacht wie andere Datenpunkte und hier und da ne Variable geändert.

                          Heue Morgen das erste mal probiert, hab aber das gefühl, dass das Licht anfangs noch zu hell ist, aber vielleicht bin ich nicht direkt wach geworden
                          viel Erfolg

                          Nils

                          Basti97B Offline
                          Basti97B Offline
                          Basti97
                          Most Active
                          schrieb am zuletzt editiert von
                          #22

                          @jmeister79 Werde ich probieren dann dank an euch beide

                          Iobroker läuft als VM auf Proxmoxserver x folgende Hersteller im Einsatz Sonoff, Gosund, Siemens x Aofo über Tasmota x Zigbee x das Smarthome wächst und wächst

                          1 Antwort Letzte Antwort
                          0
                          • jmeister79J jmeister79

                            @basti97 Gern, aber das Lob geht aber an @Homoran , ich habe nur leichte anpassungen gemacht wie andere Datenpunkte und hier und da ne Variable geändert.

                            Heue Morgen das erste mal probiert, hab aber das gefühl, dass das Licht anfangs noch zu hell ist, aber vielleicht bin ich nicht direkt wach geworden
                            viel Erfolg

                            Nils

                            HomoranH Nicht stören
                            HomoranH Nicht stören
                            Homoran
                            Global Moderator Administrators
                            schrieb am zuletzt editiert von
                            #23

                            @jmeister79 sagte in Gelöst [Blockly] Hue Lichtwecker:

                            hab aber das gefühl, dass das Licht anfangs noch zu hell ist,

                            das kann auch an deinen Leuchtmitteln liegen.
                            Hab in einem anderen Zusammenhang Tradfri und Tint verglichen. Die haben unterschiedliches Dimmverhalten

                            kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                            Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                            der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                            jmeister79J 1 Antwort Letzte Antwort
                            0
                            • HomoranH Homoran

                              @jmeister79 sagte in Gelöst [Blockly] Hue Lichtwecker:

                              hab aber das gefühl, dass das Licht anfangs noch zu hell ist,

                              das kann auch an deinen Leuchtmitteln liegen.
                              Hab in einem anderen Zusammenhang Tradfri und Tint verglichen. Die haben unterschiedliches Dimmverhalten

                              jmeister79J Offline
                              jmeister79J Offline
                              jmeister79
                              schrieb am zuletzt editiert von jmeister79
                              #24

                              @homoran ja, die niedrigste stufe ist zu hell.
                              Das ist so ne runde Deckenleuchte, vielleicht versteck ich die irgendwo, dass es indirekt ist.

                              Ich such nachher mal die LED Leiste vielleicht ist die ne gute idee.

                              LED unterm Bett - leider geil.

                              Am besten war meine Frau heute morgen: "Hey Google - sonne aus!"

                              :-D

                              HomoranH 1 Antwort Letzte Antwort
                              0
                              • jmeister79J jmeister79

                                @homoran ja, die niedrigste stufe ist zu hell.
                                Das ist so ne runde Deckenleuchte, vielleicht versteck ich die irgendwo, dass es indirekt ist.

                                Ich such nachher mal die LED Leiste vielleicht ist die ne gute idee.

                                LED unterm Bett - leider geil.

                                Am besten war meine Frau heute morgen: "Hey Google - sonne aus!"

                                :-D

                                HomoranH Nicht stören
                                HomoranH Nicht stören
                                Homoran
                                Global Moderator Administrators
                                schrieb am zuletzt editiert von
                                #25

                                @jmeister79 sagte in Gelöst [Blockly] Hue Lichtwecker:

                                die niedrigste stufe ist zu hell.

                                hab gerade mal nachgesehen. ich dachte ich hätte was verändert. War aber der Sonnenuntergang. Da habe ich jetzt alles mit Variablen gemacht, damit man schnell anpassen kann
                                Screenshot_20221005-150744_Firefox.jpg

                                kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                                Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                jmeister79J S 2 Antworten Letzte Antwort
                                1
                                • HomoranH Homoran

                                  @jmeister79 sagte in Gelöst [Blockly] Hue Lichtwecker:

                                  die niedrigste stufe ist zu hell.

                                  hab gerade mal nachgesehen. ich dachte ich hätte was verändert. War aber der Sonnenuntergang. Da habe ich jetzt alles mit Variablen gemacht, damit man schnell anpassen kann
                                  Screenshot_20221005-150744_Firefox.jpg

                                  jmeister79J Offline
                                  jmeister79J Offline
                                  jmeister79
                                  schrieb am zuletzt editiert von
                                  #26

                                  @homoran sehr geil.

                                  immer in die zukunft denken!

                                  OstfrieseUnterwegsO 1 Antwort Letzte Antwort
                                  0
                                  • jmeister79J jmeister79

                                    @homoran sehr geil.

                                    immer in die zukunft denken!

                                    OstfrieseUnterwegsO Offline
                                    OstfrieseUnterwegsO Offline
                                    OstfrieseUnterwegs
                                    schrieb am zuletzt editiert von
                                    #27

                                    @jmeister79 Täusche ich mich, oder wird gleich wenn das Script startet, die Lampe eingeschaltet? Wenn sie abends auf volle Pulle an war, wird sie doch auch so wieder eingeschaltet und erst kurz danach auf Brightness=0 gesetzt? Aber vlt sind die so träge, dass man das nicht mitbekommt.

                                    jmeister79J 1 Antwort Letzte Antwort
                                    0
                                    • OstfrieseUnterwegsO OstfrieseUnterwegs

                                      @jmeister79 Täusche ich mich, oder wird gleich wenn das Script startet, die Lampe eingeschaltet? Wenn sie abends auf volle Pulle an war, wird sie doch auch so wieder eingeschaltet und erst kurz danach auf Brightness=0 gesetzt? Aber vlt sind die so träge, dass man das nicht mitbekommt.

                                      jmeister79J Offline
                                      jmeister79J Offline
                                      jmeister79
                                      schrieb am zuletzt editiert von
                                      #28

                                      @ostfrieseunterwegs
                                      Moin, ja ich muss sie einschalten sonst funktioniert es nicht.
                                      Sie dimmt aber normal hoch alles gut.

                                      Nils

                                      1 Antwort Letzte Antwort
                                      0
                                      • jmeister79J Offline
                                        jmeister79J Offline
                                        jmeister79
                                        schrieb am zuletzt editiert von jmeister79
                                        #29

                                        Hi, hier das ganze nochmal für RGB:
                                        247d4622-1170-437c-8749-a514f862a3a3-image.png

                                        <block xmlns="https://developers.google.com/blockly/xml" type="controls_if" id="y35~folwA64JELdx*aZ_" x="109.00000000000001" y="-59">
                                          <value name="IF0">
                                            <block type="logic_compare" id="s3sEA.5IE{Fen=nr3}^(">
                                              <field name="OP">EQ</field>
                                              <value name="A">
                                                <block type="get_value" id="DOA7KEe-NvFZvDH{MK0B">
                                                  <field name="ATTR">val</field>
                                                  <field name="OID">javascript.0.Parameter.Urlaub</field>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="logic_boolean" id="#rb1##iZs[9_sOPrxI[T">
                                                  <field name="BOOL">FALSE</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <statement name="DO0">
                                            <block type="control" id="X-1g9g$[S7`eT4Ptyh$~">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">zigbee.0.60a423fffe6ca959.brightness</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="math_number" id="JnEE/2|JQt=CTQFJif(m">
                                                  <field name="NUM">0</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="control_ex" id="3YN{3i5Wz{0%p{Ey|Lnd">
                                                  <field name="TYPE">false</field>
                                                  <field name="CLEAR_RUNNING">FALSE</field>
                                                  <value name="OID">
                                                    <shadow type="field_oid">
                                                      <field name="oid">Object ID</field>
                                                    </shadow>
                                                    <block type="field_oid" id="/dsN)+8$UZUcE?1vrU12">
                                                      <field name="oid">zigbee.0.cc86ecfffec1c74f.state</field>
                                                    </block>
                                                  </value>
                                                  <value name="VALUE">
                                                    <shadow type="logic_boolean" id="ZglUN6GoTCa%xNusP!az">
                                                      <field name="BOOL">TRUE</field>
                                                    </shadow>
                                                  </value>
                                                  <value name="DELAY_MS">
                                                    <shadow type="math_number" id="czDJd`$Yz3r.XkrMhv09">
                                                      <field name="NUM">0</field>
                                                    </shadow>
                                                  </value>
                                                  <next>
                                                    <block type="timeouts_clearinterval" id="icH=6OkVId1/.haYArX-">
                                                      <field name="NAME">Intervall</field>
                                                      <next>
                                                        <block type="variables_set" id="fVqkEb48.`%t[:LcLpje">
                                                          <field name="VAR" id="!;/[u^vQs,tRIaZhN%@,">cycle_active</field>
                                                          <value name="VALUE">
                                                            <block type="logic_boolean" id="S#m_=UYR,kQ+!qIeK56W">
                                                              <field name="BOOL">FALSE</field>
                                                            </block>
                                                          </value>
                                                          <next>
                                                            <block type="comment" id="TS[d5A:d}BuIJQdCYDd-">
                                                              <field name="COMMENT">Sattes Orange als Startfarbe</field>
                                                              <next>
                                                                <block type="variables_set" id="JJBh$hqZPnA{*pSYAz0U">
                                                                  <field name="VAR" id=")WvpA$;?n!lEH}96Kt8N">farbe_gruen</field>
                                                                  <value name="VALUE">
                                                                    <block type="math_number" id="/_~7TA!9{.Pd?M)9R5^|">
                                                                      <field name="NUM">66</field>
                                                                    </block>
                                                                  </value>
                                                                  <next>
                                                                    <block type="variables_set" id="pIZ)}eoO1EZNs{7Q:ZBD">
                                                                      <field name="VAR" id="g}v5NK3wQCX];}i2z8gP">farbe_blau</field>
                                                                      <value name="VALUE">
                                                                        <block type="math_number" id="+`9yDWv--jc!?cSifJV=">
                                                                          <field name="NUM">0</field>
                                                                        </block>
                                                                      </value>
                                                                      <next>
                                                                        <block type="variables_set" id="MQL8QGsHpuw%:IIz?,Ip">
                                                                          <field name="VAR" id="#`vBU..=KLr*eObqk]U:">brightness</field>
                                                                          <value name="VALUE">
                                                                            <block type="math_number" id="]AXkCF,taTjWXz4(%-eN">
                                                                              <field name="NUM">0</field>
                                                                            </block>
                                                                          </value>
                                                                          <next>
                                                                            <block type="comment" id="zL7Fs]/lGoKX#)_8Dx(7">
                                                                              <field name="COMMENT">Zeiteinheit pro Stufe</field>
                                                                              <next>
                                                                                <block type="timeouts_setinterval" id="aYso6.3`0KZpiU!ixQ9T">
                                                                                  <field name="NAME">Intervall</field>
                                                                                  <field name="INTERVAL">1</field>
                                                                                  <field name="UNIT">sec</field>
                                                                                  <statement name="STATEMENT">
                                                                                    <block type="control" id="_/oy-UP*Q|OpAe#8j6]z">
                                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                      <field name="OID">zigbee.0.cc86ecfffec1c74f.transition_time</field>
                                                                                      <field name="WITH_DELAY">FALSE</field>
                                                                                      <value name="VALUE">
                                                                                        <block type="math_number" id="LXPUqCPxF_5,=yaCm]Mh">
                                                                                          <field name="NUM">0</field>
                                                                                        </block>
                                                                                      </value>
                                                                                      <next>
                                                                                        <block type="control" id="EL#h3qPd3;k/WtxadMHp">
                                                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                          <field name="OID">zigbee.0.60a423fffe6ca959.brightness</field>
                                                                                          <field name="WITH_DELAY">FALSE</field>
                                                                                          <value name="VALUE">
                                                                                            <block type="variables_get" id="}iroE9Nn~^%nw0Uv40@z">
                                                                                              <field name="VAR" id="#`vBU..=KLr*eObqk]U:">brightness</field>
                                                                                            </block>
                                                                                          </value>
                                                                                          <next>
                                                                                            <block type="control" id="S~awpi`u+e#,,o?~L3J(">
                                                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                              <field name="OID">zigbee.0.cc86ecfffec1c74f.transition_time</field>
                                                                                              <field name="WITH_DELAY">FALSE</field>
                                                                                              <value name="VALUE">
                                                                                                <block type="math_number" id="H~d*_yP{Bc!T;|]H@zX%">
                                                                                                  <field name="NUM">0</field>
                                                                                                </block>
                                                                                              </value>
                                                                                              <next>
                                                                                                <block type="control" id="th!vt7:0Tk0^Yv2@xlO^">
                                                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                                  <field name="OID">zigbee.0.60a423fffe6ca959.color</field>
                                                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                                                  <value name="VALUE">
                                                                                                    <block type="variables_get" id="Pb6Yl!1+i!-fvuexZ.3i">
                                                                                                      <field name="VAR" id="K$?TZ05P_nNo#(2H~G#M">rgbcolor</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <next>
                                                                                                    <block type="control" id="wU3N,FaRZ77wx,:i7G}@">
                                                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                                      <field name="OID">zigbee.0.cc86ecfffec1c74f.transition_time</field>
                                                                                                      <field name="WITH_DELAY">FALSE</field>
                                                                                                      <value name="VALUE">
                                                                                                        <block type="math_number" id="87hw*u;(lW]E)_[Va*eO">
                                                                                                          <field name="NUM">0</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <next>
                                                                                                        <block type="comment" id="6]MxZ:=}qAgQgny94518">
                                                                                                          <field name="COMMENT">Stufen erhöhen (ims ekundentakt brauchen sie 6 min)</field>
                                                                                                          <next>
                                                                                                            <block type="variables_set" id="q|w6}P/MqM^Z]Q9c@lZp">
                                                                                                              <field name="VAR" id="!;/[u^vQs,tRIaZhN%@,">cycle_active</field>
                                                                                                              <value name="VALUE">
                                                                                                                <block type="logic_boolean" id="?{u0tERi57^BOi#U?T0q">
                                                                                                                  <field name="BOOL">TRUE</field>
                                                                                                                </block>
                                                                                                              </value>
                                                                                                              <next>
                                                                                                                <block type="variables_set" id="3u{v{:UzTA,tfbeouyOC">
                                                                                                                  <field name="VAR" id="#`vBU..=KLr*eObqk]U:">brightness</field>
                                                                                                                  <value name="VALUE">
                                                                                                                    <block type="math_arithmetic" id="1XiOvP|W[8jo=rRSg2%-">
                                                                                                                      <field name="OP">ADD</field>
                                                                                                                      <value name="A">
                                                                                                                        <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id=",3Ix@FLr[leEH.PZxCTj">
                                                                                                                          <field name="NUM">1</field>
                                                                                                                        </shadow>
                                                                                                                        <block type="variables_get" id=",/`@dMc_8K~rAi,=]DA{">
                                                                                                                          <field name="VAR" id="#`vBU..=KLr*eObqk]U:">brightness</field>
                                                                                                                        </block>
                                                                                                                      </value>
                                                                                                                      <value name="B">
                                                                                                                        <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="+/F]U2:je(yC3}oU@,LU">
                                                                                                                          <field name="NUM">1</field>
                                                                                                                        </shadow>
                                                                                                                        <block type="math_number" id="^2OM=4%4!ojW;=R8BPa0">
                                                                                                                          <field name="NUM">1</field>
                                                                                                                        </block>
                                                                                                                      </value>
                                                                                                                    </block>
                                                                                                                  </value>
                                                                                                                  <next>
                                                                                                                    <block type="variables_set" id="OJtc]JN(wj0Mc*}^B(mS">
                                                                                                                      <field name="VAR" id=")WvpA$;?n!lEH}96Kt8N">farbe_gruen</field>
                                                                                                                      <value name="VALUE">
                                                                                                                        <block type="math_arithmetic" id="pBsazw6;9z2l@JujGePr">
                                                                                                                          <field name="OP">ADD</field>
                                                                                                                          <value name="A">
                                                                                                                            <shadow type="math_number" id=",3Ix@FLr[leEH.PZxCTj">
                                                                                                                              <field name="NUM">1</field>
                                                                                                                            </shadow>
                                                                                                                            <block type="variables_get" id="C+d5~VJ/h;oGJDLn47dc">
                                                                                                                              <field name="VAR" id=")WvpA$;?n!lEH}96Kt8N">farbe_gruen</field>
                                                                                                                            </block>
                                                                                                                          </value>
                                                                                                                          <value name="B">
                                                                                                                            <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="+/F]U2:je(yC3}oU@,LU">
                                                                                                                              <field name="NUM">1</field>
                                                                                                                            </shadow>
                                                                                                                            <block type="math_number" id="]l~mrti-7j^?,i05z@ZC">
                                                                                                                              <field name="NUM">1</field>
                                                                                                                            </block>
                                                                                                                          </value>
                                                                                                                        </block>
                                                                                                                      </value>
                                                                                                                      <next>
                                                                                                                        <block type="variables_set" id="}8@SO]aNOsevhe4xaXAG">
                                                                                                                          <field name="VAR" id="g}v5NK3wQCX];}i2z8gP">farbe_blau</field>
                                                                                                                          <value name="VALUE">
                                                                                                                            <block type="math_arithmetic" id="2[qg--3e/O=#zK`6q;kq">
                                                                                                                              <field name="OP">ADD</field>
                                                                                                                              <value name="A">
                                                                                                                                <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number">
                                                                                                                                  <field name="NUM">1</field>
                                                                                                                                </shadow>
                                                                                                                                <block type="variables_get" id="AnT$-7v(Ie1L6G4]DFo_">
                                                                                                                                  <field name="VAR" id="g}v5NK3wQCX];}i2z8gP">farbe_blau</field>
                                                                                                                                </block>
                                                                                                                              </value>
                                                                                                                              <value name="B">
                                                                                                                                <shadow type="math_number" id="A-UIS+zATe94m!oN#{@7">
                                                                                                                                  <field name="NUM">1</field>
                                                                                                                                </shadow>
                                                                                                                                <block type="math_number" id="#%N(]ldu,`mp,-j2JRS-">
                                                                                                                                  <field name="NUM">1</field>
                                                                                                                                </block>
                                                                                                                              </value>
                                                                                                                            </block>
                                                                                                                          </value>
                                                                                                                          <next>
                                                                                                                            <block type="variables_set" id=",-(_MP:7b]`f(|D7OF`M">
                                                                                                                              <field name="VAR" id="K$?TZ05P_nNo#(2H~G#M">rgbcolor</field>
                                                                                                                              <value name="VALUE">
                                                                                                                                <block type="colour_rgb" id="^yK8dEu~y2opY#:ratj^">
                                                                                                                                  <value name="RED">
                                                                                                                                    <shadow type="math_number" id="jZMcB4QiAzXJ6Cws#3Mi">
                                                                                                                                      <field name="NUM">100</field>
                                                                                                                                    </shadow>
                                                                                                                                  </value>
                                                                                                                                  <value name="GREEN">
                                                                                                                                    <shadow type="math_number" id="$@hq`qplpU|/s(.S}e,3">
                                                                                                                                      <field name="NUM">153</field>
                                                                                                                                    </shadow>
                                                                                                                                    <block type="variables_get" id="OU||CF~!sz8pgzO3P4f`">
                                                                                                                                      <field name="VAR" id=")WvpA$;?n!lEH}96Kt8N">farbe_gruen</field>
                                                                                                                                    </block>
                                                                                                                                  </value>
                                                                                                                                  <value name="BLUE">
                                                                                                                                    <shadow type="math_number" id="2b9qjv!tO8si`9RZg1?-">
                                                                                                                                      <field name="NUM">0</field>
                                                                                                                                    </shadow>
                                                                                                                                    <block type="variables_get" id="r]WcsR%CIu,/=dN}])I2">
                                                                                                                                      <field name="VAR" id="g}v5NK3wQCX];}i2z8gP">farbe_blau</field>
                                                                                                                                    </block>
                                                                                                                                  </value>
                                                                                                                                </block>
                                                                                                                              </value>
                                                                                                                              <next>
                                                                                                                                <block type="controls_if" id="c9d^cx}En)QJ^5LBl_.e">
                                                                                                                                  <value name="IF0">
                                                                                                                                    <block type="logic_operation" id="6xUzHTC-$2v8g6ZoOx0~">
                                                                                                                                      <field name="OP">AND</field>
                                                                                                                                      <value name="A">
                                                                                                                                        <block type="logic_compare" id="6S_vBdKEEXwB9y7dS+5Q">
                                                                                                                                          <field name="OP">GT</field>
                                                                                                                                          <value name="A">
                                                                                                                                            <block type="variables_get" id="`x=8)h:X3ni1O#OwO/;-">
                                                                                                                                              <field name="VAR" id="g}v5NK3wQCX];}i2z8gP">farbe_blau</field>
                                                                                                                                            </block>
                                                                                                                                          </value>
                                                                                                                                          <value name="B">
                                                                                                                                            <block type="math_number" id="/eH;_D[-f!B,_d{.kQ#S">
                                                                                                                                              <field name="NUM">100</field>
                                                                                                                                            </block>
                                                                                                                                          </value>
                                                                                                                                        </block>
                                                                                                                                      </value>
                                                                                                                                      <value name="B">
                                                                                                                                        <block type="logic_compare" id="y63_7Joq9ZQrG3wg.1)/">
                                                                                                                                          <field name="OP">GT</field>
                                                                                                                                          <value name="A">
                                                                                                                                            <block type="variables_get" id="WL]Ta,[5EEyOyKK)+=wu">
                                                                                                                                              <field name="VAR" id="#`vBU..=KLr*eObqk]U:">brightness</field>
                                                                                                                                            </block>
                                                                                                                                          </value>
                                                                                                                                          <value name="B">
                                                                                                                                            <block type="math_number" id="B5CbauAhU|AnKd3OuWV*">
                                                                                                                                              <field name="NUM">100</field>
                                                                                                                                            </block>
                                                                                                                                          </value>
                                                                                                                                        </block>
                                                                                                                                      </value>
                                                                                                                                    </block>
                                                                                                                                  </value>
                                                                                                                                  <statement name="DO0">
                                                                                                                                    <block type="comment" id="d@z26Wa+#kDyXAsPPolt">
                                                                                                                                      <field name="COMMENT">Wenn Endeinstellung erreicht stoppe Zyklen</field>
                                                                                                                                      <next>
                                                                                                                                        <block type="timeouts_clearinterval" id="YwJUV,R/}uU_PI:V7VXG">
                                                                                                                                          <field name="NAME">Intervall</field>
                                                                                                                                        </block>
                                                                                                                                      </next>
                                                                                                                                    </block>
                                                                                                                                  </statement>
                                                                                                                                </block>
                                                                                                                              </next>
                                                                                                                            </block>
                                                                                                                          </next>
                                                                                                                        </block>
                                                                                                                      </next>
                                                                                                                    </block>
                                                                                                                  </next>
                                                                                                                </block>
                                                                                                              </next>
                                                                                                            </block>
                                                                                                          </next>
                                                                                                        </block>
                                                                                                      </next>
                                                                                                    </block>
                                                                                                  </next>
                                                                                                </block>
                                                                                              </next>
                                                                                            </block>
                                                                                          </next>
                                                                                        </block>
                                                                                      </next>
                                                                                    </block>
                                                                                  </statement>
                                                                                </block>
                                                                              </next>
                                                                            </block>
                                                                          </next>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </statement>
                                        </block>
                                        
                                        1 Antwort Letzte Antwort
                                        0
                                        • HomoranH Homoran

                                          @jmeister79 sagte in Gelöst [Blockly] Hue Lichtwecker:

                                          die niedrigste stufe ist zu hell.

                                          hab gerade mal nachgesehen. ich dachte ich hätte was verändert. War aber der Sonnenuntergang. Da habe ich jetzt alles mit Variablen gemacht, damit man schnell anpassen kann
                                          Screenshot_20221005-150744_Firefox.jpg

                                          S Offline
                                          S Offline
                                          Schtallone
                                          schrieb am zuletzt editiert von
                                          #30

                                          @homoran
                                          Hi, wäre es möglich den letzten Stand dieses tollen Skipts einmal hier zu veröffentlichen?

                                          Danke und Gruß

                                          HomoranH 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

                                          756

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          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