elupus / hass_nibe

Home Assistant Nibe Uplink Integration
184 stars 54 forks source link

Add energy consumption entities #142

Closed wilfredktlr closed 2 years ago

wilfredktlr commented 2 years ago

Fixes #103.

bstenborg commented 2 years ago

Great change! Started measuring total power consumption and solar production recently so this is a great addition. However, no entities are showing up in HA - is there anything special that needs to be done? I was expecting e.g. "heating, int. add. incl.". If it's any indication, I cannot see any energy consumption numbers on the Nibe Uplink Serviceinfo page either.

elupus commented 2 years ago

Great change! Started measuring total power consumption and solar production recently so this is a great addition. However, no entities are showing up in HA - is there anything special that needs to be done? I was expecting e.g. "heating, int. add. incl.". If it's any indication, I cannot see any energy consumption numbers on the Nibe Uplink Serviceinfo page either.

Do you actually have an external energy meter cpnnected to your pump?

bstenborg commented 2 years ago

Oh, I thought it had internal measurement. No, but it was delivered with three power clamps that the installer said were superfluous. I guess I can just clamp them on the supply cable leads. Will look through the installation guide.

bstenborg commented 2 years ago

Hm, the way I read it the supplied power measurement clamps are to be installed on the incoming power supply to the house, so that the pump can choose to draw power from the most lightly loaded phase. This of course cannot be used for measuring the power consumption of the heat pump itself. I find no other mention of power measurement in the installation guide.

elupus commented 2 years ago

Yup, the clamps are for load controls. You need a fully separate meter with pulse output, that can then be connected to the pump. It support pulse input on one of its aux inputs. Yes its somewhat silly. This is even mandated to be installed in some countries.

bstenborg commented 2 years ago

The installation manual for my F1255 doesn't list power measurement as one of the possible uses of the AUX inputs, neither is there such an accessory listed on their home page for this model. Maybe only compatible with other models. Which one are you using? A shame. I could just as well get an external Z-Wave tree phase power monitor (though those aren't exactly cheap), but I really liked the idea of being able to separate energy use for heating, water and pool, which I guess may be possible but would be way harder to accomplish with a completely separate monitor.

atoikka commented 2 years ago

@bstenborg look up terminals AA3-X22/23 in your manual, these are for external pulses from energy meters.

My own setup actually uses the clamps for measuring the current of only the pump supply and it does not have side effects. This gives a decent indication of what the F1255 pump is doing, but I have not created an accumulating kWh entity, because it would be inaccurate due to low refresh rate (compared to the multiple-times-per-second of Shelly 3EM) and I would not know the exact power factor. image

For accurate monitoring, another option is the Modbus card, but that's well priced compared to Shelly 3EM, for example. If I'm not mistaken, some pumps like S1255 have local modbus support built in, that would allow live data reading.

bstenborg commented 2 years ago

Thanks for your response atoikka! But I'm even more confused now. 😂

The installation manual for the F1255 that I downloaded from Nibe doesn't mention AA3-X22/23 at all. It says that the bundled power clamps should be connected to AA3-X4, but again, connecting them to the house incoming power supply only helps with load balancing, not measuring the pump consumption.

I can't find anything in the manual about measuring the pump consumption, nor connecting anything for this purpose. No such accessory or AUX input is mentioned.

I can of course just add external measurement, but I was really looking for a way to differentiate between power spent on heating, warm water and pool (yes, I'm using the pool accessory). So I either need to get the consumption numbers out from the pump, or conceivably get the current operating mode out continuously and do the splitting in home assistent, but I'm afraid this will be error prone.