removed updated method which caused build failure
MODIFY
src/server/ocpi/ocpi-services-impl/ocpi-2.1.1/OCPISessionsService.ts
src/server/ocpi/ocpi-services-impl/ocpi-2.1.1/OCPISessionsService.ts
@@ -257,7 +257,7 @@ export default class OCPISessionsService {
endedAt: new Date(session.last_updated),
consumption: transaction.currentConsumptionWh,
instantPower: Math.round(transaction.currentConsumption),
- instantAmps: Utils.convertWattToAmp(1, transaction.currentConsumption),
+ instantAmps: transaction.currentConsumption / 230, // Utils convert method was updated. Needs to be handled by Serge.
cumulatedConsumption: transaction.currentTotalConsumption,
totalInactivitySecs: transaction.currentTotalInactivitySecs,
totalDurationSecs: transaction.stop ?

MODIFY
src/server/ocpp/services/OCPPService.ts
src/server/ocpp/services/OCPPService.ts
@@ -1168,7 +1168,7 @@ export default class OCPPService {
} else {
consumption.consumption = transaction.currentConsumptionWh;
consumption.instantPower = Math.round(transaction.currentConsumption);
- consumption.instantAmps = Utils.convertWattToAmp(1, transaction.currentConsumption);
+ consumption.instantAmps = transaction.currentConsumption / 230; // Utils convert method was updated. Needs to be handled by Serge.
consumption.cumulatedConsumption = transaction.currentTotalConsumption;
consumption.totalInactivitySecs = transaction.currentTotalInactivitySecs;
consumption.totalDurationSecs = !transaction.stop ?

removed updated method which caused build failure