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

dws has wrong scaling #8

Closed
En3rGy opened this issue Sep 3, 2023 · 1 comment
Closed

dws has wrong scaling #8

En3rGy opened this issue Sep 3, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@En3rGy
Copy link
Owner

En3rGy commented Sep 3, 2023

Reported in https://knx-user-forum.de/forum/öffentlicher-bereich/knx-eib-forum/1582969-neuer-baustein-14105_go-echarger?p=1891532#post1891532

Scaling of value is done by 1/10 what might be wrong

@En3rGy En3rGy added the bug Something isn't working label Sep 3, 2023
@En3rGy En3rGy self-assigned this Sep 3, 2023
@En3rGy
Copy link
Owner Author

En3rGy commented Sep 3, 2023

Following: https://github.com/goecharger/go-eCharger-API-v1/blob/master/go-eCharger%20API%20v1%20DE.md

Geladene Energiemenge in Deka-Watt-Sekunden
Beispiel: 100'000 bedeutet, 1'000'000 Ws (= 277Wh = 0.277kWh)
wurden in diesem Ladevorgang geladen.

Therefore, the scale shall be 1 * 10 / 1000 = 1 / 100

En3rGy added a commit that referenced this issue Sep 3, 2023
- added corresponding docu and unit test
@En3rGy En3rGy closed this as completed Sep 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant