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

SMA CAN H: Fix charge allowed message #183

Merged
merged 1 commit into from
Feb 16, 2024
Merged

Conversation

dalathegreat
Copy link
Owner

What

This PR fixes a bug that caused SMA Sunnyboy Storage inverters to never use the battery

Why

The bit in the 4D8 message was not set

How

Setting the bit to 3 allows discharge/charge. Setting it to 2 stops charging. We now set this bit depending on bms_status!

@dalathegreat dalathegreat merged commit fe124fc into main Feb 16, 2024
36 checks passed
@dalathegreat dalathegreat deleted the bugfix/SMA-H-CAN branch February 16, 2024 18:53
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.

1 participant