Arduino library to control Mitsubishi Heat Pumps via connector cn105
C++ Python
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 110 commits ahead of unreality:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
integrations/home-assistant.io
src
CN105_ESP8266.png
README.md
keywords.txt
library.properties

README.md

HeatPump

Arduino library to control Mitsubishi Heat Pumps via connector cn105

Quick start

Controlling the heat pump

HeatPump hp;
hp.connect(&Serial);

heatpumpSettings settings = {
    "ON",  /* ON/OFF */
    "FAN", /* HEAT/COOL/FAN/DRY/AUTO */
    26,    /* Between 16 and 31 */
    "4",   /* Fan speed: 1-4, AUTO, or QUIET */
    "3",   /* Air direction (vertical): 1-5, SWING, or AUTO */
    "|"    /* Air direction (horizontal): <<, <, |, >, >>, <>, or SWING */
}; 

hp.setSettings(settings);
// OR individual settings
// hp.setModeSetting("COOL");

hp.update();

See heatPump_test.ino

Getting updates from the heat pump

void setup() {
  HeatPump hp;
  hp.connect(&Serial);
}

void loop() {
  hp.sync();

  /* get settings from heatpump, including room temperature in settings.roomTemperature */
  heatpumpSettings settings = hp.getSettings();
}

Contents

  • sources
  • sample usage code
  • Demo circuit using ESP-01

Installation

  • PULL or download zip.
  • Move contents into Arduino library directory
  • Restart IDE, samples should be avaliable

Notes

  • Tested with ESP8266
  • Tested with Arduino Micro Pro / Arduino Nano
  • Tested with Mitsubishi HeatPump MSZ-FH/GE(wall units) and SEZ-KD (ducted units) complete list

Demo Circuit

Parts required to make a CN105 female connector

========================================
Special thanks to Hadley in New Zealand

GNU Lesser General Public License

https://www.gnu.org/licenses/lgpl.html