Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • 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

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. Hue Lampe Blinken lassen

NEWS

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

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.4k

Hue Lampe Blinken lassen

Scheduled Pinned Locked Moved Blockly
blockly
105 Posts 13 Posters 18.8k Views 11 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SevenUp
    wrote on last edited by SevenUp
    #8

    Und wenn deine Lampe vorher "an" gewesen ist? Dann wird sie nach dem Alarm "aus" sein.
    Ich habe es bei mir wie folgt gelöst. In jedem beliebigen Skript kann ich die JS-Variable "Alarm" auf "true" setzen, dadurch wird das eigentliche Alarm-Skript ausgelöst. Dann wird der alte Zustand der Lampe(n) gesichert, Alarm eingeschaltet, nach 3 Sekunden wieder ausgeschaltet und der alte Zustand wiederhergestellt.
    2019-03-15 20_43_30-Start.png


    <xml xmlns="http://www.w3.org/1999/xhtml">
    <block type="variables_set" id="eV2nz=S+o0Qh#knfX(VX" x="113" y="37">
    <field name="VAR">lampeFarbig</field>
    <value name="VALUE">
    <block type="text" id=",MNNK6^4)h,395+hnn#"> <field name="TEXT">{"level":100, "hue":0, "sat":254, "alert":"lselect", "transitiontime":0}</field> </block> </value> <next> <block type="on_ext" id="_na!2-.V1E=Vwd(QQEh!"> <mutation items="1"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="%D]0[Nj/(?QU:L^4Yr-">
    <field name="oid">javascript.0.Alarm</field>
    </shadow>
    </value>
    <statement name="STATEMENT">
    <block type="controls_if" id="1:(^7uB|+.~q{~q:{J/t">
    <value name="IF0">
    <block type="get_value" id="g9sQW1?GcnaqbFvsAE">
    <field name="ATTR">val</field>
    <field name="OID">javascript.0.Alarm</field>
    </block>
    </value>
    <statement name="DO0">
    <block type="comment" id="U2TLkyjix39CYC;h_#)">
    <field name="COMMENT">Alten Zustand speichern</field>
    <next>
    <block type="variables_set" id="JSh#M2]R-=+=Ilabu1#W">
    <field name="VAR">WOZ_Licht_1</field>
    <value name="VALUE">
    <block type="text_join" id="5JMlZ
    5#p?K_miTW0%b/">
    <mutation items="7"></mutation>
    <value name="ADD0">
    <block type="text" id="-bgNJM7V7-ijy4weJxPP">
    <field name="TEXT">{"level":</field>
    </block>
    </value>
    <value name="ADD1">
    <block type="get_value" id="^d1!LCT8^d!76j6YE^CT">
    <field name="ATTR">val</field>
    <field name="OID">hue.0.Philips_hue.WOZ_Licht_1.level</field>
    </block>
    </value>
    <value name="ADD2">
    <block type="text" id="a45R36kJ_]Cow)H4_gW">
    <field name="TEXT">,"hue":</field>
    </block>
    </value>
    <value name="ADD3">
    <block type="get_value" id="q@W(^YTY#/=2;qHZle)X">
    <field name="ATTR">val</field>
    <field name="OID">hue.0.Philips_hue.WOZ_Licht_1.hue</field>
    </block>
    </value>
    <value name="ADD4">
    <block type="text" id="H@tM2t+d@D(L/@2|cP/"> <field name="TEXT">,"sat":</field> </block> </value> <value name="ADD5"> <block type="get_value" id="wi{WaS95nx]r{v:ilOX">
    <field name="ATTR">val</field>
    <field name="OID">hue.0.Philips_hue.WOZ_Licht_1.sat</field>
    </block>
    </value>
    <value name="ADD6">
    <block type="text" id="0di1b!%j
    8COWfdC7MOm">
    <field name="TEXT">,"alert":"none", "transitiontime":10}</field>
    </block>
    </value>
    </block>
    </value>
    <next>
    <block type="comment" id="J8sC7YP2ao}Z_P7DN3,#">
    <field name="COMMENT">Alarm starten</field>
    <next>
    <block type="control" id="EtMjm5X93)jJEYLz]Nzd">
    <mutation delay_input="false"></mutation>
    <field name="OID">hue.0.Philips_hue.WOZ_Licht_1.command</field>
    <field name="WITH_DELAY">FALSE</field>
    <value name="VALUE">
    <block type="variables_get" id="ngn}]},?Md%P|OSygBYc">
    <field name="VAR">lampeFarbig</field>
    </block>
    </value>
    <next>
    <block type="comment" id="Md5rJ_wh,vh-YeVEf_7L">
    <field name="COMMENT">Alarm beenden</field>
    <next>
    <block type="comment" id="JtQ%M(AxA4*%JgiAlp?l">
    <field name="COMMENT">Alten Zustand wiederherstellen</field>
    <next>
    <block type="timeouts_settimeout" id="Ft#CxWl=aL97Eq/1At(.">
    <field name="NAME">timeout</field>
    <field name="DELAY">3</field>
    <field name="UNIT">sec</field>
    <statement name="STATEMENT">
    <block type="control" id="+f@3jf3-S)##iv,qIgug">
    <mutation delay_input="false"></mutation>
    <field name="OID">hue.0.Philips_hue.WOZ_Licht_1.command</field>
    <field name="WITH_DELAY">FALSE</field>
    <value name="VALUE">
    <block type="variables_get" id="vQc+7P~B7!YMf=0ytWKl">
    <field name="VAR">WOZ_Licht_1</field>
    </block>
    </value>
    <next>
    <block type="update" id="HWA)MCPB.B(UE_9)v|+c">
    <mutation delay_input="false"></mutation>
    <field name="OID">javascript.0.Alarm</field>
    <field name="WITH_DELAY">FALSE</field>
    <value name="VALUE">
    <block type="logic_boolean" id="jzA8Lg3T.gHA6WeT=Ls.">
    <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>
    </statement>
    </block>
    </next>
    </block>
    </xml>

    htreckslerH dslraserD 2 Replies Last reply
    4
    • S SevenUp

      Und wenn deine Lampe vorher "an" gewesen ist? Dann wird sie nach dem Alarm "aus" sein.
      Ich habe es bei mir wie folgt gelöst. In jedem beliebigen Skript kann ich die JS-Variable "Alarm" auf "true" setzen, dadurch wird das eigentliche Alarm-Skript ausgelöst. Dann wird der alte Zustand der Lampe(n) gesichert, Alarm eingeschaltet, nach 3 Sekunden wieder ausgeschaltet und der alte Zustand wiederhergestellt.
      2019-03-15 20_43_30-Start.png


      <xml xmlns="http://www.w3.org/1999/xhtml">
      <block type="variables_set" id="eV2nz=S+o0Qh#knfX(VX" x="113" y="37">
      <field name="VAR">lampeFarbig</field>
      <value name="VALUE">
      <block type="text" id=",MNNK6^4)h,395+hnn#"> <field name="TEXT">{"level":100, "hue":0, "sat":254, "alert":"lselect", "transitiontime":0}</field> </block> </value> <next> <block type="on_ext" id="_na!2-.V1E=Vwd(QQEh!"> <mutation items="1"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="%D]0[Nj/(?QU:L^4Yr-">
      <field name="oid">javascript.0.Alarm</field>
      </shadow>
      </value>
      <statement name="STATEMENT">
      <block type="controls_if" id="1:(^7uB|+.~q{~q:{J/t">
      <value name="IF0">
      <block type="get_value" id="g9sQW1?GcnaqbFvsAE">
      <field name="ATTR">val</field>
      <field name="OID">javascript.0.Alarm</field>
      </block>
      </value>
      <statement name="DO0">
      <block type="comment" id="U2TLkyjix39CYC;h_#)">
      <field name="COMMENT">Alten Zustand speichern</field>
      <next>
      <block type="variables_set" id="JSh#M2]R-=+=Ilabu1#W">
      <field name="VAR">WOZ_Licht_1</field>
      <value name="VALUE">
      <block type="text_join" id="5JMlZ
      5#p?K_miTW0%b/">
      <mutation items="7"></mutation>
      <value name="ADD0">
      <block type="text" id="-bgNJM7V7-ijy4weJxPP">
      <field name="TEXT">{"level":</field>
      </block>
      </value>
      <value name="ADD1">
      <block type="get_value" id="^d1!LCT8^d!76j6YE^CT">
      <field name="ATTR">val</field>
      <field name="OID">hue.0.Philips_hue.WOZ_Licht_1.level</field>
      </block>
      </value>
      <value name="ADD2">
      <block type="text" id="a45R36kJ_]Cow)H4_gW">
      <field name="TEXT">,"hue":</field>
      </block>
      </value>
      <value name="ADD3">
      <block type="get_value" id="q@W(^YTY#/=2;qHZle)X">
      <field name="ATTR">val</field>
      <field name="OID">hue.0.Philips_hue.WOZ_Licht_1.hue</field>
      </block>
      </value>
      <value name="ADD4">
      <block type="text" id="H@tM2t+d@D(L/@2|cP/"> <field name="TEXT">,"sat":</field> </block> </value> <value name="ADD5"> <block type="get_value" id="wi{WaS95nx]r{v:ilOX">
      <field name="ATTR">val</field>
      <field name="OID">hue.0.Philips_hue.WOZ_Licht_1.sat</field>
      </block>
      </value>
      <value name="ADD6">
      <block type="text" id="0di1b!%j
      8COWfdC7MOm">
      <field name="TEXT">,"alert":"none", "transitiontime":10}</field>
      </block>
      </value>
      </block>
      </value>
      <next>
      <block type="comment" id="J8sC7YP2ao}Z_P7DN3,#">
      <field name="COMMENT">Alarm starten</field>
      <next>
      <block type="control" id="EtMjm5X93)jJEYLz]Nzd">
      <mutation delay_input="false"></mutation>
      <field name="OID">hue.0.Philips_hue.WOZ_Licht_1.command</field>
      <field name="WITH_DELAY">FALSE</field>
      <value name="VALUE">
      <block type="variables_get" id="ngn}]},?Md%P|OSygBYc">
      <field name="VAR">lampeFarbig</field>
      </block>
      </value>
      <next>
      <block type="comment" id="Md5rJ_wh,vh-YeVEf_7L">
      <field name="COMMENT">Alarm beenden</field>
      <next>
      <block type="comment" id="JtQ%M(AxA4*%JgiAlp?l">
      <field name="COMMENT">Alten Zustand wiederherstellen</field>
      <next>
      <block type="timeouts_settimeout" id="Ft#CxWl=aL97Eq/1At(.">
      <field name="NAME">timeout</field>
      <field name="DELAY">3</field>
      <field name="UNIT">sec</field>
      <statement name="STATEMENT">
      <block type="control" id="+f@3jf3-S)##iv,qIgug">
      <mutation delay_input="false"></mutation>
      <field name="OID">hue.0.Philips_hue.WOZ_Licht_1.command</field>
      <field name="WITH_DELAY">FALSE</field>
      <value name="VALUE">
      <block type="variables_get" id="vQc+7P~B7!YMf=0ytWKl">
      <field name="VAR">WOZ_Licht_1</field>
      </block>
      </value>
      <next>
      <block type="update" id="HWA)MCPB.B(UE_9)v|+c">
      <mutation delay_input="false"></mutation>
      <field name="OID">javascript.0.Alarm</field>
      <field name="WITH_DELAY">FALSE</field>
      <value name="VALUE">
      <block type="logic_boolean" id="jzA8Lg3T.gHA6WeT=Ls.">
      <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>
      </statement>
      </block>
      </next>
      </block>
      </xml>

      htreckslerH Offline
      htreckslerH Offline
      htrecksler
      Forum Testing
      wrote on last edited by
      #9

      @SevenUp Danke, hab ich mir gleich "geklaut" - funktioniert auf Anhieb.

      Gruss Hermann

      ioBroker auf Proxmox (Debian) auf IntelNuc als Produktivsystem

      1 Reply Last reply
      0
      • S SevenUp

        Und wenn deine Lampe vorher "an" gewesen ist? Dann wird sie nach dem Alarm "aus" sein.
        Ich habe es bei mir wie folgt gelöst. In jedem beliebigen Skript kann ich die JS-Variable "Alarm" auf "true" setzen, dadurch wird das eigentliche Alarm-Skript ausgelöst. Dann wird der alte Zustand der Lampe(n) gesichert, Alarm eingeschaltet, nach 3 Sekunden wieder ausgeschaltet und der alte Zustand wiederhergestellt.
        2019-03-15 20_43_30-Start.png


        <xml xmlns="http://www.w3.org/1999/xhtml">
        <block type="variables_set" id="eV2nz=S+o0Qh#knfX(VX" x="113" y="37">
        <field name="VAR">lampeFarbig</field>
        <value name="VALUE">
        <block type="text" id=",MNNK6^4)h,395+hnn#"> <field name="TEXT">{"level":100, "hue":0, "sat":254, "alert":"lselect", "transitiontime":0}</field> </block> </value> <next> <block type="on_ext" id="_na!2-.V1E=Vwd(QQEh!"> <mutation items="1"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="%D]0[Nj/(?QU:L^4Yr-">
        <field name="oid">javascript.0.Alarm</field>
        </shadow>
        </value>
        <statement name="STATEMENT">
        <block type="controls_if" id="1:(^7uB|+.~q{~q:{J/t">
        <value name="IF0">
        <block type="get_value" id="g9sQW1?GcnaqbFvsAE">
        <field name="ATTR">val</field>
        <field name="OID">javascript.0.Alarm</field>
        </block>
        </value>
        <statement name="DO0">
        <block type="comment" id="U2TLkyjix39CYC;h_#)">
        <field name="COMMENT">Alten Zustand speichern</field>
        <next>
        <block type="variables_set" id="JSh#M2]R-=+=Ilabu1#W">
        <field name="VAR">WOZ_Licht_1</field>
        <value name="VALUE">
        <block type="text_join" id="5JMlZ
        5#p?K_miTW0%b/">
        <mutation items="7"></mutation>
        <value name="ADD0">
        <block type="text" id="-bgNJM7V7-ijy4weJxPP">
        <field name="TEXT">{"level":</field>
        </block>
        </value>
        <value name="ADD1">
        <block type="get_value" id="^d1!LCT8^d!76j6YE^CT">
        <field name="ATTR">val</field>
        <field name="OID">hue.0.Philips_hue.WOZ_Licht_1.level</field>
        </block>
        </value>
        <value name="ADD2">
        <block type="text" id="a45R36kJ_]Cow)H4_gW">
        <field name="TEXT">,"hue":</field>
        </block>
        </value>
        <value name="ADD3">
        <block type="get_value" id="q@W(^YTY#/=2;qHZle)X">
        <field name="ATTR">val</field>
        <field name="OID">hue.0.Philips_hue.WOZ_Licht_1.hue</field>
        </block>
        </value>
        <value name="ADD4">
        <block type="text" id="H@tM2t+d@D(L/@2|cP/"> <field name="TEXT">,"sat":</field> </block> </value> <value name="ADD5"> <block type="get_value" id="wi{WaS95nx]r{v:ilOX">
        <field name="ATTR">val</field>
        <field name="OID">hue.0.Philips_hue.WOZ_Licht_1.sat</field>
        </block>
        </value>
        <value name="ADD6">
        <block type="text" id="0di1b!%j
        8COWfdC7MOm">
        <field name="TEXT">,"alert":"none", "transitiontime":10}</field>
        </block>
        </value>
        </block>
        </value>
        <next>
        <block type="comment" id="J8sC7YP2ao}Z_P7DN3,#">
        <field name="COMMENT">Alarm starten</field>
        <next>
        <block type="control" id="EtMjm5X93)jJEYLz]Nzd">
        <mutation delay_input="false"></mutation>
        <field name="OID">hue.0.Philips_hue.WOZ_Licht_1.command</field>
        <field name="WITH_DELAY">FALSE</field>
        <value name="VALUE">
        <block type="variables_get" id="ngn}]},?Md%P|OSygBYc">
        <field name="VAR">lampeFarbig</field>
        </block>
        </value>
        <next>
        <block type="comment" id="Md5rJ_wh,vh-YeVEf_7L">
        <field name="COMMENT">Alarm beenden</field>
        <next>
        <block type="comment" id="JtQ%M(AxA4*%JgiAlp?l">
        <field name="COMMENT">Alten Zustand wiederherstellen</field>
        <next>
        <block type="timeouts_settimeout" id="Ft#CxWl=aL97Eq/1At(.">
        <field name="NAME">timeout</field>
        <field name="DELAY">3</field>
        <field name="UNIT">sec</field>
        <statement name="STATEMENT">
        <block type="control" id="+f@3jf3-S)##iv,qIgug">
        <mutation delay_input="false"></mutation>
        <field name="OID">hue.0.Philips_hue.WOZ_Licht_1.command</field>
        <field name="WITH_DELAY">FALSE</field>
        <value name="VALUE">
        <block type="variables_get" id="vQc+7P~B7!YMf=0ytWKl">
        <field name="VAR">WOZ_Licht_1</field>
        </block>
        </value>
        <next>
        <block type="update" id="HWA)MCPB.B(UE_9)v|+c">
        <mutation delay_input="false"></mutation>
        <field name="OID">javascript.0.Alarm</field>
        <field name="WITH_DELAY">FALSE</field>
        <value name="VALUE">
        <block type="logic_boolean" id="jzA8Lg3T.gHA6WeT=Ls.">
        <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>
        </statement>
        </block>
        </next>
        </block>
        </xml>

        dslraserD Offline
        dslraserD Offline
        dslraser
        Forum Testing Most Active
        wrote on last edited by
        #10

        @SevenUp

        kannst Du bitte einen "richtigen" Blockly Export machen ?

        S 1 Reply Last reply
        0
        • dslraserD dslraser

          @SevenUp

          kannst Du bitte einen "richtigen" Blockly Export machen ?

          S Offline
          S Offline
          SevenUp
          wrote on last edited by
          #11

          @dslraser passt es so?

          dslraserD 1 Reply Last reply
          0
          • S SevenUp

            @dslraser passt es so?

            dslraserD Offline
            dslraserD Offline
            dslraser
            Forum Testing Most Active
            wrote on last edited by
            #12

            @SevenUp sagte in Hue Lampe Blinken lassen:

            @dslraser passt es so?

            Danke, passt so :+1:

            1 Reply Last reply
            0
            • S Offline
              S Offline
              skokarl
              wrote on last edited by
              #13

              passt bei mir irgendwie nicht ....

              wenn die Lichtleiste "aus" war,
              ist sie nach dem Alarm zwar dunkel,.... aber nicht aus.

              wenn die Lichtleiste "an" war, hört zwar das rote blinken auf, die Leiste bleibt auch an.... aber die alte
              Lichtfarbe wird nicht wieder hergestellt

              1.PNG

              2.PNG

              IOBroker mit Proxmox auf Celeron Nuc mit 16 GB und Debian11, Sonos API, Echo Show 15 als Wandtablet, Homematic IP, HUE, Sonos, Echos, DS718+ als Backup

              S dslraserD 2 Replies Last reply
              0
              • S skokarl

                passt bei mir irgendwie nicht ....

                wenn die Lichtleiste "aus" war,
                ist sie nach dem Alarm zwar dunkel,.... aber nicht aus.

                wenn die Lichtleiste "an" war, hört zwar das rote blinken auf, die Leiste bleibt auch an.... aber die alte
                Lichtfarbe wird nicht wieder hergestellt

                1.PNG

                2.PNG

                S Offline
                S Offline
                SevenUp
                wrote on last edited by
                #14

                @skokarl
                Was steht danach im Log? Habe keinen richtigen Beispiel zur Hand...

                final lightState for Philips_hue.FLU_Licht_Tischlampe:{"bri":254,"on":true,"level":100}
                
                dslraserD 1 Reply Last reply
                0
                • S Offline
                  S Offline
                  skokarl
                  wrote on last edited by
                  #15

                  leider nichts, eben nochmal getestet.

                  Lichtleiste ist an und gelb.
                  Wenn Alarm kommt wird sie rot und blinkt.
                  Wenn die Zeit abgelaufen ist bleibt sie mit rot Dauerlicht an.

                  IOBroker mit Proxmox auf Celeron Nuc mit 16 GB und Debian11, Sonos API, Echo Show 15 als Wandtablet, Homematic IP, HUE, Sonos, Echos, DS718+ als Backup

                  1 Reply Last reply
                  0
                  • S SevenUp

                    @skokarl
                    Was steht danach im Log? Habe keinen richtigen Beispiel zur Hand...

                    final lightState for Philips_hue.FLU_Licht_Tischlampe:{"bri":254,"on":true,"level":100}
                    
                    dslraserD Offline
                    dslraserD Offline
                    dslraser
                    Forum Testing Most Active
                    wrote on last edited by dslraser
                    #16

                    @SevenUp
                    ist diese Stelle eigentlich richtig ?
                    Falls Wert von Alarm....was denn ? Muss da nicht ein Vergleich dabei sein...wahr/falsch/kleiner/größer/gleich/ungleich irgendwas ?
                    (ich habe das Blockly bisher noch gar nicht probiert)

                    20190523_085610.png

                    thewhoboxT 1 Reply Last reply
                    0
                    • dslraserD dslraser

                      @SevenUp
                      ist diese Stelle eigentlich richtig ?
                      Falls Wert von Alarm....was denn ? Muss da nicht ein Vergleich dabei sein...wahr/falsch/kleiner/größer/gleich/ungleich irgendwas ?
                      (ich habe das Blockly bisher noch gar nicht probiert)

                      20190523_085610.png

                      thewhoboxT Offline
                      thewhoboxT Offline
                      thewhobox
                      wrote on last edited by
                      #17

                      @dslraser Ich lese raus, dass der Datenpunkt Alarm ein boolean ist. Somit braucht man keinen Vergleich, da Alarm schon selbst true oder false zurück gibt.

                      Das IF hätte man sich aber sparen können, wenn man im Trigger "wenn wahr" auswählt, anstatt "wurde geändert".

                      Meine Adapter: emby | discovery
                      Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                      1 Reply Last reply
                      0
                      • S skokarl

                        passt bei mir irgendwie nicht ....

                        wenn die Lichtleiste "aus" war,
                        ist sie nach dem Alarm zwar dunkel,.... aber nicht aus.

                        wenn die Lichtleiste "an" war, hört zwar das rote blinken auf, die Leiste bleibt auch an.... aber die alte
                        Lichtfarbe wird nicht wieder hergestellt

                        1.PNG

                        2.PNG

                        dslraserD Offline
                        dslraserD Offline
                        dslraser
                        Forum Testing Most Active
                        wrote on last edited by
                        #18

                        @skokarl
                        Ich habe es bei mir nun mal ausprobiert (ohne Trigger). Bei mir funktioniert es wie gewünscht, egal ob vorher die Lampe an oder aus war.
                        Bildschirmfoto 2019-05-24 um 14.55.24.png

                        <xml xmlns="http://www.w3.org/1999/xhtml">
                          <variables>
                            <variable type="" id="#-mXz|12s@TMb{7:o;u`">Alarmfarbe</variable>
                            <variable type="" id="e.5!g}F+GLL#M%]7JgZa">vorherige_Lichtwerte</variable>
                            <variable type="undefined" id="timeout">timeout</variable>
                          </variables>
                          <block type="variables_set" id="eV2nz=S+o0Qh#knfX(VX" x="-712" y="-462">
                            <field name="VAR" id="#-mXz|12s@TMb{7:o;u`" variabletype="">Alarmfarbe</field>
                            <value name="VALUE">
                              <block type="text" id="6=Nsu~FIZ]GOWy9RW!a~">
                                <field name="TEXT">{"level":100, "hue":0, "sat":254, "alert":"lselect", "transitiontime":0}</field>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="JSh#M2]R-=+=Ilabu1#W">
                                <field name="VAR" id="e.5!g}F+GLL#M%]7JgZa" variabletype="">vorherige_Lichtwerte</field>
                                <value name="VALUE">
                                  <block type="text_join" id="5JMlZ5#p?K_miTW0%b/">
                                    <mutation items="7"></mutation>
                                    <value name="ADD0">
                                      <block type="text" id="-bgNJM7V7-ijy4weJxPP">
                                        <field name="TEXT">{"level":</field>
                                      </block>
                                    </value>
                                    <value name="ADD1">
                                      <block type="get_value" id="^d1!LCT8^d!76j6YE^CT">
                                        <field name="ATTR">val</field>
                                        <field name="OID">hue.0.HueBridge.Fensterlampe.level</field>
                                      </block>
                                    </value>
                                    <value name="ADD2">
                                      <block type="text" id="a45R36kJ_]Cow)H4_gW">
                                        <field name="TEXT">,"hue":</field>
                                      </block>
                                    </value>
                                    <value name="ADD3">
                                      <block type="get_value" id="q@W(^YTY#/=2;qHZle)X">
                                        <field name="ATTR">val</field>
                                        <field name="OID">hue.0.HueBridge.Fensterlampe.hue</field>
                                      </block>
                                    </value>
                                    <value name="ADD4">
                                      <block type="text" id="H@tM2t+d@D(L/@2|cP/">
                                        <field name="TEXT">,"sat":</field>
                                      </block>
                                    </value>
                                    <value name="ADD5">
                                      <block type="get_value" id="wi{WaS95nx]r{v:ilOX">
                                        <field name="ATTR">val</field>
                                        <field name="OID">hue.0.HueBridge.Fensterlampe.sat</field>
                                      </block>
                                    </value>
                                    <value name="ADD6">
                                      <block type="text" id="0di1b!%j8COWfdC7MOm">
                                        <field name="TEXT">,"alert":"none","transitiontime":10}</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <next>
                                  <block type="debug" id="?~n!y!gZ).1#~VKEYw0+">
                                    <field name="Severity">warn</field>
                                    <value name="TEXT">
                                      <shadow type="text" id="U}J8OyoX%lG{BqIvycBC">
                                        <field name="TEXT">test</field>
                                      </shadow>
                                      <block type="variables_get" id="^8HToV[[g{2[G7Xm,Hc8">
                                        <field name="VAR" id="e.5!g}F+GLL#M%]7JgZa" variabletype="">vorherige_Lichtwerte</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="control" id="EtMjm5X93)jJEYLz]Nzd">
                                        <mutation delay_input="false"></mutation>
                                        <field name="OID">hue.0.HueBridge.Fensterlampe.command</field>
                                        <field name="WITH_DELAY">FALSE</field>
                                        <value name="VALUE">
                                          <block type="variables_get" id="ngn}]},?Md%P|OSygBYc">
                                            <field name="VAR" id="#-mXz|12s@TMb{7:o;u`" variabletype="">Alarmfarbe</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="debug" id="-2.sK$4IZEKdqKVtG.?~">
                                            <field name="Severity">error</field>
                                            <value name="TEXT">
                                              <shadow type="text" id="U}J8OyoX%lG{BqIvycBC">
                                                <field name="TEXT">test</field>
                                              </shadow>
                                              <block type="variables_get" id="y8ADzx2N+-MTNzC,=A5r">
                                                <field name="VAR" id="#-mXz|12s@TMb{7:o;u`" variabletype="">Alarmfarbe</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="timeouts_settimeout" id="Ft#CxWl=aL97Eq/1At(.">
                                                <field name="NAME">timeout</field>
                                                <field name="DELAY">20</field>
                                                <field name="UNIT">sec</field>
                                                <statement name="STATEMENT">
                                                  <block type="control" id="+f@3jf3-S)##iv,qIgug">
                                                    <mutation delay_input="false"></mutation>
                                                    <field name="OID">hue.0.HueBridge.Fensterlampe.command</field>
                                                    <field name="WITH_DELAY">FALSE</field>
                                                    <value name="VALUE">
                                                      <block type="variables_get" id="vQc+7P~B7!YMf=0ytWKl">
                                                        <field name="VAR" id="e.5!g}F+GLL#M%]7JgZa" variabletype="">vorherige_Lichtwerte</field>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="debug" id="}yN]gWyOGm0syZn=W-TS">
                                                        <field name="Severity">warn</field>
                                                        <value name="TEXT">
                                                          <shadow type="text" id="U}J8OyoX%lG{BqIvycBC">
                                                            <field name="TEXT">test</field>
                                                          </shadow>
                                                          <block type="variables_get" id="WD!ei3Vzj*IPWOsnWVD/">
                                                            <field name="VAR" id="e.5!g}F+GLL#M%]7JgZa" variabletype="">vorherige_Lichtwerte</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </statement>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </xml>
                        

                        S 1 Reply Last reply
                        0
                        • dslraserD dslraser

                          @skokarl
                          Ich habe es bei mir nun mal ausprobiert (ohne Trigger). Bei mir funktioniert es wie gewünscht, egal ob vorher die Lampe an oder aus war.
                          Bildschirmfoto 2019-05-24 um 14.55.24.png

                          <xml xmlns="http://www.w3.org/1999/xhtml">
                            <variables>
                              <variable type="" id="#-mXz|12s@TMb{7:o;u`">Alarmfarbe</variable>
                              <variable type="" id="e.5!g}F+GLL#M%]7JgZa">vorherige_Lichtwerte</variable>
                              <variable type="undefined" id="timeout">timeout</variable>
                            </variables>
                            <block type="variables_set" id="eV2nz=S+o0Qh#knfX(VX" x="-712" y="-462">
                              <field name="VAR" id="#-mXz|12s@TMb{7:o;u`" variabletype="">Alarmfarbe</field>
                              <value name="VALUE">
                                <block type="text" id="6=Nsu~FIZ]GOWy9RW!a~">
                                  <field name="TEXT">{"level":100, "hue":0, "sat":254, "alert":"lselect", "transitiontime":0}</field>
                                </block>
                              </value>
                              <next>
                                <block type="variables_set" id="JSh#M2]R-=+=Ilabu1#W">
                                  <field name="VAR" id="e.5!g}F+GLL#M%]7JgZa" variabletype="">vorherige_Lichtwerte</field>
                                  <value name="VALUE">
                                    <block type="text_join" id="5JMlZ5#p?K_miTW0%b/">
                                      <mutation items="7"></mutation>
                                      <value name="ADD0">
                                        <block type="text" id="-bgNJM7V7-ijy4weJxPP">
                                          <field name="TEXT">{"level":</field>
                                        </block>
                                      </value>
                                      <value name="ADD1">
                                        <block type="get_value" id="^d1!LCT8^d!76j6YE^CT">
                                          <field name="ATTR">val</field>
                                          <field name="OID">hue.0.HueBridge.Fensterlampe.level</field>
                                        </block>
                                      </value>
                                      <value name="ADD2">
                                        <block type="text" id="a45R36kJ_]Cow)H4_gW">
                                          <field name="TEXT">,"hue":</field>
                                        </block>
                                      </value>
                                      <value name="ADD3">
                                        <block type="get_value" id="q@W(^YTY#/=2;qHZle)X">
                                          <field name="ATTR">val</field>
                                          <field name="OID">hue.0.HueBridge.Fensterlampe.hue</field>
                                        </block>
                                      </value>
                                      <value name="ADD4">
                                        <block type="text" id="H@tM2t+d@D(L/@2|cP/">
                                          <field name="TEXT">,"sat":</field>
                                        </block>
                                      </value>
                                      <value name="ADD5">
                                        <block type="get_value" id="wi{WaS95nx]r{v:ilOX">
                                          <field name="ATTR">val</field>
                                          <field name="OID">hue.0.HueBridge.Fensterlampe.sat</field>
                                        </block>
                                      </value>
                                      <value name="ADD6">
                                        <block type="text" id="0di1b!%j8COWfdC7MOm">
                                          <field name="TEXT">,"alert":"none","transitiontime":10}</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="debug" id="?~n!y!gZ).1#~VKEYw0+">
                                      <field name="Severity">warn</field>
                                      <value name="TEXT">
                                        <shadow type="text" id="U}J8OyoX%lG{BqIvycBC">
                                          <field name="TEXT">test</field>
                                        </shadow>
                                        <block type="variables_get" id="^8HToV[[g{2[G7Xm,Hc8">
                                          <field name="VAR" id="e.5!g}F+GLL#M%]7JgZa" variabletype="">vorherige_Lichtwerte</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="control" id="EtMjm5X93)jJEYLz]Nzd">
                                          <mutation delay_input="false"></mutation>
                                          <field name="OID">hue.0.HueBridge.Fensterlampe.command</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="variables_get" id="ngn}]},?Md%P|OSygBYc">
                                              <field name="VAR" id="#-mXz|12s@TMb{7:o;u`" variabletype="">Alarmfarbe</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="debug" id="-2.sK$4IZEKdqKVtG.?~">
                                              <field name="Severity">error</field>
                                              <value name="TEXT">
                                                <shadow type="text" id="U}J8OyoX%lG{BqIvycBC">
                                                  <field name="TEXT">test</field>
                                                </shadow>
                                                <block type="variables_get" id="y8ADzx2N+-MTNzC,=A5r">
                                                  <field name="VAR" id="#-mXz|12s@TMb{7:o;u`" variabletype="">Alarmfarbe</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="timeouts_settimeout" id="Ft#CxWl=aL97Eq/1At(.">
                                                  <field name="NAME">timeout</field>
                                                  <field name="DELAY">20</field>
                                                  <field name="UNIT">sec</field>
                                                  <statement name="STATEMENT">
                                                    <block type="control" id="+f@3jf3-S)##iv,qIgug">
                                                      <mutation delay_input="false"></mutation>
                                                      <field name="OID">hue.0.HueBridge.Fensterlampe.command</field>
                                                      <field name="WITH_DELAY">FALSE</field>
                                                      <value name="VALUE">
                                                        <block type="variables_get" id="vQc+7P~B7!YMf=0ytWKl">
                                                          <field name="VAR" id="e.5!g}F+GLL#M%]7JgZa" variabletype="">vorherige_Lichtwerte</field>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="debug" id="}yN]gWyOGm0syZn=W-TS">
                                                          <field name="Severity">warn</field>
                                                          <value name="TEXT">
                                                            <shadow type="text" id="U}J8OyoX%lG{BqIvycBC">
                                                              <field name="TEXT">test</field>
                                                            </shadow>
                                                            <block type="variables_get" id="WD!ei3Vzj*IPWOsnWVD/">
                                                              <field name="VAR" id="e.5!g}F+GLL#M%]7JgZa" variabletype="">vorherige_Lichtwerte</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </statement>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </xml>
                          

                          S Offline
                          S Offline
                          skokarl
                          wrote on last edited by
                          #19

                          @dslraser
                          auch mit einem Hue LED Stripe ?
                          Vielleicht liegt es daran...?

                          IOBroker mit Proxmox auf Celeron Nuc mit 16 GB und Debian11, Sonos API, Echo Show 15 als Wandtablet, Homematic IP, HUE, Sonos, Echos, DS718+ als Backup

                          dslraserD 1 Reply Last reply
                          0
                          • S skokarl

                            @dslraser
                            auch mit einem Hue LED Stripe ?
                            Vielleicht liegt es daran...?

                            dslraserD Offline
                            dslraserD Offline
                            dslraser
                            Forum Testing Most Active
                            wrote on last edited by dslraser
                            #20

                            @skokarl

                            ich habe nochmal bissl was probiert und noch Werte dazu genommen. Das hier ist übrigens ein LED Stripe.
                            Wichtig nur, die Polling Zeit der Bridge musst Du mit bedenken...
                            ansonsten funktioniert es bei mr.

                            <xml xmlns="http://www.w3.org/1999/xhtml">
                              <variables>
                                <variable type="" id="#-mXz|12s@TMb{7:o;u`">Alarmfarbe</variable>
                                <variable type="" id="e.5!g}F+GLL#M%]7JgZa">vorherige_Lichtwerte</variable>
                                <variable type="undefined" id="timeout">timeout</variable>
                              </variables>
                              <block type="variables_set" id="eV2nz=S+o0Qh#knfX(VX" x="-712" y="-462">
                                <field name="VAR" id="#-mXz|12s@TMb{7:o;u`" variabletype="">Alarmfarbe</field>
                                <value name="VALUE">
                                  <block type="text" id="6=Nsu~FIZ]GOWy9RW!a~">
                                    <field name="TEXT">{"level":100, "hue":0, "sat":254, "alert":"lselect", "transitiontime":0}</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="variables_set" id="JSh#M2]R-=+=Ilabu1#W">
                                    <field name="VAR" id="e.5!g}F+GLL#M%]7JgZa" variabletype="">vorherige_Lichtwerte</field>
                                    <value name="VALUE">
                                      <block type="text_join" id="5JMlZ5#p?K_miTW0%b/">
                                        <mutation items="15"></mutation>
                                        <value name="ADD0">
                                          <block type="text" id="U]|wMur8iz=]8+1tUbt)">
                                            <field name="TEXT">{"b":</field>
                                          </block>
                                        </value>
                                        <value name="ADD1">
                                          <block type="get_value" id="NZkAkdN0/~@55G!/Pkdc">
                                            <field name="ATTR">val</field>
                                            <field name="OID">hue.0.HueBridge.Küchenlampe.b</field>
                                          </block>
                                        </value>
                                        <value name="ADD2">
                                          <block type="text" id="Sn~IfemChm#q`OF85zf_">
                                            <field name="TEXT">,"bri":</field>
                                          </block>
                                        </value>
                                        <value name="ADD3">
                                          <block type="get_value" id="w-Nf$ldfIha86^H6@;es">
                                            <field name="ATTR">val</field>
                                            <field name="OID">hue.0.HueBridge.Küchenlampe.bri</field>
                                          </block>
                                        </value>
                                        <value name="ADD4">
                                          <block type="text" id="J4e?aZH_?R{@OmOH_%/D">
                                            <field name="TEXT">,"ct":</field>
                                          </block>
                                        </value>
                                        <value name="ADD5">
                                          <block type="get_value" id="^d1!LCT8^d!76j6YE^CT">
                                            <field name="ATTR">val</field>
                                            <field name="OID">hue.0.HueBridge.Küchenlampe.ct</field>
                                          </block>
                                        </value>
                                        <value name="ADD6">
                                          <block type="text" id="8)^UE37gWq{,fia17fj+">
                                            <field name="TEXT">,"g":</field>
                                          </block>
                                        </value>
                                        <value name="ADD7">
                                          <block type="get_value" id="(A|R0bQaYx7P[6r)`9aM">
                                            <field name="ATTR">val</field>
                                            <field name="OID">hue.0.HueBridge.Küchenlampe.g</field>
                                          </block>
                                        </value>
                                        <value name="ADD8">
                                          <block type="text" id="D1l!wlU^r_O59T.1#K,:">
                                            <field name="TEXT">,"level":</field>
                                          </block>
                                        </value>
                                        <value name="ADD9">
                                          <block type="get_value" id="Nz~%^i2p_Y$ZO0CN=4TQ">
                                            <field name="ATTR">val</field>
                                            <field name="OID">hue.0.HueBridge.Küchenlampe.level</field>
                                          </block>
                                        </value>
                                        <value name="ADD10">
                                          <block type="text" id="0#:%W]Bk6?yYTOU#)G4r">
                                            <field name="TEXT">,"r":</field>
                                          </block>
                                        </value>
                                        <value name="ADD11">
                                          <block type="get_value" id="@F~(RKq^dqwzNI:B`5TW">
                                            <field name="ATTR">val</field>
                                            <field name="OID">hue.0.HueBridge.Küchenlampe.r</field>
                                          </block>
                                        </value>
                                        <value name="ADD12">
                                          <block type="text" id="H@tM2t+d@D(L/@2|cP/">
                                            <field name="TEXT">,"sat":</field>
                                          </block>
                                        </value>
                                        <value name="ADD13">
                                          <block type="get_value" id="wi{WaS95nx]r{v:ilOX">
                                            <field name="ATTR">val</field>
                                            <field name="OID">hue.0.HueBridge.Küchenlampe.sat</field>
                                          </block>
                                        </value>
                                        <value name="ADD14">
                                          <block type="text" id="0di1b!%j8COWfdC7MOm">
                                            <field name="TEXT">,"transitiontime":10}</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="debug" id="?~n!y!gZ).1#~VKEYw0+">
                                        <field name="Severity">warn</field>
                                        <value name="TEXT">
                                          <shadow type="text" id="U}J8OyoX%lG{BqIvycBC">
                                            <field name="TEXT">test</field>
                                          </shadow>
                                          <block type="variables_get" id="^8HToV[[g{2[G7Xm,Hc8">
                                            <field name="VAR" id="e.5!g}F+GLL#M%]7JgZa" variabletype="">vorherige_Lichtwerte</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="control" id="EtMjm5X93)jJEYLz]Nzd">
                                            <mutation delay_input="false"></mutation>
                                            <field name="OID">hue.0.HueBridge.Küchenlampe.command</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="variables_get" id="ngn}]},?Md%P|OSygBYc">
                                                <field name="VAR" id="#-mXz|12s@TMb{7:o;u`" variabletype="">Alarmfarbe</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="debug" id="-2.sK$4IZEKdqKVtG.?~">
                                                <field name="Severity">warn</field>
                                                <value name="TEXT">
                                                  <shadow type="text" id="U}J8OyoX%lG{BqIvycBC">
                                                    <field name="TEXT">test</field>
                                                  </shadow>
                                                  <block type="variables_get" id="y8ADzx2N+-MTNzC,=A5r">
                                                    <field name="VAR" id="#-mXz|12s@TMb{7:o;u`" variabletype="">Alarmfarbe</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="timeouts_settimeout" id="Ft#CxWl=aL97Eq/1At(.">
                                                    <field name="NAME">timeout</field>
                                                    <field name="DELAY">15</field>
                                                    <field name="UNIT">sec</field>
                                                    <statement name="STATEMENT">
                                                      <block type="control" id="+f@3jf3-S)##iv,qIgug">
                                                        <mutation delay_input="false"></mutation>
                                                        <field name="OID">hue.0.HueBridge.Küchenlampe.command</field>
                                                        <field name="WITH_DELAY">FALSE</field>
                                                        <value name="VALUE">
                                                          <block type="variables_get" id="vQc+7P~B7!YMf=0ytWKl">
                                                            <field name="VAR" id="e.5!g}F+GLL#M%]7JgZa" variabletype="">vorherige_Lichtwerte</field>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="debug" id="}yN]gWyOGm0syZn=W-TS">
                                                            <field name="Severity">warn</field>
                                                            <value name="TEXT">
                                                              <shadow type="text" id="U}J8OyoX%lG{BqIvycBC">
                                                                <field name="TEXT">test</field>
                                                              </shadow>
                                                              <block type="variables_get" id="WD!ei3Vzj*IPWOsnWVD/">
                                                                <field name="VAR" id="e.5!g}F+GLL#M%]7JgZa" variabletype="">vorherige_Lichtwerte</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </statement>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </xml>
                            

                            Bildschirmfoto 2019-05-24 um 16.45.37.png

                            S S 2 Replies Last reply
                            0
                            • dslraserD dslraser

                              @skokarl

                              ich habe nochmal bissl was probiert und noch Werte dazu genommen. Das hier ist übrigens ein LED Stripe.
                              Wichtig nur, die Polling Zeit der Bridge musst Du mit bedenken...
                              ansonsten funktioniert es bei mr.

                              <xml xmlns="http://www.w3.org/1999/xhtml">
                                <variables>
                                  <variable type="" id="#-mXz|12s@TMb{7:o;u`">Alarmfarbe</variable>
                                  <variable type="" id="e.5!g}F+GLL#M%]7JgZa">vorherige_Lichtwerte</variable>
                                  <variable type="undefined" id="timeout">timeout</variable>
                                </variables>
                                <block type="variables_set" id="eV2nz=S+o0Qh#knfX(VX" x="-712" y="-462">
                                  <field name="VAR" id="#-mXz|12s@TMb{7:o;u`" variabletype="">Alarmfarbe</field>
                                  <value name="VALUE">
                                    <block type="text" id="6=Nsu~FIZ]GOWy9RW!a~">
                                      <field name="TEXT">{"level":100, "hue":0, "sat":254, "alert":"lselect", "transitiontime":0}</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="variables_set" id="JSh#M2]R-=+=Ilabu1#W">
                                      <field name="VAR" id="e.5!g}F+GLL#M%]7JgZa" variabletype="">vorherige_Lichtwerte</field>
                                      <value name="VALUE">
                                        <block type="text_join" id="5JMlZ5#p?K_miTW0%b/">
                                          <mutation items="15"></mutation>
                                          <value name="ADD0">
                                            <block type="text" id="U]|wMur8iz=]8+1tUbt)">
                                              <field name="TEXT">{"b":</field>
                                            </block>
                                          </value>
                                          <value name="ADD1">
                                            <block type="get_value" id="NZkAkdN0/~@55G!/Pkdc">
                                              <field name="ATTR">val</field>
                                              <field name="OID">hue.0.HueBridge.Küchenlampe.b</field>
                                            </block>
                                          </value>
                                          <value name="ADD2">
                                            <block type="text" id="Sn~IfemChm#q`OF85zf_">
                                              <field name="TEXT">,"bri":</field>
                                            </block>
                                          </value>
                                          <value name="ADD3">
                                            <block type="get_value" id="w-Nf$ldfIha86^H6@;es">
                                              <field name="ATTR">val</field>
                                              <field name="OID">hue.0.HueBridge.Küchenlampe.bri</field>
                                            </block>
                                          </value>
                                          <value name="ADD4">
                                            <block type="text" id="J4e?aZH_?R{@OmOH_%/D">
                                              <field name="TEXT">,"ct":</field>
                                            </block>
                                          </value>
                                          <value name="ADD5">
                                            <block type="get_value" id="^d1!LCT8^d!76j6YE^CT">
                                              <field name="ATTR">val</field>
                                              <field name="OID">hue.0.HueBridge.Küchenlampe.ct</field>
                                            </block>
                                          </value>
                                          <value name="ADD6">
                                            <block type="text" id="8)^UE37gWq{,fia17fj+">
                                              <field name="TEXT">,"g":</field>
                                            </block>
                                          </value>
                                          <value name="ADD7">
                                            <block type="get_value" id="(A|R0bQaYx7P[6r)`9aM">
                                              <field name="ATTR">val</field>
                                              <field name="OID">hue.0.HueBridge.Küchenlampe.g</field>
                                            </block>
                                          </value>
                                          <value name="ADD8">
                                            <block type="text" id="D1l!wlU^r_O59T.1#K,:">
                                              <field name="TEXT">,"level":</field>
                                            </block>
                                          </value>
                                          <value name="ADD9">
                                            <block type="get_value" id="Nz~%^i2p_Y$ZO0CN=4TQ">
                                              <field name="ATTR">val</field>
                                              <field name="OID">hue.0.HueBridge.Küchenlampe.level</field>
                                            </block>
                                          </value>
                                          <value name="ADD10">
                                            <block type="text" id="0#:%W]Bk6?yYTOU#)G4r">
                                              <field name="TEXT">,"r":</field>
                                            </block>
                                          </value>
                                          <value name="ADD11">
                                            <block type="get_value" id="@F~(RKq^dqwzNI:B`5TW">
                                              <field name="ATTR">val</field>
                                              <field name="OID">hue.0.HueBridge.Küchenlampe.r</field>
                                            </block>
                                          </value>
                                          <value name="ADD12">
                                            <block type="text" id="H@tM2t+d@D(L/@2|cP/">
                                              <field name="TEXT">,"sat":</field>
                                            </block>
                                          </value>
                                          <value name="ADD13">
                                            <block type="get_value" id="wi{WaS95nx]r{v:ilOX">
                                              <field name="ATTR">val</field>
                                              <field name="OID">hue.0.HueBridge.Küchenlampe.sat</field>
                                            </block>
                                          </value>
                                          <value name="ADD14">
                                            <block type="text" id="0di1b!%j8COWfdC7MOm">
                                              <field name="TEXT">,"transitiontime":10}</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="debug" id="?~n!y!gZ).1#~VKEYw0+">
                                          <field name="Severity">warn</field>
                                          <value name="TEXT">
                                            <shadow type="text" id="U}J8OyoX%lG{BqIvycBC">
                                              <field name="TEXT">test</field>
                                            </shadow>
                                            <block type="variables_get" id="^8HToV[[g{2[G7Xm,Hc8">
                                              <field name="VAR" id="e.5!g}F+GLL#M%]7JgZa" variabletype="">vorherige_Lichtwerte</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="control" id="EtMjm5X93)jJEYLz]Nzd">
                                              <mutation delay_input="false"></mutation>
                                              <field name="OID">hue.0.HueBridge.Küchenlampe.command</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="variables_get" id="ngn}]},?Md%P|OSygBYc">
                                                  <field name="VAR" id="#-mXz|12s@TMb{7:o;u`" variabletype="">Alarmfarbe</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="debug" id="-2.sK$4IZEKdqKVtG.?~">
                                                  <field name="Severity">warn</field>
                                                  <value name="TEXT">
                                                    <shadow type="text" id="U}J8OyoX%lG{BqIvycBC">
                                                      <field name="TEXT">test</field>
                                                    </shadow>
                                                    <block type="variables_get" id="y8ADzx2N+-MTNzC,=A5r">
                                                      <field name="VAR" id="#-mXz|12s@TMb{7:o;u`" variabletype="">Alarmfarbe</field>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="timeouts_settimeout" id="Ft#CxWl=aL97Eq/1At(.">
                                                      <field name="NAME">timeout</field>
                                                      <field name="DELAY">15</field>
                                                      <field name="UNIT">sec</field>
                                                      <statement name="STATEMENT">
                                                        <block type="control" id="+f@3jf3-S)##iv,qIgug">
                                                          <mutation delay_input="false"></mutation>
                                                          <field name="OID">hue.0.HueBridge.Küchenlampe.command</field>
                                                          <field name="WITH_DELAY">FALSE</field>
                                                          <value name="VALUE">
                                                            <block type="variables_get" id="vQc+7P~B7!YMf=0ytWKl">
                                                              <field name="VAR" id="e.5!g}F+GLL#M%]7JgZa" variabletype="">vorherige_Lichtwerte</field>
                                                            </block>
                                                          </value>
                                                          <next>
                                                            <block type="debug" id="}yN]gWyOGm0syZn=W-TS">
                                                              <field name="Severity">warn</field>
                                                              <value name="TEXT">
                                                                <shadow type="text" id="U}J8OyoX%lG{BqIvycBC">
                                                                  <field name="TEXT">test</field>
                                                                </shadow>
                                                                <block type="variables_get" id="WD!ei3Vzj*IPWOsnWVD/">
                                                                  <field name="VAR" id="e.5!g}F+GLL#M%]7JgZa" variabletype="">vorherige_Lichtwerte</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </statement>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </xml>
                              

                              Bildschirmfoto 2019-05-24 um 16.45.37.png

                              S Offline
                              S Offline
                              skokarl
                              wrote on last edited by
                              #21

                              @dslraser
                              super vielen dank !
                              Ich hatte auch schon überlegt ob Werte fehlen, wusste oder weiß aber noch nicht
                              genau wie es geht und was die Werte bedeuten.
                              Probier ich nachher.

                              IOBroker mit Proxmox auf Celeron Nuc mit 16 GB und Debian11, Sonos API, Echo Show 15 als Wandtablet, Homematic IP, HUE, Sonos, Echos, DS718+ als Backup

                              dslraserD 2 Replies Last reply
                              0
                              • S skokarl

                                @dslraser
                                super vielen dank !
                                Ich hatte auch schon überlegt ob Werte fehlen, wusste oder weiß aber noch nicht
                                genau wie es geht und was die Werte bedeuten.
                                Probier ich nachher.

                                dslraserD Offline
                                dslraserD Offline
                                dslraser
                                Forum Testing Most Active
                                wrote on last edited by dslraser
                                #22

                                @skokarl
                                ich habe nicht alle Werte genommen...Ich habe mich mal an den Datenpunkten orientiert.
                                (Screenshoot ist zwar ne andere Lampe, aber auch eine farbige mit den gleichen Datenpunkten wie mein LED Stripe in der Küche mit dem ich es dann probiert habe)
                                Der colormode spielt vielleicht auch noch eine Rolle, wenn ich eigene Szenen schalten steht da ein anderer Mode als bei der Spracheingabe)
                                Ich nutze übrigens den HUE Adapter 0.6.9.(alle anderen Versionen funktionieren anders und haben bei mir Verzögerungen. Polling steht bei mir auf 5 Sekunden.)

                                Bildschirmfoto 2019-05-24 um 15.42.54.png

                                1 Reply Last reply
                                0
                                • S skokarl

                                  @dslraser
                                  super vielen dank !
                                  Ich hatte auch schon überlegt ob Werte fehlen, wusste oder weiß aber noch nicht
                                  genau wie es geht und was die Werte bedeuten.
                                  Probier ich nachher.

                                  dslraserD Offline
                                  dslraserD Offline
                                  dslraser
                                  Forum Testing Most Active
                                  wrote on last edited by
                                  #23

                                  @skokarl

                                  PS: Hier tüftelt anscheinend auch Jemand damit rum:relaxed:

                                  1 Reply Last reply
                                  0
                                  • S Offline
                                    S Offline
                                    skokarl
                                    wrote on last edited by
                                    #24

                                    bin am testen,

                                    mal was anderes ...wofür benutzt man den timeout eigentlich ?

                                    1.PNG

                                    also, das was innerhalb des Timeouts steht wird nach der oben eingestellten Zeit ausgeführt, richtig ?
                                    Aber wann und zu welchem Zweck nutze ich den Timeout ?

                                    IOBroker mit Proxmox auf Celeron Nuc mit 16 GB und Debian11, Sonos API, Echo Show 15 als Wandtablet, Homematic IP, HUE, Sonos, Echos, DS718+ als Backup

                                    dslraserD 1 Reply Last reply
                                    0
                                    • S skokarl

                                      bin am testen,

                                      mal was anderes ...wofür benutzt man den timeout eigentlich ?

                                      1.PNG

                                      also, das was innerhalb des Timeouts steht wird nach der oben eingestellten Zeit ausgeführt, richtig ?
                                      Aber wann und zu welchem Zweck nutze ich den Timeout ?

                                      dslraserD Offline
                                      dslraserD Offline
                                      dslraser
                                      Forum Testing Most Active
                                      wrote on last edited by dslraser
                                      #25

                                      @skokarl
                                      der alert Befehl lässt die HUE Lampe 15 x blinnken. Das benötigt in etwas 15 Sekunden, erst danach soll die vorherige Farbe wieder eingestellt werden, sonst würde das blinken schon vorher beendet.
                                      Das macht in diesem Beispiel der timeout.

                                      PS: die Debug Bausteine waren übrigens nur um zu testen, die können dann weg. (ich stelle da immer warning oder error ein, weil die ne andere Farbe haben, so kann man besser beobachten was passiert)

                                      werner2000xW 1 Reply Last reply
                                      0
                                      • S Offline
                                        S Offline
                                        skokarl
                                        wrote on last edited by
                                        #26

                                        sorry.....
                                        hab mich vertan......es ging um den stop timeout ....
                                        wofür brauche ich den ?
                                        Gibt Beispiele da wird der benutzt, bei anderen nicht

                                        IOBroker mit Proxmox auf Celeron Nuc mit 16 GB und Debian11, Sonos API, Echo Show 15 als Wandtablet, Homematic IP, HUE, Sonos, Echos, DS718+ als Backup

                                        dslraserD 2 Replies Last reply
                                        0
                                        • S skokarl

                                          sorry.....
                                          hab mich vertan......es ging um den stop timeout ....
                                          wofür brauche ich den ?
                                          Gibt Beispiele da wird der benutzt, bei anderen nicht

                                          dslraserD Offline
                                          dslraserD Offline
                                          dslraser
                                          Forum Testing Most Active
                                          wrote on last edited by
                                          #27

                                          @skokarl
                                          kommt auf das Beispiel an, aber eigentlich genau wie er heißt, zum "stoppen", z.B. wenn sich ein Trigger ändert und dann der timeout gestoppt werden soll, z.B. wenn er schon läuft und dann doch nicht ausgeführt werden soll.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          319

                                          Online

                                          32.6k

                                          Users

                                          82.3k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe