NEWS
Chromecast url2play - hat sich was geändert ?
-
Servus,
hab eigentlich seit 2 Jahren mein Skript am laufen.
Wenn ein Datenpunkt auf True geht dann schaltet er meinen Samsung Frame via WOL ein, schaltet den Strom vom Chromecast ein und den Fernseher auf HDMI4....
so lief das immer.......
Das läuft auch alles immer noch so, nur passiert nach dem setzen einer internen URL ( auf ner Synology) passiert nichts mehr, der Chromecast Start Screen rennt, im Log zeigt er das er die URL übertragen hat und ansonsten passiert nichts...
Chromecast Adapter Version ist 3.4.1 ( meines wissens nach die neuste)
Blockly sieht so aus :<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="aIW^;E4D18|KPq|YXzuZ">x</variable> <variable id="%0UFIJs{{$t?H]?61,/2">LaengeWert</variable> <variable id="mcMgnW/8T]5@dO9P~~:P">LogEintrag</variable> <variable type="interval" id="Intervall3">Intervall3</variable> </variables> <block type="comment" id="!f|)VmF)}P[V5jwYosWE" x="-1213" y="-2587"> <field name="COMMENT">Fernseher Chromecast und Videofile von Synology abspielen und stoppen</field> <next> <block type="on" id="+V=Kt,65ICk[?eQ6~S7z"> <field name="OID">0_userdata.0.Veranstaltung.Zeitsteuerung.Besichtigung</field> <field name="CONDITION">any</field> <field name="ACK_CONDITION"></field> <statement name="STATEMENT"> <block type="controls_if" id="CxVq3-c/wY*rl%(7.r5p"> <value name="IF0"> <block type="logic_compare" id="?w.,{@i-Ul5{GSm1LC^F"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="p^X!^NU}_:i%0r,OFbsH"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Veranstaltung.Zeitsteuerung.Besichtigung</field> </block> </value> <value name="B"> <block type="logic_boolean" id="/VG:7_0aP3f[J%xlgl::"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="controls_if" id=")P[4xwvu$!iKve84|;xH"> <value name="IF0"> <block type="logic_compare" id="Rg1}Jl$^;cx0adRvhBO2"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="@]fvy--8D}Abrj1j4Kmk"> <field name="ATTR">val</field> <field name="OID">smartthings.0.0dfbe327-d845-4dfd-37eb-1c21c2b71ce1.status.switch.switch.value</field> </block> </value> <value name="B"> <block type="text" id="prv5dflSvfcRN@Yl%r/f"> <field name="TEXT">off</field> </block> </value> </block> </value> <statement name="DO0"> <block type="procedures_callcustomnoreturn" id="fnJpn-u39P16xq-;eoNX"> <mutation name="WOL-SAMSUNG"> <arg name="x"></arg> </mutation> <next> <block type="controls_if" id="HZQPaBwoP)dTu$6Cnh/@"> <value name="IF0"> <block type="logic_compare" id="h/[]A,u`%^LrvJh.}YX/"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="$G$Xh~LHVdXSFNa4;;]#"> <field name="ATTR">val</field> <field name="OID">sonoff.0.PG-IOT-18.POWER</field> </block> </value> <value name="B"> <block type="logic_boolean" id="RTypR9p5V4CmH-vHzHo?"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="~SBk@vc;DD3Gue(YH#w4"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">sonoff.0.PG-IOT-18.POWER</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id=",fGBz#[pd_V?7r^6u8=R"> <field name="BOOL">TRUE</field> </block> </value> </block> </statement> <next> <block type="control" id="xt|^oPx_U:yA6dx#z3T)"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">smartthings.0.0dfbe327-d845-4dfd-37eb-1c21c2b71ce1.capabilities.refresh-refresh</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">1</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="{ZYflV_?Mn.DJMM?oP(}"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="control" id="99g=E%J+9?ONXS[N;p;l"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">smartthings.0.0dfbe327-d845-4dfd-37eb-1c21c2b71ce1.capabilities.refresh-refresh</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">1</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="nS2IP1^/HwKf1EohE{1L"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="control" id=")WOsaG=]+x]9^G{vMzqy"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">smartthings.0.0dfbe327-d845-4dfd-37eb-1c21c2b71ce1.capabilities.switch-on</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">1</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id=":}t_}_UD.CPmv#xo]U_i"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="procedures_callcustomnoreturn" id="[P9TyRn:M:D2!4c(23Xx"> <mutation name="WOL-SAMSUNG"> <arg name="x"></arg> </mutation> <next> <block type="controls_if" id="4.!?ui_s;P[F0xZmW.up"> <value name="IF0"> <block type="logic_compare" id="VP(Tql!@,St828(-G8jT"> <field name="OP">LT</field> <value name="A"> <block type="get_value" id="Rx0_zH]$k}|39.K!Ifu:"> <field name="ATTR">val</field> <field name="OID">mqtt.0.shellies.Monitor-Greenhouse.roller.0.pos</field> </block> </value> <value name="B"> <block type="math_number" id="`5VFfI_|2@YaYGiC@5n;"> <field name="NUM">100</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="smwwLq[vx=kHt~[/OkLi"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">mqtt.0.shellies.Monitor-Greenhouse.roller.0.command.pos</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">5</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="math_number" id="%%(cB{nj=|XS(gWM?|JZ"> <field name="NUM">100</field> </block> </value> </block> </statement> <next> <block type="control" id="u%4iQU}nGJw(}YGT5MO:"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">smartthings.0.0dfbe327-d845-4dfd-37eb-1c21c2b71ce1.capabilities.mediaInputSource-setInputSource</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">15</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="text" id="ecEL_Uqa1J34R1t.H%cY"> <field name="TEXT">HDMI4</field> </block> </value> <next> <block type="control" id="@JU9J/lRIDCwHrYSbgDE"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">chromecast.0.Gewaechshaus1.player.url2play</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="IB[`wYogxKcl@r,}Cl8="> <field name="TEXT">http://192.168.10.47/WELLER_2024-FHD.mp4</field> </block> </value> <next> <block type="timeouts_setinterval_variable" id="9UfpIp=7^OT^g$U}nlhL"> <field name="NAME">Intervall3</field> <value name="INTERVAL_MS"> <block type="math_number" id=";DE6#1Ld6MoOs]%bJR2h"> <field name="NUM">296000</field> </block> </value> <statement name="STATEMENT"> <block type="control" id="5jLWV`@(5Ra;x-S363SS"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">chromecast.0.Gewaechshaus1.player.url2play</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="uF9#Ya*6K0=A}*xb;Mmn"> <field name="TEXT">http://192.168.10.47/WELLER_2024-FHD.mp4</field> </block> </value> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </statement> <next> <block type="controls_if" id="o`JQIN0k5eW:@n[EDdVQ"> <value name="IF0"> <block type="logic_compare" id="?h2n`XnTJgbUOegtEB)f"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="KkM|`wCg%BB=ir;h,#[z"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Veranstaltung.Zeitsteuerung.Besichtigung</field> </block> </value> <value name="B"> <block type="logic_boolean" id="p[=_ILZYS89NwQHu4@6Q"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="timeouts_clearinterval" id="T]]dPIEl)IM|p{1832%N"> <field name="NAME">Intervall3</field> <next> <block type="control" id="-MrqT@bIBRo2Ux_EJG9-"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">smartthings.0.0dfbe327-d845-4dfd-37eb-1c21c2b71ce1.capabilities.switch-off</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">5</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="bf2*IMB=bmob4iNn%P~U"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="control" id="Fk~]bGAB!.A5X#u??hBz"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">chromecast.0.Gewaechshaus1.status.playing</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="3zd:*I:8OCUdjF3(gh$?"> <field name="BOOL">FALSE</field> </block> </value> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </statement> </block> </next> </block> <block type="comment" id="K64WgcATGKt/$irS3@/B" x="-1837" y="-2538"> <field name="COMMENT">Auslöser aus WEBCAL überwachen</field> <next> <block type="on_ext" id="ZR9,Hwp,6r81ZGjPbRxY"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation> <field name="CONDITION">any</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="myNan^E}A;}kWN6iJv,#"> <field name="oid">webcal.0.events.Besichtigung.now</field> </shadow> </value> <statement name="STATEMENT"> <block type="variables_set" id="@:=tCoAB%id_Ra;,k=:0"> <field name="VAR" id="%0UFIJs{{$t?H]?61,/2">LaengeWert</field> <value name="VALUE"> <block type="text_length" id="t!R}3-;M{0=.KMFfdJ$E"> <value name="VALUE"> <shadow type="text" id="DDlzz{C(0S*8uCy.XIeu"> <field name="TEXT">abc</field> </shadow> <block type="on_source" id="#FPUcs)2O-o!eQ+bH$V1"> <field name="ATTR">state.val</field> </block> </value> </block> </value> <next> <block type="variables_set" id="KhZfJ2;eg++Ud-5F%l{C"> <field name="VAR" id="mcMgnW/8T]5@dO9P~~:P">LogEintrag</field> <value name="VALUE"> <block type="text_join" id="dFTvLHR,o4]NtjbnMnG{"> <mutation items="4"></mutation> <value name="ADD0"> <block type="text" id="]o935HKEYP=NiqIL1xYc"> <field name="TEXT">Text:</field> </block> </value> <value name="ADD1"> <block type="variables_get" id="7%V|2;oXS[ph[@xiHImd"> <field name="VAR" id="%0UFIJs{{$t?H]?61,/2">LaengeWert</field> </block> </value> <value name="ADD2"> <block type="text" id="@#Hk]mLrdEyqCnj(C3TL"> <field name="TEXT">Zeichenlaenge:</field> </block> </value> <value name="ADD3"> <block type="on_source" id="RUA7XuW.F6/?Z0$}O:({"> <field name="ATTR">state.val</field> </block> </value> </block> </value> <next> <block type="debug" id="ay{nw,6M#An1|1s9yoEB"> <field name="Severity">info</field> <value name="TEXT"> <shadow type="text" id="y?b*/pRHY`C5)G=q9GpQ"> <field name="TEXT">test</field> </shadow> <block type="variables_get" id="`zAA4O?q%{^VO+joc73("> <field name="VAR" id="mcMgnW/8T]5@dO9P~~:P">LogEintrag</field> </block> </value> <next> <block type="controls_if" id="upwW)z/TnD43?kZb2Uv3"> <value name="IF0"> <block type="logic_compare" id="@|k59NESI8FQol|E:*oV"> <field name="OP">NEQ</field> <value name="A"> <block type="field_oid" id="bw_W%9f3xDS.r8_U`$II"> <field name="oid">webcal.0.events.Besichtigung.now</field> </block> </value> <value name="B"> <block type="logic_null" id="Q~:Z}4qs6*v/F3zNGi5}"></block> </value> </block> </value> <statement name="DO0"> <block type="update" id=":{ae}hOlS.eJ|PQ0a0Oj"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Veranstaltung.Zeitsteuerung.Besichtigung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="/olf6xtCYa%.6s=qVF!q"> <field name="BOOL">TRUE</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="_V|,wf7z$B}ZV!kSwp/5"> <value name="IF0"> <block type="logic_compare" id="G?B-rK$KOL%BRE*blK5g"> <field name="OP">LT</field> <value name="A"> <block type="variables_get" id="8JYZ%pr/0x]WqR/Gy?V_"> <field name="VAR" id="%0UFIJs{{$t?H]?61,/2">LaengeWert</field> </block> </value> <value name="B"> <block type="math_number" id="hJto2=RofO(jPUQtDUxw"> <field name="NUM">1</field> </block> </value> </block> </value> <statement name="DO0"> <block type="timeouts_wait" id=";5G~hN$5iV/yuKrM3=%J"> <field name="DELAY">30</field> <field name="UNIT">sec</field> <next> <block type="controls_if" id="+1{`:aFeacO^Zr^f_Uvl"> <value name="IF0"> <block type="logic_compare" id="k$?BUDIH,*RgjjV18~7s"> <field name="OP">LT</field> <value name="A"> <block type="variables_get" id="UfQN=,/F;pLF]^c7p~M|"> <field name="VAR" id="%0UFIJs{{$t?H]?61,/2">LaengeWert</field> </block> </value> <value name="B"> <block type="math_number" id="Z/e7MN!-jciJR-T3fVx-"> <field name="NUM">1</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="E5~(jKI`Lw8zl]ryK^M`"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Veranstaltung.Zeitsteuerung.Besichtigung</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="BSzaDWlVIXUJDfzbbWi]"> <field name="BOOL">FALSE</field> </block> </value> </block> </statement> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </next> </block> <block type="procedures_defcustomnoreturn" id="Z(F%6nM9r7%L-u%L5=aZ" x="-587" y="-2537"> <mutation statements="false"> <arg name="x" varid="aIW^;E4D18|KPq|YXzuZ"></arg> </mutation> <field name="NAME">WOL-SAMSUNG</field> <field name="SCRIPT">dmFyIHdvbCA9IHJlcXVpcmUoJ3dha2Vfb25fbGFuJyk7DQpmdW5jdGlvbiBXT0xTZW5kZW4oKSB7DQogICAgd29sLndha2UoIjcwOjA5OjcxOjQ1OjRkOmEzIik7DQogICAgc2xlZXAoMjAwMCk7DQogICAgd29sLndha2UoIjcwOjA5OjcxOjQ1OjRkOmEzIik7DQogICAgbG9nKCJXT0wgUGFrZXQgU2Ftc3VuZy1UViAxOTIuMTY4LjEwLjM3IGdlc2VuZGV0IiwgImluZm8iKTsgICAgDQp9DQpXT0xTZW5kZW4oKTs=</field> <comment pinned="false" h="80" w="160">WOL SAMSUNG</comment> </block> </xml>
Wäre schön wenn sich einer dessen annehmen könnte. Am Node.js oder anderen internen Iobroker Dingen kann es nicht liegen, da es ja nur am Punkt abspielen im Chromecast nun nicht mehr funktioniert....
Grüße
Sunny