Mitsubishi Heat Pump Integration with ESPEasy - Success Story

Hello everyone! :wave:

I wanted to share my recent success in integrating my Mitsubishi Heat Pump with Home Assistant using ESPEasy. After spending quite some time researching and experimenting, I managed to get everything up and running smoothly!

Here’s a quick overview of what I did:

  1. Research: I stumbled upon the fantastic library by SwiCago for Mitsubishi Heat Pumps. While there were many tutorials out there, none provided a straightforward solution. Most required custom firmware or specific hardware setups.

  2. Choosing ESPEasy: I decided to go with ESPEasy because it’s lightweight, supports OTA updates, and I already use it for other sensors around my home. Plus, it has a plugin system that made adding the Mitsubishi Heat Pump functionality a breeze!

  3. Installation: I installed the Mitsubishi Heat Pump plugin in ESPEasy, connected it to my heat pump via the serial port, and configured it through the ESPEasy web interface. The plugin handles all the communication and sends updates to MQTT every 60 seconds.

  4. Home Assistant Setup: I configured Home Assistant to receive the MQTT messages and control the heat pump. Here’s a snippet of my .things and .items configurations:

java
Bridge mqtt:broker:rasnas “MQTT Broker” [ host=“192.168.2.51” ] {
Thing topic ffNikRoom {
Channels:
Type number:acRoomTemperature [ stateTopic=“FF_Nik_Room/ac/settings”, transformationPattern=“JSONPATH:$.roomTemperature” ]
Type number:acTemperature [ stateTopic=“FF_Nik_Room/ac/settings”, commandTopic=“FF_Nik_Room/ac/settings/cmd”, formatBeforePublish=“MitsubishiHP,temperature,%d” ]
// … more channels
}
}

  1. Results: The integration works perfectly! I can now control my heat pump through Home Assistant, monitor temperatures, and adjust settings from my phone or the web interface.

If anyone else has managed to integrate their Mitsubishi Heat Pump or has tips for improving this setup, I’d love to hear about it! :blush:

Cheers,
Nik