Releases: jasonacox/pypowerwall
v0.8.1 - Set battery reserve, operation mode
What's Changed
- v0.8.1 - Set battery reserve, operation mode by @emptywee in #78
- Added
get_mode()
,set_mode()
,set_reserve()
,andset_operation()
function to set battery operation mode and/or reserve level by @emptywee in #78. Likely won't work in the local mode. - Added basic validation for main class
__init__()
parameters (a.k.a. user input). - Better handling of 401/403 errors from Powerwall in local mode.
- Handle 50x errors from Powerwall in local mode.
- Added Alerts for Grid Status
alerts()
. - New command line functions (
set
andget
):
usage: PyPowerwall [-h] {setup,scan,set,get,version} ...
PyPowerwall Module v0.8.1
options:
-h, --help show this help message and exit
commands (run <command> -h to see usage information):
{setup,scan,set,get,version}
setup Setup Tesla Login for Cloud Mode access
scan Scan local network for Powerwall gateway
set Set Powerwall Mode and Reserve Level
get Get Powerwall Settings and Power Levels
version Print version information
Full Changelog: v0.8.0...v0.8.1
v0.8.0 - Refactoring
What's Changed
- Refactored pyPowerwall by @emptywee in #77 including:
- Moved Local and Cloud based operation code into respective modules, providing better abstraction and making it easier to maintain and extend going forward.
- Made meaning of the
jsonformat
parameter consistent across all method calls (breaking API change). - Removed Python 2.7 support.
- Cleaned up code and adopted a more pythoinc style.
- Fixed battery_blocks() for non-vitals systems.
Full Changelog: v0.7.12...v0.8.0
v0.7.12 - Cachefile, Alerts & Strings
What's Changed
- Added logic to pull string data from
/api/solar_powerwall
API if vitals data is not available by @jasonacox in #76. - Added alerts from
/api/solar_powerwall
when vitals not present by @DerickJohnson in #75. The vitals API is not present in firmware versions > 23.44, this provides a workaround to get alerts. - Allow customization of the cachefile location and name by @emptywee in #74 via
cachefile
parameter.
# Example
import pypowerwall
pw = pypowerwall.Powerwall(
host="10.1.2.30",
password="secret",
email="[email protected]",
timezone="America/Los_Angeles",
pwcacheexpire=5,
timeout=5,
poolmaxsize=10,
cloudmode=False,
siteid=None,
authpath="",
authmode="cookie",
cachefile=".powerwall",
)
New Contributors
Full Changelog: v0.7.11...v0.7.12
v0.7.11 - Cooldown Mode
- Updated logic to disable vitals API calls for Firmware 23.44.0+
- Added rate limit detection and cooldown mode to allow Powerwall gateway time to recover.
Full Changelog: v0.7.10...v0.7.11
v0.7.10 - Cache 404 Responses
- Add cache and extended TTL for 404 responses from Powerwall as identified in issue jasonacox/Powerwall-Dashboard#449. This will help reduce load on Powerwall gateway that may be causing rate limiting for some users (Firmware 23.44.0+).
Full Changelog: v0.7.9...v0.7.10
v0.7.9 - Cloud Grid Status
- Bug fix for correct grid status for Solar-Only systems on
cloud mode
(see jasonacox/Powerwall-Dashboard#437)
Full Changelog: v0.7.8...v0.7.9
v0.7.8 - Cloud Fixes
What's Changed
- Fix enumeration of energy sites during
cloud mode
setup to handle incomplete sites with Unknown names or types by @dcgibbons in #72 - Proxy t41 Updates - Bug fixes for Solar-Only systems using
cloud mode
(see jasonacox/Powerwall-Dashboard#437).
New Contributors
- @dcgibbons made their first contribution in #72
Full Changelog: v0.7.7...v0.7.8
v0.7.7 - Battery Data and Network Scanner
What's Changed
- Proxy t40: Use /api/system_status battery blocks data to augment /pod and /freq macro data APIs by @jasonacox in #67 thanks to @ceeeekay in jasonacox/Powerwall-Dashboard#402 (comment)
- Network Scanner: Improve network scan speed by scanning multiple hosts simultaneously by @mcbirse in #67. The number of hosts to scan simultaneously can be adjusted using the optional
-hosts=
argument (default = 30, maximum = 100), e.g.python -m pypowerwall scan -hosts=50
Full Changelog: v0.7.6...v0.7.7
v0.7.6 - Critical Bug Fix
What's Changed
- Fix Critical Bug Fix that addresses HTTP 404 response handling for API calls #65 #57 by @jasonacox in #66 #65
🔥 CRITICAL Upgrade - Please take a moment and upgrade your installation of pypowerwall if you using it for your own scripts. The latest release fixes 404 HTTP status code handling for API calls. Older versions of pypowerwall will cause a repeating loop of login attempts eventually resulting in rate limiting and failure to get any metrics.
NOTE: IF YOU HAVE FIRMWARE 23.44.0 YOU ARE IMPACTED AND SHOULD UPGRADE AS SOON AS POSSIBLE.
pip install --upgrade pypowerwall
# Verify version 0.7.6 or greater:
python -m pypowerwall version
pyPowerwall [0.7.6]
Note: Users of pypowerwall proxy docker container should upgrade to the latest as well: jasonacox/pypowerwall:0.7.6t39
Full Changelog: v0.7.5...v0.7.6
v0.7.5 - Cloud Mode Setup
What's Changed
- Added optional email address argument to Cloud Mode setup (
python -m pypowerwall setup -email=<email>
) by @mcbirse in #64 to streamline Powerwall-Dashboard setup script. - Updated network scanner output to advise Powerwall 3 is supported in Cloud Mode by @mcbirse in #64
Full Changelog: v0.7.4...v0.7.5