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

Add support for ChargePoint chargers as a brand option #54

Open
CitizenRacer opened this issue May 15, 2023 · 12 comments
Open

Add support for ChargePoint chargers as a brand option #54

CitizenRacer opened this issue May 15, 2023 · 12 comments
Labels
brand-addition For adding a new charger brand (or other brand).

Comments

@CitizenRacer
Copy link

Is your feature request related to a problem? Please describe.
Please add support for ChargePoint chargers under the brand

Describe the solution you'd like
Configuring this card is onerous as it's unclear what entities go to which config points, it'd be great to have it support https://github.com/mbillow/ha-chargepoint for those of us with ChargePoint chargers

Describe alternatives you've considered
I've looked for example configurations for this particular charger brand and haven't found anything

@tmjo
Copy link
Owner

tmjo commented May 16, 2023

Hi and thanks for using the card. I'll be happy to add ChargePoint chargers as you suggest, but I need some help doing the ground work. Best option is if you take a look at for instance the Easee template file and propose a PR with necessary changes. I can try to help you out if it is not clear what to do. If you think this is too complex, I can help out, but then I need as minimum a full, working YAML code for the card with ChargePoint. With this, I can fairly easily make a template out of it and you could test it out.

PS! Only entities from the charger integration will be allowed in the template, not personal customizations (for instance some people add some other stuff in their card, which of course is perfectly fine, but for the template it must be something that fits all with the same charger).

@tmjo
Copy link
Owner

tmjo commented Jul 24, 2023

Hi!

I'd love to add support for this charger, but kindly read the wiki on how-to. Let me know if anything is unclear and I'll update it or try to explain.

Cheers!

@tmjo tmjo added the brand-addition For adding a new charger brand (or other brand). label Jul 24, 2023
@curtisbarnard
Copy link

I'm working on setting up my card now for my Chargepoint Home Flex. Once I have it done I can add a PR with the template.

@ThatTallGuy21
Copy link

I'm working on setting up my card now for my Chargepoint Home Flex. Once I have it done I can add a PR with the template.

@curtisbarnard - Were you able to get the ChargePoint Home Flex configured and a PR sent?

Anyone else? I could use some help.

@ThatTallGuy21
Copy link

ThatTallGuy21 commented Nov 4, 2024

@CitizenRacer @tmjo @curtisbarnard... I was able to follow the wiki and create my own ChargePoint charger card. Thanks OP for creating the charger card! It's super slick!

I'm happy with where my card ended up so wanted to share in case you or anyone else stumbles across this.. Mine requires the use of the charger card, the ChargePoint HACS integration, a custom ChargePoint Home Flex charger image I created, and a custom template to convert the session's charging time from seconds to an extended format.

End result:
image

Code:
https://pastebin.com/zaaKLWcM

Template:
https://pastebin.com/ihJkrSU2

@ThatTallGuy21
Copy link

ThatTallGuy21 commented Nov 4, 2024

ChargePoint Home Flex PNG image:
chargepoint_home_flex_3_1

@ThatTallGuy21
Copy link

Another few details to share... My CP charger is hardwired in at home and technically it can go up to 48amps (60 amp breaker). However, I have my charger currently configured to a lower amperage. If I select 32 A I get the below modal and I'm able to update the amperage I want to use via the dropdown. Outside of this, selection of all other fields display more information.

Note, if you go into the code YAML I posted above, you can change the list of amperages and that'll reflect in the dropdown within the modal.

image

@ThatTallGuy21
Copy link

End result, not charging/unplugged
image

@CitizenRacer
Copy link
Author

Oh man this is awesome, thank you! A couple of questions...

  1. Where do I put the image? That is, what's the full path to /local/?

  2. Where do I put the template code?

THANK YOU!!!

@CitizenRacer
Copy link
Author

CitizenRacer commented Nov 4, 2024

@ThatTallGuy21 I figured out the other issues I was having, here's the only one I have left. The current limits don't seem to be accepted. When I try to set the current limit the drop down shows every number from 1 to 50
Screenshot 2024-11-03 at 8 01 27 PM

Finally, when I try to set the amperage I get the error "Failed to perform the action select/select_options. Cannot set amperage if charger not plugged in!"

Here's my card:
https://pastebin.com/EpJKeCwF

@ThatTallGuy21
Copy link

ThatTallGuy21 commented Nov 4, 2024

The below section in your code is what needs updated. You'll need to understand how many amps your breaker is and multiply that by 20 to find the maximum amperage of your charger. Example: (60amps * 20) = 12 --- (60 - 12) = 48amp.. If your charger is NOT hardwired, like mine then I believe the max is 32amps. I'm guessing that because you're going above the maximum your charger can handle that is why it's incrementing the amps of the dropdown by one. You'll need to update the list below in your code.

Once you update the template or yaml in the card, restart HA and it should work. Something else to try would be to update the amperage maximum within the chargepoint app first, and then if 32amps is the max, remove 40 and 48 from the list below.

currentlimits:
- 0
- 6
- 10
- 16
- 20
- 25
- 32
- 40
- 48

@CitizenRacer
Copy link
Author

CitizenRacer commented Nov 4, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
brand-addition For adding a new charger brand (or other brand).
Projects
None yet
Development

No branches or pull requests

4 participants