-
Notifications
You must be signed in to change notification settings - Fork 7
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 KM on the card #6
Comments
Not sure I follow, what are you looking to have surfaced? |
I believe what the OP means is that in Canada, distance is measured in kilometers. On my card, miles added is always 0 despite the card showing Charging, cost is always zero too. |
Yah, they recently released a user setting for preferred unit, so it will likely take a bit of refactoring to handle that. Doing so, though, should address this as well. |
ohh good news, thank you |
@davcho80 @taylornoonan Would either of you be willing to setup The good news is that Home Assistant has some really solid unit conversion helpers built in and that once I know which fields to read, this should be pretty seamless from the HA perspective. |
Hi Marc, I'm not sure how to go about this. I don't have Python on my PC, so if you could give detailed instructions!
Michael
…---- On Sun, 14 Aug 2022 12:48:47 -0700 Marc Billow ***@***.***> wrote ---
https://github.com/davcho80 https://github.com/taylornoonan Would either of you be willing to setup mitmproxy and capture the API response from the Canadian API instance? I think I over estimated just how useful the unit work that ChargePoint did in their apps was going to be. The API calls and responses in the US looks the same as always... I just need to know what this call returns outside of the US: https://github.com/mbillow/python-chargepoint/blob/main/python_chargepoint/session.py#L165-L168
The good news is that Home Assistant has some really solid unit conversion helpers built in and that once I know which fields to read, this should be pretty seamless from the HA perspective.
—
Reply to this email directly, #6 (comment), or https://github.com/notifications/unsubscribe-auth/AQBWFEXLJAMFQ46DDCHA2WDVZFER7ANCNFSM5XF22Z4Q.
You are receiving this because you were mentioned.
|
Well, thank you for considering the request, and I appreciate whatever you are able to do.
Michael
From: Marc Billow ***@***.***>
Sent: July 19, 2022 7:04 PM
To: mbillow/ha-chargepoint ***@***.***>
Cc: taylornoonan ***@***.***>; Comment ***@***.***>
Subject: Re: [mbillow/ha-chargepoint] Add KM on the card (Issue #6)
Yah, they recently released a user setting for preferred unit, so it will likely take a bit of refactoring to handle that. Doing so, though, should address this as well.
—
Reply to this email directly, view it on GitHub <#6 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AQBWFERGKTKWTXSSE4IH76LVU5NBVANCNFSM5XF22Z4Q> .
You are receiving this because you commented. <https://github.com/notifications/beacon/AQBWFETTK4ACW7HRYK2W4GTVU5NBVA5CNFSM5XF22Z42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOI3U3QCQ.gif> Message ID: ***@***.*** ***@***.***> >
|
@mbillow are you still waiting on an API dump? It looks like changing to |
Hello Fiaz:
In case this helps, my distance setting has always been in km.
Regards
Michael
…________________________________
From: Faiz Visram ***@***.***>
Sent: Tuesday, April 2, 2024 7:34 AM
To: mbillow/ha-chargepoint ***@***.***>
Cc: taylornoonan ***@***.***>; Mention ***@***.***>
Subject: Re: [mbillow/ha-chargepoint] Add KM on the card (Issue #6)
@mbillow<https://github.com/mbillow> are you still waiting on an API dump? It looks like changing to km is an account setting, not a geographic limitation. Would you be able to change your account to km in Account > Profile > Distance Unit? Otherwise I can try to help myself.
—
Reply to this email directly, view it on GitHub<#6 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AQBWFETAHTNPL5ZDFH3M2LDY3K6WRAVCNFSM5XF22Z42U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBTGIZDCMBTHA3A>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
is it possible to have KM in the card?
The text was updated successfully, but these errors were encountered: