Skip to content

Commit 02d1085

Browse files
committed
Update to v5.0.3: Fix grid outage handling in pyPowerwall, update Docker image, and revise upgrade script #683
1 parent 3bf4956 commit 02d1085

File tree

4 files changed

+15
-3
lines changed

4 files changed

+15
-3
lines changed

RELEASE.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# RELEASE NOTES
22

3+
## v5.0.3 - Grid Outage Fix
4+
5+
### pyPowerwall Update
6+
7+
* Update pypowerwall to v0.14.9 - TEDAPI voltage calculation fix for grid outage scenarios - addresses https://github.com/jasonacox/Powerwall-Dashboard/issues/683
8+
- Fix `compute_LL_voltage()` function to handle `None` voltage values when grid is down
9+
- Added `None` value handling in three-phase voltage calculations to prevent `TypeError` exceptions
10+
- Prevents crashes in `/api/meters/aggregates` endpoint when grid is offline and voltage readings are unavailable
11+
- Converts `None` voltage parameters to `0` before performing arithmetic operations
12+
- Resolves issue where power flow stats were not displayed during real grid outages (Note: "Go off grid" via app did not trigger this issue)
13+
- Added comprehensive unit tests to verify None handling behavior for all voltage scenarios
14+
315
## v5.0.2 - Dashboard Enhancements
416

517
### Dashboard Updates

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.0.2
1+
5.0.3

powerwall.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ services:
2828
start_period: 60s
2929

3030
pypowerwall:
31-
image: jasonacox/pypowerwall:0.14.6t88
31+
image: jasonacox/pypowerwall:0.14.9t88
3232
container_name: pypowerwall
3333
hostname: pypowerwall
3434
restart: unless-stopped

upgrade.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
set -e
77

88
# Set Globals
9-
VERSION="5.0.2"
9+
VERSION="5.0.3"
1010
CURRENT="Unknown"
1111
COMPOSE_ENV_FILE="compose.env"
1212
INFLUXDB_ENV_FILE="influxdb.env"

0 commit comments

Comments
 (0)