Integrating Modbus with KEBA Heat Pumps: A Success Story

I wanted to share my recent success in integrating Modbus with my KEBA heat pump through Home Assistant. As someone who loves tinkering with smart home tech, I’ve always been curious about getting deeper insights into my heating system. Here’s how I made it happen!

First, I connected my heat pump to my local router. Once that was done, I configured the Modbus/TCP settings in my configuration.yaml file. The process was straightforward, and I was able to pull in real-time data like temperature settings, accumulated heating energy, and even the heat pump’s current state. It’s amazing to see all that detailed information right in my Home Assistant dashboard!

Here’s a snippet of the configuration I used:
yaml
modbus:

  • name: Heatpump
    type: tcp
    host: 192.168.1.173
    port: 502
    sensors:
    • name: Heatpump_selectedSetTemp
      data_type: uint16
      slave: 1
      address: 2
      scale: 0.1
      precision: 1
      unit_of_measurement: °C
    • name: Heatpump_SetpointTemperature
      data_type: uint16
      slave: 1
      address: 3
      scale: 0.1
      precision: 1
      unit_of_measurement: °C
    • name: Heatpump_TotalAccumulatedHeatingEnergy
      data_type: uint16
      slave: 1
      address: 701
      scale: 1
      precision: 1
      unit_of_measurement: kWh

This setup has given me unprecedented control over my heating system. I can now monitor energy usage in real time and tweak settings without leaving my couch. It’s a small victory, but it’s made my home feel even smarter!

If anyone else is looking to dive into Modbus with their heat pump, I’d highly recommend starting with the basics of Modbus/TCP and gradually expanding your sensors. The learning curve is worth it for the insights you gain. Happy tinkering! :rocket: