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

no energy consumption data #28

Open
swonge opened this issue Jul 20, 2023 · 2 comments
Open

no energy consumption data #28

swonge opened this issue Jul 20, 2023 · 2 comments

Comments

@swonge
Copy link

swonge commented Jul 20, 2023

I’m new to HA and I am using ChargePoint Flex at home. I started to integrate with mbillwo/ha-chargepoint for a week. For some reason, no energy consumption data is capture. Now sure if I missing something in the setting. The ChargePoint app (iOS) does show the energy consumption data

screenCap

Thanks in advance

@Hexis858
Copy link

I experienced the same issue, no consumption data. It does indicate when I was plugged-in and charging.

I noticed that my chargepoint.com account connects to an endpoint specific for my region (Canada)
account-ca.chargepoint.com

This HA component is connecting to the general endpoint at
account.chargepoint.com

I hacked my local version, hard coded the endpoint, and I now see consumption data.
(Let me know if you need details)

To @mbillow
Could you add an option to choose the region during the Integrations setup step?
A quick search revealed these regions (there may be more):
account-ca.chargepoint.com
account-au.chargepoint.com
account-eu.chargepoint.com

Thank you Marc for building the HA integration.

@mbillow
Copy link
Owner

mbillow commented Sep 28, 2023

Weird, I distinctly remember building some kind of interface for their regional service discovery endpoint.

Can you drop some more details around what you changed to make it work (code examples would be great). Or, if you’ve feeling ambitious, I’m happy to review a PR. 😊

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

3 participants