Skip to content
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

Negative energy consumption values HA #159

Open
kolmyren opened this issue Jan 31, 2025 · 16 comments
Open

Negative energy consumption values HA #159

kolmyren opened this issue Jan 31, 2025 · 16 comments
Labels
duplicate This issue or pull request already exists

Comments

@kolmyren
Copy link

Even after adjustment of values .
Negative Zaptec box energy values

Rgds Erling

Image

@sveinse
Copy link
Collaborator

sveinse commented Jan 31, 2025

It's a known issue and is fixes in #145 . Not released yet, but it's fixed in master. If you need this now, I recommend you to run the master version.

@sveinse
Copy link
Collaborator

sveinse commented Jan 31, 2025

Just released https://github.com/custom-components/zaptec/releases/tag/v0.7.3 which includes the fix for this. Happy days.

@sveinse
Copy link
Collaborator

sveinse commented Feb 1, 2025

If the latest version fixes, the issue, please confirm and I'll close this issue. Thanks.

@sveinse sveinse added the duplicate This issue or pull request already exists label Feb 1, 2025
@kolmyren
Copy link
Author

kolmyren commented Feb 2, 2025 via email

@sveinse
Copy link
Collaborator

sveinse commented Feb 2, 2025

@kolmyren your last post is missing the attachments.

Which entity are you using in the energy setup in HA? What entity is "Färdig Laddning"? You should be using the one named "... Energy Meter" or ""Förbrukad energi" på svenska.

@kolmyren
Copy link
Author

kolmyren commented Feb 2, 2025

Image

Image

Image

Image

@kolmyren
Copy link
Author

kolmyren commented Feb 2, 2025

Sorry Here coms attachments .. I will Rename the things you mentioned .
Not renaming the sensor .. just what's shown on energy page.
Beside you could name to anything .. is this not the case as long as not renaming the sensor ?

Rgds Erling

@sveinse
Copy link
Collaborator

sveinse commented Feb 2, 2025

Yes, you can set a display name as you want. The important part is that it uses the right entity

Image

@kolmyren
Copy link
Author

kolmyren commented Feb 2, 2025

Image

Image

Image

Image

Image

@kolmyren
Copy link
Author

kolmyren commented Feb 2, 2025

I do not think the renaming changed outcome

@sveinse
Copy link
Collaborator

sveinse commented Feb 2, 2025

I don't think you can have "Laddbox laddad denne sessionen", "Laddbox Förbrukad energi" and "Laddbox Energi denne laddingen" in the same energy setup. I'm no expert in how HA has made this, but think of it as the sum of each item in the "Enskilda enheter" adds up to the sum energy consumption. By having the same information from Laddbox three times in various forms won't have the outcome you expect I think. I think the only one present should be the "Laddbox Förbrukad energi".

@kolmyren
Copy link
Author

kolmyren commented Feb 2, 2025

Ok.. I'm with you.. i have tried all combinations .. singel and with two sensors . and three sensors ..
No setup is working for sensible readouts .. its not possible to make readouts like in zaptec App..
E /

@kolmyren
Copy link
Author

kolmyren commented Feb 2, 2025

Ok i have erased all except the one you recommended

@kolmyren
Copy link
Author

kolmyren commented Feb 2, 2025

This is outcome for this

Image

Image

@sveinse
Copy link
Collaborator

sveinse commented Feb 2, 2025

Ok.. I'm with you.. i have tried all combinations .. singel and with two sensors . and three sensors .. No setup is working for sensible readouts .. its not possible to make readouts like in zaptec App.. E /

I'm not sure what kind of graphs you want. The energy view in HA is implemented the way HA-team wants it to be. This is not something this Zaptec integration is able to fix. The integration provides data points / entities from charging and makes them available for HA and the user. There are other ways to produce graphs in HA, e.g. via. apex charts. However, this is beyond the scope of this thread.

@sveinse
Copy link
Collaborator

sveinse commented Feb 2, 2025

PS! If there are anyone that have any useful graphing setups that e.g. make a charge graph similar to the one in Zaptec portal, I'm happy to accept pull requests to update the documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants