<?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[Parser Erklärung gesucht]]></title><description><![CDATA[<p dir="auto">Hallo zusammen,</p>
<p dir="auto">vor einigen Jahren hatte ich es ja mal mit eurer Hilfe geschafft ein File aus einer Solarthermie Anlage zu parsen und Werte zu extrahieren.<br />
Nun, verstanden habe ich ehrlich gesagt fast nur Bahnhof. Bin leider kein Programmierer.</p>
<p dir="auto">Durch die neueren Parser Versionen hatte das dann nicht mehr funktioniert. Warum auch immer.<br />
Mit V1.02 ging es noch.<br />
Auf jeden Fall will ich die Baustelle mal loswerden und es 1. verstehen und 2. auf 1.07 updaten.</p>
<p dir="auto">Wer hat mal einen Link wo das beschrieben ist?</p>
<p dir="auto">Hier das zu parsende File:</p>
<pre><code>&lt;div id="pos0" &gt;
09:29:52
&lt;/div&gt;
&lt;div id="pos1" &gt;
02.03.2021
&lt;/div&gt;
&lt;div id="pos2" &gt;
S1 - Kollektor-Temperatur
&lt;/div&gt;
&lt;div id="pos3" &gt;
S2 - Wasserspeicher-Temperatur
&lt;/div&gt;
&lt;div id="pos4" &gt;
57,7&amp;deg;C&lt;/div&gt;
&lt;div id="pos5" &gt;
39,2&amp;deg;C&lt;/div&gt;
&lt;div id="pos6" &gt;
74W/m&amp;sup2;&lt;/div&gt;
&lt;div id="pos7" &gt;
0l/h&lt;/div&gt;
&lt;div id="pos8" &gt;
AUS&lt;/div&gt;
&lt;div id="pos9" &gt;
AUS&lt;/div&gt;
&lt;div id="pos10" &gt;
S4 - Sonneneinstrahlung
&lt;/div&gt;
&lt;div id="pos11" &gt;
S6 Volumenstrom 
&lt;/div&gt;
&lt;div id="pos12" &gt;
0&lt;/div&gt;
&lt;div id="pos13" &gt;
0,0&lt;/div&gt;
&lt;div id="pos14" &gt;
Pumpe A1
&lt;/div&gt;
&lt;div id="pos15" &gt;
Drehzahl Pumpe A1
&lt;/div&gt;
&lt;div id="pos16" &gt;
Steuerausgang 1
&lt;/div&gt;
&lt;div id="pos17" &gt;
Pumpe A2
&lt;/div&gt;
&lt;div id="pos18" &gt;
Leistung 1
&lt;/div&gt;
&lt;div id="pos19" &gt;
0,0&lt;/div&gt;
&lt;div id="pos20" &gt;
Leistung kWh 1
&lt;/div&gt;
&lt;div id="pos21" &gt;
5,4kW&lt;/div&gt;
&lt;div id="pos22" &gt;
Leistung MWh1
&lt;/div&gt;
&lt;div id="pos23" &gt;
0&lt;/div&gt;

</code></pre>
<p dir="auto">Die neuere Versionen geben einfach keine Daten mehr aus.</p>
<p dir="auto">Hier mal ein Beispiel für eine Parser-Einstellung die bis einschl. V1.02 immer funktioniert hat.</p>
<pre><code>5" &gt;\n(\d*,\d*)

</code></pre>
]]></description><link>https://forum.iobroker.net/topic/42835/parser-erklärung-gesucht</link><generator>RSS for Node</generator><lastBuildDate>Thu, 21 May 2026 02:23:45 GMT</lastBuildDate><atom:link href="https://forum.iobroker.net/topic/42835.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 02 Mar 2021 17:31:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Parser Erklärung gesucht on Tue, 02 Mar 2021 19:14:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hg6806" aria-label="Profile: hg6806">@<bdi>hg6806</bdi></a></p>
<p dir="auto">wenn du ein einfach geschriebenes tutorial für RegEx (reguläre Ausdrücke) auf deutsch suchst, dann kannst du hier schauen.</p>
<p dir="auto"><a href="https://danielfett.de/2006/03/20/regulaere-ausdruecke-tutorial/" rel="nofollow ugc">https://danielfett.de/2006/03/20/regulaere-ausdruecke-tutorial/</a></p>
<p dir="auto">Zusammen mit der Seite <a href="http://regex101.com" rel="nofollow ugc">regex101.com</a> kann man ein wenig spielen und sieht auch gleich das Ergebnis, oder auch das es nicht funktioniert.<br />
Die Herausforderung ist die Denkweise von RegEx. Dafür habe ich auch einige Zeit gebraucht.<br />
Im Enddefekt beschreibst du damit Suchmuster und definierst Platzhalter, die dann als Werte zurück gegeben werden.</p>
<p dir="auto">Leider passt regex101 nicht 100% mit dem Adapter überein, so das man am Ende meist noch mit den Datentypen oder den anderen Einstellungen spielen muss.</p>
]]></description><link>https://forum.iobroker.net/post/591337</link><guid isPermaLink="true">https://forum.iobroker.net/post/591337</guid><dc:creator><![CDATA[OliverIO]]></dc:creator><pubDate>Tue, 02 Mar 2021 19:14:30 GMT</pubDate></item><item><title><![CDATA[Reply to Parser Erklärung gesucht on Tue, 02 Mar 2021 18:42:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hg6806" aria-label="Profile: hg6806">@<bdi>hg6806</bdi></a> sagte in <a href="/post/591312">Parser Erklärung gesucht</a>:</p>
<blockquote>
<p dir="auto">hast du einen Link wo das gut erklärt ist?</p>
</blockquote>
<p dir="auto">den hast du eigentlich schon selber gehabt:</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hg6806" aria-label="Profile: hg6806">@<bdi>hg6806</bdi></a> sagte in <a href="/post/591283">Parser Erklärung gesucht</a>:</p>
<blockquote>
<p dir="auto">in RegEx101:</p>
</blockquote>
<p dir="auto">Da gibt es rechts unten in der Sidebar zu jedem Befehl eine Erklärung mit Beispiel.<br />
und oben in der Sidebar wird dein Befehl anhand deines Textes Befehl für Befehl zerlegt und farblich markiert.</p>
<p dir="auto">Ansonsten gibt es uns hier im Forum</p>
]]></description><link>https://forum.iobroker.net/post/591315</link><guid isPermaLink="true">https://forum.iobroker.net/post/591315</guid><dc:creator><![CDATA[Homoran]]></dc:creator><pubDate>Tue, 02 Mar 2021 18:42:49 GMT</pubDate></item><item><title><![CDATA[Reply to Parser Erklärung gesucht on Tue, 02 Mar 2021 18:39:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/homoran" aria-label="Profile: homoran">@<bdi>homoran</bdi></a><br />
Nein, hast du einen Link wo das gut erklärt ist?</p>
]]></description><link>https://forum.iobroker.net/post/591312</link><guid isPermaLink="true">https://forum.iobroker.net/post/591312</guid><dc:creator><![CDATA[hg6806]]></dc:creator><pubDate>Tue, 02 Mar 2021 18:39:02 GMT</pubDate></item><item><title><![CDATA[Reply to Parser Erklärung gesucht on Tue, 02 Mar 2021 18:36:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hg6806" aria-label="Profile: hg6806">@<bdi>hg6806</bdi></a> sagte in <a href="/post/591303">Parser Erklärung gesucht</a>:</p>
<blockquote>
<p dir="auto">Danke!!!</p>
</blockquote>
<p dir="auto">wofür?</p>
<p dir="auto">da fehlt doch noch</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hg6806" aria-label="Profile: hg6806">@<bdi>hg6806</bdi></a> sagte in <a href="/post/591247">Parser Erklärung gesucht</a>:</p>
<blockquote>
<p dir="auto">es 1. verstehen</p>
</blockquote>
<p dir="auto">oder ist das bereits passiert?</p>
]]></description><link>https://forum.iobroker.net/post/591305</link><guid isPermaLink="true">https://forum.iobroker.net/post/591305</guid><dc:creator><![CDATA[Homoran]]></dc:creator><pubDate>Tue, 02 Mar 2021 18:36:04 GMT</pubDate></item><item><title><![CDATA[Reply to Parser Erklärung gesucht on Tue, 02 Mar 2021 18:35:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/homoran" aria-label="Profile: homoran">@<bdi>homoran</bdi></a><br />
Ja, hatte ich auch direkt parallel gemacht.</p>
<p dir="auto">Läuft jetzt alles.</p>
<p dir="auto">Danke!!!</p>
]]></description><link>https://forum.iobroker.net/post/591303</link><guid isPermaLink="true">https://forum.iobroker.net/post/591303</guid><dc:creator><![CDATA[hg6806]]></dc:creator><pubDate>Tue, 02 Mar 2021 18:35:06 GMT</pubDate></item><item><title><![CDATA[Reply to Parser Erklärung gesucht on Tue, 02 Mar 2021 18:32:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hg6806" aria-label="Profile: hg6806">@<bdi>hg6806</bdi></a> sagte in <a href="/post/591300">Parser Erklärung gesucht</a>:</p>
<blockquote>
<p dir="auto">Wie mache ich das bei Nummer ohne Nachkomma?</p>
</blockquote>
<p dir="auto">müsste auch mit Komma gehen, da dort nach Ziffer <strong>oder</strong> Komma gesucht wird, sonst einfach das Komma in der eckigen Klammer weglassen</p>
]]></description><link>https://forum.iobroker.net/post/591302</link><guid isPermaLink="true">https://forum.iobroker.net/post/591302</guid><dc:creator><![CDATA[Homoran]]></dc:creator><pubDate>Tue, 02 Mar 2021 18:32:40 GMT</pubDate></item><item><title><![CDATA[Reply to Parser Erklärung gesucht on Tue, 02 Mar 2021 18:30:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/homoran" aria-label="Profile: homoran">@<bdi>homoran</bdi></a><br />
Danke, funzt.<br />
(Hoffentlich) letzte Frage:</p>
<p dir="auto">Wie mache ich das bei Nummer ohne Nachkomma?</p>
<pre><code>s7" &gt;\n(\d*)
</code></pre>
]]></description><link>https://forum.iobroker.net/post/591300</link><guid isPermaLink="true">https://forum.iobroker.net/post/591300</guid><dc:creator><![CDATA[hg6806]]></dc:creator><pubDate>Tue, 02 Mar 2021 18:30:50 GMT</pubDate></item><item><title><![CDATA[Reply to Parser Erklärung gesucht on Tue, 02 Mar 2021 18:24:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hg6806" aria-label="Profile: hg6806">@<bdi>hg6806</bdi></a> sagte in <a href="/post/591294">Parser Erklärung gesucht</a>:</p>
<blockquote>
<p dir="auto">Wie schreibe ich nun folgendes um?</p>
</blockquote>
<p dir="auto">das ist jetzt auch nur geraten: <code>s8[^\w]{4}(\w+)</code><br />
ich hoffe da steht immer nur an und aus oder so etwas</p>
<p dir="auto"><strong>EDIT:</strong><br />
ich weiß nicht, warum das eben nicht geklappt hatte: <code>s8[^\w]+(\w+)</code><br />
jetzt läuft es</p>
]]></description><link>https://forum.iobroker.net/post/591296</link><guid isPermaLink="true">https://forum.iobroker.net/post/591296</guid><dc:creator><![CDATA[Homoran]]></dc:creator><pubDate>Tue, 02 Mar 2021 18:24:56 GMT</pubDate></item><item><title><![CDATA[Reply to Parser Erklärung gesucht on Tue, 02 Mar 2021 18:15:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/homoran" aria-label="Profile: homoran">@<bdi>homoran</bdi></a><br />
Doch bis 1.02 ging es.</p>
<p dir="auto">Stimmt, der hatte es mit dem Komma nicht übernommen.<br />
Dein Ausdruck geht nun.</p>
<p dir="auto">Wie schreibe ich nun folgendes um?</p>
<pre><code>s8" &gt;\n(\S*)&lt;
</code></pre>
]]></description><link>https://forum.iobroker.net/post/591294</link><guid isPermaLink="true">https://forum.iobroker.net/post/591294</guid><dc:creator><![CDATA[hg6806]]></dc:creator><pubDate>Tue, 02 Mar 2021 18:15:44 GMT</pubDate></item><item><title><![CDATA[Reply to Parser Erklärung gesucht on Tue, 02 Mar 2021 18:07:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hg6806" aria-label="Profile: hg6806">@<bdi>hg6806</bdi></a> Ich glaube nicht, dass es bisher ging, da der Adapter schon immer Probleme mit dem \n hatte</p>
]]></description><link>https://forum.iobroker.net/post/591287</link><guid isPermaLink="true">https://forum.iobroker.net/post/591287</guid><dc:creator><![CDATA[Homoran]]></dc:creator><pubDate>Tue, 02 Mar 2021 18:07:27 GMT</pubDate></item><item><title><![CDATA[Reply to Parser Erklärung gesucht on Tue, 02 Mar 2021 18:06:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hg6806" aria-label="Profile: hg6806">@<bdi>hg6806</bdi></a> sagte in <a href="/post/591283">Parser Erklärung gesucht</a>:</p>
<blockquote>
<p dir="auto">Jedoch aktualisiert der Parser den Datenpunkt nicht.</p>
</blockquote>
<p dir="auto">hast du den Typ "nummer mit Komma" gewählt?<br />
Wenn du ihn geändert hast, bitte Regel löschen und neu schreiben. Das hakt manchmal</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hg6806" aria-label="Profile: hg6806">@<bdi>hg6806</bdi></a> sagte in <a href="/post/591283">Parser Erklärung gesucht</a>:</p>
<blockquote>
<p dir="auto">Damit hatte er das Komme und Nachkommastelle verschluckt</p>
</blockquote>
<p dir="auto">läuft bei mir</p>
]]></description><link>https://forum.iobroker.net/post/591285</link><guid isPermaLink="true">https://forum.iobroker.net/post/591285</guid><dc:creator><![CDATA[Homoran]]></dc:creator><pubDate>Tue, 02 Mar 2021 18:06:17 GMT</pubDate></item><item><title><![CDATA[Reply to Parser Erklärung gesucht on Tue, 02 Mar 2021 18:05:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/homoran" aria-label="Profile: homoran">@<bdi>homoran</bdi></a><br />
Damit hatte er das Komme und Nachkommastelle verschluckt<br />
Hiermit geht es zumindest in RegEx101:</p>
<pre><code>s5" &gt;\n(\d*,\d*)
</code></pre>
<p dir="auto">Jedoch aktualisiert der Parser den Datenpunkt nicht.<br />
Keinen Datenpunkt. Adapter zeigt aber grün</p>
<p dir="auto">EDIT: URL geht aber</p>
<pre><code>http://user:passwort1234@192.168.178.26/SD/schematic_files/1.CGI
</code></pre>
<p dir="auto">Zumindest werden im Browser alle Werte angezeigt</p>
]]></description><link>https://forum.iobroker.net/post/591283</link><guid isPermaLink="true">https://forum.iobroker.net/post/591283</guid><dc:creator><![CDATA[hg6806]]></dc:creator><pubDate>Tue, 02 Mar 2021 18:05:49 GMT</pubDate></item><item><title><![CDATA[Reply to Parser Erklärung gesucht on Tue, 02 Mar 2021 17:58:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hg6806" aria-label="Profile: hg6806">@<bdi>hg6806</bdi></a> sagte in <a href="/post/591262">Parser Erklärung gesucht</a>:</p>
<blockquote>
<p dir="auto">Müsste korrekt sein.</p>
</blockquote>
<p dir="auto">mit rechter Maustaste <em>Quelltext anzeigen</em> gewählt und kopiert?</p>
<p dir="auto">Was willst du herausbekommen?</p>
<p dir="auto"><strong>EDIT:</strong><br />
versuch sonst mal :<code>s5" [^\d]+([\d,]+)</code></p>
]]></description><link>https://forum.iobroker.net/post/591268</link><guid isPermaLink="true">https://forum.iobroker.net/post/591268</guid><dc:creator><![CDATA[Homoran]]></dc:creator><pubDate>Tue, 02 Mar 2021 17:58:52 GMT</pubDate></item><item><title><![CDATA[Reply to Parser Erklärung gesucht on Tue, 02 Mar 2021 17:49:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/homoran" aria-label="Profile: homoran">@<bdi>homoran</bdi></a><br />
Hier nochmal angehängt.<br />
Müsste korrekt sein.<br />
<a href="/assets/uploads/files/1614707341669-1.cgi">1.CGI</a></p>
]]></description><link>https://forum.iobroker.net/post/591262</link><guid isPermaLink="true">https://forum.iobroker.net/post/591262</guid><dc:creator><![CDATA[hg6806]]></dc:creator><pubDate>Tue, 02 Mar 2021 17:49:11 GMT</pubDate></item><item><title><![CDATA[Reply to Parser Erklärung gesucht on Tue, 02 Mar 2021 17:35:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hg6806" aria-label="Profile: hg6806">@<bdi>hg6806</bdi></a> sagte in <a href="/post/591247">Parser Erklärung gesucht</a>:</p>
<blockquote>
<p dir="auto">Hier das zu parsende File:</p>
</blockquote>
<p dir="auto">ist das vollständig?<br />
ist das wirklich der Quelltext oder die HTML-Anzeige</p>
]]></description><link>https://forum.iobroker.net/post/591250</link><guid isPermaLink="true">https://forum.iobroker.net/post/591250</guid><dc:creator><![CDATA[Homoran]]></dc:creator><pubDate>Tue, 02 Mar 2021 17:35:31 GMT</pubDate></item></channel></rss>