<?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[Frage zu influxdb.0 &#x27;update&#x27;]]></title><description><![CDATA[<p dir="auto">In der Beschreibung zum Adapter heißt es auf GitHub:</p>
<p dir="auto"><strong>Zustand ändern</strong><br />
Wenn Sie den Wert, die Qualität oder das Bestätigungs-Flag eines Eintrags in der Datenbank ändern möchten, können Sie die eingebaute Systemfunktion update verwenden :</p>
<pre><code>sendTo('influxdb.0', 'update', [
    {id: 'mbus.0.counter.xxx', state: {ts: 1589458809352, val: 15, ack: true, q: 0}}, 
    {id: 'mbus.0.counter.yyy', state: {ts: 1589458809353, val: 16, ack: true, q: 0}}
], result =&gt; console.log('deleted'));ext
</code></pre>
<p dir="auto">Verstehe ich das richtig das ich damit einem Point in dem Measurement einen neuen Wert oder Eigenschaft zukommen lassen kann.<br />
Das scheint ein Beispiel für vor InfluxDB 2.0 zu sein. Wie muss es dann geschrieben werden für Flux.</p>
<p dir="auto">Hintergrund ist das in meiner Aufzeichnung zwei Messwerte völlig außer der Reihe sind und ich die Points nicht nur löschen möchte, sondern den Wert anpassen.<br />
Oder löschen und an der Position in der Messreihe den korrekten Wert einfügen.</p>
<p dir="auto">Vielleicht kann da jemand bitte aufklären.</p>
]]></description><link>https://forum.iobroker.net/topic/56904/frage-zu-influxdb-0-update</link><generator>RSS for Node</generator><lastBuildDate>Tue, 19 May 2026 21:07:22 GMT</lastBuildDate><atom:link href="https://forum.iobroker.net/topic/56904.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 04 Aug 2022 11:09:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Frage zu influxdb.0 &#x27;update&#x27; on Sun, 07 Aug 2022 11:24:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/spacerx" aria-label="Profile: spacerx">@<bdi>spacerx</bdi></a> said in <a href="/post/838235">Frage zu influxdb.0 'update'</a>:</p>
<blockquote>
<p dir="auto">Oder löschen und an der Position in der Messreihe den korrekten Wert einfügen.</p>
</blockquote>
<p dir="auto">Ich würde den falschen Datensatz löschen (keine Ahnung wie das bei Influx2 geht), TS sichern oder einfach Epoch-Time berechnen (<a href="https://www.epochconverter.com/" rel="nofollow ugc">https://www.epochconverter.com/</a>) und wie in deinem Beispielscript beschrieben, den richtigen Wert zur passenden Zeit neu schreiben.</p>
<p dir="auto">Aber geht das nicht einfacher über das Influx2 Webinterface?</p>
]]></description><link>https://forum.iobroker.net/post/839338</link><guid isPermaLink="true">https://forum.iobroker.net/post/839338</guid><dc:creator><![CDATA[Einstein67]]></dc:creator><pubDate>Sun, 07 Aug 2022 11:24:39 GMT</pubDate></item><item><title><![CDATA[Reply to Frage zu influxdb.0 &#x27;update&#x27; on Sun, 07 Aug 2022 09:19:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/spacerx" aria-label="Profile: spacerx">@<bdi>spacerx</bdi></a><br />
Noch als Ergänzung: ich möchte nicht den Timestamp ändern.</p>
]]></description><link>https://forum.iobroker.net/post/839299</link><guid isPermaLink="true">https://forum.iobroker.net/post/839299</guid><dc:creator><![CDATA[SpacerX]]></dc:creator><pubDate>Sun, 07 Aug 2022 09:19:37 GMT</pubDate></item><item><title><![CDATA[Reply to Frage zu influxdb.0 &#x27;update&#x27; on Sun, 07 Aug 2022 09:14:28 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><br />
Siehe meinen ersten Beitrag den Auszug aus der Beschreibung zum Adapter. Demnach ist das möglich.</p>
]]></description><link>https://forum.iobroker.net/post/839298</link><guid isPermaLink="true">https://forum.iobroker.net/post/839298</guid><dc:creator><![CDATA[SpacerX]]></dc:creator><pubDate>Sun, 07 Aug 2022 09:14:28 GMT</pubDate></item><item><title><![CDATA[Reply to Frage zu influxdb.0 &#x27;update&#x27; on Sun, 07 Aug 2022 08:55:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/spacerx" aria-label="Profile: spacerx">@<bdi>spacerx</bdi></a> ist auch nicht viel besser, vielleicht liegt es daran</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/spacerx" aria-label="Profile: spacerx">@<bdi>spacerx</bdi></a> sagte in <a href="/post/839273">Frage zu influxdb.0 'update'</a>:</p>
<blockquote>
<p dir="auto">habe ich den Sinn der Funktion überhaupt richtig verstanden.</p>
</blockquote>
<p dir="auto">mit der neuen Influxdb Adapter Version ist es möglich in den Datenpunkten unter Objekte Werte zu löschen oder zu verändern. Nicht jedoch den Timestamp</p>
<p dir="auto">Anscheinend willst du aber mit js direkt auf die Datenbank zugreifen und dirt etwas ändern.</p>
]]></description><link>https://forum.iobroker.net/post/839289</link><guid isPermaLink="true">https://forum.iobroker.net/post/839289</guid><dc:creator><![CDATA[Homoran]]></dc:creator><pubDate>Sun, 07 Aug 2022 08:55:38 GMT</pubDate></item><item><title><![CDATA[Reply to Frage zu influxdb.0 &#x27;update&#x27; on Sun, 07 Aug 2022 08:04: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> es geht wie beschrieben darum in einem JavaScript mit Hilfe des InfluxDB-Adapters einem Messpunkt in der Datenbank ein neues Value oder Zustand zu verpassen. Was mir nicht klar ist wie schreibe ich die Time für den Messpunkt den ich ändern möchte wenn ich InfluxDB2 benutze und habe ich den Sinn der Funktion überhaupt richtig verstanden.</p>
]]></description><link>https://forum.iobroker.net/post/839273</link><guid isPermaLink="true">https://forum.iobroker.net/post/839273</guid><dc:creator><![CDATA[SpacerX]]></dc:creator><pubDate>Sun, 07 Aug 2022 08:04:41 GMT</pubDate></item><item><title><![CDATA[Reply to Frage zu influxdb.0 &#x27;update&#x27; on Sun, 07 Aug 2022 07:56:28 GMT]]></title><description><![CDATA[<p dir="auto">worum geht es hier?<br />
ich verstehe nur Bahnhof</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/spacerx" aria-label="Profile: spacerx">@<bdi>spacerx</bdi></a> sagte in <a href="/post/838235">Frage zu influxdb.0 'update'</a>:</p>
<blockquote>
<p dir="auto">das ich damit <strong>einem Point in dem Measurement</strong> einen neuen Wert</p>
</blockquote>
<p dir="auto">??</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/spacerx" aria-label="Profile: spacerx">@<bdi>spacerx</bdi></a> sagte in <a href="/post/838235">Frage zu influxdb.0 'update'</a>:</p>
<blockquote>
<p dir="auto">Wie muss es dann geschrieben werden für Flux.</p>
</blockquote>
<p dir="auto">ist das Grafana oder ioBroker?</p>
<blockquote>
<p dir="auto">influxdb.0</p>
</blockquote>
<p dir="auto">das ist eine Instsnz, update macht man brim Adapter</p>
]]></description><link>https://forum.iobroker.net/post/839271</link><guid isPermaLink="true">https://forum.iobroker.net/post/839271</guid><dc:creator><![CDATA[Homoran]]></dc:creator><pubDate>Sun, 07 Aug 2022 07:56:28 GMT</pubDate></item><item><title><![CDATA[Reply to Frage zu influxdb.0 &#x27;update&#x27; on Sun, 07 Aug 2022 07:52:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/spacerx" aria-label="Profile: spacerx">@<bdi>spacerx</bdi></a> noch mal nach oben geschoben.</p>
]]></description><link>https://forum.iobroker.net/post/839268</link><guid isPermaLink="true">https://forum.iobroker.net/post/839268</guid><dc:creator><![CDATA[SpacerX]]></dc:creator><pubDate>Sun, 07 Aug 2022 07:52:45 GMT</pubDate></item></channel></rss>