<?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] Warnung vom SQL Adapter nach deakt. Aufzeichnung]]></title><description><![CDATA[<p dir="auto">Hallo,</p>
<p dir="auto">ich will mich von 2 Shelly's trennen. Auf einigen Datenpunkten habe ich die Werte über den SQL-Adapter protokollieren lassen. Diese Funktion habe ich als erstes mal deaktiviert. Jetzt habe ich im Protokoll folgende Meldung:</p>
<pre><code>sql.0 2023-05-07 20:14:16.771 warn Cannot get index of "shelly.0.SHSW-PM#40F52000FBA5#1.Relay0.Power": id not found
</code></pre>
<p dir="auto">Kann jemand damit was anfangen? Eine Suche im Forum habe ich schon durchgeführt, der Beitrag aus 2021 zu dem Thema ist leider nicht hilfreich in der Sache. Einfache Sachen wie die SQL-Adapter Instanz neu starten habe ich natürlich schon durchgeführt. Die Ausgaben aus dem Debuglog helfen mir auch nicht:</p>
<pre><code>sql.0 2023-05-07 20:17:11.275	info	No Data
sql.0 2023-05-07 20:17:11.274	warn	Cannot get index of "shelly.0.SHSW-PM#40F52000FBA5#1.Relay0.Power": id not found
sql.0 2023-05-07 20:17:11.273	debug	Return connection to pool: 0 now
sql.0 2023-05-07 20:17:11.268	debug	Borrow connection from pool: 1 now
sql.0 2023-05-07 20:17:11.268	debug	SELECT id, type, name FROM `iobroker`.datapoints WHERE name='shelly.0.SHSW-PM#40F52000FBA5#1.Relay0.Power';
sql.0 2023-05-07 20:17:11.267	debug	shelly.0.SHSW-PM#40F52000FBA5#1.Relay0.Power16834834312670.9579524470888594 getHistory message: {"id":"shelly.0.SHSW-PM#40F52000FBA5#1.Relay0.Power","options":{"start":1683224280000,"end":1683483480000,"aggregate":"minmax","from":false,"ack":false,"q":false,"addID":false,"count":300,"instance":"system.adapter.sql.0","sessionId":38,"user":"system.user.admin"}}
</code></pre>
<p dir="auto">Der Adapter ist in der Version 2.2.0 installiert, js-controller 4.0.24, Node.js v18.15.0, falls das relevant sein könnte.</p>
<p dir="auto">Ich wäre für jeden Schubs in die richtige Richtung dankbar :-)</p>
<p dir="auto">rrov1</p>
]]></description><link>https://forum.iobroker.net/topic/65215/gelöst-warnung-vom-sql-adapter-nach-deakt-aufzeichnung</link><generator>RSS for Node</generator><lastBuildDate>Sat, 09 May 2026 04:08:43 GMT</lastBuildDate><atom:link href="https://forum.iobroker.net/topic/65215.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 07 May 2023 18:22:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [gelöst] Warnung vom SQL Adapter nach deakt. Aufzeichnung on Mon, 08 May 2023 16:56:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/glasfaser" aria-label="Profile: glasfaser">@<bdi>glasfaser</bdi></a> said in <a href="/post/989098">Warnung vom SQL Adapter nach deaktivieren der Aufzeichnung</a>:</p>
<blockquote>
<p dir="auto">Dann setze bitte den Thread auf [gelöst] .</p>
</blockquote>
<p dir="auto">Ja, ist beim ersten Versuch an der Längenbeschränkung für Thread-Titel gescheitert und meine Frau hatte schon einmal wegen Abendessen gerufen ...</p>
]]></description><link>https://forum.iobroker.net/post/989103</link><guid isPermaLink="true">https://forum.iobroker.net/post/989103</guid><dc:creator><![CDATA[rrov1]]></dc:creator><pubDate>Mon, 08 May 2023 16:56:32 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst] Warnung vom SQL Adapter nach deakt. Aufzeichnung on Mon, 08 May 2023 16:43:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rrov1" aria-label="Profile: rrov1">@<bdi>rrov1</bdi></a> sagte in <a href="/post/989097">Warnung vom SQL Adapter nach deaktivieren der Aufzeichnung</a>:</p>
<blockquote>
<p dir="auto">noch ein Datenpunkt drinnen.<br />
Danke!</p>
</blockquote>
<p dir="auto">Dann setze bitte den Thread auf [gelöst] .</p>
]]></description><link>https://forum.iobroker.net/post/989098</link><guid isPermaLink="true">https://forum.iobroker.net/post/989098</guid><dc:creator><![CDATA[Glasfaser]]></dc:creator><pubDate>Mon, 08 May 2023 16:43:36 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst] Warnung vom SQL Adapter nach deakt. Aufzeichnung on Mon, 08 May 2023 16:30:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/glasfaser" aria-label="Profile: glasfaser">@<bdi>glasfaser</bdi></a> Ja, natürlich war in einigen eCharts noch ein Datenpunkt drinnen.</p>
<p dir="auto">Danke!</p>
]]></description><link>https://forum.iobroker.net/post/989097</link><guid isPermaLink="true">https://forum.iobroker.net/post/989097</guid><dc:creator><![CDATA[rrov1]]></dc:creator><pubDate>Mon, 08 May 2023 16:30:15 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst] Warnung vom SQL Adapter nach deakt. Aufzeichnung on Sun, 07 May 2023 20:32:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rrov1" aria-label="Profile: rrov1">@<bdi>rrov1</bdi></a> Du hast wahrscheinlich den datenpunkt oder den Shelly gelöscht ohne vorher die SQL Protokollierung zu deaktivieren. . Du kannst die Datenbank öffnen und die beiden IDs löschen.</p>
<p dir="auto">Versuche mal diese JS:</p>
<pre><code>var loggedID = 'zu.loeschender.Datenpunkt';
sendTo('sql.0', 'disableHistory', {
    id: loggedID,
}, function (result) {
    if (result.error) {
        console.log(result.error);
    }
    if (result.success) {
        // successful enabled
        console.log('Datenpunktprotokollierung für ' + loggedID + ' erfolgreich deaktiviert!')
    }
});
</code></pre>
<p dir="auto">unter loggedID trägst Du 'shelly.0.SHSW-PM#40F52000FBA5#1.Relay0.Power' ein</p>
]]></description><link>https://forum.iobroker.net/post/988780</link><guid isPermaLink="true">https://forum.iobroker.net/post/988780</guid><dc:creator><![CDATA[mickym]]></dc:creator><pubDate>Sun, 07 May 2023 20:32:39 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst] Warnung vom SQL Adapter nach deakt. Aufzeichnung on Sun, 07 May 2023 18:58:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rrov1" aria-label="Profile: rrov1">@<bdi>rrov1</bdi></a> sagte in <a href="/post/988744">Warnung vom SQL Adapter nach deaktivieren der Aufzeichnung</a>:</p>
<blockquote>
<p dir="auto">Auf einigen Datenpunkten habe ich die Werte über den SQL-Adapter protokollieren lassen.</p>
</blockquote>
<p dir="auto">Eventuell noch in   Flot  oder  echarts ... vorhanden ?</p>
<p dir="auto"><strong>EDIT :</strong></p>
<pre><code>getHistory message:
</code></pre>
]]></description><link>https://forum.iobroker.net/post/988776</link><guid isPermaLink="true">https://forum.iobroker.net/post/988776</guid><dc:creator><![CDATA[Glasfaser]]></dc:creator><pubDate>Sun, 07 May 2023 18:58:39 GMT</pubDate></item></channel></rss>