<?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[SmartSleep and multiple messages on HVAC sensor]]></title><description><![CDATA[<p dir="auto">Hello to all and thanks for this incredible library!</p>
<p dir="auto">I have a sensor that is controlling my climate system through an IR led.<br />
I have Openhab2.2 as controller with mysensors 2.3 addon, a mysensors 2.1.1 serial gateway, and a mysensors 2.1.1 NRF24 node presenting an S_HVAC sensor:</p>
<pre><code>  present(CHILD_ID_HVAC,  S_HVAC, "Controllo Climatizzatore");
</code></pre>
<p dir="auto">it implements all the functionalities of an HVAC system by receiving and sending back several message types:</p>
<pre><code>MyMessage msgSmHvacTemp(CHILD_ID_HVAC, V_TEMP);                         //mapped to temperature
MyMessage msgSmHvacFlowState(CHILD_ID_HVAC, V_HVAC_FLOW_STATE);           //mapped to HvacMode
MyMessage msgSmHvacSpeed(CHILD_ID_HVAC, V_HVAC_SPEED);               //mapped to HvacFanMode
MyMessage msgSmHvacFlowMode(CHILD_ID_HVAC, V_HVAC_FLOW_MODE);          //mapped to HvacVanneMode
MyMessage msgSmHvacSetPointCool(CHILD_ID_HVAC, V_HVAC_SETPOINT_COOL); //mapped to temperature
MyMessage msgSmHvacSetPointHeat(CHILD_ID_HVAC, V_HVAC_SETPOINT_HEAT); //mapped to temperature
</code></pre>
<p dir="auto">the sensor goes in smartsleep mode every 30 seconds.</p>
<p dir="auto">everything works fine if I adjust one parameter per sleep cycle on my controller, but if I set more than one parameter (e.g. temperature and fan speed) only one message is sent from openhab:</p>
<pre><code>2018-04-28 15:53:40.906 [DEBUG] [otocol.MySensorsAbstractConnection$MySensorsReader] - Message from gateway received: 0;255;3;0;9;TSF:MSG:READ,9-9-0,s=255,c=3,t=22,pt=5,l=4,sg=0:3098
2018-04-28 15:53:40.907 [DEBUG] [otocol.MySensorsAbstractConnection$MySensorsReader] - Message from gateway received: 9;255;3;0;22;3098
2018-04-28 15:53:40.908 [DEBUG] [otocol.MySensorsAbstractConnection$MySensorsWriter] - Sending to MySensors: 9;0;1;1;22;3
2018-04-28 15:53:40.908 [DEBUG] [otocol.MySensorsAbstractConnection$MySensorsWriter] - Message for nodeId: 9 in queue needs to be send immediately!
2018-04-28 15:53:40.962 [DEBUG] [otocol.MySensorsAbstractConnection$MySensorsReader] - Message from gateway received: 0;255;3;0;9;TSF:MSG:SEND,0-0-9-9,s=0,c=1,t=22,pt=0,l=1,sg=0,ft=0,st=OK:3
2018-04-28 15:53:40.963 [DEBUG] [otocol.MySensorsAbstractConnection$MySensorsReader] - Message from gateway received: 0;255;3;0;9;TSF:MSG:READ,9-9-0,s=0,c=1,t=22,pt=0,l=1,sg=0:3
2018-04-28 15:53:40.964 [DEBUG] [otocol.MySensorsAbstractConnection$MySensorsReader] - Message from gateway received: 0;255;3;0;9;TSF:MSG:ACK
2018-04-28 15:53:40.965 [DEBUG] [otocol.MySensorsAbstractConnection$MySensorsReader] - Message from gateway received: 9;0;1;1;22;3
</code></pre>
<p dir="auto">is this a bug or I misunderstood the queue system of smartsleep? there a workaround for this?</p>
]]></description><link>https://forum.mysensors.org/topic/9304/smartsleep-and-multiple-messages-on-hvac-sensor</link><generator>RSS for Node</generator><lastBuildDate>Wed, 11 Nov 2026 10:35:36 GMT</lastBuildDate><atom:link href="https://forum.mysensors.org/topic/9304.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 28 Apr 2018 14:08:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to SmartSleep and multiple messages on HVAC sensor on Tue, 08 May 2018 19:36:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gohan" aria-label="Profile: gohan">@<bdi>gohan</bdi></a> thanks, however the issue i'm having is not in the HVAC implementation, but in the messaging..</p>
]]></description><link>https://forum.mysensors.org/post/89774</link><guid isPermaLink="true">https://forum.mysensors.org/post/89774</guid><dc:creator><![CDATA[ogghst]]></dc:creator><pubDate>Tue, 08 May 2018 19:36:29 GMT</pubDate></item><item><title><![CDATA[Reply to SmartSleep and multiple messages on HVAC sensor on Sun, 29 Apr 2018 14:36:29 GMT]]></title><description><![CDATA[<p dir="auto">I can't help you on the openhab side, but I can tell you that you may consider also other options <a href="https://forum.mysensors.org/topic/8018/mqtt-ir-remote">https://forum.mysensors.org/topic/8018/mqtt-ir-remote</a> or Broadlink RM devices</p>
]]></description><link>https://forum.mysensors.org/post/89301</link><guid isPermaLink="true">https://forum.mysensors.org/post/89301</guid><dc:creator><![CDATA[gohan]]></dc:creator><pubDate>Sun, 29 Apr 2018 14:36:29 GMT</pubDate></item></channel></rss>