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

Decoding of current is incorrect #1

Open
djmoonshine opened this issue Jun 18, 2024 · 0 comments
Open

Decoding of current is incorrect #1

djmoonshine opened this issue Jun 18, 2024 · 0 comments

Comments

@djmoonshine
Copy link

djmoonshine commented Jun 18, 2024

Hello,

I'm quite sure that also byte 3 (or is it refered as 4 in text?) should be part of the current similiar to the LEM CAB 300/600 current sensor.
With bitshift << 24 of byte 3 and then subtract 0x80000000.

Probably still need the subtract of 12 to compensate for some error in measurement or what it's related to.

Please correct me if i'm wrong, but I have done this in python when i'm using a BMW hybrid battery as energy storage.

Off topic: Thanks for all your efforts in the community.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant