<?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[Alexa Einkaufsliste [gelöst]]]></title><description><![CDATA[<p dir="auto">Hallo,</p>
<p dir="auto">ich sehe in meiner JSON Tabelle von der Alexa Einkaufsliste nur folgende Einträge:</p>
<p dir="auto"><img src="/assets/uploads/files/1636401170813-d15a2de2-b4d3-4fff-a1e5-524601919669-image.png" alt="d15a2de2-b4d3-4fff-a1e5-524601919669-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Keine echten Einträge...</p>
<p dir="auto">Wo habe ich den Denkfehler?<br />
Danke euch...</p>
]]></description><link>https://forum.iobroker.net/topic/49196/alexa-einkaufsliste-gelöst</link><generator>RSS for Node</generator><lastBuildDate>Thu, 28 May 2026 05:46:47 GMT</lastBuildDate><atom:link href="https://forum.iobroker.net/topic/49196.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 08 Nov 2021 19:53:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Alexa Einkaufsliste [gelöst] on Wed, 10 Nov 2021 20:22:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lucajordi" aria-label="Profile: lucajordi">@<bdi>lucajordi</bdi></a></p>
<p dir="auto">geh doch bitte in den ersten post und füge [gelöst] in die überschrift dazu</p>
]]></description><link>https://forum.iobroker.net/post/701401</link><guid isPermaLink="true">https://forum.iobroker.net/post/701401</guid><dc:creator><![CDATA[liv-in-sky]]></dc:creator><pubDate>Wed, 10 Nov 2021 20:22:59 GMT</pubDate></item><item><title><![CDATA[Reply to Alexa Einkaufsliste [gelöst] on Wed, 10 Nov 2021 20:21:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bananajoe" aria-label="Profile: bananajoe">@<bdi>bananajoe</bdi></a><br />
<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></p>
<p dir="auto">Danke euch!</p>
<p dir="auto">Funktioniert!<br />
Das Problem war ich...<br />
Der Eintrag war von einer anderen spalte überdeckt...<br />
Hab jetzt alle rausgeholt und nach und nach die Spalten hinzugefügt.<br />
Und siehe da:  Salbe...</p>
<p dir="auto">Danke nochmal!</p>
]]></description><link>https://forum.iobroker.net/post/701399</link><guid isPermaLink="true">https://forum.iobroker.net/post/701399</guid><dc:creator><![CDATA[lucajordi]]></dc:creator><pubDate>Wed, 10 Nov 2021 20:21:24 GMT</pubDate></item><item><title><![CDATA[Reply to Alexa Einkaufsliste [gelöst] on Wed, 10 Nov 2021 20:20:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lucajordi" aria-label="Profile: lucajordi">@<bdi>lucajordi</bdi></a></p>
<p dir="auto">das liegt  an den eistellungen</p>
<p dir="auto">installiere dir die inventwo widget und versuch es mal mit dem inventwo json widget - dort kannst du alles relativ einfach einstellen - welche spalten du sehen wilsst</p>
]]></description><link>https://forum.iobroker.net/post/701397</link><guid isPermaLink="true">https://forum.iobroker.net/post/701397</guid><dc:creator><![CDATA[liv-in-sky]]></dc:creator><pubDate>Wed, 10 Nov 2021 20:20:32 GMT</pubDate></item><item><title><![CDATA[Reply to Alexa Einkaufsliste [gelöst] on Wed, 10 Nov 2021 20:19:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lucajordi" aria-label="Profile: lucajordi">@<bdi>lucajordi</bdi></a></p>
<p dir="auto">Also, das was du da gepostet hast ist aus dem Datenpunkt</p>
<pre><code>alexa2.0.Lists.SHOPPING_LIST.json
</code></pre>
<p dir="auto">nehme ich an.<br />
Der hat aus meiner Sicht den Nachteil das dort alles drin steht, sowohl die "aktiven" Einträge als auch die schon erledigten.<br />
Und das lässt sich nicht so einfach als JSON Tabelle ausgeben.</p>
<p dir="auto">Ich habe ein Skript welches den Datenpunkt überwacht und mir daraus 3 neue Datenpunkte baut</p>
<ul>
<li>Alle</li>
<li>nur unerledigte</li>
<li>nur erledigte</li>
</ul>
<pre><code>// ####################################################################################################################################################
// Setup

var s_target_JSON = "javascript.0.echos.Alexa_Einkaufsliste.";
var s_source_JSON = "alexa2.0.Lists.SHOPPING_LIST.json";
// ####################################################################################################################################################
// Zielpunkte anlegen falls noch nicht vorhanden
// JSON_uncompleted
createState(s_target_JSON + "JSON_uncompleted", false, {
  read: true, 
  write: true, 
  name: 'Only uncompleted entries', 
  type: 'string', 
  def: "empty"
});
createState(s_target_JSON + "JSON_completed", false, {
  read: true, 
  write: true, 
  name: 'Only completed entries', 
  type: 'string', 
  def: "empty"
});
createState(s_target_JSON + "JSON_all", false, {
  read: true, 
  write: true, 
  name: 'completed and uncompleted entries', 
  type: 'string', 
  def: "empty"
});
createState(s_target_JSON + "Telegram", false, {
  read: true, 
  write: true, 
  name: 'Message for Telegram', 
  type: 'string', 
  def: "empty"
});

// ####################################################################################################################################################
// Hilfsvariablen
var s_JSON_uncompleted;
var s_JSON_completed;
var s_JSON_all;
var s_Telegram;

// ####################################################################################################################################################
// Funktionen
function ReWorkAlexaJSON(json) {
    s_JSON_uncompleted = '[';
    s_JSON_completed = '[';
    s_JSON_all = '[';
    s_Telegram = '*Einkaufsliste* \n';

    try {
        // JSON einlesen
        var obj = JSON.parse(json);
        //nur die wichtigen Felder holen
        for (var item in obj) {
            let b_completed = obj[item].completed;
            let s_ItemName = obj[item].value;
            // Anfangsbuchstaben in Großbuchstaben umwandeln
            s_ItemName = s_ItemName.replace(/(^|\s)\S/g, l =&gt; l.toUpperCase());
            // Änderungsdatum auslesen und als normales Datum und als "ist Stunden Minuten Sekunden her" speichern
            let s_updatedDateTime = obj[item].updatedDateTime;
            let s_CreatedTime = (new Date()).getTime();
            var yy = (Math.round((new Date()).getTime() / 1000)) - Math.round(s_updatedDateTime/1000);
            s_updatedDateTime=formatDate(getDateObject(s_updatedDateTime), "TT.MM(SS:mm)");
            s_CreatedTime=(Math.floor( ((yy)/60/60/24) )+"d "+ Math.floor(((yy)/60/60) % 24) +"h "+ Math.floor( ((yy)/60) % 60 )+"m");
            s_CreatedTime = s_CreatedTime.replace("0d ", "");
            s_CreatedTime = s_CreatedTime.replace("0h ", "");
            // Die 3 JSON befüllen
            s_JSON_all = s_JSON_all + '{"Artikel":"' + s_ItemName + '","Erstellt vor":"' + s_CreatedTime + '"},';
            if ( b_completed == false ) {
                s_JSON_uncompleted = s_JSON_uncompleted + '{"Artikel":"' + s_ItemName + '","Erstellt vor":"' + s_CreatedTime + '"},';
                s_Telegram = s_Telegram + s_ItemName + "\n";
            } else {
                s_JSON_completed = s_JSON_completed + '{"Artikel":"' + s_ItemName + '","Erstellt vor":"' + s_CreatedTime + '"},';
            }
        }
        // letztes Komma wieder abschneiden
        s_JSON_all = s_JSON_all.slice(0, -1);
        s_JSON_uncompleted = s_JSON_uncompleted.slice(0, -1);
        s_JSON_completed = s_JSON_completed.slice(0, -1);
        // Und JSON abschließen
        s_JSON_all = s_JSON_all + ']';
        s_JSON_uncompleted = s_JSON_uncompleted + ']';
        s_JSON_completed = s_JSON_completed + ']';
        //und wegschreiben
        setState(s_target_JSON + "JSON_all", s_JSON_all);
        setState(s_target_JSON + "JSON_uncompleted", s_JSON_uncompleted);
        setState(s_target_JSON + "JSON_completed", s_JSON_completed);
        setState(s_target_JSON + "Telegram", s_Telegram);
    } catch (e) {
        return;
    }
}

// ####################################################################################################################################################
// Beim Start einmal abarbeiten
ReWorkAlexaJSON(getState(s_source_JSON));
// Und an die Liste dranhängen und auf Änderungen warten
on(s_source_JSON, function(dp) { ReWorkAlexaJSON(dp.state.val); });
</code></pre>
<p dir="auto">Ich vermute das dieses Skript nicht zu 100% auf meinem Mist gewachsen ist, habe mir aber nicht notiert wo aus dem Forum ich das wohl her habe.<br />
Es erzeugt sogar 4 Datenpunkte:<br />
<img src="/assets/uploads/files/1636575525735-65a3a21e-a947-4446-aff0-8df98174e4f0-image.png" alt="65a3a21e-a947-4446-aff0-8df98174e4f0-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Den <strong>Telegram</strong> nutze ich mit einem anderen Skript um mir die Liste auf das Handy zu senden.</p>
<p dir="auto">Die 3 anderen Datenpunkte kannst du für die JSON Tabellen nutzen.</p>
]]></description><link>https://forum.iobroker.net/post/701396</link><guid isPermaLink="true">https://forum.iobroker.net/post/701396</guid><dc:creator><![CDATA[BananaJoe]]></dc:creator><pubDate>Wed, 10 Nov 2021 20:19:49 GMT</pubDate></item><item><title><![CDATA[Reply to Alexa Einkaufsliste [gelöst] on Wed, 10 Nov 2021 20:18:12 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 />
Genau, de wird aber in der JSON Tabelle in VIS nicht angezeigt...</p>
]]></description><link>https://forum.iobroker.net/post/701395</link><guid isPermaLink="true">https://forum.iobroker.net/post/701395</guid><dc:creator><![CDATA[lucajordi]]></dc:creator><pubDate>Wed, 10 Nov 2021 20:18:12 GMT</pubDate></item><item><title><![CDATA[Reply to Alexa Einkaufsliste [gelöst] on Wed, 10 Nov 2021 20:15:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lucajordi" aria-label="Profile: lucajordi">@<bdi>lucajordi</bdi></a></p>
<p dir="auto">lösch mal dein json wieder aus dem post - zur sicherheit - da sind viele id's zu sehen</p>
]]></description><link>https://forum.iobroker.net/post/701394</link><guid isPermaLink="true">https://forum.iobroker.net/post/701394</guid><dc:creator><![CDATA[liv-in-sky]]></dc:creator><pubDate>Wed, 10 Nov 2021 20:15:07 GMT</pubDate></item><item><title><![CDATA[Reply to Alexa Einkaufsliste [gelöst] on Wed, 10 Nov 2021 20:14:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lucajordi" aria-label="Profile: lucajordi">@<bdi>lucajordi</bdi></a> sagte in <a href="/post/701391">Alexa Einkaufsliste</a>:</p>
<blockquote></blockquote>
<p dir="auto">du hast einen eintrag: salbe</p>
<p dir="auto"><img src="/assets/uploads/files/1636575257576-image-1.png" alt="Image 1.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.iobroker.net/post/701393</link><guid isPermaLink="true">https://forum.iobroker.net/post/701393</guid><dc:creator><![CDATA[liv-in-sky]]></dc:creator><pubDate>Wed, 10 Nov 2021 20:14:21 GMT</pubDate></item><item><title><![CDATA[Reply to Alexa Einkaufsliste [gelöst] on Wed, 10 Nov 2021 20:18:39 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></p>
<p dir="auto">so stehts im Datenpunkt...</p>
]]></description><link>https://forum.iobroker.net/post/701391</link><guid isPermaLink="true">https://forum.iobroker.net/post/701391</guid><dc:creator><![CDATA[lucajordi]]></dc:creator><pubDate>Wed, 10 Nov 2021 20:18:39 GMT</pubDate></item><item><title><![CDATA[Reply to Alexa Einkaufsliste [gelöst] on Wed, 10 Nov 2021 20:07:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lucajordi" aria-label="Profile: lucajordi">@<bdi>lucajordi</bdi></a></p>
<p dir="auto">was genau ist das problem</p>
<ul>
<li>unter items sind die einzelnen einträge</li>
<li>unter json ist ein json-string mit allen einträgen</li>
</ul>
<p dir="auto">poste mal den inhalt des json dp-tes</p>
]]></description><link>https://forum.iobroker.net/post/701390</link><guid isPermaLink="true">https://forum.iobroker.net/post/701390</guid><dc:creator><![CDATA[liv-in-sky]]></dc:creator><pubDate>Wed, 10 Nov 2021 20:07:43 GMT</pubDate></item><item><title><![CDATA[Reply to Alexa Einkaufsliste [gelöst] on Wed, 10 Nov 2021 20:05:05 GMT]]></title><description><![CDATA[<p dir="auto">neue Liste habe ich schon erstellt...</p>
]]></description><link>https://forum.iobroker.net/post/701389</link><guid isPermaLink="true">https://forum.iobroker.net/post/701389</guid><dc:creator><![CDATA[lucajordi]]></dc:creator><pubDate>Wed, 10 Nov 2021 20:05:05 GMT</pubDate></item><item><title><![CDATA[Reply to Alexa Einkaufsliste [gelöst] on Wed, 10 Nov 2021 20:19:07 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></p>
<p dir="auto">Reicht?</p>
]]></description><link>https://forum.iobroker.net/post/701388</link><guid isPermaLink="true">https://forum.iobroker.net/post/701388</guid><dc:creator><![CDATA[lucajordi]]></dc:creator><pubDate>Wed, 10 Nov 2021 20:19:07 GMT</pubDate></item><item><title><![CDATA[Reply to Alexa Einkaufsliste [gelöst] on Wed, 10 Nov 2021 20:03:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lucajordi" aria-label="Profile: lucajordi">@<bdi>lucajordi</bdi></a></p>
<p dir="auto">und erzeug emal eine neue liste mit ein zwei einträgen - ist da das selbe problem</p>
]]></description><link>https://forum.iobroker.net/post/701386</link><guid isPermaLink="true">https://forum.iobroker.net/post/701386</guid><dc:creator><![CDATA[liv-in-sky]]></dc:creator><pubDate>Wed, 10 Nov 2021 20:03:36 GMT</pubDate></item><item><title><![CDATA[Reply to Alexa Einkaufsliste [gelöst] on Wed, 10 Nov 2021 20:02:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lucajordi" aria-label="Profile: lucajordi">@<bdi>lucajordi</bdi></a></p>
<p dir="auto">mach mal bitte einen größeren ausschnitt vom bild</p>
]]></description><link>https://forum.iobroker.net/post/701385</link><guid isPermaLink="true">https://forum.iobroker.net/post/701385</guid><dc:creator><![CDATA[liv-in-sky]]></dc:creator><pubDate>Wed, 10 Nov 2021 20:02:50 GMT</pubDate></item><item><title><![CDATA[Reply to Alexa Einkaufsliste [gelöst] on Wed, 10 Nov 2021 20:01:39 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 />
Danke für die Hilfe...<br />
Leider das gleiche...</p>
]]></description><link>https://forum.iobroker.net/post/701384</link><guid isPermaLink="true">https://forum.iobroker.net/post/701384</guid><dc:creator><![CDATA[lucajordi]]></dc:creator><pubDate>Wed, 10 Nov 2021 20:01:39 GMT</pubDate></item><item><title><![CDATA[Reply to Alexa Einkaufsliste [gelöst] on Wed, 10 Nov 2021 19:55:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lucajordi" aria-label="Profile: lucajordi">@<bdi>lucajordi</bdi></a></p>
<p dir="auto">mal probieren</p>
<p dir="auto">adapter stoppen - die datenpunkte bzw den ordner lists löschen -. adapter neustarten</p>
]]></description><link>https://forum.iobroker.net/post/701379</link><guid isPermaLink="true">https://forum.iobroker.net/post/701379</guid><dc:creator><![CDATA[liv-in-sky]]></dc:creator><pubDate>Wed, 10 Nov 2021 19:55:27 GMT</pubDate></item><item><title><![CDATA[Reply to Alexa Einkaufsliste [gelöst] on Wed, 10 Nov 2021 19:24:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lucajordi" aria-label="Profile: lucajordi">@<bdi>lucajordi</bdi></a></p>
<p dir="auto">Keiner eine Idee?</p>
]]></description><link>https://forum.iobroker.net/post/701370</link><guid isPermaLink="true">https://forum.iobroker.net/post/701370</guid><dc:creator><![CDATA[lucajordi]]></dc:creator><pubDate>Wed, 10 Nov 2021 19:24:20 GMT</pubDate></item></channel></rss>