<?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[Druckschalter richtig abfragen?]]></title><description><![CDATA[<p dir="auto">Wie frage ich einen Druckschalter richtig ab? So wie ich es gemacht habe, kommt ständig die Meldung "Druckschalter an" Eigentlich möchte ich nur bei einer Leistung von über 10 Watt eine Benachrichtigung bekommen.</p>
<p dir="auto"><img src="/assets/uploads/files/1623659386883-123.jpg" alt="123.JPG" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.iobroker.net/topic/45773/druckschalter-richtig-abfragen</link><generator>RSS for Node</generator><lastBuildDate>Mon, 25 May 2026 14:35:11 GMT</lastBuildDate><atom:link href="https://forum.iobroker.net/topic/45773.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 14 Jun 2021 08:32:45 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Druckschalter richtig abfragen? on Tue, 15 Jun 2021 17:15:41 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></p>
<p dir="auto">Danke, werde ich testen.</p>
<p dir="auto">Vielen Dank, jetzt funktioniert es ;)</p>
]]></description><link>https://forum.iobroker.net/post/642992</link><guid isPermaLink="true">https://forum.iobroker.net/post/642992</guid><dc:creator><![CDATA[Tolkin]]></dc:creator><pubDate>Tue, 15 Jun 2021 17:15:41 GMT</pubDate></item><item><title><![CDATA[Reply to Druckschalter richtig abfragen? on Tue, 15 Jun 2021 17:06:50 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 />
Hatte ich schon vermutet: <em>Wert</em> darf keine selbst erstellte Variable sein, sondern findet man unter "Trigger".</p>
<p dir="auto"><img src="/assets/uploads/files/1623776791585-blockly_dp_props.jpg" alt="Blockly_DP_Props.JPG" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.iobroker.net/post/642991</link><guid isPermaLink="true">https://forum.iobroker.net/post/642991</guid><dc:creator><![CDATA[paul53]]></dc:creator><pubDate>Tue, 15 Jun 2021 17:06:50 GMT</pubDate></item><item><title><![CDATA[Reply to Druckschalter richtig abfragen? on Tue, 15 Jun 2021 17:04:57 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/642987">Druckschalter richtig abfragen?</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: bekomme aber nur einmal eine Druckschalter aus Meldung.</p>
<p dir="auto">Poste bitte den erzeugten Javascript-Code ohne die letzte Zeile in Code tags.</p>
</blockquote>
<pre><code>var msg, Wert, gesendet;


on({id: "shelly.0.SHSW-PM#3C6105E5C643#1.Relay0.Power"/*Power*/, change: "ne"}, async function (obj) {
  var value = obj.state.val;
  var oldValue = obj.oldState.val;
  if (Wert &gt; 10) {
    msg = 'Druckschalter an';
  } else {
    msg = 'Druckschalter aus';
  }
  if (msg != gesendet) {
    sendTo("telegram", "send", {
        text: msg
    });
    gesendet = msg;
  }
});
</code></pre>
]]></description><link>https://forum.iobroker.net/post/642989</link><guid isPermaLink="true">https://forum.iobroker.net/post/642989</guid><dc:creator><![CDATA[Tolkin]]></dc:creator><pubDate>Tue, 15 Jun 2021 17:04:57 GMT</pubDate></item><item><title><![CDATA[Reply to Druckschalter richtig abfragen? on Tue, 15 Jun 2021 17:00:36 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: bekomme aber nur einmal eine Druckschalter aus Meldung.</p>
<p dir="auto">Poste bitte den erzeugten Javascript-Code ohne die letzte Zeile in Code tags.</p>
]]></description><link>https://forum.iobroker.net/post/642987</link><guid isPermaLink="true">https://forum.iobroker.net/post/642987</guid><dc:creator><![CDATA[paul53]]></dc:creator><pubDate>Tue, 15 Jun 2021 17:00:36 GMT</pubDate></item><item><title><![CDATA[Reply to Druckschalter richtig abfragen? on Tue, 15 Jun 2021 16:57:41 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></p>
<p dir="auto">So habe ich es jetzt geändert, ich bekomme aber nur einmal eine Druckschalter aus Meldung.</p>
<p dir="auto"><img src="/assets/uploads/files/1623776174203-123.jpg" alt="123.JPG" class=" img-fluid img-markdown" /></p>
<p dir="auto">Eigentlich sollte es so sein, dass wenn der Power "Watt" Wert nicht unter 10Watt ist, ich eine Meldung "Druckschalter" an bekomme.</p>
]]></description><link>https://forum.iobroker.net/post/642986</link><guid isPermaLink="true">https://forum.iobroker.net/post/642986</guid><dc:creator><![CDATA[Tolkin]]></dc:creator><pubDate>Tue, 15 Jun 2021 16:57:41 GMT</pubDate></item><item><title><![CDATA[Reply to Druckschalter richtig abfragen? on Mon, 14 Jun 2021 08:45:02 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: kommt ständig die Meldung "Druckschalter an"</p>
<p dir="auto">Vorschlag:</p>
<p dir="auto"><img src="/assets/uploads/files/1623660200288-bild_2021-06-14_104319.png" alt="Bild_2021-06-14_104319.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.iobroker.net/post/642454</link><guid isPermaLink="true">https://forum.iobroker.net/post/642454</guid><dc:creator><![CDATA[paul53]]></dc:creator><pubDate>Mon, 14 Jun 2021 08:45:02 GMT</pubDate></item></channel></rss>