Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. [gelöst] Hue Farbwechsel erlauben

    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

    [gelöst] Hue Farbwechsel erlauben

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

      Hallo zusammen,

      ich lasse mit einem Datenpunkt die Leistung meines TV's abrufen und bei Stromverbrauch schalten 2 Hue Lampen ein. (Objekt: TV_Hue_Licht_)

      Die Lampen starten mit einer Grundfarbe von weiß (r224, g249, b254). - das funktioniert auch super.

      Die Lampen sind auch bei mir mit Homekit (durch die Philips-App) verbunden und zeigen auch immer den richtigen Status an.

      Jetzt möchte ich aber nach Laune nachträglich mit Homekit die Farben ändern können. Das funktioniert auch, aber nur paar Sekunden, da das Skript scheinbar wieder prüft und die Farben zurückstellt.

      Wie kann ich das so Anlegen, dass nur beim Start der Lampen, also wenn Datenpunkt TV_Hue_Licht_auf true geht einmalig die RGB-Werte eingestellt werden, aber dann bis zum ausschalten nicht mehr?

      Oder gehe ich das ganze Falsch an?

      Gibt es bessere/vernünftigere Lösungen?

      Ich bin jedenfalls über alle Tipps dankbar.

      Georg

      ~~![](</s><URL url=)http://www.g-knoblauch.de/georg/Hue_TV_Licht.jpg" />

      ! <xml 1999/xmlns="<URL url=" http:/www.w3.org/xhtml"="">http://www.w3.org/1999/xhtml">
      ! <block type="on" id="197S%)41z[Iw;daxEz02" x="-912" y="-212"><field name="OID">.Meine_Geräte.TV_hue_Licht</field>
      ! <field name="CONDITION">any</field>
      ! <statement name="STATEMENT"><block type="controls_if" id="Q(ZLF4+nBpl(JgP%OTRH"><value name="IF0"><block type="logic_compare" id="iWzdiQ3x,Hk]C6%a%Bc2"><field name="OP">EQ</field>
      ! <value name="A"><block type="get_value" id="jS.vhfb%.SIXj6?KF]x"><field name="ATTR">val</field> ! <field name="OID">.Meine_Geräte.TV_hue_Licht</field></block></value> ! <value name="B"><block type="logic_boolean" id="oR}3i}=vmD:j2q}1Y|8b"><field name="BOOL">TRUE</field></block></value></block></value> ! <statement name="DO0"><block type="comment" id=".qi#t~QPqe:Ph|u-AVs"><field name="COMMENT">Lightstrip 1</field>
      ! <next><block type="control" id="T/J0m@lmNk2C=}lM3bNk"><mutation delay_input="false"></mutation>
      ! <field name="OID">hue.0.Philips_hue.Hue_lightstrip_plus_1.on</field>
      ! <field name="WITH_DELAY">FALSE</field>
      ! <value name="VALUE"><block type="logic_boolean" id="eU%pwBr9GgtePf};~PBP"><field name="BOOL">TRUE</field></block></value>
      ! <next><block type="comment" id="d7+VOfKx2uGcd/LKwK{"><field name="COMMENT">Farbe auf Weiß</field>
      ! <next><block type="control" id="9et3SgClNg/yG_CJs]8s"><mutation delay_input="false"></mutation>
      ! <field name="OID">hue.0.Philips_hue.Hue_lightstrip_plus_1.r</field>
      ! <field name="WITH_DELAY">FALSE</field>
      ! <value name="VALUE"><block type="math_number" id=";uy.zqrj
      /kMP9=vuy/"><field name="NUM">224</field></block></value>
      ! <next><block type="control" id="@Pyd?Rqo{5V^AOw.A)BJ"><mutation delay_input="false"></mutation>
      ! <field name="OID">hue.0.Philips_hue.Hue_lightstrip_plus_1.g</field>
      ! <field name="WITH_DELAY">FALSE</field>
      ! <value name="VALUE"><block type="math_number" id="Q7MKmGGJn/okoI;E0+M:"><field name="NUM">249</field></block></value>
      ! <next><block type="control" id="~(x?([K[FFOHW(/jrdk6"><mutation delay_input="false"></mutation>
      ! <field name="OID">hue.0.Philips_hue.Hue_lightstrip_plus_1.b</field>
      ! <field name="WITH_DELAY">FALSE</field>
      ! <value name="VALUE"><block type="math_number" id="B;!W1GxrK*Gfm1JqIqD"><field name="NUM">254</field></block></value> ! <next><block type="control" id="qD!!?fQtvClLF=+35;O_"><mutation delay_input="false"></mutation> ! <field name="OID">hue.0.Philips_hue.Hue_lightstrip_plus_1.level</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="math_number" id="@pHwu@86DPOwNmL|qEYN"><field name="NUM">100</field></block></value> ! <next><block type="control" id="Q]sMJ[/0jSV8j1d=Qm+;"><mutation delay_input="false"></mutation> ! <field name="OID">hue.0.Philips_hue.Hue_lightstrip_plus_1.bri</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="math_number" id="@LnMQUioLQO/ZOp@/e1"><field name="NUM">254</field></block></value>
      ! <next><block type="comment" id="^!iF.F,N!=F(,T;|TXY"><field name="COMMENT">Iris 1</field> ! <next><block type="control" id="|w+p=V)ON-u0!oI/63,~"><mutation delay_input="false"></mutation> ! <field name="OID">hue.0.Philips_hue.Hue_iris_1.on</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="logic_boolean" id="Pezn*WdmZicSJ!-.};nO"><field name="BOOL">TRUE</field></block></value> ! <next><block type="comment" id=":ula,+y-w[|vmD?SzaAV"><field name="COMMENT">Farbe auf Weiß</field> ! <next><block type="control" id="j6vYJg0R*xi4t_00ax}G"><mutation delay_input="false"></mutation> ! <field name="OID">hue.0.Philips_hue.Hue_iris_1.r</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="math_number" id=",~66:*q#~ToscAeI-UAh"><field name="NUM">224</field></block></value> ! <next><block type="control" id="[r8]oc#u4oTlPN-w0z_G"><mutation delay_input="false"></mutation> ! <field name="OID">hue.0.Philips_hue.Hue_iris_1.g</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="math_number" id="XH/{U*a!jPR9Cb,T!NVk"><field name="NUM">249</field></block></value> ! <next><block type="control" id="a_EkN-fVQ~QD1jCWFa5Z"><mutation delay_input="false"></mutation> ! <field name="OID">hue.0.Philips_hue.Hue_iris_1.b</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="math_number" id="..e!_I|^??JOuIVDpjfO"><field name="NUM">254</field></block></value> ! <next><block type="control" id="|,kqDPBZNS9z;hT^BAZY"><mutation delay_input="false"></mutation> ! <field name="OID">hue.0.Philips_hue.Hue_iris_1.level</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="math_number" id="zMgBoKPI?#^,K-}nt!{-"><field name="NUM">100</field></block></value> ! <next><block type="control" id="rV!8]jvq^4:j|Fb8hJa."><mutation delay_input="false"></mutation> ! <field name="OID">hue.0.Philips_hue.Hue_iris_1.bri</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="math_number" id="XF(?)}p%0VJ`RL~bhU_"><field name="NUM">254</field></block></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement>
      ! <next><block type="controls_if" id="efIX?DBPCp]R0
      5|Zdhb"><value name="IF0"><block type="logic_compare" id="g@;<EMAIL email=" l@omn.jzx03k"="">L@oMN.jZx03K|4XF)">
      ! <field name="OP">EQ</field>
      ! <value name="A"><block type="get_value" id="c%yvjyL-:Nb~ZDj6GW|Q"><field name="ATTR">val</field>
      ! <field name="OID">.Meine_Geräte.TV_hue_Licht</field></block></value>
      ! <value name="B"><block type="logic_boolean" id="nb?Z?a4v_}AcpF=AO|6|"><field name="BOOL">FALSE</field></block></value></block></value>
      ! <statement name="DO0"><block type="comment" id="X1~?#EXr=x06B.=qUa+A"><field name="COMMENT">Lightstrip 1</field>
      ! <next><block type="control" id="JDkuFS%#|odPRVgK~^;x"><mutation delay_input="false"></mutation>
      ! <field name="OID">hue.0.Philips_hue.Hue_lightstrip_plus_1.on</field>
      ! <field name="WITH_DELAY">FALSE</field>
      ! <value name="VALUE"><block type="logic_boolean" id="rsIWHa|bjzK,aK?8Xg[u"><field name="BOOL">FALSE</field></block></value>
      ! <next><block type="comment" id="s|KMzjOiW:gaCId%b8OH"><field name="COMMENT">Iris 1</field>
      ! <next><block type="control" id=".4]wZfQLq/uApdqy|rb@"><mutation delay_input="false"></mutation>
      ! <field name="OID">hue.0.Philips_hue.Hue_iris_1.on</field>
      ! <field name="WITH_DELAY">FALSE</field>
      ! <value name="VALUE"><block type="logic_boolean" id="QfUq71yeL@npO^;Iv#K!"><field name="BOOL">FALSE</field></block></value></block></next></block></next></block></next></block></statement></block></next></block></statement></block></xml>~~

      1 Reply Last reply Reply Quote 0
      • N
        Nikoxx last edited by

        Hi, versuch mal oben im Trigger "wurde geändert" anstatt wurde aktualisiert.

        LG

        1 Reply Last reply Reply Quote 0
        • G
          georg2608 last edited by

          Danke, das klappt jetzt.

          Manchmal kann die Antwort so einfach sein

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

          Support us

          ioBroker
          Community Adapters
          Donate

          479
          Online

          31.9k
          Users

          80.2k
          Topics

          1.3m
          Posts

          2
          3
          545
          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