-
Notifications
You must be signed in to change notification settings - Fork 7
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
Energy dashboard help #100
Comments
@asemev However: The proper usage of the Solarbank values in the energy dashboard is discussed in detail here in discussion #16 |
Changed with 2.0.1 |
Thank you very much for your guidance Thomas!
…On Tue, Jul 30, 2024 at 6:45 PM Thomas Luther ***@***.***> wrote:
@asemev <https://github.com/asemev>
Those energy sensors are daily totals and reset frequently, but there is
no guarantee that the cloud also responds erroneous values from time to
time or completely offset peeks.
Looking at the documentation it seems you are right to change their state
class to total_increasing so they sum up adequately in energy dashboard...
https://developers.home-assistant.io/blog/2021/09/20/state_class_total/
I will change that with the next release
*However:*
The integration entities do *NOT* have the goal to be used directly in
the energy dashboard. And I would never recommend to use direct integration
or devices entities in the dashboard for the simple reason that you loose
their (long term) history if you have to replace those entities for any
reason (breaking changes, integration change, device change etc).
Furthermore those energy data from the cloud could be wrong, have peek
offset etc and will screw up your energy statistics completely by
incorrectly interpreted meter cycle resets!
The proper usage of the Solarbank values in the energy dashboard is
discussed in detail here in discussion #16
<#16>
Please have a look there on how to integrate it properly with helpers and
template entities.
The safer way is to use integral helpers for your power values to get
total increasing energy entities (which never reset) for use in the energy
dashboard.
—
Reply to this email directly, view it on GitHub
<#100 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHL7H2DLV4T4J7VWSU2GEV3ZO67LXAVCNFSM6AAAAABLWHJKRGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJYG44DCNBXGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
May i ask a big favor? I want to follow your instructions but i dont know how. So when you say "I recommend to use only template or helper entities from real devices or integration entities in the energy dashboard", how can i do this (using a template or helper)? Could you please give an example? Many thanks again. |
This is my recommended approach. |
System Health details
System Information
Home Assistant Community Store
Home Assistant Cloud
Home Assistant Supervisor
Dashboards
Miele
Recorder
Spotify
Checklist
Describe the issue
Hi,
Firstly, apologies for using the bug report for requesting help. i could not find a dedicated option to request help.
I'm struggling setting up the Home Assistant Energy dashbaord using the Anker Solix Solarbank 2 Pro system to view the energy data correctly.
This is what i see. For some reason there is a huge spike from 00:00 to 01:00 hours.
These are the entities i used to setup the energy dashboard:
What am i doing wrong?
update: I asked in the HA forum in discord and they told me that the 4 entities state class is total and should be total_increasing. Here is what they wrote:
"karwosts — Today at 14:19
Ok those energy sensors seem like they should be state_class: total_increasing and not total
as they are, when they reset to 0 every night, that's interpreted as a big negative change instead of an accumulation reset."
So could you update these 4 entities's state class?
Thank you!
Reproduction steps
...
Debug logs
Diagnostics dump
No response
The text was updated successfully, but these errors were encountered: