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

Add support for Smart Lithium #3

Merged
merged 4 commits into from
Jun 12, 2024
Merged

Add support for Smart Lithium #3

merged 4 commits into from
Jun 12, 2024

Conversation

kroese
Copy link

@kroese kroese commented Apr 15, 2024

I tried to port keshavdv#47 to this fork. Please doublecheck if everything is correct, because I have no Python experience and did not test it.

Summary 📝

Add initial support for smart lithium batteries

Details

I've implemented the parsing based on the pdf and tested on a bunch of 160Ah batteries. @stefanor worked together with Victron to fix the byte order, and the data gathered with this code seems to match what the VictronConnect app says.

@gregsyoung
Copy link

did you get verification from others?
i have qty 3 smart lithiums - but im remote from boat for another week .. before i could test.

@gregsyoung
Copy link

did it finally get tested?
and if so, has it been merged into signalk-victron -ble ?

@j9brown
Copy link
Owner

j9brown commented Jun 12, 2024

It looks sensible enough. I noticed one N/A value from the docs isn't handled here. I don't own these devices so I can't test them myself. I'll merge the change and make a couple of tweaks and hope for the best.

@j9brown j9brown merged commit 44258d6 into j9brown:main Jun 12, 2024
@gregsyoung
Copy link

excellent.. i can test after the updates are merged into signalk-victron-ble plugin,
and will then report back.

thanks for all your efforts.. looking forward to signalk having access to “all” my battery details..

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

Successfully merging this pull request may close these issues.

3 participants