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

[Feature Request]: maximum charge soc #941

Closed
2 tasks done
Criaga opened this issue Feb 10, 2025 · 2 comments
Closed
2 tasks done

[Feature Request]: maximum charge soc #941

Criaga opened this issue Feb 10, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@Criaga
Copy link

Criaga commented Feb 10, 2025

Describe your feature request

Good morning. I noticed that with the latest Luna s0 battery updates, the maximum battery charge limit has been limited between 90 and 100. Before, you could choose the value at will. Is it possible to manage the limit independently? I have some automations that require the value to be less than 90. Thanks

Image

Proper usage

  • I confirm that this is not a bug report or support request
  • I confirm that this feature request is within the stated scope of the integration
@Criaga Criaga added the enhancement New feature or request label Feb 10, 2025
@wlcrs
Copy link
Owner

wlcrs commented Feb 10, 2025

I'm confused by your claim that this was possible earlier, as this lower bound is in the code since July 2022. The underlying cause is a limitation of the Huawei battery, not of the integration. It is described as such in the Huawei documentation.

In the past I already lowered the minimum value to 75% after a similar request (#493), only to get a report that that the Luna battery rejected the value submitted, so I reverted that change. cfr. c6838ed .

Feel free to change that line of code to lower the limit yourself and report back if it was accepted by your installation. Please include pymodbus logs if that is the case so that I can verify.

@Criaga
Copy link
Author

Criaga commented Feb 10, 2025

@wlcrs

Three weeks ago, I created an automation that took the current battery charge as a reference and set it as the Soc charge limit. I needed it to be able to search for the car without waiting for the batteries to be at 100%. I tested the activation boolean several times and it worked… if the battery was at 30% it set the max Soc value to 30%. Now obviously it doesn't work anymore 🤣🤣🤣

I don't have any skills to be able to modify the code 😰

@wlcrs wlcrs closed this as completed Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants