Hi all! I’m excited to share my recent project where I successfully integrated my new Clivet/Midea heat pumps into Home Assistant using ESPHome and ModBus. Here’s how I did it:
The Setup
I recently installed two Clivet units: an Edge Evo 14.2 heat pump and a Swan -2 300 hot water heat pump. Both units have ModBus capabilities, which made them perfect candidates for integration with Home Assistant.
The Process
-
Research: I started by researching existing integrations for Clivet/Midea units. While I found some resources for Midea AC units, there wasn’t a straightforward solution for heat pumps or hot water units.
-
ESPHome Setup: I decided to use ESPHome to handle the ModBus communication. I configured my ESP32 to act as a ModBus master, allowing it to communicate with both heat pumps.
-
ModBus Configuration: I connected the ModBus dongle to my Home Assistant server and configured it using the
modbusintegration. This allowed me to access all the necessary data points from the heat pumps. -
Custom Scripts: I wrote some custom Python scripts to parse the ModBus data and create entities in Home Assistant. This included temperature, pressure, and operational status data.
-
Testing: I thoroughly tested the integration to ensure all data points were accurately reflected in Home Assistant. Everything worked perfectly!
Results
- Real-time monitoring of both heat pumps
- Customizable dashboards showing key performance metrics
- Integration with my existing home automation setup
Tips for Others
- Documentation: Make sure to thoroughly review your heat pump’s ModBus documentation to understand all available data points.
- Community Support: Don’t hesitate to reach out to the Home Assistant community for help. There are many knowledgeable users who can provide guidance.
- Testing: Always test your setup in a controlled environment before fully integrating it into your home automation system.
I’m thrilled with how this integration turned out and look forward to using it to optimize my home’s heating and hot water systems. If anyone has questions or needs help with a similar project, feel free to reach out!
Happy automating! ![]()