<?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 - RegEx -Das ding macht mich fertig]]></title><description><![CDATA[<p dir="auto">Ich versuche mit dem Parser Adapter den facebook count meiner Facebookseite auszulesen.</p>
<p dir="auto">Ich kann das per webseite abrufen und das sieht dann so aus:</p>
<p dir="auto"><img src="/assets/uploads/files/1609528451775-bildschirmfoto-2021-01-01-um-19.56.47.png" alt="Bildschirmfoto 2021-01-01 um 19.56.47.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Was muss ich im Adapter bei "RegEx" nun eingeben das mit der fan_count unter Objekte gespeichert wird?</p>
<p dir="auto">Danke für eure Hilfe.</p>
<p dir="auto">Gruss Danyel</p>
]]></description><link>https://forum.iobroker.net/topic/40381/parser-regex-das-ding-macht-mich-fertig</link><generator>RSS for Node</generator><lastBuildDate>Mon, 18 May 2026 17:19:35 GMT</lastBuildDate><atom:link href="https://forum.iobroker.net/topic/40381.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 01 Jan 2021 19:16:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Parser - RegEx -Das ding macht mich fertig on Fri, 08 Jan 2021 13:27:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fastfoot" aria-label="Profile: fastfoot">@<bdi>fastfoot</bdi></a> Ja danke, das wars. Sorry :-)</p>
]]></description><link>https://forum.iobroker.net/post/553851</link><guid isPermaLink="true">https://forum.iobroker.net/post/553851</guid><dc:creator><![CDATA[werner2000x]]></dc:creator><pubDate>Fri, 08 Jan 2021 13:27:34 GMT</pubDate></item><item><title><![CDATA[Reply to Parser - RegEx -Das ding macht mich fertig on Fri, 08 Jan 2021 13:09:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/werner2000x" aria-label="Profile: werner2000x">@<bdi>werner2000x</bdi></a> sagte in <a href="/post/553735">Parser - RegEx -Das ding macht mich fertig</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fastfoot" aria-label="Profile: fastfoot">@<bdi>fastfoot</bdi></a> Danke für deine Mühe. Bei mir klappt es nicht, warum auch immer???<br />
Ich habe den Datentyp string, was hast du?<br />
Hier mein Flow und die Formel:<br />
<img src="/assets/uploads/files/1610108024641-4bc90c0a-597e-4edc-bee7-fe0973bd1266-image.png" alt="4bc90c0a-597e-4edc-bee7-fe0973bd1266-image.png" class=" img-fluid img-markdown" /></p>
<pre><code>msg.paylod = msg.payload.replace(/\./g,'');
return msg;
</code></pre>
</blockquote>
<p dir="auto">da fehlt ein a im ersten msg.payload</p>
]]></description><link>https://forum.iobroker.net/post/553833</link><guid isPermaLink="true">https://forum.iobroker.net/post/553833</guid><dc:creator><![CDATA[fastfoot]]></dc:creator><pubDate>Fri, 08 Jan 2021 13:09:51 GMT</pubDate></item><item><title><![CDATA[Reply to Parser - RegEx -Das ding macht mich fertig on Fri, 08 Jan 2021 12:14:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fastfoot" aria-label="Profile: fastfoot">@<bdi>fastfoot</bdi></a> Danke für deine Mühe. Bei mir klappt es nicht, warum auch immer???<br />
Ich habe den Datentyp string, was hast du?<br />
Hier mein Flow und die Formel:<br />
<img src="/assets/uploads/files/1610108024641-4bc90c0a-597e-4edc-bee7-fe0973bd1266-image.png" alt="4bc90c0a-597e-4edc-bee7-fe0973bd1266-image.png" class=" img-fluid img-markdown" /></p>
<pre><code>msg.paylod = msg.payload.replace(/\./g,'');
return msg;
</code></pre>
]]></description><link>https://forum.iobroker.net/post/553735</link><guid isPermaLink="true">https://forum.iobroker.net/post/553735</guid><dc:creator><![CDATA[werner2000x]]></dc:creator><pubDate>Fri, 08 Jan 2021 12:14:38 GMT</pubDate></item><item><title><![CDATA[Reply to Parser - RegEx -Das ding macht mich fertig on Thu, 07 Jan 2021 18:25:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/werner2000x" aria-label="Profile: werner2000x">@<bdi>werner2000x</bdi></a> sagte in <a href="/post/553313">Parser - RegEx -Das ding macht mich fertig</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fastfoot" aria-label="Profile: fastfoot">@<bdi>fastfoot</bdi></a> Ja, das habe ich doch oben schon geschrieben. Es werden keine Punkte gefiltert. Der Wert sieht nach der Formel genauso aus wie vorher - also mit Punkten.</p>
</blockquote>
<p dir="auto">Ich weiss nicht was du da treibst, das funktioniert doch!<br />
<img src="/assets/uploads/files/1610043904268-nred.png" alt="nred.PNG" class=" img-fluid img-markdown" /><br />
<img src="/assets/uploads/files/1610043910271-nred2.png" alt="nred2.PNG" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.iobroker.net/post/553371</link><guid isPermaLink="true">https://forum.iobroker.net/post/553371</guid><dc:creator><![CDATA[fastfoot]]></dc:creator><pubDate>Thu, 07 Jan 2021 18:25:28 GMT</pubDate></item><item><title><![CDATA[Reply to Parser - RegEx -Das ding macht mich fertig on Thu, 07 Jan 2021 18:04:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fastfoot" aria-label="Profile: fastfoot">@<bdi>fastfoot</bdi></a> sagte in <a href="/post/553335">Parser - RegEx -Das ding macht mich fertig</a>:</p>
<blockquote>
<p dir="auto">das war die Antwort auf</p>
</blockquote>
<p dir="auto">:das habe ich übersehn <img src="https://forum.iobroker.net/assets/plugins/nodebb-plugin-emoji/emoji/android/1f633.png?v=ba16ebd4856" class="not-responsive emoji emoji-android emoji--flushed" style="height:23px;width:auto;vertical-align:middle" title=":flushed:" alt="😳" /></p>
]]></description><link>https://forum.iobroker.net/post/553343</link><guid isPermaLink="true">https://forum.iobroker.net/post/553343</guid><dc:creator><![CDATA[Homoran]]></dc:creator><pubDate>Thu, 07 Jan 2021 18:04:06 GMT</pubDate></item><item><title><![CDATA[Reply to Parser - RegEx -Das ding macht mich fertig on Thu, 07 Jan 2021 17:59:54 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> sagte in <a href="/post/553314">Parser - RegEx -Das ding macht mich fertig</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fastfoot" aria-label="Profile: fastfoot">@<bdi>fastfoot</bdi></a> sagte in <a href="/post/553305">Parser - RegEx -Das ding macht mich fertig</a>:</p>
<blockquote>
<p dir="auto">der Parser dürfte wohl nur RegEx Ausdrücke akzeptieren, kein JS.</p>
</blockquote>
<p dir="auto">Es geht hier jetzt nicht mehr um den Parser-Adapter, sondern um node-red</p>
</blockquote>
<p dir="auto">das war die Antwort auf</p>
<blockquote>
<p dir="auto">Kann man die Formel auch im Parser hinter dem RegEx .\d*.\d*.\d*(?=Wh) positionieren ?</p>
</blockquote>
]]></description><link>https://forum.iobroker.net/post/553335</link><guid isPermaLink="true">https://forum.iobroker.net/post/553335</guid><dc:creator><![CDATA[fastfoot]]></dc:creator><pubDate>Thu, 07 Jan 2021 17:59:54 GMT</pubDate></item><item><title><![CDATA[Reply to Parser - RegEx -Das ding macht mich fertig on Thu, 07 Jan 2021 17:36:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fastfoot" aria-label="Profile: fastfoot">@<bdi>fastfoot</bdi></a> sagte in <a href="/post/553305">Parser - RegEx -Das ding macht mich fertig</a>:</p>
<blockquote>
<p dir="auto">der Parser dürfte wohl nur RegEx Ausdrücke akzeptieren, kein JS.</p>
</blockquote>
<p dir="auto">Es geht hier jetzt nicht mehr um den Parser-Adapter, sondern um node-red<br />
Der Parser Teil ist bereits abgeschlossen und als String in einen Datenpunkt geschrieben.<br />
Dieser Datenpunkt wird jetzt ausgelesen</p>
<p dir="auto">(zumindest sollte es so sein)</p>
]]></description><link>https://forum.iobroker.net/post/553314</link><guid isPermaLink="true">https://forum.iobroker.net/post/553314</guid><dc:creator><![CDATA[Homoran]]></dc:creator><pubDate>Thu, 07 Jan 2021 17:36:41 GMT</pubDate></item><item><title><![CDATA[Reply to Parser - RegEx -Das ding macht mich fertig on Thu, 07 Jan 2021 17:34:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fastfoot" aria-label="Profile: fastfoot">@<bdi>fastfoot</bdi></a> Ja, das habe ich doch oben schon geschrieben. Es werden keine Punkte gefiltert. Der Wert sieht nach der Formel genauso aus wie vorher - also mit Punkten.</p>
]]></description><link>https://forum.iobroker.net/post/553313</link><guid isPermaLink="true">https://forum.iobroker.net/post/553313</guid><dc:creator><![CDATA[werner2000x]]></dc:creator><pubDate>Thu, 07 Jan 2021 17:34:28 GMT</pubDate></item><item><title><![CDATA[Reply to Parser - RegEx -Das ding macht mich fertig on Thu, 07 Jan 2021 17:26:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/werner2000x" aria-label="Profile: werner2000x">@<bdi>werner2000x</bdi></a> evtl könnte auch <code>(msg.payload).replace(/\./g,''))</code> helfen</p>
]]></description><link>https://forum.iobroker.net/post/553306</link><guid isPermaLink="true">https://forum.iobroker.net/post/553306</guid><dc:creator><![CDATA[fastfoot]]></dc:creator><pubDate>Thu, 07 Jan 2021 17:26:53 GMT</pubDate></item><item><title><![CDATA[Reply to Parser - RegEx -Das ding macht mich fertig on Thu, 07 Jan 2021 17:24:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/werner2000x" aria-label="Profile: werner2000x">@<bdi>werner2000x</bdi></a> sagte in <a href="/post/553282">Parser - RegEx -Das ding macht mich fertig</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fastfoot" aria-label="Profile: fastfoot">@<bdi>fastfoot</bdi></a> Hier nochmal die Formel im Screenshot:<br />
<img src="/assets/uploads/files/1610039154991-c63a199d-49b7-47cc-8a33-5e7b18670b0d-image.png" alt="c63a199d-49b7-47cc-8a33-5e7b18670b0d-image.png" class=" img-fluid img-markdown" /><br />
Ich sehe keinen Unterschied zu deiner Formel.<br />
Kann man die Formel auch im Parser hinter dem RegEx   .\d*.\d*.\d*(?=Wh) positionieren ?</p>
</blockquote>
<p dir="auto">In deinem Posting war der Backslash vor dem Punkt nicht zu sehen. der Parser dürfte wohl nur RegEx Ausdrücke akzeptieren, kein JS.</p>
<p dir="auto">Wie ist denn das Ergebnis wenn du die Formel in node-red nutzt?</p>
]]></description><link>https://forum.iobroker.net/post/553305</link><guid isPermaLink="true">https://forum.iobroker.net/post/553305</guid><dc:creator><![CDATA[fastfoot]]></dc:creator><pubDate>Thu, 07 Jan 2021 17:24:57 GMT</pubDate></item><item><title><![CDATA[Reply to Parser - RegEx -Das ding macht mich fertig on Thu, 07 Jan 2021 17:18:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fastfoot" aria-label="Profile: fastfoot">@<bdi>fastfoot</bdi></a> Hier nochmal die Formel im Screenshot:<br />
<img src="/assets/uploads/files/1610039154991-c63a199d-49b7-47cc-8a33-5e7b18670b0d-image.png" alt="c63a199d-49b7-47cc-8a33-5e7b18670b0d-image.png" class=" img-fluid img-markdown" /><br />
Ich sehe keinen Unterschied zu deiner Formel.<br />
Kann man die Formel auch im Parser hinter dem RegEx   .\d*.\d*.\d*(?=Wh) positionieren ?</p>
]]></description><link>https://forum.iobroker.net/post/553282</link><guid isPermaLink="true">https://forum.iobroker.net/post/553282</guid><dc:creator><![CDATA[werner2000x]]></dc:creator><pubDate>Thu, 07 Jan 2021 17:18:57 GMT</pubDate></item><item><title><![CDATA[Reply to Parser - RegEx -Das ding macht mich fertig on Thu, 07 Jan 2021 17:01:34 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> Ja das stimmt. Wenn ich im Jahr 4 kWh verbrauche dauert es noch ca. 20 Jahre bis die 99 TkWh erreicht sind.<br />
Aber trotzdem - eine Formel ohne absolute Filterung wäre besser. :-)</p>
]]></description><link>https://forum.iobroker.net/post/553276</link><guid isPermaLink="true">https://forum.iobroker.net/post/553276</guid><dc:creator><![CDATA[werner2000x]]></dc:creator><pubDate>Thu, 07 Jan 2021 17:01:34 GMT</pubDate></item><item><title><![CDATA[Reply to Parser - RegEx -Das ding macht mich fertig on Thu, 07 Jan 2021 16:58:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/werner2000x" aria-label="Profile: werner2000x">@<bdi>werner2000x</bdi></a> sagte in <a href="/post/553254">Parser - RegEx -Das ding macht mich fertig</a>:</p>
<blockquote>
<p dir="auto">msg.paylod = msg.payload.replace(/./g,'')<br />
return msg;</p>
</blockquote>
<p dir="auto">schau mal <strong>genau</strong>, wie meine Formel aussieht...</p>
]]></description><link>https://forum.iobroker.net/post/553274</link><guid isPermaLink="true">https://forum.iobroker.net/post/553274</guid><dc:creator><![CDATA[fastfoot]]></dc:creator><pubDate>Thu, 07 Jan 2021 16:58:25 GMT</pubDate></item><item><title><![CDATA[Reply to Parser - RegEx -Das ding macht mich fertig on Thu, 07 Jan 2021 16:41:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fastfoot" aria-label="Profile: fastfoot">@<bdi>fastfoot</bdi></a> said in <a href="/post/553246">Parser - RegEx -Das ding macht mich fertig</a>:</p>
<blockquote>
<p dir="auto">msg.paylod = msg.payload.replace(/./g,'')</p>
</blockquote>
<p dir="auto">Die Formel habe ich mal zum Test in NodeRed gebracht. Leider werden die Punkte damit nicht gefiltert.<br />
Es bleibt der Wert mit Punkte unverändert. Ich hätte auch gern eine Formel dafür, weil das manuelle Filtern über die Position umständlicher ist.<br />
msg.paylod = msg.payload.replace(/./g,'')<br />
return msg;</p>
]]></description><link>https://forum.iobroker.net/post/553254</link><guid isPermaLink="true">https://forum.iobroker.net/post/553254</guid><dc:creator><![CDATA[werner2000x]]></dc:creator><pubDate>Thu, 07 Jan 2021 16:41:16 GMT</pubDate></item><item><title><![CDATA[Reply to Parser - RegEx -Das ding macht mich fertig on Thu, 07 Jan 2021 16:32:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/werner2000x" aria-label="Profile: werner2000x">@<bdi>werner2000x</bdi></a> sagte in <a href="/post/553217">Parser - RegEx -Das ding macht mich fertig</a>:</p>
<blockquote>
<p dir="auto">In "Filter Punkte" steckt die Formel von oben.</p>
</blockquote>
<p dir="auto">Sollte da nicht <code>msg.paylod = msg.payload.replace(/\./g,'')</code> reichen? Kenne node-red nicht, daher ungetestet</p>
]]></description><link>https://forum.iobroker.net/post/553246</link><guid isPermaLink="true">https://forum.iobroker.net/post/553246</guid><dc:creator><![CDATA[fastfoot]]></dc:creator><pubDate>Thu, 07 Jan 2021 16:32:47 GMT</pubDate></item><item><title><![CDATA[Reply to Parser - RegEx -Das ding macht mich fertig on Thu, 07 Jan 2021 16:30:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/werner2000x" aria-label="Profile: werner2000x">@<bdi>werner2000x</bdi></a> Dann bleibt nur noch zu hoffen, dass die Zahl immer 3x3stellig bleibt</p>
]]></description><link>https://forum.iobroker.net/post/553242</link><guid isPermaLink="true">https://forum.iobroker.net/post/553242</guid><dc:creator><![CDATA[Homoran]]></dc:creator><pubDate>Thu, 07 Jan 2021 16:30:40 GMT</pubDate></item><item><title><![CDATA[Reply to Parser - RegEx -Das ding macht mich fertig on Thu, 07 Jan 2021 16:27:42 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> Ja das ist ein String. Den kann ich jedoch auch in ein Flot- oder Grafana-Diagramm darstellen.<br />
Dazu brauche ich nicht unbedingt integer. Ich habe es trotzdem in einem anderen NodeRed Flow/Funktion zu Testzwecken umgewandelt:</p>
<pre><code>msg.payload = parseInt(msg.payload);
return msg;
</code></pre>
]]></description><link>https://forum.iobroker.net/post/553239</link><guid isPermaLink="true">https://forum.iobroker.net/post/553239</guid><dc:creator><![CDATA[werner2000x]]></dc:creator><pubDate>Thu, 07 Jan 2021 16:27:42 GMT</pubDate></item><item><title><![CDATA[Reply to Parser - RegEx -Das ding macht mich fertig on Thu, 07 Jan 2021 16:22:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/werner2000x" aria-label="Profile: werner2000x">@<bdi>werner2000x</bdi></a> sagte in <a href="/post/553217">Parser - RegEx -Das ding macht mich fertig</a>:</p>
<blockquote>
<p dir="auto">In "Filter Punkte" steckt die Formel von oben.</p>
</blockquote>
<p dir="auto">aber das ist dann immer noch ein String</p>
]]></description><link>https://forum.iobroker.net/post/553231</link><guid isPermaLink="true">https://forum.iobroker.net/post/553231</guid><dc:creator><![CDATA[Homoran]]></dc:creator><pubDate>Thu, 07 Jan 2021 16:22:22 GMT</pubDate></item><item><title><![CDATA[Reply to Parser - RegEx -Das ding macht mich fertig on Thu, 07 Jan 2021 16:05:10 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> Ja danke. Ich habe es jetzt in NodeRed mit einer Funktion zum Entfernen der Punkte gelöst:</p>
<pre><code>var tmp1 = msg.payload.substr(0,4);
var tmp2 = msg.payload.substr(5,3);
var tmp3 = msg.payload.substr(9,3);
msg.payload = tmp1 + tmp2 + tmp3;
if (msg.payload &gt; 0) return msg;
return msg;
</code></pre>
<p dir="auto">Hier das NodeRed:<br />
<img src="/assets/uploads/files/1610035447139-5ba15ae0-a506-476e-9d6b-9ada54a8440e-image.png" alt="5ba15ae0-a506-476e-9d6b-9ada54a8440e-image.png" class=" img-fluid img-markdown" /><br />
In "Filter Punkte" steckt die Formel von oben.</p>
]]></description><link>https://forum.iobroker.net/post/553217</link><guid isPermaLink="true">https://forum.iobroker.net/post/553217</guid><dc:creator><![CDATA[werner2000x]]></dc:creator><pubDate>Thu, 07 Jan 2021 16:05:10 GMT</pubDate></item><item><title><![CDATA[Reply to Parser - RegEx -Das ding macht mich fertig on Thu, 07 Jan 2021 14:27:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/werner2000x" aria-label="Profile: werner2000x">@<bdi>werner2000x</bdi></a> sagte in <a href="/post/553078">Parser - RegEx -Das ding macht mich fertig</a>:</p>
<blockquote>
<p dir="auto">Weiß jemand wie man die wegbekommt?</p>
</blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/homoran" aria-label="Profile: Homoran">@<bdi>Homoran</bdi></a> sagte in <a href="/post/553056">Parser - RegEx -Das ding macht mich fertig</a>:</p>
<blockquote>
<p dir="auto">Die müsstest du dann ggf. mit einem Script entfernen</p>
</blockquote>
<p dir="auto">Dann musst du einen weiteren Datenpunkt vom Typ number erstellen, den Text splitten, in number umwandeln und dann in den DP schreiben</p>
]]></description><link>https://forum.iobroker.net/post/553097</link><guid isPermaLink="true">https://forum.iobroker.net/post/553097</guid><dc:creator><![CDATA[Homoran]]></dc:creator><pubDate>Thu, 07 Jan 2021 14:27:33 GMT</pubDate></item><item><title><![CDATA[Reply to Parser - RegEx -Das ding macht mich fertig on Thu, 07 Jan 2021 14:11:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/werner2000x" aria-label="Profile: werner2000x">@<bdi>werner2000x</bdi></a> Jetzt habe ich nach vielen Rumprobieren eine Zwischenlösung über den Datentyp "string" statt "number":<br />
<img src="/assets/uploads/files/1610028451732-88fe458d-eb21-44c5-b091-6bdf6a10372b-image.png" alt="88fe458d-eb21-44c5-b091-6bdf6a10372b-image.png" class=" img-fluid img-markdown" /><br />
Den RegEx habe ich auf <em><em>\d</em>.\d</em>.\d*(?=Wh)** geändert. Nun habe ich zwar alle Zeichen im Ergebnis 191.125.863, doch sind da immer noch die Punkte dazwischen. Weiß jemand wie man die wegbekommt?</p>
]]></description><link>https://forum.iobroker.net/post/553078</link><guid isPermaLink="true">https://forum.iobroker.net/post/553078</guid><dc:creator><![CDATA[werner2000x]]></dc:creator><pubDate>Thu, 07 Jan 2021 14:11:07 GMT</pubDate></item><item><title><![CDATA[Reply to Parser - RegEx -Das ding macht mich fertig on Thu, 07 Jan 2021 13:51:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/werner2000x" aria-label="Profile: werner2000x">@<bdi>werner2000x</bdi></a> sagte in <a href="/post/553024">Parser - RegEx -Das ding macht mich fertig</a>:</p>
<blockquote>
<p dir="auto">Wie kann ich aus folgender Webseite</p>
</blockquote>
<p dir="auto">welche?</p>
<p dir="auto">Ist in den Code-Tags der gesamte Quelltext?</p>
<p dir="auto">Dann würde <code>([\d\.]+)Wh</code> das Ergebnis bringen, aber das nutzt dir wegen der Punkte nichts.<br />
Die müsstest du dann ggf. mit einem Script entfernen</p>
]]></description><link>https://forum.iobroker.net/post/553056</link><guid isPermaLink="true">https://forum.iobroker.net/post/553056</guid><dc:creator><![CDATA[Homoran]]></dc:creator><pubDate>Thu, 07 Jan 2021 13:51:24 GMT</pubDate></item><item><title><![CDATA[Reply to Parser - RegEx -Das ding macht mich fertig on Thu, 07 Jan 2021 13:37:22 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> Ich habe auch ein Problem mit RegEx, Wie kann ich aus folgender Webseite mit dem Parser den markierten Wert herausfiltern?<br />
<img src="/assets/uploads/files/1610024725244-36f5f1aa-4717-44d8-aeb2-101083d83a49-image.png" alt="36f5f1aa-4717-44d8-aeb2-101083d83a49-image.png" class=" img-fluid img-markdown" /><br />
Wie man sehen kann habe ich nur eine Zahl mit 3 Zeichen. Ich brauch jedoch die ganze Zahl z.B. 191.125.786 am besten<br />
ohne die Punkte dazwischen also 191125786.<br />
Hat jemand eine Idee?</p>
<pre><code>&lt;html&gt;&lt;head&gt;&lt;title&gt;ISm&lt;/title&gt;&lt;/head&gt;&lt;h2&gt;IPswitch-S0m-WiFi: &lt;hr&gt;&lt;pre&gt;S0            = 191.125.863Wh + 52W&lt;FONT SIZE='-2'&gt;, min= 0W, max. 2.743W&lt;/FONT&gt;&lt;br&gt;Limit Output  = 1&lt;br&gt;MQTT connected= 1&lt;FONT SIZE='-2'&gt;, vor= 244s, connected= 3144, reconnected= 3157&lt;/FONT&gt;&lt;br&gt;&lt;hr&gt;&lt;br&gt;&lt;a href="http://192.168.198.38?ref=5"&gt;start refresh&lt;/a&gt;   &lt;a href="http://192.168.198.38?inf=1"&gt;?&lt;/a&gt;    &lt;a href="http://192.168.198.38?mmr=1"&gt;reset min/max&lt;/a&gt;&lt;br&gt;&lt;hr&gt; &lt;img src="/chart.cvg"/&gt;&lt;/FONT&gt;&lt;/pre&gt;&lt;br&gt;
</code></pre>
]]></description><link>https://forum.iobroker.net/post/553024</link><guid isPermaLink="true">https://forum.iobroker.net/post/553024</guid><dc:creator><![CDATA[werner2000x]]></dc:creator><pubDate>Thu, 07 Jan 2021 13:37:22 GMT</pubDate></item><item><title><![CDATA[Reply to Parser - RegEx -Das ding macht mich fertig on Sat, 02 Jan 2021 10:06:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/webranger" aria-label="Profile: Webranger">@<bdi>Webranger</bdi></a> sagte in <a href="/post/549152">Parser - RegEx -Das ding macht mich fertig</a>:</p>
<blockquote>
<p dir="auto">Das hier ":(\d+) hat funktioniert</p>
</blockquote>
<p dir="auto">Nach den Screenshot vom Editor war das klar!<br />
In dem "Quelltext" waren Steuerzeichen.<br />
Das kann nicht der Originaltext gewesen sein.</p>
]]></description><link>https://forum.iobroker.net/post/549175</link><guid isPermaLink="true">https://forum.iobroker.net/post/549175</guid><dc:creator><![CDATA[Homoran]]></dc:creator><pubDate>Sat, 02 Jan 2021 10:06:44 GMT</pubDate></item></channel></rss>