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

110 instead of 122 bytes? #1

Open
reviscan opened this issue Dec 30, 2022 · 0 comments
Open

110 instead of 122 bytes? #1

reviscan opened this issue Dec 30, 2022 · 0 comments

Comments

@reviscan
Copy link

Hi
I have a 6 x US2000B batterie pack.
Compile of the code worked.
Also my 6 batteries are detected.

here is the output ( do you need a other verbose level?)
./pylontech -d /dev/ttyUSB0 -b 115200 --verbose 4
6 devices found in group 0

                                                ---------pack--------- -cell voltage- -temperature-

manufacturer model serial charge voltage current min max min max

1 Pylon---------------US2KBPL PPTBH02209612520 GetAnalogValue: expected to receive 122 bytes of data but got only 110 bytes
sendCommandAndReceive: Closing and reopening /dev/ttyUSB0 due to communication errors
GetAnalogValue: expected to receive 122 bytes of data but got only 110 bytes
sendCommandAndReceive: Closing and reopening /dev/ttyUSB0 due to communication errors
2 Pylon---------------US2KBPL PPTBH02209612374 GetAnalogValue: expected to receive 122 bytes of data but got only 110 bytes
sendCommandAndReceive: Closing and reopening /dev/ttyUSB0 due to communication errors
GetAnalogValue: expected to receive 122 bytes of data but got only 110 bytes
sendCommandAndReceive: Closing and reopening /dev/ttyUSB0 due to communication errors
3 Pylon---------------US2KBPL PPTBH02209612365 GetAnalogValue: expected to receive 122 bytes of data but got only 110 bytes
sendCommandAndReceive: Closing and reopening /dev/ttyUSB0 due to communication errors
GetAnalogValue: expected to receive 122 bytes of data but got only 110 bytes
sendCommandAndReceive: Closing and reopening /dev/ttyUSB0 due to communication errors
4 Pylon---------------US2KBPL PPTBH02209612548 GetAnalogValue: expected to receive 122 bytes of data but got only 110 bytes
sendCommandAndReceive: Closing and reopening /dev/ttyUSB0 due to communication errors
GetAnalogValue: expected to receive 122 bytes of data but got only 110 bytes
sendCommandAndReceive: Closing and reopening /dev/ttyUSB0 due to communication errors
5 Pylon---------------US2KBPL PPTBH02209612363 GetAnalogValue: expected to receive 122 bytes of data but got only 110 bytes
sendCommandAndReceive: Closing and reopening /dev/ttyUSB0 due to communication errors
GetAnalogValue: expected to receive 122 bytes of data but got only 110 bytes
sendCommandAndReceive: Closing and reopening /dev/ttyUSB0 due to communication errors
6 Pylon---------------US2KBPL PPTBH02209612369 GetAnalogValue: expected to receive 122 bytes of data but got only 110 bytes
sendCommandAndReceive: Closing and reopening /dev/ttyUSB0 due to communication errors
GetAnalogValue: expected to receive 122 bytes of data but got only 110 bytes
sendCommandAndReceive: Closing and reopening /dev/ttyUSB0 due to communication errors

total capacity 0 AH (~ 0.00 kWh, 0.00 KWh per module)
emaining capacity 0 AH (
0.00 kWh, 0.00 KWh per module)
total current 0.00 A (
0.00 kW)

any idear?

Many Thanx!

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