<?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[Laufzeit aus history berechnen]]></title><description><![CDATA[<p dir="auto">Hallo zusammen,<br />
ich benutze den History Adapter, um die An/Aus zustände von einer Zigbee Steckdose aufzuzeichnen.<br />
Nun würde ich gerne wissen wie lange die Steckdose am Tag angeschaltet war. (Später dann Umrechnung in Stunden/Tage)</p>
<p dir="auto">Ist dies mit Blockly und dem history adapter möglich oder muss ich mir einen eigenen Datenpunkt erstellen, wo ich per "Date-Diff" die Sekunden hochzähle?</p>
<p dir="auto">Danke und Gruß<br />
Mark</p>
]]></description><link>https://forum.iobroker.net/topic/84478/laufzeit-aus-history-berechnen</link><generator>RSS for Node</generator><lastBuildDate>Sat, 16 May 2026 04:28:14 GMT</lastBuildDate><atom:link href="https://forum.iobroker.net/topic/84478.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 05 May 2026 11:47:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Laufzeit aus history berechnen on Wed, 06 May 2026 13:22:44 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/homoran" aria-label="Profile: Homoran">@<bdi>Homoran</bdi></a> [sagte]: Differenz der Timestamps für ein und aus in einem eigenen DP aufzusummieren.</p>
</blockquote>
<p dir="auto">Beispiel:</p>
<p dir="auto"><img src="/assets/uploads/files/1778073762551-blockly_temp.jpg" alt="Blockly_temp.JPG" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.iobroker.net/post/1338056</link><guid isPermaLink="true">https://forum.iobroker.net/post/1338056</guid><dc:creator><![CDATA[paul53]]></dc:creator><pubDate>Wed, 06 May 2026 13:22:44 GMT</pubDate></item><item><title><![CDATA[Reply to Laufzeit aus history berechnen on Tue, 05 May 2026 12:14:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/parachris82" aria-label="Profile: ParaChris82">@<bdi>ParaChris82</bdi></a> dafür extra einen Adapter ist IMHO oversized, wenn es nur um eine Steckdose geht.</p>
<p dir="auto">Es muss auch nicht</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/markio" aria-label="Profile: MarkIO">@<bdi>MarkIO</bdi></a> <a href="/post/1338035">sagte</a>:</p>
<p dir="auto">per "Date-Diff" die Sekunden</p>
</blockquote>
<p dir="auto">Hochgezählt werden, es reicht die Differenz der Timestamps für ein und aus in einem eigenen DP aufzusummieren.<br />
Ob das mit getHistory auch geht weiß ich nich5</p>
]]></description><link>https://forum.iobroker.net/post/1338043</link><guid isPermaLink="true">https://forum.iobroker.net/post/1338043</guid><dc:creator><![CDATA[Homoran]]></dc:creator><pubDate>Tue, 05 May 2026 12:14:18 GMT</pubDate></item><item><title><![CDATA[Reply to Laufzeit aus history berechnen on Tue, 05 May 2026 12:10:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/markio" aria-label="Profile: MarkIO">@<bdi>MarkIO</bdi></a> das geht bestimmt auch per Blockly. Ich selber verwende diesen Adapter dafür: <a href="https://github.com/BenAhrdt/ioBroker.operating-hours" rel="nofollow ugc">https://github.com/BenAhrdt/ioBroker.operating-hours</a> ... Gruß Chris</p>
]]></description><link>https://forum.iobroker.net/post/1338042</link><guid isPermaLink="true">https://forum.iobroker.net/post/1338042</guid><dc:creator><![CDATA[ParaChris82]]></dc:creator><pubDate>Tue, 05 May 2026 12:10:03 GMT</pubDate></item></channel></rss>