<?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[[gelöst!] Mal wieder Bindings]]></title><description><![CDATA[<p dir="auto">Ich stehe nach wie vor mit Bindings auf dem Kriegsfuß</p>
<p dir="auto">Ich wollte einen eigenen Datenpunkt und ein Blockly vermeiden und einfach aus Ampere und Volt die Leistung errechnen</p>
<p dir="auto"><code>{a:go-e.0.energy.phase1.ampere; v:go-e.0.energy.phase1.voltage; (parseInt(a)*parseInt(v))}</code></p>
<p dir="auto">hab es schon mit und ohne Klammern, mit und ohne parseInt() versucht, immer nur NaN<br />
Öffnet mir bitte die Augen</p>
]]></description><link>https://forum.iobroker.net/topic/48748/gelöst-mal-wieder-bindings</link><generator>RSS for Node</generator><lastBuildDate>Thu, 30 Apr 2026 00:18:41 GMT</lastBuildDate><atom:link href="https://forum.iobroker.net/topic/48748.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 24 Oct 2021 11:18:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [gelöst!] Mal wieder Bindings on Sun, 24 Oct 2021 12:16:05 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> sagte in <a href="/post/692918">[gelöst!] Mal wieder Bindings</a>:</p>
<blockquote>
<p dir="auto">kannst du den im number widget nicht bei wert multiplizieren ein binding eingeben</p>
</blockquote>
<p dir="auto">Damit kommst du jetzt <img src="https://forum.iobroker.net/assets/plugins/nodebb-plugin-emoji/emoji/android/1f602.png?v=ba16ebd4856" class="not-responsive emoji emoji-android emoji--joy" style="height:23px;width:auto;vertical-align:middle" title=":joy:" alt="😂" /> ?</p>
<p dir="auto">seh ich mir mal später an, das wäre eine gute Idee</p>
<p dir="auto"><strong>EDIT:</strong><br />
konnte nicht warten!<br />
...und ja, so geht das!</p>
]]></description><link>https://forum.iobroker.net/post/692919</link><guid isPermaLink="true">https://forum.iobroker.net/post/692919</guid><dc:creator><![CDATA[Homoran]]></dc:creator><pubDate>Sun, 24 Oct 2021 12:16:05 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst!] Mal wieder Bindings on Sun, 24 Oct 2021 12:10:15 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></p>
<p dir="auto">kannst du den im number widget nicht bei wert multiplizieren ein binding eingeben</p>
<p dir="auto"><img src="/assets/uploads/files/1635077411594-image-8.png" alt="Image 8.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.iobroker.net/post/692918</link><guid isPermaLink="true">https://forum.iobroker.net/post/692918</guid><dc:creator><![CDATA[liv-in-sky]]></dc:creator><pubDate>Sun, 24 Oct 2021 12:10:15 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst!] Mal wieder Bindings on Sun, 24 Oct 2021 12:09:23 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> sagte in <a href="/post/692915">Mal wieder Bindings</a>:</p>
<blockquote>
<p dir="auto">rand, farbe .... - das reicht doch meist</p>
</blockquote>
<p dir="auto">ja, mir ging es um die Formatierung  (Rundung, Faktor) des Wertes. Aber das hab ich ja jetzt.</p>
<p dir="auto"><img src="/assets/uploads/files/1635077318135-go_e_20211024.png" alt="go_e_20211024.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">der go-e charger liefert etwas andere Werte als der HM-Aktor.<br />
deswegen habe ich diese nochmals in grau druntergeschrieben.</p>
]]></description><link>https://forum.iobroker.net/post/692916</link><guid isPermaLink="true">https://forum.iobroker.net/post/692916</guid><dc:creator><![CDATA[Homoran]]></dc:creator><pubDate>Sun, 24 Oct 2021 12:09:23 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst!] Mal wieder Bindings on Sun, 24 Oct 2021 12:06:58 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/692911">Mal wieder Bindings</a>:</p>
<blockquote>
<p dir="auto">und sonst müsste ich noch ein .val() oder so dranhängen?</p>
</blockquote>
<p dir="auto">nee . darin muss eine object id stehen !!!</p>
<p dir="auto">wenn man mehrere solcher anzeigen hat, macht man sich ein css im ccs-tab und wendet das an - bei nur einem ist doof</p>
<p dir="auto">aber die einstellungen hast du ja normalerweise an der seite des vis editors - rand, farbe .... - das reicht doch meist</p>
]]></description><link>https://forum.iobroker.net/post/692915</link><guid isPermaLink="true">https://forum.iobroker.net/post/692915</guid><dc:creator><![CDATA[liv-in-sky]]></dc:creator><pubDate>Sun, 24 Oct 2021 12:06:58 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst!] Mal wieder Bindings on Sun, 24 Oct 2021 12:01:05 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> sagte in <a href="/post/692908">Mal wieder Bindings</a>:</p>
<blockquote>
<p dir="auto">weil du damit den eigentlichen inhalt der datenpunkte holst</p>
</blockquote>
<p dir="auto">und sonst müsste ich noch ein .val() oder so dranhängen?</p>
<p dir="auto">Mit dem basic number lässt sich der Wert so schön formatieren.<br />
mit HTML muss ich das alles selber machen.</p>
<p dir="auto">Ist zwar kein Teufelswerk, aber etwas Arbeit (ok, das lernt!)</p>
<p dir="auto"><strong>EDIT:</strong><br />
ein einfaches parseInt() davor und ein W dahinterhat gereicht ;-)<br />
<code>{a:go-e.0.energy.phase1.ampere; v:go-e.0.energy.phase1.voltage; (parseInt(parseFloat(a)*parseFloat(v)))} W</code></p>
]]></description><link>https://forum.iobroker.net/post/692911</link><guid isPermaLink="true">https://forum.iobroker.net/post/692911</guid><dc:creator><![CDATA[Homoran]]></dc:creator><pubDate>Sun, 24 Oct 2021 12:01:05 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst!] Mal wieder Bindings on Sun, 24 Oct 2021 11:56: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></p>
<p dir="auto">ja html - weil du damit den eigentlichen inhalt der datenpunkte holst - also die states</p>
<p dir="auto">nimmst du ein anderes widget -. brauchst du die id . mit der id arbeitet dann das widget intern und weiß nicht mehr, was du willst</p>
]]></description><link>https://forum.iobroker.net/post/692908</link><guid isPermaLink="true">https://forum.iobroker.net/post/692908</guid><dc:creator><![CDATA[liv-in-sky]]></dc:creator><pubDate>Sun, 24 Oct 2021 11:56:22 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst!] Mal wieder Bindings on Sun, 24 Oct 2021 11:50:51 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><br />
<a class="plugin-mentions-user plugin-mentions-a" href="/user/paul53" aria-label="Profile: paul53">@<bdi>paul53</bdi></a></p>
<p dir="auto">Danke euch beiden!<br />
Auch mit parseFloat() klappt es nicht.</p>
<p dir="auto">Dann kam mir eine Idee und wollte nachfragen mit was für einem Widget <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> das macht.<br />
Ich selber habe ein basic number</p>
<p dir="auto">Dann habe ich die mögliche Antwort vorweggenommen und ein HTML-Widget genommen.<br />
Damit klappt es</p>
<p dir="auto">(warum??)</p>
]]></description><link>https://forum.iobroker.net/post/692905</link><guid isPermaLink="true">https://forum.iobroker.net/post/692905</guid><dc:creator><![CDATA[Homoran]]></dc:creator><pubDate>Sun, 24 Oct 2021 11:50:51 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst!] Mal wieder Bindings on Sun, 24 Oct 2021 11:48:35 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> danke wußte ich nicht - aber komma im wert macht ein problem</p>
]]></description><link>https://forum.iobroker.net/post/692901</link><guid isPermaLink="true">https://forum.iobroker.net/post/692901</guid><dc:creator><![CDATA[liv-in-sky]]></dc:creator><pubDate>Sun, 24 Oct 2021 11:48:35 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst!] Mal wieder Bindings on Sun, 24 Oct 2021 11:37:41 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> sagte: sind den die dp auch number - oder evtl string ?</p>
<p dir="auto">Das spielt bei <em>parseFloat()</em> keine Rolle.</p>
]]></description><link>https://forum.iobroker.net/post/692889</link><guid isPermaLink="true">https://forum.iobroker.net/post/692889</guid><dc:creator><![CDATA[paul53]]></dc:creator><pubDate>Sun, 24 Oct 2021 11:37:41 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst!] Mal wieder Bindings on Sun, 24 Oct 2021 11:34:41 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></p>
<p dir="auto">steht evtl sogar ein komma in den werten ?</p>
]]></description><link>https://forum.iobroker.net/post/692886</link><guid isPermaLink="true">https://forum.iobroker.net/post/692886</guid><dc:creator><![CDATA[liv-in-sky]]></dc:creator><pubDate>Sun, 24 Oct 2021 11:34:41 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst!] Mal wieder Bindings on Sun, 24 Oct 2021 11:31:58 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/692872">Mal wieder Bindings</a>:</p>
<blockquote>
<p dir="auto">{a:go-e.0.energy.phase1.ampere; v:go-e.0.energy.phase1.voltage; (parseInt(a)*parseInt(v))}</p>
</blockquote>
<pre><code>{a:0_userdata.0.CONTROL-OWN.AAATEST.aObject; v:0_userdata.0.CONTROL-OWN.AAATEST.TestZahl2; (parseFloat(a)*parseFloat(v))}
</code></pre>
<p dir="auto">funktioniert sofort - habe aber float genommen - sonst nix geändert (weil meist sind das keine int werte)</p>
<p dir="auto">sind den die dp auch number - oder evtl string ?</p>
]]></description><link>https://forum.iobroker.net/post/692882</link><guid isPermaLink="true">https://forum.iobroker.net/post/692882</guid><dc:creator><![CDATA[liv-in-sky]]></dc:creator><pubDate>Sun, 24 Oct 2021 11:31:58 GMT</pubDate></item></channel></rss>