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 Battery Protect #2

Merged
merged 6 commits into from
Jun 12, 2024
Merged

Add support for Smart Battery Protect #2

merged 6 commits into from
Jun 12, 2024

Conversation

kroese
Copy link

@kroese kroese commented Apr 15, 2024

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

Summary 📝

This adds support for the Smart Battery Protect; implemented using the Victron extra manufacturer data PDF and tested locally. Added tests and confirmed the linters passed.

Details - I had originally implemented Smart Lithium as part of this branch, but I see there is already a pull request for that, so I limited this just to Smart Battery Protect.

@j9brown
Copy link
Owner

j9brown commented Jun 12, 2024

This change is missing checks for N/A values described in the Victron documentation. I will merge it then add those checks. Unfortunately I don't own one of these devices to test it myself.

@j9brown j9brown merged commit 5e58914 into j9brown:main Jun 12, 2024
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.

2 participants