Skip to content

Powerwall Gateway 1 - Issues with Vitals - Firmware 24.36.1 #536

Open
@jasonacox

Description

@BJReplay reported:

No luck on the vitals.

In order to log into my system (Gateway 1 vintage) using Telsa One, I have to toggle the switch on the side of the Powerwall.

In order to make sure that I was doing a clean test, I cleaned up cookies from .powerwall and .auth/.powerwall, stopped pypowerwall, changed my local customer password to one without an * (which was causing problems when testing on the command line), and re-saved the .env file, and restarted the pypowerwall docker container with debug=yes in the .env

I think the fact that I have to toggle the switch on the side of the Powerwall is a symptom that I'll not be able to get the TEDAPI working, but would be interested to see if there's more to be done to attempt to debug:

pypowerwall.env

PW_EMAIL=<original installer email>
PW_PASSWORD=<redacted confirmed working to log in at 192.168.91.1>
PW_HOST=192.168.91.1
PW_TIMEZONE=Australia/Melbourne
TZ=Australia/Melbourne
PW_DEBUG=yes
PW_STYLE=grafana-dark
PW_GW_PWD=<gateway serial number confirmed working in Tesla One>
pypowerwall  | 10/10/2024 01:22:31 PM [proxy] [INFO] pyPowerwall [0.11.1] Proxy Server [t64] - HTTP Port 8675 - DEBUG
pypowerwall  | 10/10/2024 01:22:31 PM [pypowerwall] [DEBUG] pypowerwall [0.11.1]
pypowerwall  |
pypowerwall  | 10/10/2024 01:22:31 PM [proxy] [INFO] pyPowerwall Proxy Started
pypowerwall  | 10/10/2024 01:22:31 PM [pypowerwall] [DEBUG] Auto selecting local mode
pypowerwall  | 10/10/2024 01:22:31 PM [pypowerwall] [DEBUG] password = <redacted>, gw_pwd = <gateway serial number confirmed working in Tesla One>
pypowerwall  | 10/10/2024 01:22:31 PM [pypowerwall.local.pypowerwall_local] [DEBUG] Tesla local mode enabled
pypowerwall  | 10/10/2024 01:22:31 PM [pypowerwall.local.pypowerwall_local] [DEBUG] no auth cache file: [Errno 2] No such file or directory: '.auth/.powerwall'
pypowerwall  | 10/10/2024 01:22:31 PM [pypowerwall.tedapi] [DEBUG] Testing Connection to Powerwall Gateway: 192.168.91.1
pypowerwall  | 10/10/2024 01:22:31 PM [pypowerwall.tedapi] [DEBUG] Fetching DIN from Powerwall...
pypowerwall  | 10/10/2024 01:22:31 PM [pypowerwall.tedapi] [ERROR] Access Denied: Check your Gateway Password
pypowerwall  | 10/10/2024 01:22:31 PM [pypowerwall.tedapi] [ERROR] Failed to connect to Powerwall Gateway
pypowerwall  | 10/10/2024 01:22:31 PM [pypowerwall.tedapi] [DEBUG] Testing Connection to Powerwall Gateway: 192.168.91.1
pypowerwall  | 10/10/2024 01:22:31 PM [pypowerwall.tedapi] [DEBUG] Fetching DIN from Powerwall...
pypowerwall  | 10/10/2024 01:22:31 PM [pypowerwall.tedapi] [ERROR] Access Denied: Check your Gateway Password
pypowerwall  | 10/10/2024 01:22:31 PM [pypowerwall.local.pypowerwall_local] [DEBUG] TEDAPI connection failed - continuing
pypowerwall  | 10/10/2024 01:22:31 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Request Powerwall for /api/site_info/site_name
pypowerwall  | 10/10/2024 01:22:31 PM [pypowerwall.local.pypowerwall_local] [DEBUG] Session Expired - Trying to get a new one
pypowerwall  | 10/10/2024 01:22:32 PM [pypowerwall.local.pypowerwall_local] [DEBUG] login - {"email":"<original installer email>","firstname":"Tesla","lastname":"Energy","roles":["Home_Owner"],"token":"<redacted cookie>","provider":"Basic","loginTime":"2024-10-10T13:22:32.731947153+11:00"}
pypowerwall  | 10/10/2024 01:22:32 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Request Powerwall for /api/site_info/site_name
pypowerwall  | 10/10/2024 01:22:32 PM [proxy] [INFO] pyPowerwall Proxy Server - Local Mode
pypowerwall  | 10/10/2024 01:22:32 PM [proxy] [INFO] Connected to Energy Gateway 192.168.91.1 (RJReplay's Powerwall)
pypowerwall  | 10/10/2024 01:22:35 PM [proxy] [DEBUG] 172.21.0.8 "GET /alerts/pw HTTP/1.1" 200 -
pypowerwall  | 10/10/2024 01:22:35 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Request Powerwall for /api/devices/vitals
pypowerwall  | 10/10/2024 01:22:35 PM [proxy] [DEBUG] 172.21.0.8 "GET /aggregates HTTP/1.1" 200 -
pypowerwall  | 10/10/2024 01:22:35 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Request Powerwall for /api/meters/aggregates
pypowerwall  | 10/10/2024 01:22:35 PM [proxy] [DEBUG] 172.21.0.8 "GET /temps/pw HTTP/1.1" 200 -
pypowerwall  | 10/10/2024 01:22:35 PM [pypowerwall.local.pypowerwall_local] [ERROR] 404 Powerwall API not found at https://192.168.91.1/api/devices/vitals
pypowerwall  | 10/10/2024 01:22:35 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Request Powerwall for /api/devices/vitals
pypowerwall  | 10/10/2024 01:22:35 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Request Powerwall for /api/status
pypowerwall  | 10/10/2024 01:22:35 PM [proxy] [DEBUG] 172.21.0.8 "GET /pod HTTP/1.1" 200 -
pypowerwall  | 10/10/2024 01:22:35 PM [proxy] [DEBUG] 172.21.0.8 "GET /soe HTTP/1.1" 200 -
pypowerwall  | 10/10/2024 01:22:35 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Request Powerwall for /api/system_status/soe
pypowerwall  | 10/10/2024 01:22:35 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Request Powerwall for /api/system_status
pypowerwall  | 10/10/2024 01:22:35 PM [proxy] [DEBUG] 172.21.0.8 "GET /strings HTTP/1.1" 200 -
pypowerwall  | 10/10/2024 01:22:35 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Request Powerwall for /api/devices/vitals
pypowerwall  | 10/10/2024 01:22:35 PM [proxy] [DEBUG] 172.21.0.8 "GET /freq HTTP/1.1" 200 -
pypowerwall  | 10/10/2024 01:22:35 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Request Powerwall for /api/system_status
pypowerwall  | 10/10/2024 01:22:35 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Request Powerwall for /api/devices/vitals
pypowerwall  | 10/10/2024 01:22:35 PM [pypowerwall.local.pypowerwall_local] [ERROR] 404 Powerwall API not found at https://192.168.91.1/api/devices/vitals
pypowerwall  | 10/10/2024 01:22:35 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Request Powerwall for /api/status
pypowerwall  | 10/10/2024 01:22:35 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Request Powerwall for /api/devices/vitals
pypowerwall  | 10/10/2024 01:22:35 PM [pypowerwall.local.pypowerwall_local] [ERROR] 404 Powerwall API not found at https://192.168.91.1/api/devices/vitals
pypowerwall  | 10/10/2024 01:22:35 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Request Powerwall for /api/status
pypowerwall  | 10/10/2024 01:22:35 PM [pypowerwall.local.pypowerwall_local] [ERROR] 404 Powerwall API not found at https://192.168.91.1/api/devices/vitals
pypowerwall  | 10/10/2024 01:22:35 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Request Powerwall for /api/status
pypowerwall  | 10/10/2024 01:22:35 PM [pypowerwall.local.pypowerwall_local] [ERROR] Firmware 243601 detected - Does not support vitals API - disabling.
pypowerwall  | 10/10/2024 01:22:35 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Request Powerwall for /api/solar_powerwall
pypowerwall  | 10/10/2024 01:22:35 PM [pypowerwall.local.pypowerwall_local] [ERROR] 404 Powerwall API not found at https://192.168.91.1/api/devices/vitals
pypowerwall  | 10/10/2024 01:22:35 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Returning cached /api/status
pypowerwall  | 10/10/2024 01:22:35 PM [pypowerwall.local.pypowerwall_local] [ERROR] Firmware 243601 detected - Does not support vitals API - disabling.
pypowerwall  | 10/10/2024 01:22:35 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Returning cached /api/system_status
pypowerwall  | 10/10/2024 01:22:35 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Returning cached /api/meters/aggregates
pypowerwall  | 10/10/2024 01:22:35 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Request Powerwall for /api/operation
pypowerwall  | 10/10/2024 01:22:35 PM [pypowerwall.local.pypowerwall_local] [ERROR] Firmware 243601 detected - Does not support vitals API - disabling.
pypowerwall  | 10/10/2024 01:22:35 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Request Powerwall for /api/system_status/grid_status
pypowerwall  | 10/10/2024 01:22:35 PM [pypowerwall.local.pypowerwall_local] [DEBUG] Empty response from Powerwall at https://192.168.91.1/api/solar_powerwall
pypowerwall  | 10/10/2024 01:22:35 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Request Powerwall for /api/system_status/grid_status
pypowerwall  | 10/10/2024 01:22:35 PM [pypowerwall.local.pypowerwall_local] [ERROR] Firmware 243601 detected - Does not support vitals API - disabling.
pypowerwall  | 10/10/2024 01:22:35 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Request Powerwall for /api/solar_powerwall
pypowerwall  | 10/10/2024 01:22:35 PM [pypowerwall.local.pypowerwall_local] [ERROR] Firmware 243601 detected - Does not support vitals API - disabling.
pypowerwall  | 10/10/2024 01:22:35 PM [pypowerwall.local.pypowerwall_local] [DEBUG] Empty response from Powerwall at https://192.168.91.1/api/solar_powerwall
pypowerwall  | 10/10/2024 01:22:40 PM [proxy] [DEBUG] 172.21.0.8 "GET /aggregates HTTP/1.1" 200 -
pypowerwall  | 10/10/2024 01:22:40 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Returning cached /api/meters/aggregates
pypowerwall  | 10/10/2024 01:22:40 PM [proxy] [DEBUG] 172.21.0.8 "GET /strings HTTP/1.1" 200 -
pypowerwall  | 10/10/2024 01:22:40 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Request Powerwall for /api/solar_powerwall
pypowerwall  | 10/10/2024 01:22:40 PM [proxy] [DEBUG] 172.21.0.8 "GET /temps/pw HTTP/1.1" 200 -
pypowerwall  | 10/10/2024 01:22:40 PM [proxy] [DEBUG] 172.21.0.8 "GET /pod HTTP/1.1" 200 -
pypowerwall  | 10/10/2024 01:22:40 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Returning cached /api/system_status
pypowerwall  | 10/10/2024 01:22:40 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Returning cached /api/system_status
pypowerwall  | 10/10/2024 01:22:40 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Returning cached /api/meters/aggregates
pypowerwall  | 10/10/2024 01:22:40 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Returning cached /api/operation
pypowerwall  | 10/10/2024 01:22:40 PM [proxy] [DEBUG] 172.21.0.8 "GET /freq HTTP/1.1" 200 -
pypowerwall  | 10/10/2024 01:22:40 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Returning cached /api/system_status
pypowerwall  | 10/10/2024 01:22:40 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Returning cached /api/system_status/grid_status
pypowerwall  | 10/10/2024 01:22:40 PM [proxy] [DEBUG] 172.21.0.8 "GET /alerts/pw HTTP/1.1" 200 -
pypowerwall  | 10/10/2024 01:22:40 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Request Powerwall for /api/solar_powerwall
pypowerwall  | 10/10/2024 01:22:40 PM [pypowerwall.local.pypowerwall_local] [DEBUG] Empty response from Powerwall at https://192.168.91.1/api/solar_powerwall
pypowerwall  | 10/10/2024 01:22:40 PM [pypowerwall.local.pypowerwall_local] [DEBUG] Empty response from Powerwall at https://192.168.91.1/api/solar_powerwall
pypowerwall  | 10/10/2024 01:22:40 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Returning cached /api/system_status/grid_status
pypowerwall  | 10/10/2024 01:22:40 PM [proxy] [DEBUG] 172.21.0.8 "GET /soe HTTP/1.1" 200 -
pypowerwall  | 10/10/2024 01:22:40 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Returning cached /api/system_status/soe
pypowerwall  | 10/10/2024 01:22:45 PM [proxy] [DEBUG] 192.168.1.200 "GET /api/sitemaster HTTP/1.1" 200 -
pypowerwall  | 10/10/2024 01:22:45 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Request Powerwall for /api/sitemaster
pypowerwall  | 10/10/2024 01:22:45 PM [proxy] [DEBUG] 192.168.1.200 "GET /api/meters/aggregates HTTP/1.1" 200 -
pypowerwall  | 10/10/2024 01:22:45 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Request Powerwall for /api/meters/aggregates
pypowerwall  | 10/10/2024 01:22:45 PM [proxy] [DEBUG] 192.168.1.200 "GET /api/system_status/soe HTTP/1.1" 200 -
pypowerwall  | 10/10/2024 01:22:45 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Request Powerwall for /api/system_status/soe
pypowerwall  | 10/10/2024 01:22:45 PM [proxy] [DEBUG] 192.168.1.200 "GET /api/system_status/grid_status HTTP/1.1" 200 -
pypowerwall  | 10/10/2024 01:22:45 PM [proxy] [DEBUG] 192.168.1.200 "GET /api/powerwalls HTTP/1.1" 200 -
pypowerwall  | 10/10/2024 01:22:45 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Request Powerwall for /api/system_status/grid_status
pypowerwall  | 10/10/2024 01:22:45 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Request Powerwall for /api/powerwalls
pypowerwall  | 10/10/2024 01:22:45 PM [proxy] [DEBUG] 192.168.1.200 "GET /api/auth/toggle/supported HTTP/1.1" 200 -
pypowerwall  | 10/10/2024 01:22:45 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Request Powerwall for /api/auth/toggle/supported
pypowerwall  | 10/10/2024 01:22:45 PM [proxy] [DEBUG] 192.168.1.200 "GET /api/troubleshooting/problems HTTP/1.1" 200 -
pypowerwall  | 10/10/2024 01:22:45 PM [proxy] [DEBUG] 172.21.0.8 "GET /freq HTTP/1.1" 200 -
pypowerwall  | 10/10/2024 01:22:45 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Request Powerwall for /api/system_status
pypowerwall  | 10/10/2024 01:22:45 PM [proxy] [DEBUG] 172.21.0.8 "GET /temps/pw HTTP/1.1" 200 -
pypowerwall  | 10/10/2024 01:22:45 PM [proxy] [DEBUG] 172.21.0.8 "GET /pod HTTP/1.1" 200 -
pypowerwall  | 10/10/2024 01:22:45 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Request Powerwall for /api/system_status
pypowerwall  | 10/10/2024 01:22:45 PM [proxy] [DEBUG] 172.21.0.8 "GET /strings HTTP/1.1" 200 -
pypowerwall  | 10/10/2024 01:22:45 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Request Powerwall for /api/solar_powerwall
pypowerwall  | 10/10/2024 01:22:45 PM [proxy] [DEBUG] 172.21.0.8 "GET /alerts/pw HTTP/1.1" 200 -
pypowerwall  | 10/10/2024 01:22:45 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Request Powerwall for /api/solar_powerwall
pypowerwall  | 10/10/2024 01:22:45 PM [proxy] [DEBUG] 172.21.0.8 "GET /soe HTTP/1.1" 200 -
pypowerwall  | 10/10/2024 01:22:45 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Returning cached /api/system_status/soe
pypowerwall  | 10/10/2024 01:22:45 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Returning cached /api/system_status/grid_status
pypowerwall  | 10/10/2024 01:22:45 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Returning cached /api/system_status
pypowerwall  | 10/10/2024 01:22:45 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Returning cached /api/meters/aggregates
pypowerwall  | 10/10/2024 01:22:45 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Request Powerwall for /api/operation
pypowerwall  | 10/10/2024 01:22:45 PM [pypowerwall.local.pypowerwall_local] [DEBUG] Empty response from Powerwall at https://192.168.91.1/api/solar_powerwall
pypowerwall  | 10/10/2024 01:22:45 PM [pypowerwall.local.pypowerwall_local] [DEBUG] Empty response from Powerwall at https://192.168.91.1/api/solar_powerwall
pypowerwall  | 10/10/2024 01:22:45 PM [pypowerwall.local.pypowerwall_local] [DEBUG]  -- local: Returning cached /api/system_status/grid_status

Originally posted by @BJReplay in #109 (reply in thread)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions