Tim's blah blah blah

Nibe Heatpump Home Automation - WIP

I have an F1255 Nibe heatpump in my home which I’d like to read out and possibly automate. In this blog post I document my approach.


  1. Show live performance of the heatpump (e.g. COP) during both heating and cooling
  2. Optimize consumption to either low electricity price (via epexspot) or low carbon intensity (via co2signal)
  3. Optimize electricity consumption / COP by tuning parameters

Setting up hardware

Hardware setup

There’s a few (hardware) options for reading out the heatpump. I chose a pre-built LilyGO T-CAN485 ESP board with esphome-nibe. Full options are:

  1. Raspberry Pi using nibepi OR using nibe and nibe-mqtt libraries
  2. ESP using esphome-nibe

Raspberri Pi with Modbus

Hardware (total: 52 EUR):

Arduino/ESP32 with Modbus (preferred)

Hardware (total: 17-36 EUR):

OR a combined board:

Install esphome-nibe on ESP which connects via modbus and sets up a UDP daemon for interfacing, read out via nibe_heatpump integration on Home Assistant.

Pre-built PRODINo

See here or here

Software setup

For the LilyGO T-CAN485 ESP board with esphome-nibe combination I chose, I combined the default esphome config template with the LilyGO example config of esphome-nibe.



Reading out diagnostics

Determining diagnostics

Once you have a hardware setup for modbus, you can read out certain ‘coils’ which are diagnostics parameters, see e.g. this list of parameters (F1155/F1255 specifics).

Automating / optimizing

By electricity price

Rationale: consume depending on electricity price

Use the built-in smart price adaptation

By PV production

Rationale: consume depending on local electricity production. This is close to the above, except less at night and more during the day.


  1. NIBE L/W warmtepomp optimalisatie
  2. Haal meer uit je NIBE warmtepomp met nibepi

#esp8266 #heating #home-improvement #Linux #server #smarthome #unix