-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Tian power BMS is reading amperage incorrectly #79
Comments
Ah here's the issue. The bytes are FD 4D. The code is interpreting them as unsigned short, which is 64845. However, the TianPower BMS docs show this is a signed short, so it should be -691 (or -6.91A). This makes sense, because the cells are producing power so the current would be negative. |
Hi @aren, |
See #71 |
Thanks, I found that in my specs collection but wasn't sure which manufacturer that belongs to 😉 |
I changed it according to the spec. Could you do a Clean install and check what the Tian BMS binding comes up with? |
It's way off now.
|
oh 😮 - let me change it back and try the s_int_16 |
@aren please try now with a Clean install |
According to my inverter, my two batteries are producing ~650W of power right now. At 52 volts, that's 12.5 amps, or 6.25 amps each.
But the logs are showing 648 Amps per battery. That can't be right.
The text was updated successfully, but these errors were encountered: