Replies: 2 comments
-
as a workaround, i was able to symlink cache.json. |
Beta Was this translation helpful? Give feedback.
0 replies
-
simply set the cache_file argument of the Tesla class constructor to '/your/path/to/json.cache' |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hey all, i wrote a bash script that requests my vehicles status but it is failing as it can't find a valid credential in the working directory. note that this works in my other workflows, the credential is valid and working. is there a way to pass in the location of the credential (which i assume is cache.json?) to work around my issues? thanks!
from script
proof of working credential
{
"gps_as_of": 1656371072,
"heading": 257,
"latitude": ,
"longitude": - ,
"native_latitude": ,
"native_location_supported": 1,
"native_longitude": - ,
"native_type": "wgs",
"power": 0,
"shift_state": null,
"speed": null,
"timestamp": 1656373283689
}
Beta Was this translation helpful? Give feedback.
All reactions