<?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[[gelöst] hm-rpc.0 meldet STICKY_UNREACH=true]]></title><description><![CDATA[<p dir="auto">Mein Homematic Fensterkontakt hat in der CCU2 die Servicemeldung abgegeben, dass er kurz nicht erreichbar war. Nach der Bestätigung in der CCU2 war die Servicemeldung wieder weg.</p>
<p dir="auto">Im ioBroker ist aber immer noch STICKY_UNREACH=true. Und das schon ein paar Tage. Adapter Neustart hat nichts gebracht.</p>
<p dir="auto">Wie bekomme ich den Status auf true? Kommt da immer noch was von der CCU2? Muss ich in der CCU2 noch was machen?</p>
]]></description><link>https://forum.iobroker.net/topic/13139/gelöst-hm-rpc-0-meldet-sticky_unreach-true</link><generator>RSS for Node</generator><lastBuildDate>Thu, 28 May 2026 05:50:42 GMT</lastBuildDate><atom:link href="https://forum.iobroker.net/topic/13139.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 26 May 2018 11:40:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [gelöst] hm-rpc.0 meldet STICKY_UNREACH=true on Mon, 20 Sep 2021 16:02:26 GMT]]></title><description><![CDATA[<p dir="auto">Hallo, <a class="plugin-mentions-user plugin-mentions-a" href="/user/paul53" aria-label="Profile: paul53">@<bdi>paul53</bdi></a>,</p>
<p dir="auto">vielen Dank. Dann mache ich mich mal bei.</p>
]]></description><link>https://forum.iobroker.net/post/679307</link><guid isPermaLink="true">https://forum.iobroker.net/post/679307</guid><dc:creator><![CDATA[opossum]]></dc:creator><pubDate>Mon, 20 Sep 2021 16:02:26 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst] hm-rpc.0 meldet STICKY_UNREACH=true on Mon, 20 Sep 2021 14:53:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/opossum" aria-label="Profile: opossum">@<bdi>opossum</bdi></a> sagte: Hast Du dieses Script noch im Einsatz?</p>
<p dir="auto">Ja.</p>
<p dir="auto"><img src="/assets/uploads/files/1632149614171-bild_2021-09-20_165333.png" alt="Bild_2021-09-20_165333.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/opossum" aria-label="Profile: opossum">@<bdi>opossum</bdi></a> sagte in <a href="/post/679011">[gelöst] hm-rpc.0 meldet STICKY_UNREACH=true</a>:</p>
<blockquote>
<p dir="auto">cntid, alarmid, quitid sind festgelegt mit Service. ..., sind das Datenpunkte, die Du selber angelegt hast?</p>
</blockquote>
<p dir="auto">Ja, die <strong>Namen</strong> müssen eindeutig sein.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/opossum" aria-label="Profile: opossum">@<bdi>opossum</bdi></a> sagte in <a href="/post/679011">[gelöst] hm-rpc.0 meldet STICKY_UNREACH=true</a>:</p>
<blockquote>
<p dir="auto">sticky beschreibt den Zweig, in welchem gesucht werden soll? Bei mir liegen diese Daten in hmrpc.1...., müßte ich also ändern?</p>
</blockquote>
<p dir="auto">Ja, auf</p>
<pre><code>const sticky = $('hm-rpc.1.*.STICKY_UNREACH');
</code></pre>
]]></description><link>https://forum.iobroker.net/post/679262</link><guid isPermaLink="true">https://forum.iobroker.net/post/679262</guid><dc:creator><![CDATA[paul53]]></dc:creator><pubDate>Mon, 20 Sep 2021 14:53:35 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst] hm-rpc.0 meldet STICKY_UNREACH=true on Mon, 20 Sep 2021 04:39:09 GMT]]></title><description><![CDATA[<p dir="auto">Hallo, <a class="plugin-mentions-user plugin-mentions-a" href="/user/paul53" aria-label="Profile: paul53">@<bdi>paul53</bdi></a>,<br />
ich muss dieses Thema noch einmal hochholen. Hast Du dieses Script noch im Einsatz? Ich habe es mal bei mir eingebaut, ich bekomme leider einige Warnungen. Der Hintergrund ist, dass ich bei zwei HM-LC-Sw1PBU-FM (schalten das Aussenlicht) eine Kommunikationsstörung hatte, jetzt deren Parameter sticky_unreach auf true steht. Dieses true würde ich gern wieder auf false setzen. In RaspberryMatic stehen die Parameter wieder auf false.<br />
Daher habe ich zu dem Script Fragen:<br />
Die Konstanten cntid, alarmid, quitid sind festgelegt mit Service. ..., sind das Datenpunkte, die Du selber angelegt hast?<br />
Die Konstante sticky beschreibt den Zweig, in welchem gesucht werden soll? Bei mir liegen diese Daten in hmrpc.1...., müßte ich also ändern?<br />
Hier mal die Warnungen:<br />
</p><section class="spoiler-wrapper"><button class="spoiler-control btn btn-default">Spoiler</button><section style="display:none" class="spoiler-content"><p></p>
<pre><code>javascript.0 2021-09-20 06:38:07.224	warn	at script.js.common.sticky_unreach:36:3
javascript.0 2021-09-20 06:38:07.224	warn	at script.js.common.sticky_unreach:12:6
javascript.0 2021-09-20 06:38:07.224	warn	at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1439:20)
javascript.0 2021-09-20 06:38:07.222	warn	State "undefined" not found
javascript.0 2021-09-20 06:38:07.222	warn	at script.js.common.sticky_unreach:36:3
javascript.0 2021-09-20 06:38:07.222	warn	at script.js.common.sticky_unreach:10:13
javascript.0 2021-09-20 06:38:07.219	warn	getState "undefined" not found (3)
</code></pre>
<p dir="auto"></p></section></section><br />
Oder hast Du vielleicht eine andere Methode, wie ich diese Datenpunkte wieder auf false bekomme?<br />
Danke für Deine Hilfe.<p></p>
]]></description><link>https://forum.iobroker.net/post/679011</link><guid isPermaLink="true">https://forum.iobroker.net/post/679011</guid><dc:creator><![CDATA[opossum]]></dc:creator><pubDate>Mon, 20 Sep 2021 04:39:09 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst] hm-rpc.0 meldet STICKY_UNREACH=true on Sat, 26 May 2018 15:51:50 GMT]]></title><description><![CDATA[<p dir="auto"><s><a class="plugin-mentions-user plugin-mentions-a" href="/user/bongo" aria-label="Profile: Bongo">@<bdi>Bongo</bdi></a>:</s></p>
<blockquote>
<p dir="auto">Nach der Bestätigung in der CCU2 war die Servicemeldung wieder weg. `<br />
Das ist offenbar eine Funktion der RegaHss, die im Datenpunkt STICKY_UNREACH nicht nach außen weitergegeben wird.<br />
<img src="/assets/uploads/files/493_ccu_servicemeldungen.jpg" alt="493_ccu_servicemeldungen.jpg" class=" img-fluid img-markdown" /><br />
Es ist eine Sammelstöranzeige und eine Quittierungstaste. Das kann man in ioBroker mit zwei entsprechenden Datenpunkten nachbilden und dabei auch die STICKY_UNREACH zurücksetzen. Ich habe das bei mir mit diesem Script gelöst:</p>
</blockquote>
<pre><code>// Servicemeldungen in Datei loggen, Anzahl in einem Datenpunkt erfassen
// und zu quittierenden Sammelalarm erzeugen

const cntid = getIdByName("Service.Fehleranzahl");
const alarmid = getIdByName("Service.Sammelalarm");
const quitid = getIdByName("Service.Quittierung");
const sticky = $('hm-rpc.0.*.STICKY_UNREACH');

// Script start
var count = getState(cntid).val;
if(count) setState(alarmid, true);
else setState(alarmid, false, true);

on(/\.UNREACH|LOWBAT|CONFIG_PENDING|FAULT_REPORTING$/, function(dp) {
   var val = dp.state.val;
   var old = dp.oldState.val;
   if (val != old) {
       if(dp.common.name) flog(dp.common.name + ": " + val);
       else flog(dp.id + ": " + val);
   }
   if(val &amp;&amp; !old) count++;
   else if (!val &amp;&amp; old) count--;
   setState(cntid, count, true);
   if(count) setState(alarmid, true);
});

on({id: quitid, val: true}, function() {
   if(!count) {
      setState(alarmid, false, true);
      sticky.each(function(id, i) {
	 setState(id, false, true);
      });
   }
   setState(quitid, false, true);
});

</code></pre>
]]></description><link>https://forum.iobroker.net/post/154160</link><guid isPermaLink="true">https://forum.iobroker.net/post/154160</guid><dc:creator><![CDATA[paul53]]></dc:creator><pubDate>Sat, 26 May 2018 15:51:50 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst] hm-rpc.0 meldet STICKY_UNREACH=true on Sat, 26 May 2018 15:15:01 GMT]]></title><description><![CDATA[<p dir="auto">Das sind Datenpunkte wo du einen Trigger auf „wird auf true gesetzt“ nutzt und du damit eine Info genau dann bekommst wenn es passiert. Danach bleibt der auf true ist egal</p>
]]></description><link>https://forum.iobroker.net/post/154154</link><guid isPermaLink="true">https://forum.iobroker.net/post/154154</guid><dc:creator><![CDATA[apollon77]]></dc:creator><pubDate>Sat, 26 May 2018 15:15:01 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst] hm-rpc.0 meldet STICKY_UNREACH=true on Sat, 26 May 2018 13:15:39 GMT]]></title><description><![CDATA[<p dir="auto">Danke. Weis auch nicht wie ich darauf komme.</p>
]]></description><link>https://forum.iobroker.net/post/154150</link><guid isPermaLink="true">https://forum.iobroker.net/post/154150</guid><dc:creator><![CDATA[Bongo]]></dc:creator><pubDate>Sat, 26 May 2018 13:15:39 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst] hm-rpc.0 meldet STICKY_UNREACH=true on Sat, 26 May 2018 11:58:27 GMT]]></title><description><![CDATA[<p dir="auto"><s><a class="plugin-mentions-user plugin-mentions-a" href="/user/bongo" aria-label="Profile: Bongo">@<bdi>Bongo</bdi></a>:</s></p>
<blockquote>
<p dir="auto">Im ioBroker ist aber immer noch STICKY_UNREACH=true. `<br />
Ignorieren ! Der wichtige Datenpunkt ist UNREACH und der wird zurückgesetzt.</p>
</blockquote>
]]></description><link>https://forum.iobroker.net/post/154148</link><guid isPermaLink="true">https://forum.iobroker.net/post/154148</guid><dc:creator><![CDATA[paul53]]></dc:creator><pubDate>Sat, 26 May 2018 11:58:27 GMT</pubDate></item></channel></rss>