这是indexloc提供的服务,不要输入任何密码
Skip to content

Added Libbi charge limit support #670

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

Merged
merged 4 commits into from
Jul 16, 2025
Merged

Added Libbi charge limit support #670

merged 4 commits into from
Jul 16, 2025

Conversation

Computerwhz
Copy link
Contributor

Added Libbi charge limit support

Fixed, universal and tested version of #665

@Computerwhz Computerwhz marked this pull request as draft July 16, 2025 11:50
@Computerwhz Computerwhz marked this pull request as ready for review July 16, 2025 11:52
@G6EJD
Copy link
Collaborator

G6EJD commented Jul 16, 2025

Does 'device.battery_size' return a value in kWh? so 10 for a 10kWh battery?

@Computerwhz
Copy link
Contributor Author

Yes 'device.battery_size' does return a value in kWh

@G6EJD
Copy link
Collaborator

G6EJD commented Jul 16, 2025

I was checking if it was unitary values like 5 or 10 or 5000 or 10000

In your code you have kWhx10 so that result would be 50 or 100 if unitary values?

@Computerwhz
Copy link
Contributor Author

The input values are unitary battery_size is in kWh multiply by 1000 to convert kWh to Wh since set_charge_target() expects the target in Wh.

@G6EJD G6EJD merged commit 24bd016 into CJNE:main Jul 16, 2025
4 of 5 checks passed
@G6EJD
Copy link
Collaborator

G6EJD commented Jul 16, 2025

Commit Error:
You'll need to check the commit error log and correct the error detected.

@G6EJD
Copy link
Collaborator

G6EJD commented Jul 17, 2025

Github repaired the file, so all done now.

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