Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. mit Licht wecken ähnlich wie Hue Szene

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    mit Licht wecken ähnlich wie Hue Szene

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      MikeH last edited by

      Hallo zusammen,
      da ich meine Hue Bridge nach und nach arbeitslos mache aufgrund meines neuen Conbee Sticks hätte ich eine Frage in die Runde.
      Kann ich mit einem Blockly die Hue Szene natürlich aufwachen nachstellen?
      Also z.B. soll um 5.30 wochentags eine bestimmte Lampe langsam auf einen bestimmten Wert (z.B. 50% Helligkeit) hochdimmen.
      Dann soll die Lampe z.B. bis 6.00 Uhr so bleiben und dann automatisch abschalten.

      Hat das zufällig jemand schon so umgesetzt? Ein Beispiel wie es gehen könnte würde mir schon sehr weiter helfen.
      Vielen Dank!
      Mike

      sascha.ruckzuck paul53 Homoran 3 Replies Last reply Reply Quote 0
      • sascha.ruckzuck
        sascha.ruckzuck @MikeH last edited by

        @MikeH
        Hast du Alexa bzw die Alexa App?
        Ich hab dies mit den Alexa Routinen und auch den Conbee2 Stick gelöst.
        Wobei ich es auch iwann mal als Blockly umsetzen würde.

        1 Reply Last reply Reply Quote 0
        • M
          MikeH last edited by

          Ja habe ich auch erstmal mit den Routinen gelöst. Schön ist natürlich anders.
          Für so ein komplexes Blockly fehlt mir einfach das Hintergrundwissen und die Erfahrung.
          Mal schauen, vielleicht opfert sich ja noch jemand. In der Zwischenzeit versuche ich weiter per try & error.
          Dank dir trotzdem erstmal.
          Mike

          1 Reply Last reply Reply Quote 0
          • paul53
            paul53 @MikeH last edited by paul53

            @MikeH sagte:

            um 5.30 wochentags eine bestimmte Lampe langsam auf einen bestimmten Wert (z.B. 50% Helligkeit) hochdimmen.
            Dann soll die Lampe z.B. bis 6.00 Uhr so bleiben und dann automatisch abschalten.

            Blockly_temp.JPG

            1 Reply Last reply Reply Quote 1
            • M
              MikeH last edited by

              Hallo Paul,
              vielen Dank. Werde ich testen!

              VG
              Mike

              1 Reply Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators @MikeH last edited by

                @MikeH läuft bei mir mit ikes tradfri so:
                Screenshot_20200118-100021_Firefox.jpg

                Sind RGB Lampen mit Farbänderung von blauweiß nach rotweiß

                Sonnenuntergang analog

                1 Reply Last reply Reply Quote 1
                • Julian Grave
                  Julian Grave last edited by

                  @Homoran said in mit Licht wecken ähnlich wie Hue Szene:

                  @MikeH läuft bei mir mit ikes tradfri so:
                  Screenshot_20200118-100021_Firefox.jpg

                  Sind RGB Lampen mit Farbänderung von blauweiß nach rotweiß

                  Sonnenuntergang analog

                  Hey Homoran,

                  Kannst du mir den Code für das Script vielleicht zur verfügung stellen ?

                  Homoran 1 Reply Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators @Julian Grave last edited by

                    @Julian-Grave sagte in mit Licht wecken ähnlich wie Hue Szene:

                    Kannst du mir den Code für das Script vielleicht zur verfügung stellen ?

                    Muss ich heute abend zu Hause mal machen

                    Julian Grave 1 Reply Last reply Reply Quote 0
                    • Julian Grave
                      Julian Grave @Homoran last edited by

                      @Homoran mega cool danke schonmal !

                      Homoran 1 Reply Last reply Reply Quote 0
                      • Homoran
                        Homoran Global Moderator Administrators @Julian Grave last edited by

                        @Julian-Grave

                        <xml xmlns="http://www.w3.org/1999/xhtml">
                         <variables>
                           <variable type="" id="8r9,3DrXH@Vwv(3e.-50">manuell_bedient</variable>
                           <variable type="" id="A7T|1j3MV@CZ0,`/j7eM">Timesteps</variable>
                           <variable type="" id="R_!-W,P^7Fc;ljky*rl;">Farbe_Hue</variable>
                           <variable type="" id="_`6{6c6rA45,ZPo$[9cX">Farbe:Sat</variable>
                           <variable type="undefined" id="Intervall">Intervall</variable>
                         </variables>
                         <block type="variables_set" id="5ls:UweRE{.IQ..d{vm|" x="88" y="-163">
                           <field name="VAR" id="8r9,3DrXH@Vwv(3e.-50" variabletype="">manuell_bedient</field>
                           <value name="VALUE">
                             <block type="logic_boolean" id="J5|/wU[iV6)-$ss?dQ#G">
                               <field name="BOOL">FALSE</field>
                             </block>
                           </value>
                           <next>
                             <block type="comment" id="e7P]EfnRO|mg|xzUU=#.">
                               <field name="COMMENT">Sonnenaufgang per Schedule</field>
                               <next>
                                 <block type="schedule" id="mI!1MxMMqfmAkYTPMJX-">
                                   <field name="SCHEDULE">40 7 * * 1-5</field>
                                   <statement name="STATEMENT">
                                     <block type="controls_if" id="y35~folwA64JELdx*aZ_">
                                       <value name="IF0">
                                         <block type="logic_operation" id="n/piVA}VH$eSi|cR%Z+0" inline="false">
                                           <field name="OP">AND</field>
                                           <value name="A">
                                             <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>
                                           <value name="B">
                                             <block type="time_compare_ex" id="+Hv8;]6^|BT~:?i^+FA7">
                                               <mutation end_time="false" actual_time="true"></mutation>
                                               <field name="USE_ACTUAL_TIME">TRUE</field>
                                               <field name="OPTION">&lt;</field>
                                               <value name="START_TIME">
                                                 <shadow type="text" id="KyQMF$[]f9wn+oTX}`q}">
                                                   <field name="TEXT">12:00</field>
                                                 </shadow>
                                                 <block type="time_astro" id="}c/A]}{r=t-#{ofvqB4w">
                                                   <field name="TYPE">sunriseEnd</field>
                                                   <field name="OFFSET">30</field>
                                                 </block>
                                               </value>
                                             </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" id="A7T|1j3MV@CZ0,`/j7eM" variabletype="">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" id="R_!-W,P^7Fc;ljky*rl;" variabletype="">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" id="_`6{6c6rA45,ZPo$[9cX" variabletype="">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">30</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.G-131074.brightness</field>
                                                                       <field name="WITH_DELAY">FALSE</field>
                                                                       <value name="VALUE">
                                                                         <block type="variables_get" id="}iroE9Nn~^%nw0Uv40@z">
                                                                           <field name="VAR" id="A7T|1j3MV@CZ0,`/j7eM" variabletype="">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.G-131074.hue</field>
                                                                               <field name="WITH_DELAY">FALSE</field>
                                                                               <value name="VALUE">
                                                                                 <block type="variables_get" id="Pb6Yl!1+i!-fvuexZ.3i">
                                                                                   <field name="VAR" id="R_!-W,P^7Fc;ljky*rl;" variabletype="">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.G-131074.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" id="_`6{6c6rA45,ZPo$[9cX" variabletype="">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" id="A7T|1j3MV@CZ0,`/j7eM" variabletype="">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" id="A7T|1j3MV@CZ0,`/j7eM" variabletype="">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" id="R_!-W,P^7Fc;ljky*rl;" variabletype="">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="4KVUASXRkem*~/T^-%?t">
                                                                                                           <field name="VAR" id="R_!-W,P^7Fc;ljky*rl;" variabletype="">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" id="_`6{6c6rA45,ZPo$[9cX" variabletype="">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="I1~.:i,ZA+OypC#NB!:7">
                                                                                                               <field name="NUM">1</field>
                                                                                                             </shadow>
                                                                                                             <block type="variables_get" id="}1REB9afZ]0YfX6sl`DP">
                                                                                                               <field name="VAR" id="_`6{6c6rA45,ZPo$[9cX" variabletype="">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" id="A7T|1j3MV@CZ0,`/j7eM" variabletype="">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>
                           </next>
                         </block>
                         <block type="astro" id="6cx@9j+:vdmPY=xNX/$K" x="663" y="164">
                           <field name="TYPE">sunriseEnd</field>
                           <field name="OFFSET">30</field>
                           <statement name="STATEMENT">
                             <block type="timeouts_clearinterval" id="1Twe1W84uNp=sTOC9FiW">
                               <field name="NAME">Intervall</field>
                               <next>
                                 <block type="control" id="d3=-=bVl8]v}p:M%@YCW">
                                   <mutation delay_input="false"></mutation>
                                   <field name="OID">tradfri.0.G-131074.state</field>
                                   <field name="WITH_DELAY">FALSE</field>
                                   <value name="VALUE">
                                     <block type="logic_boolean" id="-!3|vrr{`mTjh{i!1JM=">
                                       <field name="BOOL">FALSE</field>
                                     </block>
                                   </value>
                                 </block>
                               </next>
                             </block>
                           </statement>
                           <next>
                             <block type="comment" id="*EFw|LDD~6Ss4b)In.eM">
                               <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>
                                   <field name="ACK_CONDITION"></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" inline="false">
                                                   <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" id="A7T|1j3MV@CZ0,`/j7eM" variabletype="">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>
                           </next>
                         </block>
                        </xml>
                        

                        <xml xmlns="http://www.w3.org/1999/xhtml">
                         <variables>
                           <variable type="" id="a~=xss;w,VLQp$86C(;A">Timesteps</variable>
                           <variable type="" id="C]eqvBh.f=a0LxBE-_J^">Farbe_Hue</variable>
                           <variable type="" id=";txc9#M%pg*HhkUCed%C">Farbe:Sat</variable>
                           <variable type="undefined" id="Intervall">Intervall</variable>
                         </variables>
                         <block type="schedule" id="mI!1MxMMqfmAkYTPMJX-" x="88" y="-162">
                           <field name="SCHEDULE">30 20 * * *</field>
                           <statement name="STATEMENT">
                             <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="a~=xss;w,VLQp$86C(;A" variabletype="">Timesteps</field>
                                   <value name="VALUE">
                                     <block type="math_number" id="pSw*~!|l[%.t]7;Ywu|s">
                                       <field name="NUM">100</field>
                                     </block>
                                   </value>
                                   <next>
                                     <block type="variables_set" id=",-(_MP:7b]`f(|D7OF`M">
                                       <field name="VAR" id="C]eqvBh.f=a0LxBE-_J^" variabletype="">Farbe_Hue</field>
                                       <value name="VALUE">
                                         <block type="math_number" id="1:[z]B%MWNE}N!hRhmEy">
                                           <field name="NUM">40</field>
                                         </block>
                                       </value>
                                       <next>
                                         <block type="variables_set" id="MQL8QGsHpuw%:IIz?,Ip">
                                           <field name="VAR" id=";txc9#M%pg*HhkUCed%C" variabletype="">Farbe:Sat</field>
                                           <value name="VALUE">
                                             <block type="math_number" id="]AXkCF,taTjWXz4(%-eN">
                                               <field name="NUM">0</field>
                                             </block>
                                           </value>
                                           <next>
                                             <block type="timeouts_setinterval" id="aYso6.3`0KZpiU!ixQ9T">
                                               <field name="NAME">Intervall</field>
                                               <field name="INTERVAL">60</field>
                                               <field name="UNIT">sec</field>
                                               <statement name="STATEMENT">
                                                 <block type="control" id="1MCE4exCV]mZ*@uOk#Y~">
                                                   <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="~k;JEp;3UoN_WTw2[b};">
                                                       <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.G-131074.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" id=";txc9#M%pg*HhkUCed%C" variabletype="">Farbe:Sat</field>
                                                         </block>
                                                       </value>
                                                       <next>
                                                         <block type="control" id="EL#h3qPd3;k/WtxadMHp">
                                                           <mutation delay_input="false"></mutation>
                                                           <field name="OID">tradfri.0.G-131074.brightness</field>
                                                           <field name="WITH_DELAY">FALSE</field>
                                                           <value name="VALUE">
                                                             <block type="variables_get" id="}iroE9Nn~^%nw0Uv40@z">
                                                               <field name="VAR" id="a~=xss;w,VLQp$86C(;A" variabletype="">Timesteps</field>
                                                             </block>
                                                           </value>
                                                           <next>
                                                             <block type="control" id="_t!o?U+x.zOA@^1K]Oh-">
                                                               <mutation delay_input="false"></mutation>
                                                               <field name="OID">tradfri.0.G-131074.transitionDuration</field>
                                                               <field name="WITH_DELAY">FALSE</field>
                                                               <value name="VALUE">
                                                                 <block type="math_number" id="yi@]VzvRBR?3;es0Z2x4">
                                                                   <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.G-131074.hue</field>
                                                                   <field name="WITH_DELAY">FALSE</field>
                                                                   <value name="VALUE">
                                                                     <block type="variables_get" id="Pb6Yl!1+i!-fvuexZ.3i">
                                                                       <field name="VAR" id="C]eqvBh.f=a0LxBE-_J^" variabletype="">Farbe_Hue</field>
                                                                     </block>
                                                                   </value>
                                                                   <next>
                                                                     <block type="variables_set" id="3u{v{:UzTA,tfbeouyOC">
                                                                       <field name="VAR" id="C]eqvBh.f=a0LxBE-_J^" variabletype="">Farbe_Hue</field>
                                                                       <value name="VALUE">
                                                                         <block type="math_arithmetic" id="1XiOvP|W[8jo=rRSg2%-">
                                                                           <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=",/`@dMc_8K~rAi,=]DA{">
                                                                               <field name="VAR" id="C]eqvBh.f=a0LxBE-_J^" variabletype="">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.2</field>
                                                                             </block>
                                                                           </value>
                                                                         </block>
                                                                       </value>
                                                                       <next>
                                                                         <block type="variables_set" id="OJtc]JN(wj0Mc*}^B(mS">
                                                                           <field name="VAR" id=";txc9#M%pg*HhkUCed%C" variabletype="">Farbe:Sat</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=";txc9#M%pg*HhkUCed%C" variabletype="">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.6</field>
                                                                                 </block>
                                                                               </value>
                                                                             </block>
                                                                           </value>
                                                                           <next>
                                                                             <block type="variables_set" id="q|w6}P/MqM^Z]Q9c@lZp">
                                                                               <field name="VAR" id="a~=xss;w,VLQp$86C(;A" variabletype="">Timesteps</field>
                                                                               <value name="VALUE">
                                                                                 <block type="math_arithmetic" id="7^A`S:+9p^Egv)f[6)?/">
                                                                                   <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="6R+dE9AjkDe@_Q26AQE-">
                                                                                       <field name="VAR" id="a~=xss;w,VLQp$86C(;A" variabletype="">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="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" id="a~=xss;w,VLQp$86C(;A" variabletype="">Timesteps</field>
                                                                                         </block>
                                                                                       </value>
                                                                                       <value name="B">
                                                                                         <block type="math_number" id="/eH;_D[-f!B,_d{.kQ#S">
                                                                                           <field name="NUM">40</field>
                                                                                         </block>
                                                                                       </value>
                                                                                     </block>
                                                                                   </value>
                                                                                   <statement name="DO0">
                                                                                     <block type="timeouts_clearinterval" id="YwJUV,R/}uU_PI:V7VXG">
                                                                                       <field name="NAME">Intervall</field>
                                                                                     </block>
                                                                                   </statement>
                                                                                 </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>
                           </statement>
                         </block>
                         <block type="astro" id="6cx@9j+:vdmPY=xNX/$K" x="588" y="-137">
                           <field name="TYPE">nadir</field>
                           <field name="OFFSET">-45</field>
                           <statement name="STATEMENT">
                             <block type="timeouts_clearinterval" id="1Twe1W84uNp=sTOC9FiW">
                               <field name="NAME">Intervall</field>
                               <next>
                                 <block type="control" id="d3=-=bVl8]v}p:M%@YCW">
                                   <mutation delay_input="false"></mutation>
                                   <field name="OID">tradfri.0.G-131074.state</field>
                                   <field name="WITH_DELAY">FALSE</field>
                                   <value name="VALUE">
                                     <block type="logic_boolean" id="-!3|vrr{`mTjh{i!1JM=">
                                       <field name="BOOL">FALSE</field>
                                     </block>
                                   </value>
                                 </block>
                               </next>
                             </block>
                           </statement>
                         </block>
                         <block type="debug" id="gvD_=A}1*L%g,v`kPwN}" x="587" y="62">
                           <field name="Severity">log</field>
                           <value name="TEXT">
                             <shadow type="text" id="obQDYxXQ@zsZgI$`p~y0">
                               <field name="TEXT">test</field>
                             </shadow>
                             <block type="convert_tostring" id=";MDhUYZV?3*qt01J9;W.">
                               <value name="VALUE">
                                 <block type="time_astro" id="MmB;+w:vhMMNE1aDAj^a">
                                   <field name="TYPE">nadir</field>
                                   <field name="OFFSET">0</field>
                                 </block>
                               </value>
                             </block>
                           </value>
                         </block>
                        </xml>
                        

                        1 Reply Last reply Reply Quote 1
                        • M
                          mikiline last edited by mikiline

                          Ist mit der HUE App zu realisieren und dann mit dem HUE Adapter zu schalten
                          hue.PNG
                          hue1.PNG

                          Homoran 1 Reply Last reply Reply Quote 0
                          • Homoran
                            Homoran Global Moderator Administrators @mikiline last edited by

                            @mikiline sagte in mit Licht wecken ähnlich wie Hue Szene:

                            Ist mit der HUE App zu realisieren und dann mit dem HUE Adapter zu schalten

                            Sofern man das besitzt.

                            Ich habe "nur" das Tradfri Gateway und den Adapter dazu

                            M Julian Grave 2 Replies Last reply Reply Quote 0
                            • M
                              mikiline @Homoran last edited by

                              @Homoran
                              Da gebe ich Dir natürlich Recht. Habe überlesen das diese vom Fragesteller ja in "Rente" geschickt werden soll 😉

                              1 Reply Last reply Reply Quote 0
                              • Julian Grave
                                Julian Grave @Homoran last edited by

                                @Homoran Mega, Danke !!

                                Ich werds mit deConz machen denk ich. Bisschen zum basteln aber das wird schon !

                                1 Reply Last reply Reply Quote 0
                                • First post
                                  Last post

                                Support us

                                ioBroker
                                Community Adapters
                                Donate

                                519
                                Online

                                31.9k
                                Users

                                80.2k
                                Topics

                                1.3m
                                Posts

                                6
                                14
                                1163
                                Loading More Posts
                                • Oldest to Newest
                                • Newest to Oldest
                                • Most Votes
                                Reply
                                • Reply as topic
                                Log in to reply
                                Community
                                Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                The ioBroker Community 2014-2023
                                logo