Set min amps for chraging profiles to 0
MODIFY
src/utils/Utils.ts
src/utils/Utils.ts
@@ -1285,12 +1285,12 @@ export default class Utils {
chargingStation, chargePoint, filteredRequest.connectorID);
for (const chargingSchedulePeriod of filteredRequest.profile.chargingSchedule.chargingSchedulePeriod) {
// Check Min
- if (chargingSchedulePeriod.limit < (StaticLimitAmps.MIN_LIMIT_PER_PHASE * numberOfPhases * numberOfConnectors)) {
+ if (chargingSchedulePeriod.limit < 0) {
throw new AppError({
source: Constants.CENTRAL_SERVER,
action: ServerAction.CHARGING_PROFILE_UPDATE,
errorCode: HTTPError.GENERAL_ERROR,
- message: `Charging Schedule is below the min limitation (${(StaticLimitAmps.MIN_LIMIT_PER_PHASE * numberOfPhases * numberOfConnectors)}A)`,
+ message: 'Charging Schedule is below the min limitation (0A)',
module: MODULE_NAME, method: 'checkIfChargingProfileIsValid',
user: req.user.id,
detailedMessages: { chargingSchedulePeriod }

Set min amps for chraging profiles to 0