<?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[Grafana-Abfragen von iobroker MySQL]]></title><description><![CDATA[<p dir="auto">Hallo</p>
<p dir="auto">ich habe das gefunden und damit kann ich auch die Daten abfragen.</p>
<pre><code>SELECT
  floor(nb.ts/1000) AS time_sec,
  nb.val AS value,
  dp.name AS metric
FROM ts_number AS nb, datapoints AS dp
WHERE $__unixEpochFrom()*1000 &lt; nb.ts AND $__unixEpochTo()*1000 &gt; nb.ts AND nb.id = 217 AND nb.id = dp.id
ORDER BY nb.ts ASC

</code></pre>
<p dir="auto">Nur manchmal bekomme ich den Fehler "Data is missing a time field" obwohl jede Menge da sind und der Zeitbereich auf 4 Wochen steht. Kennt das jemand?<br />
In dieser Programmiersprache kenne ich mich leider nicht so aus</p>
<p dir="auto">Gruß<br />
Werner</p>
]]></description><link>https://forum.iobroker.net/topic/52762/grafana-abfragen-von-iobroker-mysql</link><generator>RSS for Node</generator><lastBuildDate>Sat, 23 May 2026 07:09:06 GMT</lastBuildDate><atom:link href="https://forum.iobroker.net/topic/52762.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 21 Feb 2022 17:51:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Grafana-Abfragen von iobroker MySQL on Tue, 22 Feb 2022 16:30:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/werners" aria-label="Profile: werners">@<bdi>werners</bdi></a> Ist dann da nicht eher das Plugin eine Lösung für dich?</p>
<p dir="auto"><a href="https://grafana.com/docs/grafana/latest/datasources/mysql/" rel="nofollow ugc">https://grafana.com/docs/grafana/latest/datasources/mysql/</a></p>
]]></description><link>https://forum.iobroker.net/post/767074</link><guid isPermaLink="true">https://forum.iobroker.net/post/767074</guid><dc:creator><![CDATA[wendy2702]]></dc:creator><pubDate>Tue, 22 Feb 2022 16:30:56 GMT</pubDate></item><item><title><![CDATA[Reply to Grafana-Abfragen von iobroker MySQL on Tue, 22 Feb 2022 06:26:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wendy2702" aria-label="Profile: wendy2702">@<bdi>wendy2702</bdi></a></p>
<p dir="auto">ich wollte bei Mysql bleiben, da kenne ich mich etwas aus und es gibt gute Tools.</p>
<p dir="auto">Gruß<br />
Werner</p>
]]></description><link>https://forum.iobroker.net/post/766680</link><guid isPermaLink="true">https://forum.iobroker.net/post/766680</guid><dc:creator><![CDATA[WernerS]]></dc:creator><pubDate>Tue, 22 Feb 2022 06:26:18 GMT</pubDate></item><item><title><![CDATA[Reply to Grafana-Abfragen von iobroker MySQL on Mon, 21 Feb 2022 20:31:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/werners" aria-label="Profile: werners">@<bdi>werners</bdi></a> Der Beitrag ist von 2018.</p>
<p dir="auto">Vielleicht solltest du dir die Grafana / InfluxDB Kombination anschauen.</p>
<p dir="auto">Da benötigt man eigentlich kein extra script.</p>
]]></description><link>https://forum.iobroker.net/post/766594</link><guid isPermaLink="true">https://forum.iobroker.net/post/766594</guid><dc:creator><![CDATA[wendy2702]]></dc:creator><pubDate>Mon, 21 Feb 2022 20:31:33 GMT</pubDate></item><item><title><![CDATA[Reply to Grafana-Abfragen von iobroker MySQL on Mon, 21 Feb 2022 20:22:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wendy2702" aria-label="Profile: wendy2702">@<bdi>wendy2702</bdi></a></p>
<p dir="auto">Mit dem Script greift Grafana auf die Daten in der iobroker Mysql Datenbank zu, dann ich diese in einem Graph darstellen. Habe ich hier gefunden.</p>
<p dir="auto"><a href="https://forum.iobroker.net/topic/10735/grafana-abfragen-von-iobroker-mysql/26">https://forum.iobroker.net/topic/10735/grafana-abfragen-von-iobroker-mysql/26</a></p>
<p dir="auto">Funktioniert soweit nur das ich halt mal das Oben genannte problem habe und es nicht verstehe warum.</p>
<p dir="auto">Gruß<br />
Werner</p>
]]></description><link>https://forum.iobroker.net/post/766589</link><guid isPermaLink="true">https://forum.iobroker.net/post/766589</guid><dc:creator><![CDATA[WernerS]]></dc:creator><pubDate>Mon, 21 Feb 2022 20:22:29 GMT</pubDate></item><item><title><![CDATA[Reply to Grafana-Abfragen von iobroker MySQL on Mon, 21 Feb 2022 18:27:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/werners" aria-label="Profile: werners">@<bdi>werners</bdi></a> Ich glaube du muss uns erklären was genau du da machen möchtest.</p>
]]></description><link>https://forum.iobroker.net/post/766473</link><guid isPermaLink="true">https://forum.iobroker.net/post/766473</guid><dc:creator><![CDATA[wendy2702]]></dc:creator><pubDate>Mon, 21 Feb 2022 18:27:17 GMT</pubDate></item></channel></rss>