<?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[Object ID - Typecast]]></title><description><![CDATA[<p dir="auto">Hallo,</p>
<p dir="auto">ich bastle gerade an meiner Ersten Visualisierung...<br />
Nun stoße ich auf ein Grundlegendes "einfaches" Problem. Ich möchte mit dem Widget "MeterGauge" einen Wert anzeigen. Der kommt von FHEM über den Adapter als Datenpung mit dem Typ String (Text). Nun müsste es doch irgendwie möglich sein, aus dem String "47,7 °C "einen Float zu machen? Kann man das nicht einfach in dem "Object ID" Feld mit einem Typecast o.ä. machen?? So wie z.B. atof(einText) oder .val() ...</p>
<p dir="auto">Gruß<br />
Axel</p>
]]></description><link>https://forum.iobroker.net/topic/37758/object-id-typecast</link><generator>RSS for Node</generator><lastBuildDate>Wed, 22 Apr 2026 14:01:27 GMT</lastBuildDate><atom:link href="https://forum.iobroker.net/topic/37758.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 18 Oct 2020 15:53:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Object ID - Typecast on Sun, 18 Oct 2020 16:47:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ahermann86" aria-label="Profile: ahermann86">@<bdi>ahermann86</bdi></a> sagte:</p>
<blockquote>
<p dir="auto">Geht sowas nur über den "Umweg" mit Alias Datenpunken?</p>
</blockquote>
<p dir="auto">Keine Ahnung, denn mit Vis-Bindings kenne ich mich nicht aus. Auf jeden Fall ist es "sauberer", Zahlenwerte als solche in entsprechenden Datenpunkte zu halten.</p>
]]></description><link>https://forum.iobroker.net/post/505562</link><guid isPermaLink="true">https://forum.iobroker.net/post/505562</guid><dc:creator><![CDATA[paul53]]></dc:creator><pubDate>Sun, 18 Oct 2020 16:47:22 GMT</pubDate></item><item><title><![CDATA[Reply to Object ID - Typecast on Sun, 18 Oct 2020 16:41:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/paul53" aria-label="Profile: paul53">@<bdi>paul53</bdi></a> Der String enthält einen Punkt. Geht sowas nur über den "Umweg" mit Alias Datenpunken?</p>
]]></description><link>https://forum.iobroker.net/post/505558</link><guid isPermaLink="true">https://forum.iobroker.net/post/505558</guid><dc:creator><![CDATA[ahermann86]]></dc:creator><pubDate>Sun, 18 Oct 2020 16:41:55 GMT</pubDate></item><item><title><![CDATA[Reply to Object ID - Typecast on Sun, 18 Oct 2020 16:14:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ahermann86" aria-label="Profile: ahermann86">@<bdi>ahermann86</bdi></a> sagte:</p>
<blockquote>
<p dir="auto">aus dem String "47,7 °C "einen Float zu machen?</p>
</blockquote>
<p dir="auto">Enthält der String ein Komma oder einen Punkt ?<br />
Ich empfehle die Verwendung eines Alias-Datenpunktes vom Typ "number".</p>
]]></description><link>https://forum.iobroker.net/post/505538</link><guid isPermaLink="true">https://forum.iobroker.net/post/505538</guid><dc:creator><![CDATA[paul53]]></dc:creator><pubDate>Sun, 18 Oct 2020 16:14:46 GMT</pubDate></item></channel></rss>