<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[VIS ansteuern]]></title><description><![CDATA[<p dir="auto">Hallo Leute,<br />
Ich würde gerne wissen, ob man die ioBroker vis über den Server ansteuern kann.<br />
OK, was möchte ich:<br />
Ich habe eine Kamera und bei Motion wird eine Variable in ioBroker gesetzt, nach 10 min wird diese wieder zurückgesetzt. Soweit so gut.<br />
Nun würde ich gerne den Videostream (kommt über Motioneye ins vis - funktioniert via jgui-mfd Dialog auch schon) automatisch auf dem Tablet aufschalten, wenn diese Variable gesetzt wurde.</p>
<p dir="auto">Geht so etwas?<br />
Wenn ja, kann mir hierbei jemand weiterhelfen?<br />
Ich habe keine Ahnung wie ich dies umsetzten könnte, könnte mir aber vorstellen, dass dies auch für andere interessant wäre.</p>
]]></description><link>https://forum.iobroker.net/topic/47902/vis-ansteuern</link><generator>RSS for Node</generator><lastBuildDate>Thu, 30 Apr 2026 05:20:29 GMT</lastBuildDate><atom:link href="https://forum.iobroker.net/topic/47902.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 20 Sep 2021 17:30:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to VIS ansteuern on Tue, 21 Sep 2021 17:34:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/speedy" aria-label="Profile: speedy">@<bdi>speedy</bdi></a> hier mein Blockly<br />
Wenn es klingelt wird die VIS auf die View "main/021_Videoueberwachung" umgeschaltet,<br />
nach 5 Minuten wieder auf die Ansicht zuvor.<br />
War vorher schon die Videoüberwachung zu sehen nimmt er die Startseite</p>
<p dir="auto"><img src="/assets/uploads/files/1632245662762-1cc26b8e-97c2-441d-aa75-505ee9ae7c97-image.png" alt="1cc26b8e-97c2-441d-aa75-505ee9ae7c97-image.png" class=" img-fluid img-markdown" /></p>
<pre><code>&lt;xml xmlns="https://developers.google.com/blockly/xml"&gt;
  &lt;variables&gt;
    &lt;variable id="T=B:k/ua%|aL[Gj5VwWo"&gt;SaveCurrentView&lt;/variable&gt;
    &lt;variable type="timeout" id="timeout"&gt;timeout&lt;/variable&gt;
  &lt;/variables&gt;
  &lt;block type="on" id="JPyGu[EqAzDSLXD?t!6r" x="-462" y="-712"&gt;
    &lt;field name="OID"&gt;mqtt.0.stat.ESP8266_Klingel.POWER&lt;/field&gt;
    &lt;field name="CONDITION"&gt;ne&lt;/field&gt;
    &lt;field name="ACK_CONDITION"&gt;&lt;/field&gt;
    &lt;statement name="STATEMENT"&gt;
      &lt;block type="variables_set" id="Ma`^6kwMNQ/waWJAbP(p"&gt;
        &lt;field name="VAR" id="T=B:k/ua%|aL[Gj5VwWo"&gt;SaveCurrentView&lt;/field&gt;
        &lt;value name="VALUE"&gt;
          &lt;block type="get_value" id="lbiJWK|@j5H^vH!%Ou8%"&gt;
            &lt;field name="ATTR"&gt;val&lt;/field&gt;
            &lt;field name="OID"&gt;vis.0.control.data&lt;/field&gt;
          &lt;/block&gt;
        &lt;/value&gt;
        &lt;next&gt;
          &lt;block type="control" id=",N2/C9Ef;xe;lB{9JmbO"&gt;
            &lt;mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"&gt;&lt;/mutation&gt;
            &lt;field name="OID"&gt;vis.0.control.instance&lt;/field&gt;
            &lt;field name="WITH_DELAY"&gt;FALSE&lt;/field&gt;
            &lt;value name="VALUE"&gt;
              &lt;block type="text" id="Jt)vih1pKfYbE2,J}Ine"&gt;
                &lt;field name="TEXT"&gt;*&lt;/field&gt;
              &lt;/block&gt;
            &lt;/value&gt;
            &lt;next&gt;
              &lt;block type="control" id="1)`k-W-kHZ#oETs0kb94"&gt;
                &lt;mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"&gt;&lt;/mutation&gt;
                &lt;field name="OID"&gt;vis.0.control.data&lt;/field&gt;
                &lt;field name="WITH_DELAY"&gt;FALSE&lt;/field&gt;
                &lt;value name="VALUE"&gt;
                  &lt;block type="text" id="#:_w#*[$t#|5IhC5j;ZX"&gt;
                    &lt;field name="TEXT"&gt;main/021_Videoueberwachung&lt;/field&gt;
                  &lt;/block&gt;
                &lt;/value&gt;
                &lt;next&gt;
                  &lt;block type="control" id=".-mU^~lFw/:Zr^U4vc-N"&gt;
                    &lt;mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"&gt;&lt;/mutation&gt;
                    &lt;field name="OID"&gt;vis.0.control.command&lt;/field&gt;
                    &lt;field name="WITH_DELAY"&gt;FALSE&lt;/field&gt;
                    &lt;value name="VALUE"&gt;
                      &lt;block type="text" id="k-i.-*ofLW1=)|.K!f^o"&gt;
                        &lt;field name="TEXT"&gt;changeView&lt;/field&gt;
                      &lt;/block&gt;
                    &lt;/value&gt;
                    &lt;next&gt;
                      &lt;block type="timeouts_settimeout" id="uFqDTo[Yk`M~%5kwuCB9"&gt;
                        &lt;field name="NAME"&gt;timeout&lt;/field&gt;
                        &lt;field name="DELAY"&gt;5&lt;/field&gt;
                        &lt;field name="UNIT"&gt;min&lt;/field&gt;
                        &lt;statement name="STATEMENT"&gt;
                          &lt;block type="controls_if" id="pH-(cf0#ig-%K7_{m}RL"&gt;
                            &lt;value name="IF0"&gt;
                              &lt;block type="logic_compare" id="5+0g-}Rkd]`Vt_=oUD,y"&gt;
                                &lt;field name="OP"&gt;EQ&lt;/field&gt;
                                &lt;value name="A"&gt;
                                  &lt;block type="variables_get" id="%6(a%1RNmB$|a)AHS9]g"&gt;
                                    &lt;field name="VAR" id="T=B:k/ua%|aL[Gj5VwWo"&gt;SaveCurrentView&lt;/field&gt;
                                  &lt;/block&gt;
                                &lt;/value&gt;
                                &lt;value name="B"&gt;
                                  &lt;block type="text" id="r9%?Y]bDB1~48SWAUQuA"&gt;
                                    &lt;field name="TEXT"&gt;main/021_Videoueberwachung&lt;/field&gt;
                                  &lt;/block&gt;
                                &lt;/value&gt;
                              &lt;/block&gt;
                            &lt;/value&gt;
                            &lt;statement name="DO0"&gt;
                              &lt;block type="variables_set" id="(59vJ{[R16YhX]VG/ny="&gt;
                                &lt;field name="VAR" id="T=B:k/ua%|aL[Gj5VwWo"&gt;SaveCurrentView&lt;/field&gt;
                                &lt;value name="VALUE"&gt;
                                  &lt;block type="text" id="^x}Z~jA9|Qzm;kDbzFg%"&gt;
                                    &lt;field name="TEXT"&gt;main/000_Start&lt;/field&gt;
                                  &lt;/block&gt;
                                &lt;/value&gt;
                              &lt;/block&gt;
                            &lt;/statement&gt;
                            &lt;next&gt;
                              &lt;block type="controls_if" id="ayw*9R)Z~PPkhCcxv?Qz"&gt;
                                &lt;value name="IF0"&gt;
                                  &lt;block type="logic_compare" id=".BL^aB#W3$BGs~c[;N7~"&gt;
                                    &lt;field name="OP"&gt;EQ&lt;/field&gt;
                                    &lt;value name="A"&gt;
                                      &lt;block type="get_value" id="6XC8D?ql6ZU2W{Jx^`Ja"&gt;
                                        &lt;field name="ATTR"&gt;val&lt;/field&gt;
                                        &lt;field name="OID"&gt;vis.0.control.data&lt;/field&gt;
                                      &lt;/block&gt;
                                    &lt;/value&gt;
                                    &lt;value name="B"&gt;
                                      &lt;block type="text" id="AtxTvveEV4Pn4N|x1f19"&gt;
                                        &lt;field name="TEXT"&gt;main/021_Videoueberwachung&lt;/field&gt;
                                      &lt;/block&gt;
                                    &lt;/value&gt;
                                  &lt;/block&gt;
                                &lt;/value&gt;
                                &lt;statement name="DO0"&gt;
                                  &lt;block type="control" id="y.|U:ZLI32.4OsZA|H]i"&gt;
                                    &lt;mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"&gt;&lt;/mutation&gt;
                                    &lt;field name="OID"&gt;vis.0.control.instance&lt;/field&gt;
                                    &lt;field name="WITH_DELAY"&gt;FALSE&lt;/field&gt;
                                    &lt;value name="VALUE"&gt;
                                      &lt;block type="text" id="i$$xHG^9,]rY9F2g51-m"&gt;
                                        &lt;field name="TEXT"&gt;*&lt;/field&gt;
                                      &lt;/block&gt;
                                    &lt;/value&gt;
                                    &lt;next&gt;
                                      &lt;block type="control" id="|=qvPdB4TyPXB`+YeTo^"&gt;
                                        &lt;mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"&gt;&lt;/mutation&gt;
                                        &lt;field name="OID"&gt;vis.0.control.data&lt;/field&gt;
                                        &lt;field name="WITH_DELAY"&gt;FALSE&lt;/field&gt;
                                        &lt;value name="VALUE"&gt;
                                          &lt;block type="variables_get" id="y_0-Xvuf/y-++)F`QL}J"&gt;
                                            &lt;field name="VAR" id="T=B:k/ua%|aL[Gj5VwWo"&gt;SaveCurrentView&lt;/field&gt;
                                          &lt;/block&gt;
                                        &lt;/value&gt;
                                        &lt;next&gt;
                                          &lt;block type="control" id="6!Sevz17dEK5_e+gR%(."&gt;
                                            &lt;mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"&gt;&lt;/mutation&gt;
                                            &lt;field name="OID"&gt;vis.0.control.command&lt;/field&gt;
                                            &lt;field name="WITH_DELAY"&gt;FALSE&lt;/field&gt;
                                            &lt;value name="VALUE"&gt;
                                              &lt;block type="text" id="/2gdPxJ@5-$CiSv}oqaA"&gt;
                                                &lt;field name="TEXT"&gt;changeView&lt;/field&gt;
                                              &lt;/block&gt;
                                            &lt;/value&gt;
                                          &lt;/block&gt;
                                        &lt;/next&gt;
                                      &lt;/block&gt;
                                    &lt;/next&gt;
                                  &lt;/block&gt;
                                &lt;/statement&gt;
                              &lt;/block&gt;
                            &lt;/next&gt;
                          &lt;/block&gt;
                        &lt;/statement&gt;
                      &lt;/block&gt;
                    &lt;/next&gt;
                  &lt;/block&gt;
                &lt;/next&gt;
              &lt;/block&gt;
            &lt;/next&gt;
          &lt;/block&gt;
        &lt;/next&gt;
      &lt;/block&gt;
    &lt;/statement&gt;
  &lt;/block&gt;
&lt;/xml&gt;
</code></pre>
<p dir="auto">Die Lück im System ist, das wenn jemand 2x innerhalb der 5 Minuten klingelt, dann ist die letzte View die Videoüberwachung, deshalb dann die Startseite. Den Timeout-Teil habe ich aber sowieso deaktiviert da ein anderes Skript im Hintergrund läuft was sowieso nach 5 Minuten wieder auf die Startseite wechseln lässt</p>
]]></description><link>https://forum.iobroker.net/post/679694</link><guid isPermaLink="true">https://forum.iobroker.net/post/679694</guid><dc:creator><![CDATA[BananaJoe]]></dc:creator><pubDate>Tue, 21 Sep 2021 17:34:38 GMT</pubDate></item><item><title><![CDATA[Reply to VIS ansteuern on Tue, 21 Sep 2021 17:25:22 GMT]]></title><description><![CDATA[<p dir="auto">Danke euch beiden, werde es mal versuchen.</p>
]]></description><link>https://forum.iobroker.net/post/679689</link><guid isPermaLink="true">https://forum.iobroker.net/post/679689</guid><dc:creator><![CDATA[speedy]]></dc:creator><pubDate>Tue, 21 Sep 2021 17:25:22 GMT</pubDate></item><item><title><![CDATA[Reply to VIS ansteuern on Tue, 21 Sep 2021 09:23:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/speedy" aria-label="Profile: speedy">@<bdi>speedy</bdi></a> Ich habe das so gemacht, anbei das Widget, die Objekt-ID steuert den Zustand des Widget, das ist dann deine Variable die nach 10 Minuten geändert wird.</p>
<pre><code>[{"tpl":"tplStatefulIFrame8","data":{"oid":"hm-rega.0.22357","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","refreshInterval":"0","count":"6","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,"src_1":"http://192.168.178.xx:8765/picture/3/frame/","src_2":"http://192.168.178.xx:8765/picture/4/frame/","src_3":"http://192.168.178.xx:8765/picture/5/frame/","src_4":"http://192.168.178.xx:8765/picture/2/frame/","src_0":"http://192.168.178.xx:8765/picture/3/frame/","src_5":"{ring.0.doorbell_21502358.livestream_url}","src_6":"{ring.0.doorbell_53727335.livestream_url}"},"style":{"left":"-1px","top":"0px","width":"800px","height":"480px"},"widgetSet":"basic"}]
</code></pre>
<p dir="auto">Gruß<br />
Michael</p>
]]></description><link>https://forum.iobroker.net/post/679533</link><guid isPermaLink="true">https://forum.iobroker.net/post/679533</guid><dc:creator><![CDATA[michihorn]]></dc:creator><pubDate>Tue, 21 Sep 2021 09:23:51 GMT</pubDate></item><item><title><![CDATA[Reply to VIS ansteuern on Tue, 21 Sep 2021 07:57:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/speedy" aria-label="Profile: speedy">@<bdi>speedy</bdi></a> Ja, geht. Du musst am Tablet eine Seite der Vis wechseln und dir die ID unter vis.0.control.instance merken. Zum Wechseln der View gibst du dann die folgenden Parameter an:<br />
vis.0.control.command = "changedView"<br />
vis.0.control.data = &lt;Deine View&gt;<br />
vis.0.control.instance = &lt;deine ID von oben&gt;</p>
]]></description><link>https://forum.iobroker.net/post/679496</link><guid isPermaLink="true">https://forum.iobroker.net/post/679496</guid><dc:creator><![CDATA[Chrunchy]]></dc:creator><pubDate>Tue, 21 Sep 2021 07:57:44 GMT</pubDate></item></channel></rss>