<?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[Control Heatpump via Serial]]></title><description><![CDATA[<p dir="auto">Hi Folks,</p>
<p dir="auto">just trying to figure out how to get started with controlling a heatpump via a serial connection. I've found this blog entry which is my starting point. At the moment I'm unsure if I can connect the hardware serial of a pro mini to the heat pump and be able to debug it. Or would this require the use of a software serial port, or even springing for a board with more than one serial</p>
<p dir="auto">Any pointers in the correct direction appreciated</p>
<p dir="auto">sfozz</p>
<p dir="auto"><a href="https://nicegear.nz/blog/hacking-a-mitsubishi-heat-pump-air-conditioner/" rel="nofollow ugc">https://nicegear.nz/blog/hacking-a-mitsubishi-heat-pump-air-conditioner/</a></p>
]]></description><link>https://forum.mysensors.org/topic/10481/control-heatpump-via-serial</link><generator>RSS for Node</generator><lastBuildDate>Tue, 09 Jun 2026 15:20:32 GMT</lastBuildDate><atom:link href="https://forum.mysensors.org/topic/10481.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 17 Jun 2019 10:54:58 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Control Heatpump via Serial on Tue, 25 Jun 2019 02:06:20 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">So as I see it I would need to use the hardware serial for the connection to the heatpump and then create a software serial for debug messages. So something like this:</p>
<pre><code>#include &lt;SoftwareSerial.h&gt;
SoftwareSerial mySerial(10, 11); // RX, TX

// Enable debug prints
#define MY_DEBUG
#define MY_DEBUGDEVICE mySerial
#define MY_BAUD_RATE 9600
</code></pre>
<p dir="auto">So the next question is how to present the heatpump to the gateway. Would you create one child id and then define each type of sensor/metric or is there a one-to-one mapping:</p>
<pre><code>#define CHILD_HVAC 0

MyMessage msgHvacStatu(CHILD_HVAC, V_STATUS); // Status: ON, OFF
MyMessage msgHvacSTemp(CHILD_HVAC, V_TEMP);    // Set Temp
MyMessage msgHvacRTemp(CHILD_HVAC, V_TEMP);    // Room Temp
MyMessage msgHvacFanSp(CHILD_HVAC, V_HVAC_SPEED);    // Fan Speed
</code></pre>
<p dir="auto">or</p>
<pre><code>#define CHILD_HVAC_STATUS 0
#define CHILD_HVAC_STEMP 1
#define CHILD_HVAC_RTEMP 2
#define CHILD_HVAC_FANSP 3

MyMessage msgHvacStatu(CHILD_HVAC_STATUS, V_STATUS); // Status: ON, OFF
MyMessage msgHvacSTemp(CHILD_HVAC_STEMP, V_TEMP);    // Set Temp
MyMessage msgHvacRTemp(CHILD_HVAC_RTEMP, V_TEMP);    // Room Temp
MyMessage msgHvacFanSp(CHILD_HVAC_FANSP, V_HVAC_SPEED);    // Fan Speed
</code></pre>
]]></description><link>https://forum.mysensors.org/post/100121</link><guid isPermaLink="true">https://forum.mysensors.org/post/100121</guid><dc:creator><![CDATA[sfozz]]></dc:creator><pubDate>Tue, 25 Jun 2019 02:06:20 GMT</pubDate></item><item><title><![CDATA[Reply to Control Heatpump via Serial on Mon, 17 Jun 2019 15:33:38 GMT]]></title><description><![CDATA[<p dir="auto">I use this setup:<br />
<a href="https://www.domoticz.com/wiki/ESPEasy_Aircondition_Inverter_IR_control" rel="nofollow ugc">https://www.domoticz.com/wiki/ESPEasy_Aircondition_Inverter_IR_control</a></p>
<p dir="auto">check if your heatpumps protocol is supported:<br />
<a href="https://github.com/ToniA/arduino-heatpumpir" rel="nofollow ugc">https://github.com/ToniA/arduino-heatpumpir</a></p>
]]></description><link>https://forum.mysensors.org/post/99948</link><guid isPermaLink="true">https://forum.mysensors.org/post/99948</guid><dc:creator><![CDATA[bjacobse]]></dc:creator><pubDate>Mon, 17 Jun 2019 15:33:38 GMT</pubDate></item></channel></rss>