All Projects → absalom-muc → Mhi Ac Ctrl

absalom-muc / Mhi Ac Ctrl

Licence: mit
Reads and writes data (e.g. power, mode, fan status etc.) from/to a Mitsubishi Heavy Industries (MHI) air conditioner (AC) via SPI controlled by MQTT

Projects that are alternatives of or similar to Mhi Ac Ctrl

Esp Mqtt Json Digital Leds
(OBSOLETE) ESP8266 MQTT JSON Digital LEDs for Home Assistant
Stars: ✭ 503 (+685.94%)
Mutual labels:  mqtt, esp8266
Esp8266 Anemometer
ESP8266 based wind anemometer project
Stars: ✭ 22 (-65.62%)
Mutual labels:  mqtt, esp8266
Async Mqtt Client
📶 An Arduino for ESP8266 asynchronous MQTT client implementation
Stars: ✭ 555 (+767.19%)
Mutual labels:  mqtt, esp8266
Sonoff Homeassistant
Firmware for ESP8266 based itead Sonoff switches for use with HomeAssistant
Stars: ✭ 354 (+453.13%)
Mutual labels:  mqtt, esp8266
Mclighting
The ESP8266 based multi-client lighting gadget
Stars: ✭ 977 (+1426.56%)
Mutual labels:  mqtt, esp8266
Tdm
GUI application to discover and monitor devices flashed with https://github.com/arendst/Sonoff-Tasmota
Stars: ✭ 385 (+501.56%)
Mutual labels:  mqtt, esp8266
Open Home Automation
Open Home Automation with Home Assistant, ESP8266/ESP32 and MQTT
Stars: ✭ 820 (+1181.25%)
Mutual labels:  mqtt, esp8266
Esp At
AT application for ESP32 ESP-IDF & ESP32S2 ESP-IDF & ESP8266 ESP8266_RTOS_SDK
Stars: ✭ 319 (+398.44%)
Mutual labels:  spi, esp8266
Smarthome
💡 智能电器管理综合系统
Stars: ✭ 33 (-48.44%)
Mutual labels:  mqtt, esp8266
Smarthome
SmartHome: firmware per ESP8266 - Casa domotica
Stars: ✭ 28 (-56.25%)
Mutual labels:  mqtt, esp8266
Espixelstick
Firmware for the ESPixelStick
Stars: ✭ 332 (+418.75%)
Mutual labels:  mqtt, esp8266
Wavin Ahc 9000 Mqtt
Esp8266 mqtt interface for Wavin AHC-9000/Jablotron AC-116
Stars: ✭ 47 (-26.56%)
Mutual labels:  mqtt, esp8266
Heatpump
Arduino library to control Mitsubishi Heat Pumps via connector cn105
Stars: ✭ 327 (+410.94%)
Mutual labels:  mqtt, esp8266
Pysmartnode
Micropython Smarthome framework
Stars: ✭ 58 (-9.37%)
Mutual labels:  mqtt, esp8266
Esp Mqtt Json Multisensor
(OBSOLETE) ESP MQTT JSON Multisensor for Home Assistant. Supported sensors include the TEMT6000 light, AM312 PIR, DHT22 temperature/humidity sensors. RGB led supports flash, fade, and transition. Over-The-Air (OTA) uploading, too!
Stars: ✭ 323 (+404.69%)
Mutual labels:  mqtt, esp8266
Haswitchplate
LCD touchscreen for Home Automation
Stars: ✭ 666 (+940.63%)
Mutual labels:  mqtt, esp8266
Esphome
ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
Stars: ✭ 4,324 (+6656.25%)
Mutual labels:  mqtt, esp8266
Esphelper
A library to make using WiFi & MQTT on the ESP8266 easy.
Stars: ✭ 310 (+384.38%)
Mutual labels:  mqtt, esp8266
Mqtt via esp01
TCP/UDP Applicaton for UNO/MEGA/STM32 using ESP8266's AT firmware.
Stars: ✭ 23 (-64.06%)
Mutual labels:  mqtt, esp8266
Hass Yaap
Yet another alarm (control) panel for Home Assistant.
Stars: ✭ 44 (-31.25%)
Mutual labels:  mqtt, esp8266

MHI-AC-Ctrl

Reads and writes data (e.g. power, mode, fan status etc.) from/to a Mitsubishi Heavy Industries (MHI) air conditioner (AC) via SPI controlled by MQTT. The AC is the SPI master and the ESP8266 is the SPI slave.

Attention:

⚠️ You have to open the indoor unit to have access to the SPI. Opening of the indoor unit should be done by a qualified professional because faulty handling may cause leakage of water, electric shock or fire! ⚠️

Prerequisites:

For use of the program you have to connect your ESP8266 (I use a LOLIN(WEMOS) D1 R2 & mini with 80 MHz) via a cable connector to your air conditioner. This has to be a split device (separated indoor and outdoor unit). I assume that all AC units of the type "SRK xx ZS-S" / "SRC xx ZS-S" are supported. I use the indoor unit SRK 35 ZS-S and the outdoor unit SRC 35 ZS-S. Users reported that additionally the following models are supported:

  • SRF xx ZJX-S1
  • SRF xx ZMX-S
  • SRK xx ZJ-S
  • SRK xx ZM-S
  • SRK xx ZS-S
  • SRK xx ZJX-S
  • SRK xx ZJX-S1
  • SRK xx ZRA-W
  • SRK xx ZSA-W
  • SRK xx ZSX-S
  • SRK xx ZSX-W
  • SRK xx ZS-W
  • SRR xx ZM-S

If you find out that also other models are supported that are not listed here, please give feedback so that I can expand the list.

Installing:

Hardware:

The ESP8266 is powered from the AC via DC-DC (12V -> 5V) converter. The ESP8266 SPI signals SCL (SPI clock), MOSI (Master Out Slave In) and MISO (Master In Slave Out) are connected via a voltage level shifter 5V <-> 3.3V with the AC. Direct connection of the signals without a level shifter could damage your ESP8266! More details are described in Hardware.md.

Software:

The program uses the following libraries

and optionally you need for the use of an external temperature sensor DS18x20 the libraries

Please check the GitHub pages to see how to install them (usually via tools -> libraries).

Create a sub-directory "MHI-AC-Ctrl" and copy the files from the latest release src directory in your MHI-AC-Ctrl sub-directory. You could also use the recently updated version in the src folder but with the risk that it is more unstable. The configuration options are described in SW-Configuration.md.

In a previous version (see here) I used the Hardware-SPI of the ESP8266. But since the SPI documentation of ESP8266 is poor, I decided to switch to a Software based SPI. This Software based SPI is reliable and the performance of the ESP8266 is sufficient for this use case. In case of problems please check the Troubleshooting guide.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

The coding of the SPI protocol of the AC is a nightmare. Without rjdekker's MHI2MQTT I had no chance to understand the protocol! Unfortunately rjdekker is no longer active on GitHub. He used an Arduino plus an ESP8266 for his project. Also thank you very much on the authors and contributors of MQTT client, ArduinoOTA, OneWire and DallasTemperature libraries.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].