<?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[Gaspreis wird seit 5 Tagen mit NaN angezeigt]]></title><description><![CDATA[<p dir="auto">Hallo,<br />
Ich rechne meine Daten im Skript mit Blockly und seit 5 Tagen wird der Gaspreis_Jahr, Monat und Tag nicht mehr angezeigt. Unter dem Skript steht NaN und wenn ich in den Datenpunkt schaue steht da (null) drin.<br />
Die Berechnung ist Gasverbrauch X Gaspreis. Die beiden Datenpunkte sind Numbers.<br />
im gleichen Trigger zwei Zeilen vorher berechne ich Stromverbrauch X Strompreis und das Ergebnis ist OK.<br />
Es hat 1 bis 2 Jahre funktioniert.</p>
<p dir="auto">Was braucht Ihr von mir ??</p>
<p dir="auto">Mein Rechner ist ein Macbook Air macOS 26.5.2</p>
<p dir="auto">Gruss Karl-Heinz</p>
]]></description><link>https://forum.iobroker.net/topic/85037/gaspreis-wird-seit-5-tagen-mit-nan-angezeigt</link><generator>RSS for Node</generator><lastBuildDate>Fri, 24 Jul 2026 12:32:14 GMT</lastBuildDate><atom:link href="https://forum.iobroker.net/topic/85037.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 23 Jul 2026 09:47:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Gaspreis wird seit 5 Tagen mit NaN angezeigt on Fri, 24 Jul 2026 09:54:15 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/karl-heinz1" aria-label="Profile: Karl-Heinz1">@<bdi>Karl-Heinz1</bdi></a> <a href="/post/1349086">sagte</a>:</p>
<p dir="auto">Das die Datenpunkte alle numbers sind sehe ich in den Objekten.</p>
</blockquote>
<p dir="auto">Das ist aber nicht relevant!<br />
Da kann trotzdem ein String drin stehen.</p>
<p dir="auto">Wie <code>"1,2"</code></p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/karl-heinz1" aria-label="Profile: Karl-Heinz1">@<bdi>Karl-Heinz1</bdi></a> <a href="/post/1349086">sagte</a>:</p>
<p dir="auto">fastfoot hatte es richtig erkannt.</p>
</blockquote>
<p dir="auto">Das konnte ich bei einem 2.4k Bild auf dem Handy nicht erkennen, deswegen habe ich nachgefragt</p>
<blockquote>
<p dir="auto">Homoran <a href="/post/1349024">sagte</a>:</p>
<p dir="auto">Dann brauchen wir erst einmal von allen drei Datenpunkten der Rechnung</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/karl-heinz1" aria-label="Profile: Karl-Heinz1">@<bdi>Karl-Heinz1</bdi></a> sagte:</p>
<p dir="auto">Gasverbrauch X Gaspreis</p>
<p dir="auto">= Ergebnis</p>
<p dir="auto">die Werte<br />
den Datentyp der Werte!, nicht den Typ des DPs!</p>
</blockquote>
]]></description><link>https://forum.iobroker.net/post/1349094</link><guid isPermaLink="true">https://forum.iobroker.net/post/1349094</guid><dc:creator><![CDATA[Homoran]]></dc:creator><pubDate>Fri, 24 Jul 2026 09:54:15 GMT</pubDate></item><item><title><![CDATA[Reply to Gaspreis wird seit 5 Tagen mit NaN angezeigt on Fri, 24 Jul 2026 08:49:17 GMT]]></title><description><![CDATA[<p dir="auto">Hormoran: Ich hatte gemeint, das ich den Strom genauso berechnet habe und es dort funktionierte und beim Gas nicht. Das die Datenpunkte alle numbers sind sehe ich in den Objekten.<br />
fastfoot hatte es richtig erkannt. Ich hatte in der Vis den Gaspreis geändert und dort 1,2 mit Komma eingeben, das war der Fehler.</p>
<p dir="auto">Vielen Dank für Euere Hilfe.</p>
]]></description><link>https://forum.iobroker.net/post/1349086</link><guid isPermaLink="true">https://forum.iobroker.net/post/1349086</guid><dc:creator><![CDATA[Karl-Heinz1]]></dc:creator><pubDate>Fri, 24 Jul 2026 08:49:17 GMT</pubDate></item><item><title><![CDATA[Reply to Gaspreis wird seit 5 Tagen mit NaN angezeigt on Thu, 23 Jul 2026 15:47:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/karl-heinz1" aria-label="Profile: Karl-Heinz1">@<bdi>Karl-Heinz1</bdi></a> was nöchtest du mir damit sagen?</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/karl-heinz1" aria-label="Profile: Karl-Heinz1">@<bdi>Karl-Heinz1</bdi></a> <a href="/post/1349014">sagte</a>:</p>
<p dir="auto">der Datenpunkt ist bei allen Numbers.</p>
</blockquote>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/karl-heinz1" aria-label="Profile: Karl-Heinz1">@<bdi>Karl-Heinz1</bdi></a> <a href="/post/1349014">sagte</a>:</p>
<p dir="auto">beim Strom ist es OK</p>
</blockquote>
<p dir="auto">Dann interessiert uns das nicht.</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/karl-heinz1" aria-label="Profile: Karl-Heinz1">@<bdi>Karl-Heinz1</bdi></a> <a href="/post/1349014">sagte</a>:</p>
<p dir="auto">nur beim Gas steht das NaN.</p>
</blockquote>
<p dir="auto">Dann brauchen wir erst einmal von allen drei Datenpunkten der Rechnung</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/karl-heinz1" aria-label="Profile: Karl-Heinz1">@<bdi>Karl-Heinz1</bdi></a> <a href="/post/1348956">sagte</a>:</p>
<p dir="auto">Gasverbrauch X Gaspreis</p>
</blockquote>
<p dir="auto">= Ergebnis</p>
<ul>
<li>die Werte</li>
<li>den Datentyp <strong>der Werte</strong>!, nicht den Typ des DPs!!
<ul>
<li>wo kommen diese Werte her?</li>
</ul>
</li>
</ul>
]]></description><link>https://forum.iobroker.net/post/1349024</link><guid isPermaLink="true">https://forum.iobroker.net/post/1349024</guid><dc:creator><![CDATA[Homoran]]></dc:creator><pubDate>Thu, 23 Jul 2026 15:47:03 GMT</pubDate></item><item><title><![CDATA[Reply to Gaspreis wird seit 5 Tagen mit NaN angezeigt on Thu, 23 Jul 2026 15:40:51 GMT]]></title><description><![CDATA[<p dir="auto">Vielen Dank, manchmal ist man blind. Ich hatte irgendwann in der VIS den Gaspreis geändert dort 1,2 statt 1.2 geschrieben.<br />
Vielen Dank, Problem gelöst<br />
LG Karl-Heinz</p>
]]></description><link>https://forum.iobroker.net/post/1349023</link><guid isPermaLink="true">https://forum.iobroker.net/post/1349023</guid><dc:creator><![CDATA[Karl-Heinz1]]></dc:creator><pubDate>Thu, 23 Jul 2026 15:40:51 GMT</pubDate></item><item><title><![CDATA[Reply to Gaspreis wird seit 5 Tagen mit NaN angezeigt on Thu, 23 Jul 2026 15:27:19 GMT]]></title><description><![CDATA[<p dir="auto">der Wert <strong>1,2</strong> ist falsch und muss <strong>1.2</strong> lauten. Blockly/JS rechnet in englischer Notation</p>
]]></description><link>https://forum.iobroker.net/post/1349018</link><guid isPermaLink="true">https://forum.iobroker.net/post/1349018</guid><dc:creator><![CDATA[fastfoot]]></dc:creator><pubDate>Thu, 23 Jul 2026 15:27:19 GMT</pubDate></item><item><title><![CDATA[Reply to Gaspreis wird seit 5 Tagen mit NaN angezeigt on Thu, 23 Jul 2026 15:27:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/karl-heinz1" aria-label="Profile: Karl-Heinz1">@<bdi>Karl-Heinz1</bdi></a> .. wo kommt der der Preis her? Wenn dort <strong>null</strong> drin steht, kann dein Script damit auch nicht rechnen!</p>
<p dir="auto"><strong>null</strong> keine Zahl sondern einfach nur <strong>nichts</strong>, <strong>ungültig</strong> oder <strong>nichtig</strong></p>
]]></description><link>https://forum.iobroker.net/post/1349017</link><guid isPermaLink="true">https://forum.iobroker.net/post/1349017</guid><dc:creator><![CDATA[skvarel]]></dc:creator><pubDate>Thu, 23 Jul 2026 15:27:06 GMT</pubDate></item><item><title><![CDATA[Reply to Gaspreis wird seit 5 Tagen mit NaN angezeigt on Thu, 23 Jul 2026 15:16:13 GMT]]></title><description><![CDATA[<p dir="auto">Du schreibst alles!<br />
Was ist alles ? Ich habe hier einen Bildschirmausdruck, da kann man sehen, das beim Strom ist es OK nur beim Gas steht das NaN. Wenn ich in den Datenpunkt schaue, steht da beim Strompreis das Ergebnis und beim Gas (null), aber der Datenpunkt ist bei allen Numbers.</p>
<p dir="auto"><img src="/assets/uploads/files/1784819610748-bildschirmfoto-2026-07-23-um-17.13.07-resized.png" alt="Bildschirmfoto 2026-07-23 um 17.13.07.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.iobroker.net/post/1349014</link><guid isPermaLink="true">https://forum.iobroker.net/post/1349014</guid><dc:creator><![CDATA[Karl-Heinz1]]></dc:creator><pubDate>Thu, 23 Jul 2026 15:16:13 GMT</pubDate></item><item><title><![CDATA[Reply to Gaspreis wird seit 5 Tagen mit NaN angezeigt on Thu, 23 Jul 2026 09:55:19 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/karl-heinz1" aria-label="Profile: Karl-Heinz1">@<bdi>Karl-Heinz1</bdi></a> <a href="/post/1348956">sagte</a>:</p>
<p dir="auto">Was braucht Ihr von mir ??</p>
</blockquote>
<p dir="auto">Alles!</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/karl-heinz1" aria-label="Profile: Karl-Heinz1">@<bdi>Karl-Heinz1</bdi></a> <a href="/post/1348956">sagte</a>:</p>
<p dir="auto">Unter dem Skript steht NaN und wenn ich in den Datenpunkt schaue steht da (null) drin.</p>
</blockquote>
<p dir="auto"><code>null</code> ist <strong>N</strong>ot <strong>a</strong> <strong>N</strong>umber!</p>
<p dir="auto">Aber warum da null rauskommt weiß meine Glaskugel leider nicht</p>
]]></description><link>https://forum.iobroker.net/post/1348962</link><guid isPermaLink="true">https://forum.iobroker.net/post/1348962</guid><dc:creator><![CDATA[Homoran]]></dc:creator><pubDate>Thu, 23 Jul 2026 09:55:19 GMT</pubDate></item></channel></rss>