-
Notifications
You must be signed in to change notification settings - Fork 90
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
Solar mode power regulation #67
Comments
Well your expectations are wrong: solar_max_import is exactly that. I recommend setting solar_max_import to 0A, the solar timer to 60 minutes, and startcurrent at your preferres value, and you will see the behaviour you want! |
Sorry, but the documentation says :
So, it's a maximum not a target value and it's supposed to only trigger stop timer, not to regulate at that value. |
@TFleury I also prefer your version of this option, and i added a compile flag to the Smartevse V2 version some years ago |
Yes, there should be two options.
I also added a compile flag to change the solar import to a per phase value on the V2 version |
Interesting; but you seem to prefer ImportCurrent = 0 (looking at #ifdef SPECIAL), so then #ifdef ALWAYS is not making any difference anymore ?! |
@bobosch thank you for your feedback. |
This was existing code, I don't touched it ... |
Maybe It's enough to change the behavior of the START option {"START", "Surplus energy start Current (per charging phase)", 0, 16, START_CURRENT} I have only V2 to test - I will implement it there first. When it works I will need some help to check it on V3 |
Good idea, it's simple and don't requires new setting. |
I tried to merge these commits into V3: |
I think the negative value handling is a bit tricky and it will introduce breaking changes with settings storage and web API. |
Describe the bug
When using solar mode with
solar_max_import
parameter greater than 0, the EVSE tries to reachsolar_max_import
value instead of 0.For example, if you set "current_min": 6, "solar_start_current": 2 and "solar_max_import": 5
When mains meter drops below -2A charging starts, then it regulates charging power to keep mains meter around +5A.
Expected behavior
Charging current should stay at
current_min
(6A in my exemple) as long as mains meter don't drop under 0A.The text was updated successfully, but these errors were encountered: