-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Total energy usage sensor does not update #81
Comments
AFAIK the internal energy consumption counter updates only per x kwh of energy consumed, and also resets on power loss/counter wrap. If you use the AC a lot it should eventually start increasing, but very slow. It is not a really reliable/precise way of measuring. If you're really looking for a power measurement, you can use volts * current reported as a better rough real-time estimate, or use CT clamps/other energy monitoring solution. |
Thanks for clarifying! Ended up making my own sensors with volts (DSMR5 source) * current. Works perfectly. |
That's a good question. I'm guessing it is indeed because the energy consumption values are actually coming from the outside unit, not the inside unit (in terms of measurement), same as compressor frequency is the same for both. You could maybe come up with some creative way, e.g. do some math on the composite value. If one unit on, then consumption = for that unit alone. If both units on, consumption divided by 2 for both respectfully. It's still not precise, but at least gives some idea of where the consumption went to (the total is still somewhat precise). Obviously you can make this calculation as fancy as you want. E.g. also consider the mode it's in (fan mode uses less power than cool/heat), consider the internal unit's fan speed, etc. Another way to maybe find the X variable you are looking for here in terms of actual 'share' of their power usage, is the delta between the internal temperature sensor on the heat exchanger of the indoor unit vs the ambient temp. The more it differs, the more of a fraction of consumption is for that unit. |
Good options indeed! That's pretty advanced and not super accurate I guess... I'll leave it for now and maybe just make two sensors for both my outdoor units. (I have three indoor units with two outdoor units). Thanks for sharing your ideas! |
Can you make a pull request of this code, or share the code so we can include this? |
It all happens in Home Assistant itself. So no adjustments made on the ESPHome side. I made a template sensor for each inside unit:
Once these are created, I created some helpers. First a couple of Riemann Sum Integral sensors and after that some Utility Meter sensors to collect data over a period of time. I have automated these sensors to reset to 0 after a week or a month for example. Works pretty well! I'm no programmer or Github expert by any means. I cherry pick some bits and pieces and ask around for some best practices. Normally I just figure it out with some willpower and imagination 😃 |
Hi. is it possible for you to provide a template guide to do this? many thanks |
Does somebody know why the total energy used sensor does not update and stays 0.00 kWh?
Do I need to change the update interval or something?
The text was updated successfully, but these errors were encountered: