Discussions

Ask a Question
Back to All

Feature request: Implement charge point charge overview

Today if want to the get the total kwh a charge point i have to loop through all individual charges via https://public-api.monta.com/api/v1/charges endpoint

What i propose is a similar endpoint as https://portal-v2.monta.app/api/v1/charge-points/2570470/charges/overview which exposes the same data ex.
{ "chargePointId": 2570470, "successfulChargesPercentage": 100.0, "totalChargesAmount": 150, "totalConsumptionKwh": 2932.88 }

My use case for the data is that i want to pull the data into home assitant to see monthly/yearly/daily kwh usage via https://www.home-assistant.io/integrations/utility_meter/