<?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[Blockly für Gartenbewässerung gesucht.]]></title><description><![CDATA[<p dir="auto">Kann mir jemand weiterhelfen? Ich benötige ein Blockly zur Gartenbewässerung, was alle 10 Min Magnetventile ein und wieder ausschaltet. Das ganze als Funktion "Bewässerung An" Wie packt man das am besten zusammen und wie erstelle ich die Funktion "Bewässerung An" ?</p>
]]></description><link>https://forum.iobroker.net/topic/55695/blockly-für-gartenbewässerung-gesucht</link><generator>RSS for Node</generator><lastBuildDate>Wed, 20 May 2026 23:29:02 GMT</lastBuildDate><atom:link href="https://forum.iobroker.net/topic/55695.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 18 Jun 2022 15:10:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Blockly für Gartenbewässerung gesucht. on Sat, 18 Jun 2022 20:52:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tolkin" aria-label="Profile: tolkin">@<bdi>tolkin</bdi></a> sagte: nicht wieder von vorne angefangen wird.</p>
<p dir="auto">Wenn wieder von vorne angefangen werden soll, dann ändere die Schleife:</p>
<p dir="auto"><img src="/assets/uploads/files/1655585516567-bild_2022-06-18_225156907.png" alt="Bild_2022-06-18_225156907.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.iobroker.net/post/816077</link><guid isPermaLink="true">https://forum.iobroker.net/post/816077</guid><dc:creator><![CDATA[paul53]]></dc:creator><pubDate>Sat, 18 Jun 2022 20:52:15 GMT</pubDate></item><item><title><![CDATA[Reply to Blockly für Gartenbewässerung gesucht. on Sat, 18 Jun 2022 20:18:25 GMT]]></title><description><![CDATA[<p dir="auto">Jetzt ist mir gerade noch aufgefallen, dass wenn der zyklus einmal durch ist, nicht wieder von vorne angefangen wird. Der Wert des Datenpunktes "Bewässerung an" steht zwar noch auf true aber alle Ventile sind aus.</p>
]]></description><link>https://forum.iobroker.net/post/816069</link><guid isPermaLink="true">https://forum.iobroker.net/post/816069</guid><dc:creator><![CDATA[Tolkin]]></dc:creator><pubDate>Sat, 18 Jun 2022 20:18:25 GMT</pubDate></item><item><title><![CDATA[Reply to Blockly für Gartenbewässerung gesucht. on Sat, 18 Jun 2022 19:49:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/paul53" aria-label="Profile: paul53">@<bdi>paul53</bdi></a> sagte in <a href="/post/816042">Blockly für Gartenbewässerung gesucht.</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tolkin" aria-label="Profile: tolkin">@<bdi>tolkin</bdi></a><br />
<code>Wert</code> darf keine selbst erstellte Variable sein, sondern ist vordefiniert unter "Trigger" zu finden.</p>
<p dir="auto"><img src="/assets/uploads/files/1655579146399-blockly_dp_props.jpg" alt="Blockly_DP_Props.JPG" class=" img-fluid img-markdown" /></p>
<p dir="auto">Es müssen außerdem die Datenpunkt-IDs der Ventile zugeordnet werden!</p>
<p dir="auto"><img src="/assets/uploads/files/1655579450418-bild_2022-06-18_211050792.png" alt="Bild_2022-06-18_211050792.png" class=" img-fluid img-markdown" /></p>
</blockquote>
<p dir="auto">Perfekt, vielen Dank. Jetzt funktioniert es wie gewünscht.</p>
]]></description><link>https://forum.iobroker.net/post/816061</link><guid isPermaLink="true">https://forum.iobroker.net/post/816061</guid><dc:creator><![CDATA[Tolkin]]></dc:creator><pubDate>Sat, 18 Jun 2022 19:49:30 GMT</pubDate></item><item><title><![CDATA[Reply to Blockly für Gartenbewässerung gesucht. on Sat, 18 Jun 2022 19:10:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tolkin" aria-label="Profile: tolkin">@<bdi>tolkin</bdi></a><br />
<code>Wert</code> darf keine selbst erstellte Variable sein, sondern ist vordefiniert unter "Trigger" zu finden.</p>
<p dir="auto"><img src="/assets/uploads/files/1655579146399-blockly_dp_props.jpg" alt="Blockly_DP_Props.JPG" class=" img-fluid img-markdown" /></p>
<p dir="auto">Es müssen außerdem die Datenpunkt-IDs der Ventile zugeordnet werden!</p>
<p dir="auto"><img src="/assets/uploads/files/1655579450418-bild_2022-06-18_211050792.png" alt="Bild_2022-06-18_211050792.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.iobroker.net/post/816042</link><guid isPermaLink="true">https://forum.iobroker.net/post/816042</guid><dc:creator><![CDATA[paul53]]></dc:creator><pubDate>Sat, 18 Jun 2022 19:10:56 GMT</pubDate></item><item><title><![CDATA[Reply to Blockly für Gartenbewässerung gesucht. on Sat, 18 Jun 2022 19:03:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/paul53" aria-label="Profile: paul53">@<bdi>paul53</bdi></a> sagte in <a href="/post/816030">Blockly für Gartenbewässerung gesucht.</a>:</p>
<blockquote>
<p dir="auto">Javascript-Code ohne die letzte Zeile in Code tags</p>
</blockquote>
<pre><code>var ids, id, Ventil, timeout, Wert;

// Beschreibe diese Funktion …
async function zyklus() {
  id = ids[(Ventil - 1)];
  setStateDelayed(id, true, false, parseInt(((0) || "").toString(), 10), false);
  timeout = setTimeout(async function () {
    setStateDelayed(id, false, false, parseInt(((0) || "").toString(), 10), false);
    Ventil = (typeof Ventil == 'number' ? Ventil : 0) + 1;
    if (Ventil &lt;= ids.length) {
      await zyklus();
    }
  }, 600000);
}


ids = ['default', 'default', 'default', 'default'];
on({id: [].concat(['0_userdata.0.Bewässerung_an']), change: "ne"}, async function (obj) {
  var value = obj.state.val;
  var oldValue = obj.oldState.val;
  if (Wert) {
    Ventil = 1;
    await zyklus();
  } else {
    (function () {if (timeout) {clearTimeout(timeout); timeout = null;}})();
    if (getState(id).val) {
      setStateDelayed(id, false, false, parseInt(((0) || "").toString(), 10), false);
    }
  }
});

</code></pre>
]]></description><link>https://forum.iobroker.net/post/816041</link><guid isPermaLink="true">https://forum.iobroker.net/post/816041</guid><dc:creator><![CDATA[Tolkin]]></dc:creator><pubDate>Sat, 18 Jun 2022 19:03:45 GMT</pubDate></item><item><title><![CDATA[Reply to Blockly für Gartenbewässerung gesucht. on Sat, 18 Jun 2022 18:25:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tolkin" aria-label="Profile: tolkin">@<bdi>tolkin</bdi></a> versuche es mal mit meiner Intervall-Schaltung</p>
<p dir="auto"><a href="https://forum.iobroker.net/topic/33573/vorlage-gartenbew%C3%A4sserung-mit-6-ventilen">https://forum.iobroker.net/topic/33573/vorlage-gartenbewässerung-mit-6-ventilen</a></p>
]]></description><link>https://forum.iobroker.net/post/816031</link><guid isPermaLink="true">https://forum.iobroker.net/post/816031</guid><dc:creator><![CDATA[Kuddel]]></dc:creator><pubDate>Sat, 18 Jun 2022 18:25:10 GMT</pubDate></item><item><title><![CDATA[Reply to Blockly für Gartenbewässerung gesucht. on Sat, 18 Jun 2022 18:30:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tolkin" aria-label="Profile: tolkin">@<bdi>tolkin</bdi></a> sagte: Das Blockly habe ich jetzt 1zu1 übernommen.</p>
<p dir="auto">Bitte zeigen.<br />
Besser den erzeugten Javascript-Code ohne die letzte Zeile in Code tags.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tolkin" aria-label="Profile: tolkin">@<bdi>tolkin</bdi></a> sagte in <a href="/post/816028">Blockly für Gartenbewässerung gesucht.</a>:</p>
<blockquote>
<p dir="auto">Wie kann ich jetzt die Ventile damit alle 10Min steuern..?</p>
</blockquote>
<p dir="auto">Den Wert des Datenpunktes "Bewässerung an" von <em>false</em> in <em>true</em> ändern.</p>
]]></description><link>https://forum.iobroker.net/post/816030</link><guid isPermaLink="true">https://forum.iobroker.net/post/816030</guid><dc:creator><![CDATA[paul53]]></dc:creator><pubDate>Sat, 18 Jun 2022 18:30:58 GMT</pubDate></item><item><title><![CDATA[Reply to Blockly für Gartenbewässerung gesucht. on Sat, 18 Jun 2022 18:05:08 GMT]]></title><description><![CDATA[<p dir="auto">Das Blockly habe ich jetzt 1zu1 übernommen. Wie kann ich jetzt die Ventile damit alle 10Min steuern..?</p>
]]></description><link>https://forum.iobroker.net/post/816028</link><guid isPermaLink="true">https://forum.iobroker.net/post/816028</guid><dc:creator><![CDATA[Tolkin]]></dc:creator><pubDate>Sat, 18 Jun 2022 18:05:08 GMT</pubDate></item><item><title><![CDATA[Reply to Blockly für Gartenbewässerung gesucht. on Sat, 18 Jun 2022 17:21:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tolkin" aria-label="Profile: tolkin">@<bdi>tolkin</bdi></a> sagte wie kann ich das einschalten?</p>
<p dir="auto">Über einen eigenen Datenpunkt "Bewässerung an" unter "0_userdata.0", der im Blockly als Trigger dient.</p>
<p dir="auto"><img src="/assets/uploads/files/1655572872511-bild_2022-06-18_192112907.png" alt="Bild_2022-06-18_192112907.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.iobroker.net/post/815988</link><guid isPermaLink="true">https://forum.iobroker.net/post/815988</guid><dc:creator><![CDATA[paul53]]></dc:creator><pubDate>Sat, 18 Jun 2022 17:21:14 GMT</pubDate></item><item><title><![CDATA[Reply to Blockly für Gartenbewässerung gesucht. on Sat, 18 Jun 2022 15:36:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/paul53" aria-label="Profile: paul53">@<bdi>paul53</bdi></a> sagte in <a href="/post/815971">Blockly für Gartenbewässerung gesucht.</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tolkin" aria-label="Profile: tolkin">@<bdi>tolkin</bdi></a> sagte: Blockly zur Gartenbewässerung, was alle 10 Min Magnetventile ein und wieder ausschaltet.</p>
<p dir="auto"><a href="https://forum.iobroker.net/post/815556">Siehe hier</a></p>
<p dir="auto">"Freigabe" = "Bewässerung an".</p>
</blockquote>
<p dir="auto">Ok, wie kann ich das einschalten? Das erschließt sich mir noch nicht...</p>
]]></description><link>https://forum.iobroker.net/post/815982</link><guid isPermaLink="true">https://forum.iobroker.net/post/815982</guid><dc:creator><![CDATA[Tolkin]]></dc:creator><pubDate>Sat, 18 Jun 2022 15:36:21 GMT</pubDate></item><item><title><![CDATA[Reply to Blockly für Gartenbewässerung gesucht. on Sat, 18 Jun 2022 15:17:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tolkin" aria-label="Profile: tolkin">@<bdi>tolkin</bdi></a> sagte: Blockly zur Gartenbewässerung, was alle 10 Min Magnetventile ein und wieder ausschaltet.</p>
<p dir="auto"><a href="https://forum.iobroker.net/post/815556">Siehe hier</a></p>
<p dir="auto">"Freigabe" = "Bewässerung an".</p>
]]></description><link>https://forum.iobroker.net/post/815971</link><guid isPermaLink="true">https://forum.iobroker.net/post/815971</guid><dc:creator><![CDATA[paul53]]></dc:creator><pubDate>Sat, 18 Jun 2022 15:17:35 GMT</pubDate></item></channel></rss>