<?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[Import von Blocklyscript in neues System]]></title><description><![CDATA[<p dir="auto">Hallo,</p>
<p dir="auto">eigentlich dachte ich, dass ich auf meinem alten System exportierte Blocklyskripte simple in mein neu aufgesetztens importieren könnte.<br />
Die meisten DP sind jedoch noch nicht da bzw. würde die jetzt anders ordnen.</p>
<ol>
<li>
<p dir="auto">So wie ich es sehe, kann ich die Skripte nicht in einen separaten Ordner "Import Skripte" importieren, oder?</p>
</li>
<li>
<p dir="auto">Kann ich aus den exportieren *json dateien die Funktion "Blöcke importieren" nutzen?</p>
</li>
</ol>
<p dir="auto">Beim Import von einer zuvor solo gezippten Datei bekomme ich folgenden Hinweis:</p>
<p dir="auto"><img src="/assets/uploads/files/1782726886122-db9f5f07-f2fa-4889-bf1e-638d31a52fc1-image.jpeg" alt="db9f5f07-f2fa-4889-bf1e-638d31a52fc1-image.jpeg" class=" img-fluid img-markdown" /></p>
<p dir="auto">So sieht z.B. ein zu importiernedes json datei aus:</p>
<pre><code>/* -- do not edit following lines - START --
{
  "expert": true,
  "engineType": "Blockly",
  "debug": false,
  "verbose": false
}
-- do not edit previous lines - END --*/
on({id: "iot.1.services.custom_location_tk"/*Service for location_tk*/, change: "any"}, async function (obj) {
  var value = obj.state.val;
  var oldValue = obj.oldState.val;
  if ((obj.state ? obj.state.val : "") == 'home_arrive') {
    setState("0_userdata.0.Devices.geo.home_tk"/*home_tk*/, true);
  }
  if ((obj.state ? obj.state.val : "") == 'home_leave') {
    setState("0_userdata.0.Devices.geo.home_tk"/*home_tk*/, false);
  }
 ...
});

//JTNDeG1sJTIweG1sbnMlM0QlMjJodHRwcyUzQSUyRiUyRmRldmVsb3BlcnMuZ29vZ2xlLmNvbSUyRmJsb2Nr..
</code></pre>
]]></description><link>https://forum.iobroker.net/topic/84886/import-von-blocklyscript-in-neues-system</link><generator>RSS for Node</generator><lastBuildDate>Wed, 01 Jul 2026 05:44:00 GMT</lastBuildDate><atom:link href="https://forum.iobroker.net/topic/84886.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 29 Jun 2026 10:02:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Import von Blocklyscript in neues System on Tue, 30 Jun 2026 09:17:00 GMT]]></title><description><![CDATA[<p dir="auto">Wenn ich Zeit hab, kann ich die Tage mal schauen ob ich einen Batchimport umgesetzt bekomme.</p>
<p dir="auto">Ordnerweise oder mehrere Scripte auf einmal.</p>
<p dir="auto">Wobei der Adapter eher für gedacht ist, sich schnell mal ein einzelnes Script aus einem Backup zu holen.</p>
]]></description><link>https://forum.iobroker.net/post/1346578</link><guid isPermaLink="true">https://forum.iobroker.net/post/1346578</guid><dc:creator><![CDATA[David G.]]></dc:creator><pubDate>Tue, 30 Jun 2026 09:17:00 GMT</pubDate></item><item><title><![CDATA[Reply to Import von Blocklyscript in neues System on Tue, 30 Jun 2026 05:12:56 GMT]]></title><description><![CDATA[<p dir="auto">@David-G. besten dank, das liest sich schon einmal sehr gut. der weg via base64/urlencoded funktioniert super, ist aber a bissle zeitaufwendig bei einer hohen anzahl von skripten</p>
]]></description><link>https://forum.iobroker.net/post/1346544</link><guid isPermaLink="true">https://forum.iobroker.net/post/1346544</guid><dc:creator><![CDATA[tklein]]></dc:creator><pubDate>Tue, 30 Jun 2026 05:12:56 GMT</pubDate></item><item><title><![CDATA[Reply to Import von Blocklyscript in neues System on Tue, 30 Jun 2026 04:16:00 GMT]]></title><description><![CDATA[<p dir="auto">Ansonsten mal mit dem Adapter rumprobieren.<br />
Evtl das was du suchst.</p>
<p dir="auto"><a href="https://forum.iobroker.net/topic/84506/test-adapter-script-restore-v0.1.4">https://forum.iobroker.net/topic/84506/test-adapter-script-restore-v0.1.4</a></p>
]]></description><link>https://forum.iobroker.net/post/1346540</link><guid isPermaLink="true">https://forum.iobroker.net/post/1346540</guid><dc:creator><![CDATA[David G.]]></dc:creator><pubDate>Tue, 30 Jun 2026 04:16:00 GMT</pubDate></item><item><title><![CDATA[Reply to Import von Blocklyscript in neues System on Mon, 29 Jun 2026 15:32:51 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tklein" aria-label="Profile: tklein">@<bdi>tklein</bdi></a> [sagte]: das ist ja gerade die herausforderung mit meinem alten schwachen system</p>
</blockquote>
<p dir="auto">Stoppe alle Instanzen außer admin.0 und javascript.0.</p>
]]></description><link>https://forum.iobroker.net/post/1346490</link><guid isPermaLink="true">https://forum.iobroker.net/post/1346490</guid><dc:creator><![CDATA[paul53]]></dc:creator><pubDate>Mon, 29 Jun 2026 15:32:51 GMT</pubDate></item><item><title><![CDATA[Reply to Import von Blocklyscript in neues System on Mon, 29 Jun 2026 14:38:59 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/maloross" aria-label="Profile: maloross">@<bdi>maloross</bdi></a> <a href="/post/1346486">sagte</a>:</p>
<p dir="auto">ich habe es bisher so gelöst: Alle Skripte aus dem Adapter heraus exportieren (zip-Datei, als Grundsicherung), diese entpacken und gewünschte Skripte wieder in eine zip-Datei bündeln und hochladen. Hat bisher gut funktioniert und ich kann so gleich mehrere Skripte übertragen kann.</p>
</blockquote>
<p dir="auto">Klappt das bei dir auch mit Blockly oder nur mit JS-Dateien?</p>
]]></description><link>https://forum.iobroker.net/post/1346488</link><guid isPermaLink="true">https://forum.iobroker.net/post/1346488</guid><dc:creator><![CDATA[tklein]]></dc:creator><pubDate>Mon, 29 Jun 2026 14:38:59 GMT</pubDate></item><item><title><![CDATA[Reply to Import von Blocklyscript in neues System on Mon, 29 Jun 2026 14:18:49 GMT]]></title><description><![CDATA[<p dir="auto">ich habe es bisher so gelöst: Alle Skripte aus dem Adapter heraus exportieren (zip-Datei, als Grundsicherung), diese entpacken und gewünschte Skripte wieder in eine zip-Datei bündeln und hochladen. Hat bisher gut funktioniert und ich kann so gleich mehrere Skripte übertragen kann.</p>
]]></description><link>https://forum.iobroker.net/post/1346486</link><guid isPermaLink="true">https://forum.iobroker.net/post/1346486</guid><dc:creator><![CDATA[maloross]]></dc:creator><pubDate>Mon, 29 Jun 2026 14:18:49 GMT</pubDate></item><item><title><![CDATA[Reply to Import von Blocklyscript in neues System on Mon, 29 Jun 2026 13:59:36 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/codierknecht" aria-label="Profile: Codierknecht">@<bdi>Codierknecht</bdi></a> <a href="/post/1346465">sagte</a>:</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tklein" aria-label="Profile: tklein">@<bdi>tklein</bdi></a></p>
<p dir="auto"><a href="https://forum.iobroker.net/topic/68740/ein-skript-aus-backup-zur%C3%BCckspielen/2">https://forum.iobroker.net/topic/68740/ein-skript-aus-backup-zurückspielen/2</a></p>
</blockquote>
<p dir="auto">thx, werde mal versuchen mit da durchzuwuseln bzw. coden</p>
]]></description><link>https://forum.iobroker.net/post/1346482</link><guid isPermaLink="true">https://forum.iobroker.net/post/1346482</guid><dc:creator><![CDATA[tklein]]></dc:creator><pubDate>Mon, 29 Jun 2026 13:59:36 GMT</pubDate></item><item><title><![CDATA[Reply to Import von Blocklyscript in neues System on Mon, 29 Jun 2026 13:57:12 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/asgothian" aria-label="Profile: Asgothian">@<bdi>Asgothian</bdi></a> <a href="/post/1346454">sagte</a>:</p>
<p dir="auto">Das ist keine JSON Datei, sondern eine JS Datei. Die lässt sich als JS Skript einfügen, <strong>nicht</strong> als Blockly Skript.<br />
<strong>--&gt; ok, dann werden im javascript adapter blockly skripte beim sichern in js umgewandelt. Da ich nicht wirklich firm in JS bin, würde ich die Blocklyvarinte weiter bevorzugen. Blockly2JS gibt es ja im Adapter soweit ich das sehe</strong></p>
</blockquote>
<blockquote>
<p dir="auto">Um ein Blockly Skript von System A zu System B zu transferieren musst du die Blöcke exportieren. Dazu gibt es im UI einen Button (ich bin nicht am System, kann das also nicht screenshotten)<br />
<strong>--&gt; das ist ja gerade die herausforderung mit meinem alten schwachen system. das fährt kaum noch hoch.</strong></p>
</blockquote>
<blockquote>
<p dir="auto">A.</p>
<p dir="auto">NachtragL aus dem Screenshot oben - einer dieser beiden Butten ist JSON Export, der andere JSON Import</p>
<p dir="auto"><img src="/assets/uploads/files/1782730133296-screenshot-2026-06-29-at-12.48.46.png" alt="Screenshot 2026-06-29 at 12.48.46.png" class=" img-fluid img-markdown" /></p>
</blockquote>
]]></description><link>https://forum.iobroker.net/post/1346481</link><guid isPermaLink="true">https://forum.iobroker.net/post/1346481</guid><dc:creator><![CDATA[tklein]]></dc:creator><pubDate>Mon, 29 Jun 2026 13:57:12 GMT</pubDate></item><item><title><![CDATA[Reply to Import von Blocklyscript in neues System on Mon, 29 Jun 2026 12:40:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tklein" aria-label="Profile: tklein">@<bdi>tklein</bdi></a></p>
<p dir="auto"><a href="https://forum.iobroker.net/topic/68740/ein-skript-aus-backup-zur%C3%BCckspielen/2">https://forum.iobroker.net/topic/68740/ein-skript-aus-backup-zurückspielen/2</a></p>
]]></description><link>https://forum.iobroker.net/post/1346465</link><guid isPermaLink="true">https://forum.iobroker.net/post/1346465</guid><dc:creator><![CDATA[Codierknecht]]></dc:creator><pubDate>Mon, 29 Jun 2026 12:40:59 GMT</pubDate></item><item><title><![CDATA[Reply to Import von Blocklyscript in neues System on Mon, 29 Jun 2026 11:06:31 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tklein" aria-label="Profile: tklein">@<bdi>tklein</bdi></a> [sagte]: Kann ich aus den exportieren *json dateien die Funktion "Blöcke importieren" nutzen?</p>
</blockquote>
<p dir="auto">Blockly-Exporte liegen im <strong>XML</strong>-Format vor und können als solche importiert werden. Das gilt auch für Dateien.</p>
]]></description><link>https://forum.iobroker.net/post/1346457</link><guid isPermaLink="true">https://forum.iobroker.net/post/1346457</guid><dc:creator><![CDATA[paul53]]></dc:creator><pubDate>Mon, 29 Jun 2026 11:06:31 GMT</pubDate></item><item><title><![CDATA[Reply to Import von Blocklyscript in neues System on Mon, 29 Jun 2026 10:49:25 GMT]]></title><description><![CDATA[<p dir="auto">Das ist keine JSON Datei, sondern eine JS Datei. Die lässt sich als JS Skript einfügen, <strong>nicht</strong> als Blockly Skript.</p>
<p dir="auto">Um ein Blockly Skript von System A zu System B zu transferieren musst du die Blöcke exportieren. Dazu gibt es im UI einen Button (ich bin nicht am System, kann das also nicht screenshotten)</p>
<p dir="auto">A.</p>
<p dir="auto">NachtragL aus dem Screenshot oben - einer dieser beiden Butten ist JSON Export, der andere JSON Import</p>
<p dir="auto"><img src="/assets/uploads/files/1782730133296-screenshot-2026-06-29-at-12.48.46.png" alt="Screenshot 2026-06-29 at 12.48.46.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.iobroker.net/post/1346454</link><guid isPermaLink="true">https://forum.iobroker.net/post/1346454</guid><dc:creator><![CDATA[Asgothian]]></dc:creator><pubDate>Mon, 29 Jun 2026 10:49:25 GMT</pubDate></item></channel></rss>