Skip to content
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

Average charging power calculation #567

Open
jumpjack opened this issue Mar 21, 2022 · 0 comments
Open

Average charging power calculation #567

jumpjack opened this issue Mar 21, 2022 · 0 comments

Comments

@jumpjack
Copy link

My Zoe50 does not return charging power data, but maybe the average power could be added to the output, given that duration and charged kWh are returned by /charge-history:

/charge-history

        {
            "day": "20220317",
            "totalChargesNumber": 1,
            "totalChargesEnergyRecovered": 5.4,
            "totalChargesDuration": 241
        },

/charges:

        {
            "chargeStartDate": "2022-03-17T01:01:10Z",
            "chargeEndDate": "2022-03-17T05:02:01Z",
            "chargeDuration": 14451,
            "chargeEndBatteryLevel": 74,
            "chargeEndStatus": "error"
        },

Beware of different unit of measure in /charge-history (minutes) and /charge (seconds).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant