<?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[openhab binding mysensors]]></title><description><![CDATA[<p dir="auto">I have a problem with lost message  when openhab change two relay at the same time.<br />
The relay are on the same node (arduino Pro Mini with nRF24L01+) and openhab is connect via WiFi Gateway using ESP32.<br />
I am investigate to see if the problem is a buffer messages because the node receive multiple message (for the same child/relay).<br />
In effect seem that mysensors binding on openhab duble the message:</p>
<pre><code>2021-03-14 18:57:02.898 [ome.event.ItemCommandEvent] - Item 'LuceEsternaAia_Status' received command OFF

2021-03-14 18:57:02.903 [nt.ItemStatePredictedEvent] - LuceEsternaAia_Status predicted to become OFF

==&gt; /var/log/openhab2/openhab.log &lt;==

2021-03-14 18:57:02.954 [DEBUG] [ensors.handler.MySensorsThingHandler] - Adapter: class org.openhab.binding.mysensors.converter.MySensorsOnOffTypeConverter loaded

2021-03-14 18:57:02.965 [DEBUG] [rs.internal.gateway.MySensorsGateway] - Node 3 found in gateway

2021-03-14 18:57:02.969 [DEBUG] [rs.internal.gateway.MySensorsGateway] - Child 3 found in node 3

2021-03-14 18:57:02.974 [DEBUG] [rsAbstractConnection$MySensorsWriter] - Sending to MySensors: 3;3;1;1;2;0

==&gt; /var/log/openhab2/events.log &lt;==

2021-03-14 18:57:03.027 [vent.ItemStateChangedEvent] - LuceEsternaAia_Status changed from ON to OFF

==&gt; /var/log/openhab2/openhab.log &lt;==

2021-03-14 18:57:03.081 [DEBUG] [rsAbstractConnection$MySensorsWriter] - Sending to MySensors: 3;3;1;1;2;0

2021-03-14 18:57:03.140 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 3;3;1;1;2;0

2021-03-14 18:57:03.146 [DEBUG] [rs.internal.gateway.MySensorsGateway] - Node 3 found in gateway

2021-03-14 18:57:03.149 [DEBUG] [rs.internal.gateway.MySensorsGateway] - Child 3 found in node 3

2021-03-14 18:57:03.151 [DEBUG] [ensors.handler.MySensorsThingHandler] - Updating channel: status(V_STATUS) value to: OFF

2021-03-14 18:57:03.159 [DEBUG] [ensors.handler.MySensorsThingHandler] - Setting last update for node/child 3/3 to 2021-03-14T18:57:03.000+0100

2021-03-14 18:57:03.172 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 3;3;1;1;2;0

2021-03-14 18:57:03.174 [DEBUG] [rs.internal.gateway.MySensorsGateway] - Node 3 found in gateway

2021-03-14 18:57:03.176 [DEBUG] [rs.internal.gateway.MySensorsGateway] - Child 3 found in node 3

2021-03-14 18:57:03.179 [DEBUG] [ensors.handler.MySensorsThingHandler] - Updating channel: status(V_STATUS) value to: OFF

2021-03-14 18:57:03.184 [INFO ] [rsAbstractConnection$MySensorsWriter] - ACK received for message: 3;3;1;1;2;0

2021-03-14 18:57:03.187 [DEBUG] [ensors.handler.MySensorsThingHandler] - Setting last update for node/child 3/3 to 2021-03-14T18:57:03.000+0100
</code></pre>
<p dir="auto">It's correct ?<br />
If yes, on the node I can use:</p>
<pre><code>#define MY_RX_MESSAGE_BUFFER_FEATURE
#define MY_RX_MESSAGE_BUFFER_SIZE (6)
</code></pre>
<p dir="auto">but on ESP32 gateway what I can do?</p>
<p dir="auto">Thanks in advance for the help.</p>
<p dir="auto">Massimo</p>
]]></description><link>https://forum.mysensors.org/topic/11615/openhab-binding-mysensors</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Jul 2026 20:02:22 GMT</lastBuildDate><atom:link href="https://forum.mysensors.org/topic/11615.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 14 Mar 2021 18:44:33 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to openhab binding mysensors on Mon, 15 Mar 2021 21:56:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ncollins" aria-label="Profile: ncollins">@<bdi>ncollins</bdi></a> Great! Seem the problem is the delay. With 1 ms or 100 ms I have double message, but with 200 ms I only one message. Thanks a lot.</p>
]]></description><link>https://forum.mysensors.org/post/109639</link><guid isPermaLink="true">https://forum.mysensors.org/post/109639</guid><dc:creator><![CDATA[MDS]]></dc:creator><pubDate>Mon, 15 Mar 2021 21:56:11 GMT</pubDate></item><item><title><![CDATA[Reply to openhab binding mysensors on Mon, 15 Mar 2021 14:49:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mds" aria-label="Profile: MDS">@<bdi>MDS</bdi></a>  I looked into this a bit after seeing the same double message in the log. You have ACK setup for these nodes? In the mysensors binding code, it looks like the bridge sends a message then waits for an ACK, and resends if it doesn't get the ACK within a specific amount of time. Unfortunately, it looks like it waits 0ms for the first ACK (doesn't wait) and automatically retransmits = guaranteed duplicate sent. It hasn't really caused any problems for me.</p>
<p dir="auto">As for the dropped messages, do you have a delay set up on your bridge config [sendDelay=200]? <img src="/assets/uploads/files/1615819498130-1416af8a-28bf-42e8-8c20-9718545523c3-image.png" alt="1416af8a-28bf-42e8-8c20-9718545523c3-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Can you post your arduino code?</p>
]]></description><link>https://forum.mysensors.org/post/109626</link><guid isPermaLink="true">https://forum.mysensors.org/post/109626</guid><dc:creator><![CDATA[ncollins]]></dc:creator><pubDate>Mon, 15 Mar 2021 14:49:03 GMT</pubDate></item></channel></rss>