<?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[in vis einen Ordner von einem anderen Server darstellen]]></title><description><![CDATA[<p dir="auto">Guten Morgen, gibt es eine Möglichkeit einen Ordner der auf einem anderen Server gelagert ist ein Verzeichnis aufzulisten:</p>
<p dir="auto">z.B. \192.168.4.200 (der Server) \ kamera1</p>
<p dir="auto">Datei - Name - Größe etc.</p>
<p dir="auto">Viele Grüße M.</p>
]]></description><link>https://forum.iobroker.net/topic/48856/in-vis-einen-ordner-von-einem-anderen-server-darstellen</link><generator>RSS for Node</generator><lastBuildDate>Thu, 28 May 2026 17:27:43 GMT</lastBuildDate><atom:link href="https://forum.iobroker.net/topic/48856.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 28 Oct 2021 06:36:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to in vis einen Ordner von einem anderen Server darstellen on Thu, 28 Oct 2021 15:38:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/liv-in-sky" aria-label="Profile: liv-in-sky">@<bdi>liv-in-sky</bdi></a> Korrekt, ist ein Windows Server 2019 Std als extra Server. IoB ist auf Proxmox mit Debian aufgesetzt</p>
<p dir="auto">@alle anderen: danke erstmal, ich schaue mir das heute Abend in Ruhe an.</p>
<p dir="auto">Vielen Dank !!!</p>
]]></description><link>https://forum.iobroker.net/post/695169</link><guid isPermaLink="true">https://forum.iobroker.net/post/695169</guid><dc:creator><![CDATA[michl75]]></dc:creator><pubDate>Thu, 28 Oct 2021 15:38:36 GMT</pubDate></item><item><title><![CDATA[Reply to in vis einen Ordner von einem anderen Server darstellen on Fri, 29 Oct 2021 06:56:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wolfgangfb" aria-label="Profile: wolfgangfb">@<bdi>wolfgangfb</bdi></a></p>
<p dir="auto">größe bräuchte wohl fs.stat</p>
<p dir="auto">ich habe mal früher etwas rumgetestet</p>
<p dir="auto">diese 2 blöcke in ein blockly script kopieren:</p>
<p dir="auto"></p><section class="spoiler-wrapper"><button class="spoiler-control btn btn-default">Spoiler</button><section style="display:none" class="spoiler-content"><p></p>
<pre><code>&lt;block xmlns="https://developers.google.com/blockly/xml" type="exec" id="?4#b=Rqy0NzjP$IBrc9Q" x="887.867919921875" y="212.69813537597656"&gt;
 &lt;mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="true"&gt;&lt;/mutation&gt;
 &lt;field name="WITH_STATEMENT"&gt;TRUE&lt;/field&gt;
 &lt;field name="LOG"&gt;log&lt;/field&gt;
 &lt;value name="COMMAND"&gt;
   &lt;shadow type="text"&gt;
     &lt;field name="TEXT"&gt;getDir &lt;/field&gt;
   &lt;/shadow&gt;
   &lt;block type="text_join" id="(?I_d)xzeD2@,R0Wdk|h"&gt;
     &lt;mutation items="3"&gt;&lt;/mutation&gt;
     &lt;value name="ADD0"&gt;
       &lt;block type="text" id="s+1G5}irGz#7ezKJUOA9"&gt;
         &lt;field name="TEXT"&gt;cd  &lt;/field&gt;
       &lt;/block&gt;
     &lt;/value&gt;
     &lt;value name="ADD1"&gt;
       &lt;block type="text" id="$.YF]LkGr@7K9lu!YFc|"&gt;
         &lt;field name="TEXT"&gt;/opt/iobroker &amp;amp;&amp;amp; &lt;/field&gt;
       &lt;/block&gt;
     &lt;/value&gt;
     &lt;value name="ADD2"&gt;
       &lt;block type="text" id="UKH-MsB#|m.3]1_5Xp{l"&gt;
         &lt;field name="TEXT"&gt;du -csbh  * |  awk -F '\t' '{ printf "%s @(%s)@@@\n", $2, $1 }'&lt;/field&gt;
       &lt;/block&gt;
     &lt;/value&gt;
   &lt;/block&gt;
 &lt;/value&gt;
 &lt;statement name="STATEMENT"&gt;
   &lt;block type="debug" id="4fR,r|_c%Wycq?PzdiIo"&gt;
     &lt;field name="Severity"&gt;log&lt;/field&gt;
     &lt;value name="TEXT"&gt;
       &lt;shadow type="text" id="7E/ul?pJ8f!Tsa5nS9qT"&gt;
         &lt;field name="TEXT"&gt;start&lt;/field&gt;
       &lt;/shadow&gt;
     &lt;/value&gt;
     &lt;next&gt;
       &lt;block type="debug" id="$[%9R)/Pz?BX/iYxfH-G"&gt;
         &lt;field name="Severity"&gt;log&lt;/field&gt;
         &lt;value name="TEXT"&gt;
           &lt;shadow type="text"&gt;
             &lt;field name="TEXT"&gt;result&lt;/field&gt;
           &lt;/shadow&gt;
           &lt;block type="variables_get" id="`%vRhTu;ac+uSy9+g8!X"&gt;
             &lt;field name="VAR" id="-K|h*y)J9|h*rDQQ%e|P"&gt;result&lt;/field&gt;
           &lt;/block&gt;
         &lt;/value&gt;
         &lt;next&gt;
           &lt;block type="procedures_callcustomnoreturn" id="evVpjo[_Xmy$$N-{(e^)"&gt;
             &lt;mutation name="etwas tun2"&gt;
               &lt;arg name="x"&gt;&lt;/arg&gt;
             &lt;/mutation&gt;
             &lt;value name="ARG0"&gt;
               &lt;block type="variables_get" id="J8GcKfzRm2HEYUP00XF,"&gt;
                 &lt;field name="VAR" id="-K|h*y)J9|h*rDQQ%e|P"&gt;result&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;
</code></pre>
<p dir="auto"></p></section></section><p></p>
<p dir="auto"></p><section class="spoiler-wrapper"><button class="spoiler-control btn btn-default">Spoiler</button><section style="display:none" class="spoiler-content"><p></p>
<pre><code>&lt;block xmlns="https://developers.google.com/blockly/xml" type="procedures_defcustomnoreturn" id="(^/fzVt5}`,1?-wh0uz/" x="888" y="563"&gt;
 &lt;mutation statements="false"&gt;
   &lt;arg name="x" varid="Gzf1ep$bKmN1EK^BA*j?"&gt;&lt;/arg&gt;
 &lt;/mutation&gt;
 &lt;field name="NAME"&gt;etwas tun2&lt;/field&gt;
 &lt;field name="SCRIPT"&gt;bGV0IGNsZWFyTmFtZT1bXQ0KbGV0IG15SnNvbj1bXQ0KeD14LnJlcGxhY2UoL1xcbi9nLCIiKQ0KbGV0IG15VGVzdD14LnNwbGl0KCJAQEAiKQ0KDQpsb2cobXlUZXN0KQ0KDQovL2xvZyhteVRlc3QudG9TdHJpbmcoKSwid2FybiIpDQoNCg0KZm9yKGxldCBpPTA7aTxteVRlc3QubGVuZ3RoLTE7aSsrKXsNCiAgICBtaW5pQXJyPVtdDQogICAgbWluaUFycj1teVRlc3RbaV0uc3BsaXQoIkAoIikNCiAgICANCiAgDQogICAgaWYoaT09NCkgbG9nKG1pbmlBcnJbMV0pDQogICAgbXlKc29uLnB1c2goew0KICAgICAgICAibmFtZSI6IG1pbmlBcnJbMF0sDQogICAgICAgICJzaXplIjogbWluaUFyclsxXS5yZXBsYWNlKC9cKS8sIiIpDQogICAgDQp9KQ0KfQ0KDQpsb2coSlNPTi5zdHJpbmdpZnkobXlKc29uKSkg&lt;/field&gt;
 &lt;comment pinned="false" h="80" w="160"&gt;Beschreibe diese Funktion …&lt;/comment&gt;
&lt;/block&gt;
</code></pre>
<p dir="auto"></p></section></section><p></p>
<p dir="auto">dann bekommt man sowas - kann in z.b. inventwo json widget angezeigt werden</p>
<p dir="auto"><img src="/assets/uploads/files/1635425484316-image-3.png" alt="Image 3.png" class=" img-fluid img-markdown" /> :</p>
]]></description><link>https://forum.iobroker.net/post/695091</link><guid isPermaLink="true">https://forum.iobroker.net/post/695091</guid><dc:creator><![CDATA[liv-in-sky]]></dc:creator><pubDate>Fri, 29 Oct 2021 06:56:33 GMT</pubDate></item><item><title><![CDATA[Reply to in vis einen Ordner von einem anderen Server darstellen on Thu, 28 Oct 2021 12:08:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/michl75" aria-label="Profile: michl75">@<bdi>michl75</bdi></a><br />
Ich würde mir ein Javascript schreiben, dass den Ordner ausliest und den Inhalt in einen Datenpunkt schreibt und diesen dann in Vis anzeigen.<br />
Das Serververzeichnis würde ich per Samba oder was auch immer in mein lokales Dateisystem einbinden.</p>
<p dir="auto">Also:</p>
<pre><code>var fs = require('fs'); 
const Verzeichnis = '/opt/iobroker/Wolfgang/'; // Irgend ein Verzeichnis
var DatenpunktName = "javascript.0.bla.blub"; // denk Dir einen Datenpunkt aus den Du später in Vis mit einem HTML Element anzeigst
var Files = fs.readdirSync(Verzeichnis);
var DatenpunktInhalt = "";
for (var i = 0; i&lt; Files.length; i++){DatenpunktInhalt = DatenpunktInhalt + Files[i] + "&lt;br&gt;"};
setState(DatenpunktName, DatenpunktInhalt);
</code></pre>
<p dir="auto">Das ganze entweder alle x Sekunden aufrufen oder auf Änderung triggern. Das hier liefert nur den Dateinamen, Größe etc. geht bestimmt auch irgendwie.</p>
]]></description><link>https://forum.iobroker.net/post/695065</link><guid isPermaLink="true">https://forum.iobroker.net/post/695065</guid><dc:creator><![CDATA[WolfgangFB]]></dc:creator><pubDate>Thu, 28 Oct 2021 12:08:33 GMT</pubDate></item><item><title><![CDATA[Reply to in vis einen Ordner von einem anderen Server darstellen on Thu, 28 Oct 2021 10:37:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/crunchip" aria-label="Profile: crunchip">@<bdi>crunchip</bdi></a> hört sich nach windows server an ?</p>
]]></description><link>https://forum.iobroker.net/post/695019</link><guid isPermaLink="true">https://forum.iobroker.net/post/695019</guid><dc:creator><![CDATA[liv-in-sky]]></dc:creator><pubDate>Thu, 28 Oct 2021 10:37:30 GMT</pubDate></item><item><title><![CDATA[Reply to in vis einen Ordner von einem anderen Server darstellen on Thu, 28 Oct 2021 10:35:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/michl75" aria-label="Profile: michl75">@<bdi>michl75</bdi></a> ist z.b. möglich mit dem Adapter linux control</p>
]]></description><link>https://forum.iobroker.net/post/695018</link><guid isPermaLink="true">https://forum.iobroker.net/post/695018</guid><dc:creator><![CDATA[crunchip]]></dc:creator><pubDate>Thu, 28 Oct 2021 10:35:12 GMT</pubDate></item></channel></rss>