- Home
- Deutsch
- Praktische Anwendungen (Showcase)
- Meine VIS
Meine VIS
-
@Aachen1305 Habe mir ein Script angelegt wo der Status von meinen Geräten abgefragt wird:
<xml xmlns="http://www.w3.org/1999/xhtml"> <block type="comment" id="De2U]!`e=RVv!@iIy1AE" x="958" y="-3557"> <field name="COMMENT">Wohnzimmer</field> <next> <block type="on_ext" id="{(f,[Q;gQPvF,#V2l6=9" collapsed="true"> <mutation items="6"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="-L(U~rAK4O{X3)ibP^ct"> <field name="oid">alexa2.0.Echo-Devices.828b54738e2a44a29d9331868a046c38.Player.providerName</field> </shadow> </value> <value name="OID1"> <shadow type="field_oid" id="W4fUk~[5Xl%2MGWC*R5{"> <field name="oid">alexa2.0.Echo-Devices.828b54738e2a44a29d9331868a046c38.Player.currentState</field> </shadow> </value> <value name="OID2"> <shadow type="field_oid" id="}Lhr/d:m!G7DxMRAq2Z:"> <field name="oid">kodi.0.state</field> </shadow> </value> <value name="OID3"> <shadow type="field_oid" id="+Jb|sb;)XB^h_FJXt)_!"> <field name="oid">sonos.0.root.192_168_178_46.state_simple</field> </shadow> </value> <value name="OID4"> <shadow type="field_oid" id="K7ziN%Yq3$*W@|(Wo2vz"> <field name="oid">sonos.0.root.192_168_178_46.current_type</field> </shadow> </value> <value name="OID5"> <shadow type="field_oid" id="uycgfPIZ5+cR82[]cS,U"> <field name="oid">javascript.0.TabletVis.Harmonysteuerung.Wohnzimmer.Kodi1</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="@9rs*$ZVL[X$lXOq3HKv"> <mutation elseif="3" else="1"></mutation> <value name="IF0"> <block type="logic_operation" id="g(r{AR_*!/Mv+QO@GY7T" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="3k6Yz^fOMp7_mdg91!c("> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="~KbTun~@S5EVklcOd#S$"> <field name="ATTR">val</field> <field name="OID">alexa2.0.Echo-Devices.828b54738e2a44a29d9331868a046c38.Player.currentState</field> </block> </value> <value name="B"> <block type="logic_boolean" id="IYq!R`mV1W7e5?LeP8^S"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="T,#YxL=^m`O.%rNB)!R?"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="|T}cl;rb,Ass8TCKQ[YI"> <field name="ATTR">val</field> <field name="OID">alexa2.0.Echo-Devices.828b54738e2a44a29d9331868a046c38.Player.providerName</field> </block> </value> <value name="B"> <block type="text" id="jd}1:rQaY6I9dKB+$dO|"> <field name="TEXT">Amazon Music</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="9a]X47sVmP1=B%sWyX;O"> <mutation delay_input="false"></mutation> <field name="OID">javascript.0.TabletVis.echo.wohnzimmer_status</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="sggFpJ[3(Xs3Nu$3$)CK"> <field name="TEXT">Amazon Music</field> </block> </value> <next> <block type="debug" id="tYvt02pG04^-[T40f~5x"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="YcYyJ#utD[g:9vCX(S#e"> <field name="TEXT">+++ Im Wohnzimmer läuft Amazon Music +++</field> </shadow> </value> </block> </next> </block> </statement> <value name="IF1"> <block type="logic_operation" id="gV`@*2b{mBx};:]IHdya" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="07vcp:*#u]U!4i?z-sXD"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="3n|3;854E.[A@3l]Sqqm"> <field name="ATTR">val</field> <field name="OID">alexa2.0.Echo-Devices.828b54738e2a44a29d9331868a046c38.Player.currentState</field> </block> </value> <value name="B"> <block type="logic_boolean" id="tNhlj*U!:JlP}PEl1cUU"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="qJD(t#RWZU.jwwU9A3al"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="I@YwS78C5/olIoRARX}w"> <field name="ATTR">val</field> <field name="OID">alexa2.0.Echo-Devices.828b54738e2a44a29d9331868a046c38.Player.providerName</field> </block> </value> <value name="B"> <block type="text" id="U#~H1KoRTHB/b8B05Plg"> <field name="TEXT">TuneIn Live Radio</field> </block> </value> </block> </value> </block> </value> <statement name="DO1"> <block type="control" id="wSGomVv):yWVy*?C9LVD"> <mutation delay_input="false"></mutation> <field name="OID">javascript.0.TabletVis.echo.wohnzimmer_status</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="ZaI?YczV#2_bmD{.@d)*"> <field name="TEXT">TuneIn-Liveradio</field> </block> </value> <next> <block type="debug" id="sbw86s@qN~E!adyis/)`"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id=";6GJD/1-ax{nj8HIa=`M"> <field name="TEXT">+++ Im Wohnzimmer läuft Radio +++</field> </shadow> </value> </block> </next> </block> </statement> <value name="IF2"> <block type="logic_operation" id="^lXaaS]{}i6Ed~aHNxj:" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="_Ln_4|BmDZzv}]Ls7.*y"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="k#h0ee9T(Pp)7fMRvnyi"> <field name="ATTR">val</field> <field name="OID">sonos.0.root.192_168_178_46.state_simple</field> </block> </value> <value name="B"> <block type="logic_boolean" id="UdzbWVv?GF5qr1Qdd!v|"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="7r{+[VfTM1~9MNN8td+e"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="f=_*5:vuSpv!bwAzl!nh"> <field name="ATTR">val</field> <field name="OID">sonos.0.root.192_168_178_46.current_type</field> </block> </value> <value name="B"> <block type="math_number" id="mRtKXXp-S;_aMXg!yv*,"> <field name="NUM">0</field> </block> </value> </block> </value> </block> </value> <statement name="DO2"> <block type="control" id="nI#7jCl-gPqy97WA4j9x"> <mutation delay_input="false"></mutation> <field name="OID">javascript.0.TabletVis.echo.wohnzimmer_status</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id=")yNCEu(rB|7K.31%%J$E"> <field name="TEXT">Musik von Platte</field> </block> </value> <next> <block type="debug" id="vG(nWJ_/Uftf8Bs0B-KR"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="e%gb*qvGUiq2qa-JH.)z"> <field name="TEXT">+++ Im Wohnzimmer läuft Musik von Platte +++</field> </shadow> </value> </block> </next> </block> </statement> <value name="IF3"> <block type="logic_operation" id="by3Wkq312%nxhxx~S|;9" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="ZveMnI/mtzHQ3=h){U6h"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="~ztYQ`J#_Qz0x!+SP(+q"> <field name="ATTR">val</field> <field name="OID">javascript.0.TabletVis.Harmonysteuerung.Wohnzimmer.Kodi1</field> </block> </value> <value name="B"> <block type="logic_boolean" id="qNI@a:CAddYd[}sD-ju`"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="G(*h=bEl-Z+,+ieT-HUO" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="logic_compare" id=".rlVPQgf)D-wIbVc|DC."> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="!k6^lxG}hq[_kgcO!ET,"> <field name="ATTR">val</field> <field name="OID">kodi.0.state</field> </block> </value> <value name="B"> <block type="text" id="ha,dETJ-m3k51](?7;M,"> <field name="TEXT">play</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="/srp~Y(b3QR}Li56CfOT"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="Sp{c|AglCV!T^PrIL[(Z"> <field name="ATTR">val</field> <field name="OID">kodi.0.state</field> </block> </value> <value name="B"> <block type="text" id="O$q}dkNso8]S7*eJ#$ND"> <field name="TEXT">pause</field> </block> </value> </block> </value> </block> </value> </block> </value> <statement name="DO3"> <block type="control" id="@lG_Ni]})0D2X;!}wJJb"> <mutation delay_input="false"></mutation> <field name="OID">javascript.0.TabletVis.echo.wohnzimmer_status</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="_kSgv{~#kH#sLJ38U;xV"> <field name="TEXT">Kino</field> </block> </value> <next> <block type="debug" id="F0g.JVmeuX[lDV^4fNtI"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="a;a5C|xJ+dJ~.Uc5*.Ox"> <field name="TEXT">+++ Im Wohnzimmer läuft Kino +++</field> </shadow> </value> </block> </next> </block> </statement> <statement name="ELSE"> <block type="control" id="0m}PAICjbCYG7rKo|,UI"> <mutation delay_input="false"></mutation> <field name="OID">javascript.0.TabletVis.echo.wohnzimmer_status</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="F%vg$C)t;Toph4lTIWq~"> <field name="TEXT">aus</field> </block> </value> <next> <block type="debug" id="+QHdoUN-bLc82b{LOTEg"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="!Wgym.nw4|-$s}a=DUx8"> <field name="TEXT">+++ Sonos Wohnzimmer gestoppt +++</field> </shadow> </value> </block> </next> </block> </statement> </block> </statement> <next> <block type="comment" id="4FYP`p#Do8g=ABY;@%2)"> <field name="COMMENT">Küche</field> <next> <block type="on_ext" id="Z5CZUsa~!AJ~*X++}F`*" collapsed="true"> <mutation items="3"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="mN~rLp@?f~91/PlC!}e$"> <field name="oid">sonos.0.root.192_168_178_48.state_simple</field> </shadow> </value> <value name="OID1"> <shadow type="field_oid" id="j_P%!CNMM`yR,;JBw3%#"> <field name="oid">sonos.0.root.192_168_178_48.current_type</field> </shadow> </value> <value name="OID2"> <shadow type="field_oid" id="5[79W{0S!G3#Cfr.vHb*"> <field name="oid">alexa2.0.Echo-Devices.4879f7942cdb42d596f4e24aac81e908.Player.currentState</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="ha((-fbS7gbfR:y61GUs"> <mutation elseif="3" else="1"></mutation> <value name="IF0"> <block type="logic_operation" id="r)NSk=xweZUj=)-JT6H7" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="|Gge|Jl=Xai1*iub4,D/"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id=".N!.Bczq5Zc5Fkompl*."> <field name="ATTR">val</field> <field name="OID">alexa2.0.Echo-Devices.4879f7942cdb42d596f4e24aac81e908.Player.currentState</field> </block> </value> <value name="B"> <block type="logic_boolean" id="0LA:PlsTQ{L+S@vVl8#g"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="lAE0RP5=k$Suht7Q[,hS"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="a6B1KR!BS*{QTt7YuoXO"> <field name="ATTR">val</field> <field name="OID">sonos.0.root.192_168_178_48.current_type</field> </block> </value> <value name="B"> <block type="math_number" id="#0nEU+6HO|a}*%XK5?%U"> <field name="NUM">0</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="6S+7}^9z^1SV^kb0I8rX"> <mutation delay_input="false"></mutation> <field name="OID">javascript.0.TabletVis.echo.kueche_status</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="a7g~5+|*]wSUPrD0.~.T"> <field name="TEXT">Amazon Music</field> </block> </value> <next> <block type="debug" id="9TsD~brnn,dY=uw$6~LI"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="S~RDf*|6Q9z1X3Y;,oTJ"> <field name="TEXT">+++ In der Küche läuft Amazon Music +++</field> </shadow> </value> </block> </next> </block> </statement> <value name="IF1"> <block type="logic_operation" id=";z7Y?h?6Fq{*V?`Y8.m1" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="BEw(%b~a7AK@l,Klw{__"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="~[+E!^yYZoCt=:-hB[Xg"> <field name="ATTR">val</field> <field name="OID">sonos.0.root.192_168_178_48.state_simple</field> </block> </value> <value name="B"> <block type="logic_boolean" id="K7y?}*PI-ycS-YHrZ*9V"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="Nx@@d;jgf^}m]`|7JB,*"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="kSymWnjB$^3]GwD|P+ne"> <field name="ATTR">val</field> <field name="OID">sonos.0.root.192_168_178_48.current_type</field> </block> </value> <value name="B"> <block type="math_number" id=",cX~E^gt.BlA)_yL)XxS"> <field name="NUM">0</field> </block> </value> </block> </value> </block> </value> <statement name="DO1"> <block type="control" id="(SC/$X[}:S/lKe[QOd|Y"> <mutation delay_input="false"></mutation> <field name="OID">javascript.0.TabletVis.echo.kueche_status</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="l_v#4}yIo5i!1O8Z$i},"> <field name="TEXT">Musik von Platte</field> </block> </value> <next> <block type="debug" id="drIy`{OV]BW`bTVKr03)"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="_$vJfc;)^K%cIN.ovw^1"> <field name="TEXT">+++ In der Küche läuft Musik von Platte +++</field> </shadow> </value> </block> </next> </block> </statement> <value name="IF2"> <block type="logic_operation" id="!iMd^@L$g}$b5(CXFN9p" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="f8r,%RJqPDn:/4_v/XCC"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="5|x,ZX|~(U3l+MmU3))V"> <field name="ATTR">val</field> <field name="OID">alexa2.0.Echo-Devices.4879f7942cdb42d596f4e24aac81e908.Player.currentState</field> </block> </value> <value name="B"> <block type="logic_boolean" id="$e317B+ck%Q]Ouw:O5p_"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="n)K*LFeOzM2h88VB4wS^"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="f=f3uE4oMOOLr@F_6P!-"> <field name="ATTR">val</field> <field name="OID">sonos.0.root.192_168_178_48.current_type</field> </block> </value> <value name="B"> <block type="math_number" id="G*wI@WBlXtRNRL5h8c37"> <field name="NUM">1</field> </block> </value> </block> </value> </block> </value> <statement name="DO2"> <block type="control" id="6Hgce.-;*;pN}!2w?Du$"> <mutation delay_input="false"></mutation> <field name="OID">javascript.0.TabletVis.echo.kueche_status</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="K{y9z_yy{=LKqXM#GS2W"> <field name="TEXT">TuneIn-Liveradio</field> </block> </value> <next> <block type="debug" id="sQQGaQ,3z_?lZMF_|_J0"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="$,Es_uipt/pjPZjPCZlN"> <field name="TEXT">+++ In der Küche läuft Radio +++</field> </shadow> </value> </block> </next> </block> </statement> <value name="IF3"> <block type="logic_operation" id="z{KcgQ],KvS6Q?1lM2Nb" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="wHiIlA,g7CuD.1_.=hFT"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="}DvXQCCuUgXD*5c#:?0p"> <field name="ATTR">val</field> <field name="OID">sonos.0.root.192_168_178_48.state_simple</field> </block> </value> <value name="B"> <block type="logic_boolean" id="c=A)P3^{e:x7(}Xb$UXq"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="rKhw*6HWv.63=7d-.CD5"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="{K83@;Y+Tg|_OL}.EKJw"> <field name="ATTR">val</field> <field name="OID">sonos.0.root.192_168_178_48.current_type</field> </block> </value> <value name="B"> <block type="math_number" id="+0Tcz]6k3=S[J+,~(.+P"> <field name="NUM">1</field> </block> </value> </block> </value> </block> </value> <statement name="DO3"> <block type="control" id="V.ucSX@MIRy#N3qQCXXL"> <mutation delay_input="false"></mutation> <field name="OID">javascript.0.TabletVis.echo.kueche_status</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="*[}9|h;.exHXnhzHm%V|"> <field name="TEXT">TuneIn-Liveradio</field> </block> </value> <next> <block type="debug" id="XPz5eb{huN!KWR;v=kDd"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="zZ~SV/?_qihG-*[/KQ_."> <field name="TEXT">+++ In der Küche läuft Radio +++</field> </shadow> </value> </block> </next> </block> </statement> <statement name="ELSE"> <block type="control" id="Gw+l[YjS2-K?@Xq2sP7:"> <mutation delay_input="false"></mutation> <field name="OID">javascript.0.TabletVis.echo.kueche_status</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="X;(9KwG!6ZS{8(,QoKxp"> <field name="TEXT">aus</field> </block> </value> <next> <block type="debug" id="47M|ROz)6`q0.7]q+fO1"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="Ieu~|STrzw(l/mn/{}.d"> <field name="TEXT">+++ Sonos Küche gestoppt +++</field> </shadow> </value> </block> </next> </block> </statement> </block> </statement> <next> <block type="comment" id=";_6M6CXp[Ez1@~Mor)/u"> <field name="COMMENT">KInderzimmer</field> <next> <block type="on_ext" id="~ohb@hsU|)vi61L{V$no" collapsed="true"> <mutation items="2"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="MT8$-nNRY~-i~|7y~0@_"> <field name="oid">alexa2.0.Echo-Devices.G2A0P3077407031K.Player.currentState</field> </shadow> </value> <value name="OID1"> <shadow type="field_oid" id="BRZDi+_!y|ac~d,,(Y#a"> <field name="oid">alexa2.0.Echo-Devices.G2A0P3077407031K.Player.providerName</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="#7.Vq+4*xn+QEI=L_sN("> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_compare" id="F@O*5^DH8:NeM|T:2@O!"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="B2{HHbV)l`5XIM2l}/Zj"> <field name="ATTR">val</field> <field name="OID">alexa2.0.Echo-Devices.G2A0P3077407031K.Player.currentState</field> </block> </value> <value name="B"> <block type="logic_boolean" id="pm=nAdF^`:U_!f/K#rGU"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="vmS)9?#]~)7o!8mOW*+Q"> <mutation delay_input="false"></mutation> <field name="OID">javascript.0.TabletVis.echo.kinderzimmer_status</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="get_value" id="jZ^:u?Z)2k#7f^1itM4m"> <field name="ATTR">val</field> <field name="OID">alexa2.0.Echo-Devices.G2A0P3077407031K.Player.providerName</field> </block> </value> <next> <block type="debug" id="$~m909hP#V@pJvtKZ#dw"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="5R^_jt#7!TLCR![)F%nm"> <field name="TEXT">+++ Im Kinderzimmer läuft {alexa2.0.Echo-Devices.G2A0P3077407031K.Player.providerName} +++</field> </shadow> <block type="text_join" id="hfv*XyIMf_hWD/b2-iKk"> <mutation items="3"></mutation> <value name="ADD0"> <block type="text" id="DHZ=CL8YO=--qo+2|uAJ"> <field name="TEXT">+++ Im Kinderzimmer läuft </field> </block> </value> <value name="ADD1"> <block type="get_value" id="Y4lSm7`Mp`MF%)edP@?F"> <field name="ATTR">val</field> <field name="OID">alexa2.0.Echo-Devices.G2A0P3077407031K.Player.providerName</field> </block> </value> <value name="ADD2"> <block type="text" id="Go9v8]v]!07H!;]+ee4-"> <field name="TEXT"> +++</field> </block> </value> </block> </value> </block> </next> </block> </statement> <statement name="ELSE"> <block type="control" id="vM,fDXd|DgoddElII,z!"> <mutation delay_input="false"></mutation> <field name="OID">javascript.0.TabletVis.echo.kinderzimmer_status</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="~;@iyS~Rb[K]/#gQwebA"> <field name="TEXT">aus</field> </block> </value> <next> <block type="debug" id="@uH.ZJ7FMjx*nZW7t[.?"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="8EJlWG|#5*z?a(zO_~2%"> <field name="TEXT">+++ Echo Kinderzimmer gestoppt +++</field> </shadow> </value> </block> </next> </block> </statement> </block> </statement> <next> <block type="comment" id="Rj]bvfphCDPIGyX=)hRL"> <field name="COMMENT">Schlafzimmer</field> <next> <block type="on_ext" id="R;6jNTnqP)Go-=]7%T]s" collapsed="true"> <mutation items="4"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="Ik:R)DD8rR^Mb~u)SZyD"> <field name="oid">alexa2.0.Echo-Devices.G0911B05926204Q7.Player.currentState</field> </shadow> </value> <value name="OID1"> <shadow type="field_oid" id="{R[C./*Q)`I6C|thi*wc"> <field name="oid">alexa2.0.Echo-Devices.G0911B05926204Q7.Player.providerName</field> </shadow> </value> <value name="OID2"> <shadow type="field_oid" id="ZBFkj6(o#jjyn-:8qZq0"> <field name="oid">kodi.0.state</field> </shadow> </value> <value name="OID3"> <shadow type="field_oid" id="`[RQKw:}gIT.?p}@].q7"> <field name="oid">javascript.0.TabletVis.Harmonysteuerung.Schlafzimmer.Kodi2</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="vkF%+Y!)m,D6#Kf?JSzN"> <mutation elseif="1" else="1"></mutation> <value name="IF0"> <block type="logic_compare" id="fd1|gq({-:{gLTcLgoPn"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="cN(^N[_d@{et%oU^AT.~"> <field name="ATTR">val</field> <field name="OID">alexa2.0.Echo-Devices.G0911B05926204Q7.Player.currentState</field> </block> </value> <value name="B"> <block type="logic_boolean" id="W?I!1fvifm)WYmLgGl]["> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="cjI8o9(bue=M=]adkp=v"> <mutation delay_input="false"></mutation> <field name="OID">javascript.0.TabletVis.echo.schlafzimmer_status</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="get_value" id="[LM#=Le{ImP{;^iq5`v*"> <field name="ATTR">val</field> <field name="OID">alexa2.0.Echo-Devices.G0911B05926204Q7.Player.providerName</field> </block> </value> <next> <block type="debug" id="gReEjnIpFjQ(YT4(1:^{"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="5R^_jt#7!TLCR![)F%nm"> <field name="TEXT">+++ Im Kinderzimmer läuft {alexa2.0.Echo-Devices.G2A0P3077407031K.Player.providerName} +++</field> </shadow> <block type="text_join" id="Usw7Q52BAf:c./0U`|5v"> <mutation items="3"></mutation> <value name="ADD0"> <block type="text" id="x=+7b)=8Qk4QzrB2ar5;"> <field name="TEXT">+++ Im Schlafzimmer läuft </field> </block> </value> <value name="ADD1"> <block type="get_value" id="OP|9kcMUp^PtM$0Fg9!R"> <field name="ATTR">val</field> <field name="OID">alexa2.0.Echo-Devices.G0911B05926204Q7.Player.providerName</field> </block> </value> <value name="ADD2"> <block type="text" id="IN*3DFw{]$WU=bPazAP="> <field name="TEXT"> +++</field> </block> </value> </block> </value> </block> </next> </block> </statement> <value name="IF1"> <block type="logic_operation" id="(81ZtwqS0!_[]_gr/+t=" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="`s$tC!04PjJQ=XY4n~Tq"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="hVMP7{dJjZ]I9DzsFK/C"> <field name="ATTR">val</field> <field name="OID">javascript.0.TabletVis.Harmonysteuerung.Schlafzimmer.Kodi2</field> </block> </value> <value name="B"> <block type="logic_boolean" id="5aQ2#1ulk40gSM-k%K#L"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="38p(vEX*Fi^MMM%t.{R+" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="logic_compare" id="nK7A^=ic-#SPdD66L:+:"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="kH_CZrk9b(G3l,Mn[LTS"> <field name="ATTR">val</field> <field name="OID">kodi.0.state</field> </block> </value> <value name="B"> <block type="text" id="fk:.uK`p?nIWZvaIHC:)"> <field name="TEXT">play</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="%,[wq$+#f(gaR9G)0RKY"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="WN(MvkdxiyeZ~]6?POBY"> <field name="ATTR">val</field> <field name="OID">kodi.0.state</field> </block> </value> <value name="B"> <block type="text" id="_RqM@7#-L.Q{#)V+WFbW"> <field name="TEXT">pause</field> </block> </value> </block> </value> </block> </value> </block> </value> <statement name="DO1"> <block type="control" id="ffMFCR;)*K{`od-miJ+b"> <mutation delay_input="false"></mutation> <field name="OID">javascript.0.TabletVis.echo.schlafzimmer_status</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="!8R+V$o~Ds6+z/w({IIg"> <field name="TEXT">Kino</field> </block> </value> <next> <block type="debug" id=",XdWUD=oM_Q~-5O^9)`2"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="H`P3v#]TB/@k,V@vbE^Z"> <field name="TEXT">+++ Im Schlafzimmer läuft Kino +++</field> </shadow> </value> </block> </next> </block> </statement> <statement name="ELSE"> <block type="control" id="!gw{F{W5/Dz,si1c-[b*"> <mutation delay_input="false"></mutation> <field name="OID">javascript.0.TabletVis.echo.schlafzimmer_status</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="d`*`:_LIK8C)y03iDBFO"> <field name="TEXT">aus</field> </block> </value> <next> <block type="debug" id="l7]C*QB86_A?j~567:x1"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="gSdjhf%I}.$0me5nPkwH"> <field name="TEXT">+++ Echo Schlafzimmer gestoppt +++</field> </shadow> </value> </block> </next> </block> </statement> </block> </statement> <next> <block type="comment" id="i[#EI=HOfI]RJqc@wWWy"> <field name="COMMENT">Badezimmer</field> <next> <block type="on_ext" id="VTaA^zQ5vvQ$qTO=f]_)" collapsed="true"> <mutation items="2"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="Zf$rv*{!M|jHF-HrH#Ku"> <field name="oid">alexa2.0.Echo-Devices.G090LF10718513KQ.Player.currentState</field> </shadow> </value> <value name="OID1"> <shadow type="field_oid" id="ZPu.TZo22t(j6*mbDJob"> <field name="oid">alexa2.0.Echo-Devices.G090LF10718513KQ.Player.providerName</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="MN6gF#yqAR=^5[3Ww(~e"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_compare" id="mapesI[5Oq]#wuLw?eJ)"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="4=pcLX3=Dle,t2oQMQiG"> <field name="ATTR">val</field> <field name="OID">alexa2.0.Echo-Devices.G090LF10718513KQ.Player.currentState</field> </block> </value> <value name="B"> <block type="logic_boolean" id="If4=:}p6uTs~w$MNYh)%"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="OE$Iu-P7R9)9;}9M%J|i"> <mutation delay_input="false"></mutation> <field name="OID">javascript.0.TabletVis.echo.badezimmer_status</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="get_value" id="bV]Q.hDps#6W@fY1J5$h"> <field name="ATTR">val</field> <field name="OID">alexa2.0.Echo-Devices.G090LF10718513KQ.Player.providerName</field> </block> </value> <next> <block type="debug" id="op^CC.2LtW=+0:v41Wg("> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="5R^_jt#7!TLCR![)F%nm"> <field name="TEXT">+++ Im Kinderzimmer läuft {alexa2.0.Echo-Devices.G2A0P3077407031K.Player.providerName} +++</field> </shadow> <block type="text_join" id="gdetryA_)sN$o#-pUai1"> <mutation items="3"></mutation> <value name="ADD0"> <block type="text" id="dP^PwNtDO/I@Hotp|}]z"> <field name="TEXT">+++ Im Badezimmer läuft </field> </block> </value> <value name="ADD1"> <block type="get_value" id="==UOWb*bdhvYvO$YBr5q"> <field name="ATTR">val</field> <field name="OID">alexa2.0.Echo-Devices.G090LF10718513KQ.Player.providerName</field> </block> </value> <value name="ADD2"> <block type="text" id="RV)[fN}?3nYDckgKq%rF"> <field name="TEXT"> +++</field> </block> </value> </block> </value> </block> </next> </block> </statement> <statement name="ELSE"> <block type="control" id="8Q=)TqyF;ut6U4Upo!B!"> <mutation delay_input="false"></mutation> <field name="OID">javascript.0.TabletVis.echo.badezimmer_status</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="h/zv*BT.ZJQ|douFD7.V"> <field name="TEXT">aus</field> </block> </value> <next> <block type="debug" id="!E-fXnu.-a2;~~JCcc2L"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="i8:orO)Yhua7r=Q?uHEv"> <field name="TEXT">+++ Echo Badezimmer gestoppt +++</field> </shadow> </value> </block> </next> </block> </statement> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </xml>
Datenpunkte musst du natürlich anpassen. -
@sigi234 darf ich dich dazu Fragen, ob du dann die Vis dauerhaft anlassen und im Vordergrund haben kannst oder ob Amazon sich hin und wieder drüber legt?
-
@HeinrichB
? -
@sigi234 das reply war zu dem Echo Show 5. Dort habe ich es auch gemacht. Wurde unten angehängt. Ist nicht wichtig
-
könntest Du mir auch nochmal dein Widget von der up & down status Anzeige zur Verfügung stellen?
Im obrigen Beitrag von @sigi234 kann ich nicht erkennen um welches es sich handelt.Danke schon jetzt dafür
-
-
@Glasfaser
Dort finde ich die Anzeigen aber nicht. Siehe Pfeil im Beitrag.
Habe die Txt. Datei importiert, aber die Anzeigen neben today usw. sind nicht vorhanden. Daher meine Nachfrage. -
@Aachen1305 sagte in Meine VIS:
aber die Anzeigen neben today usw. sind nicht vorhanden
Dann hast du Canvas-Gauges noch nicht installiert.
-
Kann dir später auch das Widget zusenden , bin leider unterwegs.
Aber das Widget ist vorhanden ! ( Z-Index ist 0 )
Gehe mal die Widget im Editor durch !
EDIT : Hast du auch den Adapter installiert .vis-canvas-gauges
-
@Glasfaser sagte in Meine VIS:
EDIT : Hast du auch den Adapter installiert .vis-canvas-gauges
Das Wars
Danke Dir
-
@helfi9999 enaler
vielen Dank für deine VIS die als als Einstiegsprojekt übernommen habe.
Bei der Umsetzung habe ich bisher ne Menge dazugelernt. // Mechaniker im Rentenalter.Diese "OK" halbrund geformten Teile sehe ich hier nicht. Was muss ich installieren?
Vielen Dank, LG
-
@biker
https://github.com/ioBroker/ioBroker.icons-mfd-svg
-
-
@biker
Schau mal mit dem Dateimanager nach , ob es überhaupt richtig installiert ist ( Icons )
-
@Glasfaser
guten Morgenkomische Sache, es werden viele jqui-mfd-undefined gelistet.
alle Dateien sind vorhanden.
Wie sieht denn dieses Widget aus, Funktion wahrscheinlich ähnlich wie Bool-Svg ?
LG
-
@biker sagte in Meine VIS:
Wie sieht denn dieses Widget aus, Funktion wahrscheinlich ähnlich wie Bool-Svg ?
Richtig ..
Mache mal ein Upload bei den Adaptern und dann zusätzlich ein Reboot deines Systems -
Mache mal ein Upload bei den Adaptern und dann zusätzlich ein Reboot deines Systems
leider keine Änderung. Habe dann zudem auch noch 920System.txt neu importiert aber leider keine Änderung-
-
@biker sorry wenn ich mich erst jetzt melde schau dir mal das Bild an
falls du noch Hilfe brauchst melde dich.
-
@biker
Nimm mal dieses TEST-Widget und füge es auf der Seite ein .
[{"tpl":"tplHqButton","data":{"g_fixed":false,"g_visibility":false,"g_css_font_text":false,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","oid":"nothing_selected","min":"false","max":"true","iconName":"/icons-mfd-svg/info_error.svg","btIconWidth":"56","offsetAuto":"true","leftOffset":"15","topOffset":"55","timeAsInterval":"true","infoLeftFontSize":"12","infoFontRightSize":"12","infoLeftPaddingLeft":"15","infoLeftPaddingRight":"50","infoRightPaddingRight":"15","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0},"style":{"left":"29px","top":"267px","z-index":"1000"},"widgetSet":"hqwidgets"},{"tpl":"tplHqButton","data":{"g_fixed":false,"g_visibility":false,"g_css_font_text":false,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","oid":"nothing_selected","min":"false","max":"true","iconName":"/icons-mfd-svg/info_ok.svg","btIconWidth":"56","offsetAuto":"true","leftOffset":"15","topOffset":"55","timeAsInterval":"true","infoLeftFontSize":"12","infoFontRightSize":"12","infoLeftPaddingLeft":"15","infoLeftPaddingRight":"50","infoRightPaddingRight":"15","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0},"style":{"left":"27px","top":"348px","z-index":"1000"},"widgetSet":"hqwidgets"}]
Mache später folgendes ,deinstalliere bitte den Adapter "Icons-mfd-svg" und installiere Ihn über die Katze neu .https://github.com/ioBroker/ioBroker.icons-mfd-svg
und danach ein upload bei dem Adapter ..
-
EDIT . Doppelpost