BenPru / luxtronik

Luxtronik integration for Home Assistant
MIT License
80 stars 30 forks source link

[2024-10-05-beta] sensor.luxtronik_*_current_power_consumption is "unknown" when HP is idle #282

Open Taijian opened 1 month ago

Taijian commented 1 month ago

Pretty much as per the title.

I successfully updated to 2024-10-05-beta and wanted to try out the new "current_power_consumption" sensor in order to calculate power consumption over arbitrary time periods, as my power meter does not allow me to get the readings directly from there. However, I noticed that when the heat pump is idle, the sensor reports it's status as "unknown" instead of "0", which would be more useful for calculation purposes.

Is there any way to make the sensor report "0", when idle, or would that screw up something else (honest question, I have no idea how any of this works).

Mehli12 commented 1 month ago

Hi, I don't use the sensor for the power consumption of the heat pump. For me it's just not correct enough. Currently the sensor of the heat pump shows 539 W and my power meter report 490 W.

But anyway. the sensor reports "0" if the heap pump is off. version 2024-10-5 beta So maybe we can close this topic?

s-kurz commented 1 month ago

@Taijian For me I get a "0" if the heat pump is idle. In you case I'd create your own separate sensor that shadows this one but defaults to 0. Or maybe it's a result of a different heat pump firmware version and you can solve it by an update.

@Mehli12 Yes I noticed that as well. It's obvious that they dont measure everything because even in idle mode the whole system should consume some power. Even if a pump is running in idle mode the power remains at '0'. I think they are just counting the power used for actual heating and not the whole system. If you integrate the values and split them by mode (heating, warm water,..) you get the same values as shown by the energy inputs like 'luxtronik__dhw_energy_input'

I still use this because I have to manually read out my power meter and the energy sensors are updating with a delay of a few hours, which messes up the daily graph