hass_nibe
hass_nibe copied to clipboard
Power consumption sensors not configured properly to be added to energy dashboard
I have a Nibe F750 and it has two sensors:
- sensor.nibe_XXXXX_43144 - compressor time factor
- sensor.nibe_XXXXX_43305 - compressor time factor hot water
Both of these report in kwh:
state_class: measurement
designation: ''
parameter_id: 43144
display_value: 4954.7kWh
raw_value: 495468
display_unit: kWh
unit_of_measurement: kWh
device_class: energy
friendly_name: compressor time factor
and
state_class: measurement
designation: ''
parameter_id: 43305
display_value: 769.3kWh
raw_value: 76928
display_unit: kWh
unit_of_measurement: kWh
device_class: energy
friendly_name: compressor time factor hot water
When I try to add these to the engergy dashboard it says:
The following entities have state class 'measurement' but 'last_reset' is missing:
I understand this could be fixed by just setting the state_class
to total_increasing
(reference)
By browsing the code, one suggestion is to set the state_class
to total_increasing
when the unit_of_measurement
is kWh.
/Marcus
But how do I change the state class? Cant just change it in Developer Tools / States ?
Testing the accuracy of "43144" and "43305" when it comes to energy comsumtion.
«Nibe F750» are data from ELKO SmartTag 3P 230V (zigbee2mqtt) mounted on fuse (to compare measurement):
- https://elkosmart.elko.no/produkter/smarttag-3p
“Nibe Varme_gml” are data from:
- “sensor.nibe_xxxxxx_43144” [compressor time factor] (utility meter)
- “sensor.nibe_ xxxxxx _47212” [set max electrical add.] (Max kW heating element)
“Nibe VV_gml” Hot water) are data from:
- «sensor.nibe_xxxxxx_43305» [compressor time factor hot water] (utility meter)
- “sensor.nibe_xxxxxx_43084” [electrical addition power] (kW heating element measurement “realtime”)
Data from the Nibe F750 heatpump for both heating and hot water are a little “delayed”, compared to real time from the “ELKO Tag”. But it seems like the energy consumption measurement are accurate. By using the sensors: “sensor.nibe_xxxxxx_43144” and sensor.nibe_xxxxxx_43305»
Have only tested for 16hours ish.
Edit: Can confirm that measurement is good 👍