-
Notifications
You must be signed in to change notification settings - Fork 133
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
Function to define the current limit of a EVSE #300
Comments
In the standard Smart Charging scenario, the OCPP server sends charging limits to the EVSE which MicroOcpp forwards to your application via the The EVSE can report back the actual charging limit (resulting from local load balancing restrictions, cable capacity, ect.) over MeterValues with the Measurand Line 137 in c0732dc
For example: float my_charging_limit() {
return 16.f; // TODO replace with the actual charging limit of the EVSE
}
// register callback (somewhere in the setup function):
ocpp_addMeterValueInputFloat(my_charging_limit, "Current.Offered", "A", NULL, NULL); |
I understood this callback, but what i am trying to do is set the maximum current that the evse can supply the vehicle with. In the Schneider evlink park EVSE, this setting can be changed through ocpp, as shown in page 32 of the evlink comissioning guide:
https://www.sentronic.com/data/product_datasheets/Handbuch_EVlink_Parking-DE.pdf
|
I see. It's possible to register custom Configurations as described here: #248 (comment) The approach works the same for accessing built-in Configs as for declaring new, custom Configs. Having a Config for the maximum current, you can read its value in the firmware integration and make sure that your charger never exceeds that level manually. |
thanks, i will try and post the results here. |
I tried to connect a esp to a EVSE but apparently i had it wrong, this library should connect to a ocpp server as the EVSE does, not the other way. There are any functions in this library to implement a ocpp server on the esp32? |
No, it's not supported at the moment. I did build a proof of concept for this once, but didn't go any further that direction. |
thanks for the support!
|
Is there any function in the C API of this library that allows to change the current limit of the EVSE? I understood that "ocpp_setSmartChargingCurrentOutput" uses a function to tell when the limit has changed by the car, but what about the limit of the EVSE itself?
The text was updated successfully, but these errors were encountered: