Replies: 1 comment 3 replies
-
There are two ways to do this:
def custom_auth(url):
print('Use browser to login. Page Not Found will be shown at success.')
print('Open this URL: ' + url)
return input('Enter URL after authentication: ')
with teslapy.Tesla('[email protected]', authenticator=custom_auth) as tesla:
tesla.fetch_token() |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Can someone please advise how I run a program using this on a raspberry pi that isnt using the gui? I dont see how the auth process is meant to work
Beta Was this translation helpful? Give feedback.
All reactions