What's Changed
- Update to v5.0.3: Fix grid outage handling in pyPowerwall by @jasonacox in #742
pyPowerwall Update
- Update pypowerwall to v0.14.9 - TEDAPI voltage calculation fix for grid outage scenarios - addresses #683
- Fix
compute_LL_voltage()function to handleNonevoltage values when grid is down - Added
Nonevalue handling in three-phase voltage calculations to preventTypeErrorexceptions - Prevents crashes in
/api/meters/aggregatesendpoint when grid is offline and voltage readings are unavailable - Converts
Nonevoltage parameters to0before performing arithmetic operations - Resolves issue where power flow stats were not displayed during real grid outages (Note: "Go off grid" via app did not trigger this issue)
- Added comprehensive unit tests to verify None handling behavior for all voltage scenarios
- Fix
Full Changelog: v5.0.2...v5.0.3