xraver / mercedes_me_api

Script to use Mercedes Me APIs.
MIT License
58 stars 14 forks source link

Token File missing - Creating a new one #22

Closed ehallq closed 3 years ago

ehallq commented 3 years ago

Even though I create a .mercedesme_token file with data from (copy/paste) from my pc where I ran the python script to get the token. I get this error (Token File missing - Creating a new one) followed by "Error creating token" when restarting home assistant. I also have the .mercedesme_config file with client id etc

derekoharrow commented 3 years ago

Have you placed the file in the home assistant config directory (where you're configuration.yaml is)?

ehallq commented 3 years ago

Thanks that helped. Your readme says hacs folder, and I though that was the mercedesmeapi folder that hacs created

Please use the other script to retrieve the first token and copy it into hacs folder (.mercedesme_token)

xraver commented 3 years ago

Thanks. I have to change the readme to make it more clear.