Can't CLI fingerprint to work with a token #681
Replies: 9 comments 22 replies
-
I have this problem as well. No matter what I try, can't get it to work with the captcha.
This used to work, the only thing I changed was upgrade the python package to 0.17 and add the "--captcha-token $TOKEN" part to the command. |
Beta Was this translation helpful? Give feedback.
-
I have tried again on my system (rest_of_world as well) and succeeded. I did have much more issues using the CLI than creating a On the CLI, it probably depends on your Shell (bash, zsh, ...) how exactly you have to enter your data. E.g. I first tried with
|
Beta Was this translation helpful? Give feedback.
-
It's not clear to me how do you generate the captcha token on the first login, is someone able to explain it to me? Edit now i got it, read the other discussion here: Sorry for the message, might be worth to write a small bullet list for it like:
|
Beta Was this translation helpful? Give feedback.
-
I believe I was rate limited from my IP or account. Today everything is working fine. I believe you need the GCID and refresh_token to re-auth without Captcha. Do we know how long these values are valid? And how to get the new ones when they rotate? |
Beta Was this translation helpful? Give feedback.
-
So if I want to use the CLI after a few days, how do I send the refresh_token or access_token without manually changing the captcha ? |
Beta Was this translation helpful? Give feedback.
-
after about 24 hours I get an auth error and have to use a new captcha
…On Wed, Nov 27, 2024 at 3:25 PM Richard Kroegel ***@***.***> wrote:
You should be able to just run bimmerconnected status without the
--hcaptcha-token argument.
If the refresh token was not used somewhere else and is not too old, the
library will handle the rest for you.
—
Reply to this email directly, view it on GitHub
<#681 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AANTBKPLFJLGAC5MZSSEKD32CYTCHAVCNFSM6AAAAABSLSW2RWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCMZZHEYDIMI>
.
You are receiving this because you commented.Message ID:
<bimmerconnected/bimmer_connected/repo-discussions/681/comments/11399041@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
Well that's what I'm trying to avoid. I don't want to update my shortcut
every 6 or 12 hours.
…On Wed, Nov 27, 2024 at 5:01 PM Richard Kroegel ***@***.***> wrote:
This seems to be OK and should work. Just to double check: have you used
this refresh token somewhere else, e.g. in Home Assistant?
Could you try getting a new token and retry every 6 or 12 hours?
—
Reply to this email directly, view it on GitHub
<#681 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AANTBKKXM3AMG643XIR2KZD2CY6KTAVCNFSM6AAAAABSLSW2RWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCMZZHE3DINY>
.
You are receiving this because you commented.Message ID:
<bimmerconnected/bimmer_connected/repo-discussions/681/comments/11399647@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
Then if I don't use it for 2 day because I don't need it, do I need a new
captcha? My use case is that I use the CLI to send POI to my car from my
mac in shortcuts
…On Wed, Nov 27, 2024 at 5:13 PM Richard Kroegel ***@***.***> wrote:
It should work like this: you run once with the --hcaptcha-token and then
afterwards just without it.
The command should not change at all after the initial login.
—
Reply to this email directly, view it on GitHub
<#681 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AANTBKMYRC3CVU4OMPCVK3D2CY7XTAVCNFSM6AAAAABSLSW2RWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCMZZHE3TANQ>
.
You are receiving this because you commented.Message ID:
<bimmerconnected/bimmer_connected/repo-discussions/681/comments/11399706@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
#690 should hopefully help your login/captcha issues once released. Need to figure out our CI issues beforehand. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I can't get the CLI fingerprint to work with a token. This is how I call it:
bimmerconnected fingerprint --captcha-token my_generate_token email password rest_of_world
This is what I get:
MyBMWAuthError due to HTTPStatusError: invalid_client - Client authentication failed (e.g., login failure, unknown client, no client authentication included or unsupported authentication method)
MyBMWAuthError: HTTPStatusError: invalid_client - Client authentication failed (e.g., login failure, unknown client, no client authentication included or unsupported authentication method)
I am on version 0.17.0. Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions