Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Powerwall has seemingly randomly changed its password #500

Open
Meowcat285 opened this issue Jul 10, 2024 · 6 comments
Open

Powerwall has seemingly randomly changed its password #500

Meowcat285 opened this issue Jul 10, 2024 · 6 comments

Comments

@Meowcat285
Copy link

Last night my Powerwall 2+ performed a firmware update and now it seems to refuse the password that is printed on the label, even when it was working fine before. Has anyone else experienced this?

Heres the error in the docker container:

07/10/2024 04:43:14 PM [proxy] [INFO] pyPowerwall [0.10.8] Proxy Server [t63] - HTTP Port 8675
07/10/2024 04:43:14 PM [proxy] [INFO] pyPowerwall Proxy Started
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/pypowerwall/local/pypowerwall_local.py", line 105, in _get_session
    self.auth = {'AuthCookie': r.cookies['AuthCookie'], 'UserRecord': r.cookies['UserRecord']}
  File "/usr/local/lib/python3.10/site-packages/requests/cookies.py", line 334, in __getitem__
    return self._find_no_duplicates(name)
  File "/usr/local/lib/python3.10/site-packages/requests/cookies.py", line 413, in _find_no_duplicates
    raise KeyError(f"name={name!r}, domain={domain!r}, path={path!r}")
KeyError: "name='AuthCookie', domain=None, path=None"

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/app/server.py", line 185, in <module>
    site_name = pw.site_name() or "Unknown"
  File "/usr/local/lib/python3.10/site-packages/pypowerwall/__init__.py", line 494, in site_name
    payload = self.poll('/api/site_info/site_name')
  File "/usr/local/lib/python3.10/site-packages/pypowerwall/__init__.py", line 314, in poll
    payload = self.client.poll(api, force, recursive, raw)
  File "/usr/local/lib/python3.10/site-packages/pypowerwall/local/pypowerwall_local.py", line 196, in poll
    self._get_session()
  File "/usr/local/lib/python3.10/site-packages/pypowerwall/local/pypowerwall_local.py", line 114, in _get_session
    raise LoginError("Invalid Powerwall Login")
pypowerwall.local.exceptions.LoginError: Invalid Powerwall Login```
@Meowcat285
Copy link
Author

I also can't connect to it using the Tesla One app, even when scanning the QR code. It just says the WiFi network password is incorrect.

@Meowcat285
Copy link
Author

Additionally, the firmware version it is now on is 24.12.3

@Meowcat285
Copy link
Author

Figured it out, the firmware update changed it so that it only uses the last 5 characters of the password for the non-tedapi creds, instead of allowing the full password.

@jasonacox
Copy link
Owner

Interesting! Thanks for the note on that @Meowcat285 ! How did you discover that?

@Meowcat285
Copy link
Author

Interesting! Thanks for the note on that @Meowcat285 ! How did you discover that?

I decided to simply try the last 5 characters because thats what you had to do to log into the web ui as a customer.

@jasonacox
Copy link
Owner

I'll add that as a note to the README troubleshooting.

jasonacox added a commit that referenced this issue Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants