Replies: 2 comments 5 replies
-
|
Hi @marcg1 - thanks for posting this. This is a bug and we should open an issue for this to address the code. I suspect the flow changed just like it did for Tesla cloud mode. @jasonacox-sam can you review the above and open an issue for this? Examine the v1r setup process to see how it mimics the cloud mode setup and if we can use the cloud mode changes to address v1r setup. Remember to rebase, update code and submit a PR. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @marcg1 — thanks for the detailed report. I have confirmed this is a bug in the v1r Owner API registration flow. What is happening: The v1r setup uses teslapy OAuth flow, which redirects to This is the same type of issue that was fixed for cloud mode setup in v0.15.5. Fix: PR #301 replaces the broken teslapy browser redirect with the native Issue #300 tracks this bug, and the PR is ready for review. As a workaround until the fix ships, you can try the Fleet API path (option 2 during setup) if you have a Tesla developer app configured. — Sam ⚡ |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm unable to register a Powerwall 3 in Owner API mode with
python3 -m pypowerwall setup -v1r. When I paste the URL created by the script into a browser, the browser refreshes (screenshot below) but the URL displayed by the browser after the refresh is identical to the one created by the script. Pasting that back into the script results in a "Login failed - (missing_code) Missing code parameter in response" error. Example below with some obfuscation.Not sure if this is relevant to registration: the Powerwall is on a different subnet than the machine where I'm running pypowerwall. But its Basic API is reachable via the Powerwall's FQDN or IP addr. I've been running scripts of my own against that for statistics+state prior to deciding to switch to pypowerwall (so that I can change reserve levels). Is there a way/need to specify the Powerwall FQDN or IP addr for the registration process?
Thanks in advance.
Python 3.12.3
pypowerwall 0.15.6
Powerwall 3 FW 26.2.3
Beta Was this translation helpful? Give feedback.
All reactions