Comments (3)
Hi @ma773o - my understanding is that the TeslaPy module should actually automatically update the auth token file... I have used some very old saved auth token files before (however, with the tesla-history script from the Powerwall-Dashboard project) and never had an issue.
Have you checked the permissions of the set-reserve.auth
file to ensure it is writable by the script perhaps?
from pypowerwall.
Hi,
permissions are fine...
I've now tried to remove .auth and .conf file and re-do the login process to obtain a fresh token and it actually fails. I called it with -d
to get debug info and I got the following (I've hidden personal data):
python3 set-reserve.py -d --login
Config file 'set-reserve.conf' not found
Do you want to create the config now? [Y/n] Y
Tesla Account Setup
-------------------
Email address: [email protected]
Save auth token to: [set-reserve.auth]
Config saved to 'set-reserve.conf'
----------------------------------------
Tesla account: [email protected]
----------------------------------------
Open the below address in your browser to login.
https://auth.tesla.com/oauth2/v3/authorize?response_type=code&client_id=ownerapi&redirect_uri=https%3A%2F%2Fauth.tesla.com%2Fvoid%2Fcallback&scope=openid+email+offline_access&state=HIDDEN&code_challenge=HIDDEN&code_challenge_method=S256&login_hint=hidden%40hidden.com
After login, paste the URL of the 'Page Not Found' webpage below.
Enter URL after login: https://auth.tesla.com/void/callback?code=HIDDEN&state=HIDDEN&issuer=https%3A%2F%2Fauth.tesla.com%2Foauth2%2Fv3
ERROR: Login failure - (missing_token) Missing access token parameter.
This was working a couple of days ago, and of course my the email/password pair works when authenticating to tesla.com
from pypowerwall.
Hi @ma773o - I'm not sure what could be going wrong here. You seem to be doing the right thing (I assume you removed replaced the real code with code=HIDDEN
).
Some (likely not very helpful) thoughts:
- Do you have more than one account with Tesla? Is this the right one?
- Try to clear your browser cache / cookies and try again
- Make sure you have the latest set-reserve.py
from pypowerwall.
Related Issues (20)
- Please tag new release for 0.6.1 HOT 3
- Proxy cache-control not set correctly HOT 11
- Powerflow background is transparent, not black. HOT 7
- Redefinition of ThreadingHTTPServer in server.py and server-r.py HOT 4
- Time of use beta - request for comment/feedback
- Tool script set_mode.py error HOT 1
- Alert Code feedback HOT 2
- PVAC_a030_fan_faulted HOT 2
- [Feature Request] Proxy - shortcuts to endpoints HOT 2
- Proxy connect to hostname vs IP HOT 6
- Tesla API Change - set-reserve.py and set-mode.py HOT 1
- New Tesla Pros software update does not work with pypowerwall HOT 8
- Ran upgrade.sh but it does not pull all new files HOT 2
- New PW firmware seems to break vitals - 23.44.0 HOT 17
- INFO: Alerts displayed when one Powerwall is defective HOT 1
- Critical Bug - 404 HTTP Status Code Handling
- python3 set-reserve.py --read error HOT 15
- Missing ? energy_sites/grid_import_export HOT 3
- Powerwall not reachable ever since January 26th HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pypowerwall.