NEWS
Hue Lampen mit TV steuern
-
Hallo zusammen,
ich habe mir jetzt einiges von Hue zugelegt.
Möchte jetzt mit Hilfe des Homematic Funksteckdose mit Leisungsmessung meine indirekte Beleuchtung beim Einschalten des TV's ab Sonnenuntergang automatisch einschalten lassen.
Das mit dem automatischen Einschalten hat schon mal funktioniert. Das mit dem Sonnenuntergang bekomme ich bestimmt auch noch hin.
Aber…
Ich arbeite auch mit dem Yahka-Adapter um vom iPhone meine Geräte zu steuern.
Wie kann ich denn mit meinem Skript unabhängig bleiben und die TV-Beleuchtung auch zusätzlich manuell ein-/ausschalten wenn der TV nicht läuft?
~~![](</s><URL url=)http://www.g-knoblauch.de/georg/hue.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">hm-rpc.3.OEQ1545356.2.CURRENT</field>
! <field name="CONDITION">ne</field>
! <statement name="STATEMENT"><block type="controls_if" id="Q(ZLF4+nBpl(JgP%OTRH"><value name="IF0"><block type="logic_compare" id="ot[6[2RHZNknha(9B.?@"><field name="OP">GT</field>
! <value name="A"><block type="get_value" id="tVX3T9/;4t_G)^s.P_9"><field name="ATTR">val</field> ! <field name="OID">hm-rpc.0.OEQ1545356.2.CURRENT</field></block></value> ! <value name="B"><block type="math_number" id=":ZS_.=KYu
ZRxWzubg/"><field name="NUM">100</field></block></value></block></value>
! <statement name="DO0"><block type="control" id="hK:J0_/V@UkN|t5E-t)6"><mutation delay_input="false"></mutation>
! <field name="OID">.Meine_Geräte.TV_hue_Licht</field>
! <field name="WITH_DELAY">FALSE</field>
! <value name="VALUE"><block type="logic_boolean" id="1k[G%OcvNhEICDDuUv0O"><field name="BOOL">TRUE</field></block></value>
! <next><block type="comment" id="-Jqp:|J/!7A@,NUB_UAH"><field name="COMMENT">Schaltet Hue auf Weiß</field>
! <next><block type="comment" id="s!-Sos_EQ5xyQV|fz_@."><field name="COMMENT">TV 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="control" id="(u-f/exrR!J2oXSGU%0/"><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=";FI:-1XG(@Fq}F7V^BM"><field name="NUM">224</field></block></value>
! <next><block type="control" id="F4a70aPk}o,.#X6]xkb"><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="xfVgol9W7pJGX)lIAyw/"><field name="NUM">249</field></block></value>
! <next><block type="control" id="l,:TuH~YBoT1BtbLU5^"><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="JBf{@4Iixjr5TNVY)rt+"><field name="NUM">254</field></block></value> ! <next><block type="control" id="?3BhfAPn*BsBzS~!Kn7T"><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="K#?|[fr68Jea]wTqI:tc"><field name="NUM">254</field></block></value> ! <next><block type="comment" id="^~++xuL:bfO(DF3U4R~k"><field name="COMMENT">TV Iris 1</field> ! <next><block type="control" id="]Dwh4sH#E~wxqmL*18/q"><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="d-?O9st=Tt2ZtC41[_7^"><field name="BOOL">TRUE</field></block></value> ! <next><block type="control" id="}8clK]=d9g=S,~iQ1))u"><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="T[PLgCw%mkTRnFrtCC%3"><field name="NUM">224</field></block></value> ! <next><block type="control" id="Hk]wNQ07mg0205QF5!uV"><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="{RuG]DaDuJ8TwP5vgE+@"><field name="NUM">249</field></block></value> ! <next><block type="control" id="w=Bcm3}[;{c?XH8VYU|3"><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="zDhm*c=9JS~CMurivz=J"><field name="NUM">254</field></block></value> ! <next><block type="control" id="^E]%N68V+{f28gaS*vRf"><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="bFJH;I~(,hZ5.Ay{EhNP"><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></statement> ! <next><block type="controls_if" id="efIX?DBPCp]R0*5|Zdhb"><value name="IF0"><block type="logic_compare" id="KXm!F:rj9
GpC;M?#Bl"><field name="OP">LT</field>
! <value name="A"><block type="get_value" id="j+}h=LSk9SQ{6M5fPjQ!"><field name="ATTR">val</field>
! <field name="OID">hm-rpc.0.OEQ1545356.2.CURRENT</field></block></value>
! <value name="B"><block type="math_number" id="Jz:i(KcRhIQ.ZMd^4W"><field name="NUM">99</field></block></value></block></value>
! <statement name="DO0"><block type="control" id=";.6@4crdo#eh:r5sSja3"><mutation delay_input="false"></mutation>
! <field name="OID">.Meine_Geräte.TV_hue_Licht</field>
! <field name="WITH_DELAY">FALSE</field>
! <value name="VALUE"><block type="logic_boolean" id="QCqYDV*eqE#``h1Sj7["><field name="BOOL">FALSE</field></block></value> ! <next><block type="comment" id="_QBZN+[,)Yq(X;sU]xI;"><field name="COMMENT">TV 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="ZM~9gHg77m/lge)3(?2X"><field name="COMMENT">TV Iris 1</field> ! <next><block type="control" id="J:T}/sK+r**1
.{,0UQY"><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="}Ct{;|HF50B0:Fh:0S4#"><field name="BOOL">FALSE</field></block></value></block></next></block></next></block></next></block></next></block></statement></block></next></block></statement></block></xml>Vielleicht weiß das auch noch jemand:
Gibt es eine elegantere Lösung den Hue Lampen einen Farbwechsel zu geben?
Finde meine Lösung sehr aufwendig und bei Lightify geht das alles in der Command mit einem Textbaustein. z.B. "r = 255, g: 0, b: 0". Gibt es da auch was, wie ich das bei meinen Hue einsetzen kann?
Vielen Dank für Eure Hilfe
Georg~~