Pypowerwall

Latest version: v0.12.1

Safety actively analyzes 688053 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 9 of 10

0.5.0

* PyPI 0.5.0
* Added additional exception handling to help identify connection and login errors.
* Added `is_connected()` function to test for a successful connection to the Powerwall.
* Added firmware version to command line network scan (`python -m pypowerwall scan`)

[Proxy Server](https://github.com/jasonacox/pypowerwall/tree/main/proxy#pypowerwall-proxy-server) Updates (Build t16) - See [here](https://github.com/jasonacox/pypowerwall/blob/main/proxy/HELP.md#release-notes) for more Proxy Release notes.

* Add support for backup switch by nhasan in https://github.com/jasonacox/pypowerwall/pull/12
* Add passthrough to Powerwall web interface and customize for iFrame displays by danisla in https://github.com/jasonacox/pypowerwall/pull/14
* Remove scrollbars from web view by danisla in https://github.com/jasonacox/pypowerwall/pull/15
* Add support for specifying a bind address by zi0r in https://github.com/jasonacox/pypowerwall/pull/16
* Add shebang for direct execution by zi0r in https://github.com/jasonacox/pypowerwall/pull/17

0.4.0

* PyPI 0.4.0
* Added parameter to `poll()` to force call (ignore cache)
* Added `alerts()` function to return an array of device alerts.
* Added `get_reserve()` function to return battery reserve setting.
* Added `grid_status()` function to return state of grid.
* Added `system_status()` function to return system status.
* Added `battery_blocks()` function to return battery specific information.
* Expanded class to include settings for cache expiration (`pwcacheexpire`) and connection `timeout`.

python
Force Poll
pw.poll('/api/system_status/soe',force=True)
'{"percentage":100}'

Powerwall Alerts
pw.alerts()
['PodCommissionTime', 'GridCodesWrite', 'GridCodesWrite', 'FWUpdateSucceeded', 'THC_w155_Backup_Genealogy_Updated', 'PINV_a067_overvoltageNeutralChassis', 'THC_w155_Backup_Genealogy_Updated', 'PINV_a067_overvoltageNeutralChassis', 'PVS_a018_MciStringB', 'SYNC_a001_SW_App_Boot']

Battery Reserve Setting
pw.get_reserve()

0.3.0

* PyPI 0.3.0
* Added alerts and additional attributes from `vitals()` output.
* Note: API change to `vitals()` output for dependant systems.

0.2.0

* PyPI 0.2.0
* Breaking change to Protobuf schema (PR 2) including:
* Files `tesla.proto` and `tesla_pb2.py`
* Impacted output from function `vitals()` and [examples/vitals.py](examples/vitals.py).

0.1.4

* PyPI 0.1.4
* Changed "Network Scan" default timeout to 400ms for better detection.
* Added Tesla App style "Battery Level Percentage" Conversion option to `level()` to convert the level reading to the 95% scale used by the App. This converts the battery level percentage to be consistent with the Tesla App:

python
>>> pw.level(scale=True)

0.1.3

* PyPI 0.1.3
* Added `temp()` function to pull Powerwall temperatures.

python
pw.temps(jsonformat=True)


json
{
"TETHC--2012170-25-E--TGxxxxxxxxxxxx": 17.5,
"TETHC--3012170-05-B--TGxxxxxxxxxxxx": 17.700000000000003
}

Page 9 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.