[APP] [Pro] Nibe Live -- Local Nibe control, split into the devices you actually automate

Hey all,

I’ve been toying with a pet project for a few weeks. It started off as a fork of @Jan_Sparud 's app, to add support for the cumulative energy consumption and official meter_power and measure_power capabilities, but then quickly spiraled into a rework so big it doesn’t really fit his app anymore.

So ergo sum, meet Nibe Live!
So what’s different you may wonder? In short, with Nibe Live:

  • A single physical pump is paired as several devices — one per function
    (heating, hot water, pool and cooling) — each with its own capabilities and its own energy meter.
  • Per-function consumption in homey energy where the pump’s total power draw is allocated to the right function device based on the pump’s current operating priority, so you can see, for example, how much energy goes to heating versus cooling over a year.
  • A main device that carries the shared sensors (outdoor temperature, operating priority and mode) and diagnostics.
  • A much larger set of dedicated flows for different functions (while still preserving Sparud’s advanced register manipulation)
  • A large set of supported devices by incorporating the community sourced registers from yozik04.

During pairing the app scans your network for pumps and highlights which functions have live data, but you can still add any of them.

To use this app you need:

  • A Nibe heat pump with Modbus TCP enabled (menu 7.5.9), on the same local network as your Homey.
  • The pump’s local IP address (in case autodetection fails for some reason).

If a flow action tries to write a value that is out of range the flow will fail with a descriptive error message.

Credits:

I’ve mostly built it for me – I’ve got an S1155 device myself so that’s what I’ve tested against but it should work for most of the S-Series. Having said that, happy to add support for F-series too if anyone is keen, it should mostly be adding a new driver and register definitions.

I’ve only publishes this in test so far, you can access it at: Nibe Live | Homey

Happy to receive comments & feedback!

Hiya,

I have installed it and it looks great! Are all the modbus registers available, though, and will they be upgraded when more are made available through firmware updates? I have been looking for the used and produced energy per hour registers and saw them in the csv but couldn’t find them in the app, only total energy.

I’ve got an S2125 with a VVMS320, by the way.

Hey!

Should be no problem to add them. Out of curiosity, what do you use them for?

My goal is to calculate COP values, which I did before in Home Assistant.

Got it. Makes sense. A bit curious on the actual calculations, can you pass that along? I might be able to give you COP directly as an insight actually?

I haven’t made them yet, but it comes down to produced energy/used energy. The Nibe provides these two values via Modbus for every hour for heating and hot water separately. The trick is to create the formulas to calculate the COP per day/week/month/year/all-time using these Modbus registers. With Home Assistant you can achieve this relatively simply and then show the values in Homey using the Community app, but it would be very interesting if I could do it in Homey.

Yeah, the challenge is those registers reset every hour I think, so I’d need to store the last value before it resets, but should be doable.

@Aziraphale Ive got a proposed solution but it’s a bit stuck in the Athom approval process at the moment.

Will revert back as soon as I have a plan.

@Aziraphale You can give it a go now. There’s consumption and production per device as well as a rolling 30 day COP value.

Wow, that’s absolutely brilliant! I’ll give it a try and get back to you with feedback!

Forgot to add you may need to delete and re-pair since there’s quite a lot of under the hood changes too :sweat_smile:

Hi @hyper!
This sounds like a very good initiative!
I have an F730 and would be very interested in not having to go through the Nibe MyUpLink cloud. It always feels safer to have control over things locally.
Today I use several Nibe apps in Homey to be able to read certain parameters and set certain parameters. However, all of them require access to the cloud.
So if you have the opportunity to add the F730 to your app, I am clearly interested in implementing and testing. Please, take your time - I’m not in a hurry.
Thnx!

EDIT: Sorry, I was too quick and eager. After reading further I realize that the F730 has no Modbus TCP. Only after installing the MODBUS 40 accessory - at a not entirely reasonable cost - and installing a general RS485 to Ethernet hardware. Then possibly there may be Modbus TCP…
So I get to keep the cloud and my current solution.