Closed jasonacox closed 2 months ago
To test new pypowerwall, edit powerwall.yml
and update the pypowerwall image to:
jasonacox/pypowerwall:0.8.1t52
Restart and watch logs...
./compose-dash.sh up -d ; docker logs pypowerwall -f
Not sure if you meant to suppress this in 0.8.1 or not.
[ERROR] 404 Powerwall API not found at https://192.168.1.6/api/customer/registration
Seeing this occasionally too.
[ERROR] Server-side problem at Powerwall API (status code 503) at https://192.168.1.6/api/solar_powerwall
And this is what gets returned when accessing that URL (until I log in again): {"code":401,"message":"Token Expired"}
Interesting that we see error code 503.
The HTTP status code 503 means that the server is currently unable to handle the incoming requests. Usually, this error occurs because the server is too busy or is temporarily down for maintenance. The backend server is overloaded or beyond its capacity and cannot handle any new incoming client requests.
You wouldn't be able to hit the URL directly from a browser because you are missing the token data in the request header. To test it, you would have to use the proxy via: http://powerwall:8675/api/solar_powerwall (replace powerwall with IP address of your Powerwall).
It would be interesting to see if you are seeing errors tick up: http://powerwall:8675/stats
I'm thinking about treating 503 similar to 429 (rate limit) to cause a cool down timer for that API call.
Testing jasonacox/pypowerwall:0.8.2t53-beta
Thanks for your help @jgleigh !
0.8.1 2024-04-12 17:31:05 04/12/2024 05:31:05 PM [proxy] [ERROR] Socket broken sending API response to client [doGET]: [Errno 32] Broken pipe 2024-04-12 17:31:05 04/12/2024 05:31:05 PM [proxy] [ERROR] Socket broken sending API response to client [doGET]: [Errno 32] Broken pipe 2024-04-12 17:31:09 04/12/2024 05:31:09 PM [proxy] [ERROR] Socket broken sending API response to client [doGET]: [Errno 32] Broken pipe 2024-04-12 17:31:09 04/12/2024 05:31:09 PM [proxy] [ERROR] Socket broken sending API response to client [doGET]: [Errno 32] Broken pipe 2024-04-12 17:31:09 04/12/2024 05:31:09 PM [proxy] [ERROR] Socket broken sending API response to client [doGET]: [Errno 32] Broken pipe 2024-04-12 17:31:09 04/12/2024 05:31:09 PM [proxy] [ERROR] Socket broken sending API response to client [doGET]: [Errno 32] Broken pipe
Restarted it earlier so don't have the token errors.
Will start testing 0.8.2 now.
I got this message when doing the upgrade to 4.3.0:
WARN[0000] /home/..../Powerwall-Dashboard/powerwall.extend.yml: version
is obsolete
That file starts with: version: "3.5"
I use the extend file to run tesla-history alongside PWD and use that to pull my Tesla solar / PPA data. Do I need to update the extend file? I noticed that the powerwall.yml doesn't have a 'version' statement.
hi @youzer-name - This isn't causing problems other than the warning from docker compose?
You should be able to remove that version line. It shouldn't be needed with latest docker versions.
Hi @youzer-name - I also have a powerwall.extend.yml
file with a custom docker container.
Confirming you can simply remove the version: "3.5"
line, which is what I did. This will fix the warning without affecting your custom docker container service definitions.
@mcbirse Thanks for confirming.
Updates:
GF_PATHS_PROVISIONING
fromgrafana.env
base to speed up Grafana startup by @BuongiornoTexas in #461