<?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[Bloxkly Skript für LowBat]]></title><description><![CDATA[<p dir="auto">Hallo,<br />
kann mal bitte jemand über das Blockly Skript schauen?</p>
<p dir="auto">habe nach diesem Video: (<a href="https://www.youtube.com/watch?v=iPwJI9Mwf6I" rel="nofollow ugc">https://www.youtube.com/watch?v=iPwJI9Mwf6I</a>) das Blockly Script nachgebaut.<br />
Musste aber eine Änderung machen da er hier die Prozentzahl abfrägt, meine HomeMatic aber nur true oder false ausgibt.</p>
<p dir="auto">Nun habe ich festgestellt, das das Skript aber scheinbar nicht reagiert als ich eine LowBat Meldung im ioBroker hatte.</p>
<p dir="auto">Habe unter Kategorien bei Funktionen eine neue Funktion für LowBat erstellt und die entsprechenden Datenpunkt hineingezogen.<br />
Die Funktion wird scheinbar auch richtig angesprochen da das Skript beim Start folgendes ausgibt:</p>
<pre><code>avascript.0	16:08:25.404	info   start JavaScript (Blockly)

javascript.0	16:08:25.721	info   registered 33 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions
</code></pre>
<p dir="auto">Die einzige Änderung meinerseits ist im "falls mache" Block den Wert auf wahr prüfe.</p>
<p dir="auto">Hier das Script:</p>
<pre><code>&lt;xml xmlns="https://developers.google.com/blockly/xml"&gt;
  &lt;block type="on_ext" id="y4u^kV{*!N)frD1iMw,:" x="88" y="88"&gt;
    &lt;mutation xmlns="http://www.w3.org/1999/xhtml" items="1"&gt;&lt;/mutation&gt;
    &lt;field name="CONDITION"&gt;lt&lt;/field&gt;
    &lt;field name="ACK_CONDITION"&gt;&lt;/field&gt;
    &lt;value name="OID0"&gt;
      &lt;shadow type="field_oid" id="j3Lo*$nyel?GSjM;M%2l"&gt;
        &lt;field name="oid"&gt;ID auswählen&lt;/field&gt;
      &lt;/shadow&gt;
      &lt;block type="selector" id="d83i!VN(b;|FS?k`k,9p"&gt;
        &lt;field name="TEXT"&gt;state[id=*](functions=lowbat)&lt;/field&gt;
      &lt;/block&gt;
    &lt;/value&gt;
    &lt;statement name="STATEMENT"&gt;
      &lt;block type="controls_if" id="1^n-*}WhzH}-f89qBWK7"&gt;
        &lt;value name="IF0"&gt;
          &lt;block type="logic_compare" id="XE.lR+)ax;K.A^N7#BKu"&gt;
            &lt;field name="OP"&gt;EQ&lt;/field&gt;
            &lt;value name="A"&gt;
              &lt;block type="on_source" id="hYuIBNuP4aA#M{C5GVLh"&gt;
                &lt;field name="ATTR"&gt;state.val&lt;/field&gt;
              &lt;/block&gt;
            &lt;/value&gt;
            &lt;value name="B"&gt;
              &lt;block type="logic_boolean" id="dJtb/3@X3EZ$pAQXO.C|"&gt;
                &lt;field name="BOOL"&gt;TRUE&lt;/field&gt;
              &lt;/block&gt;
            &lt;/value&gt;
          &lt;/block&gt;
        &lt;/value&gt;
        &lt;statement name="DO0"&gt;
          &lt;block type="pushover" id="6#tl-Sj0ny`7g0:JKeQ3"&gt;
            &lt;field name="INSTANCE"&gt;&lt;/field&gt;
            &lt;field name="SOUND"&gt;&lt;/field&gt;
            &lt;field name="PRIORITY"&gt;0&lt;/field&gt;
            &lt;field name="LOG"&gt;&lt;/field&gt;
            &lt;field name="FORMAT"&gt;none&lt;/field&gt;
            &lt;value name="MESSAGE"&gt;
              &lt;shadow type="text" id="/JOsiin:b8vA_Bw-[_ko"&gt;
                &lt;field name="TEXT"&gt;text&lt;/field&gt;
              &lt;/shadow&gt;
              &lt;block type="text_join" id=":g*}dlMss@ks|*x-qfN+"&gt;
                &lt;mutation items="2"&gt;&lt;/mutation&gt;
                &lt;value name="ADD0"&gt;
                  &lt;block type="text" id="x~^ScVW*F0x4SzZvRyu0"&gt;
                    &lt;field name="TEXT"&gt;Batteriestang gering:&lt;/field&gt;
                  &lt;/block&gt;
                &lt;/value&gt;
                &lt;value name="ADD1"&gt;
                  &lt;block type="on_source" id="[:I]6(84~68)1q}L64jB"&gt;
                    &lt;field name="ATTR"&gt;common.name&lt;/field&gt;
                  &lt;/block&gt;
                &lt;/value&gt;
              &lt;/block&gt;
            &lt;/value&gt;
            &lt;value name="SOUND_CUSTOM"&gt;
              &lt;shadow type="text" id="Qc%lO)Mk4by$,_1e^Yyb"&gt;
                &lt;field name="TEXT"&gt;&lt;/field&gt;
              &lt;/shadow&gt;
            &lt;/value&gt;
          &lt;/block&gt;
        &lt;/statement&gt;
      &lt;/block&gt;
    &lt;/statement&gt;
  &lt;/block&gt;
&lt;/xml&gt;
</code></pre>
<p dir="auto">Gruß<br />
Bernd</p>
]]></description><link>https://forum.iobroker.net/topic/84412/bloxkly-skript-für-lowbat</link><generator>RSS for Node</generator><lastBuildDate>Mon, 27 Apr 2026 19:03:31 GMT</lastBuildDate><atom:link href="https://forum.iobroker.net/topic/84412.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 27 Apr 2026 14:24:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Bloxkly Skript für LowBat on Mon, 27 Apr 2026 15:34:11 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/berlon" aria-label="Profile: Berlon">@<bdi>Berlon</bdi></a> <a href="/post/1336680">sagte</a>:</p>
<p dir="auto">wieso gibt es bei true und false kleiner und größer?</p>
</blockquote>
<p dir="auto">Zusätzlich zu der Info von <a class="plugin-mentions-user plugin-mentions-a" href="/user/paul53" aria-label="Profile: paul53">@<bdi>paul53</bdi></a></p>
<p dir="auto">Binär ist false=0 und true=1.<br />
EDIT: <a class="plugin-mentions-user plugin-mentions-a" href="/user/asgothian" aria-label="Profile: asgothian">@<bdi>asgothian</bdi></a> war schneller und genauer</p>
]]></description><link>https://forum.iobroker.net/post/1336686</link><guid isPermaLink="true">https://forum.iobroker.net/post/1336686</guid><dc:creator><![CDATA[Homoran]]></dc:creator><pubDate>Mon, 27 Apr 2026 15:34:11 GMT</pubDate></item><item><title><![CDATA[Reply to Bloxkly Skript für LowBat on Mon, 27 Apr 2026 15:33:13 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/berlon" aria-label="Profile: Berlon">@<bdi>Berlon</bdi></a> <a href="/post/1336680">sagte</a>:</p>
<p dir="auto">Verständnissfrage: wieso gibt es bei true und false kleiner und größer?</p>
</blockquote>
<p dir="auto">Weil die Wahrheit grösser ist als alle Falschheiten.</p>
<p dir="auto">Spass beiseite - letztendlich muss ja alles als Zahl dargestellt werden. Intern ist bool üblicherweise ein Binärwert ohne Vorzeichen, sprich eine positive Zahl zwischen 0 und MAX (max hängt von verschiedenen Parametern ab).</p>
<p dir="auto">0 ist false. Alles andere ist true.</p>
<p dir="auto">A.</p>
]]></description><link>https://forum.iobroker.net/post/1336685</link><guid isPermaLink="true">https://forum.iobroker.net/post/1336685</guid><dc:creator><![CDATA[Asgothian]]></dc:creator><pubDate>Mon, 27 Apr 2026 15:33:13 GMT</pubDate></item><item><title><![CDATA[Reply to Bloxkly Skript für LowBat on Mon, 27 Apr 2026 15:31:45 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/berlon" aria-label="Profile: Berlon">@<bdi>Berlon</bdi></a> [sagte]: wieso gibt es bei true und false kleiner und größer?</p>
</blockquote>
<p dir="auto"><em>true &gt; false</em></p>
]]></description><link>https://forum.iobroker.net/post/1336683</link><guid isPermaLink="true">https://forum.iobroker.net/post/1336683</guid><dc:creator><![CDATA[paul53]]></dc:creator><pubDate>Mon, 27 Apr 2026 15:31:45 GMT</pubDate></item><item><title><![CDATA[Reply to Bloxkly Skript für LowBat on Mon, 27 Apr 2026 15:15:40 GMT]]></title><description><![CDATA[<p dir="auto">Hallo paul53,<br />
habe ich mal so gemacht. Muss nun nur auf den nächsten LowBat warten.</p>
<p dir="auto">Verständnissfrage: wieso gibt es bei true und false kleiner und größer?</p>
]]></description><link>https://forum.iobroker.net/post/1336680</link><guid isPermaLink="true">https://forum.iobroker.net/post/1336680</guid><dc:creator><![CDATA[Berlon]]></dc:creator><pubDate>Mon, 27 Apr 2026 15:15:40 GMT</pubDate></item><item><title><![CDATA[Reply to Bloxkly Skript für LowBat on Mon, 27 Apr 2026 15:07:03 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/berlon" aria-label="Profile: Berlon">@<bdi>Berlon</bdi></a> [sagte]: im "falls mache" Block den Wert auf wahr prüfe.</p>
</blockquote>
<p dir="auto">Triggere auf "ist größer als letztes" und lasse die Prüfung weg.</p>
<p dir="auto"><img src="/assets/uploads/files/1777302420492-blockly_temp.jpg" alt="Blockly_temp.JPG" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.iobroker.net/post/1336679</link><guid isPermaLink="true">https://forum.iobroker.net/post/1336679</guid><dc:creator><![CDATA[paul53]]></dc:creator><pubDate>Mon, 27 Apr 2026 15:07:03 GMT</pubDate></item></channel></rss>