jasonacox / Powerwall-Dashboard

Grafana Monitoring Dashboard for Tesla Solar and Powerwall Systems
MIT License
294 stars 63 forks source link

Dual Gateway Powerwall 3 setup rpi5 - "Access Denied" #523

Open jwvanderbeck opened 1 week ago

jwvanderbeck commented 1 week ago

Problem Description

09/21/2024 09:57:57 AM [proxy] [INFO] pyPowerwall [0.11.1] Proxy Server [t64] - HTTP Port 8675
09/21/2024 09:57:57 AM [proxy] [INFO] pyPowerwall Proxy Started
09/21/2024 09:57:57 AM [pypowerwall.tedapi] [ERROR] Access Denied: Check your Gateway Password
09/21/2024 09:57:57 AM [pypowerwall.tedapi] [ERROR] Failed to connect to Powerwall Gateway
09/21/2024 09:57:58 AM [pypowerwall.tedapi] [ERROR] Access Denied: Check your Gateway Password
09/21/2024 09:57:58 AM [pypowerwall.fleetapi.pypowerwall_fleetapi] [ERROR] Failed to retrieve sitelist - MissingSchema("Invalid URL '/api/1/products': No scheme supplied. Perhaps you meant https:///api/1/products?")
09/21/2024 09:57:58 AM [pypowerwall.fleetapi.pypowerwall_fleetapi] [ERROR] No sites found for
09/21/2024 09:57:58 AM [pypowerwall] [ERROR] Failed to connect to Powerwall with all modes. Waiting 30s to retry.
09/21/2024 09:58:28 AM [pypowerwall.tedapi] [ERROR] Access Denied: Check your Gateway Password
09/21/2024 09:58:28 AM [pypowerwall.tedapi] [ERROR] Failed to connect to Powerwall Gateway
09/21/2024 09:58:28 AM [pypowerwall.tedapi] [ERROR] Access Denied: Check your Gateway Password
09/21/2024 09:58:28 AM [pypowerwall.fleetapi.pypowerwall_fleetapi] [ERROR] Failed to retrieve sitelist - MissingSchema("Invalid URL '/api/1/products': No scheme supplied. Perhaps you meant https:///api/1/products?")
09/21/2024 09:58:28 AM [pypowerwall.fleetapi.pypowerwall_fleetapi] [ERROR] No sites found for
09/21/2024 09:58:28 AM [pypowerwall] [ERROR] Failed to connect to Powerwall with all modes. Waiting 30s to retry.```

**System Details**
Describe the host system you are trying to use for the Dashboard:
* Hardware - Raspberry 5
* OS Version - PiOS 64 (Debian?)
* Other Specifics - Dual gateway home

**Verify Tool Output**
If possible, please run the `verify.sh` found in the Powerwall-Dashboard main folder. It will attempt to verify all the services needed to run Powerwall-Dashboard and identify errors. Please paste the output or screenshot here:

john@raspberrypi:~/Powerwall-Dashboard $ ./verify.sh Verify Powerwall-Dashboard 4.5.3 on Linux - Timezone: America/New_York

This script will attempt to verify all the services needed to run Powerwall-Dashboard. Use this output when you open an issue for help: https://github.com/jasonacox/Powerwall-Dashboard/issues/new

Checking pypowerwall

Checking telegraf

Checking influxdb

Checking grafana

Checking weather411

jwvanderbeck commented 1 week ago

It is entirely possible I'm using the wrong password. I have two gateways and two powerwalls and each has a password on it. I'm not even entirely sure which PW3 I'm connecting to the gateway TRHOUGH or which Gateway I am connecting TO.

I have two gateways to setup but am only trying to get one working right now. I have tried both Gateway passwords.

jwvanderbeck commented 1 week ago

Through some digging and correlating I'm pretty sure now which PW goes to which GW and the password I am using should be the Gateway I am connecting to. At least according to the sticker.

jwvanderbeck commented 1 week ago

I think I have this working. Apparently I needed to use the password from the sticker on the POWERWALL and not the gateway. I'm pretty sure the docs say the Gateway password, so I don't know if this is a case of my reading bad or the docs needing some clarification, but after doing some more rapid testing on my local windows machine using pypowerall directly, I managed to figure this out. I now see data coming in from Powerwall Dashboard