net-mgmt/py-pypowerwall 0.14.10_2 FreeBSD
Python interface for Tesla Powerwall and solar power data
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
45ea4cf85c- License
- MIT
- Categories
- net-mgmt, python
- Package size
- 1519.6 KiB, 10407.6 KiB installed
Description
This python module can be used to monitor and control Tesla Energy Powerwalls. It uses a single class (Powerwall) and simple functions to fetch energy data and poll API endpoints on the Gateway.
pyPowerwall will cache the authentication headers and API call responses to help reduce the number of calls made to the Gateway (useful if you are polling the Powerwall frequently for trending data).
* Works with Tesla Energy Gateways - Powerwall and Powerwall+ * Simple access through easy to use functions using customer credentials * Will cache authentication to reduce load on Powerwall Gateway * Will cache responses to limit number of calls to Powerwall Gateway * Easy access to decoded binary device vitals * Provides solar string data for Powerwall+ systems
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | net-mgmt/py-pypowerwall | 0.14.10_2 |
| DragonFly | net-mgmt/py-pypowerwall | 0.10.8_1 |
| HardenedBSD | net-mgmt/py-pypowerwall | 0.14.10_2 |
| GhostBSD | net-mgmt/py-pypowerwall | 0.14.10_2 |
Install
Binary package:
pkg install py312-pypowerwall
From the ports tree:
cd /usr/ports/net-mgmt/py-pypowerwall/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-pypowerwall>0:net-mgmt/py-pypowerwall
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.14.10_2 | 0.14.10_2 | 0.6.0 | 0.10.8_1 | 0.14.10_2 |
| FreeBSD:14:quarterly | 0.14.10_2 | 0.14.10_2 | n/a | 0.10.8_1 | 0.14.10_2 |
| FreeBSD:15:latest | 0.14.10_2 | 0.14.10_2 | n/a | 0.10.8_1 | 0.10.8_1 |
| FreeBSD:15:quarterly | 0.14.10_2 | 0.14.10_2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.14.10_2 | 0.14.10_2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 3
${PYTHON_PKGNAMEPREFIX}beautifulsoup4>0: www/py-beautifulsoup4${PYTHON_PKGNAMEPREFIX}googleapis-common-protos>0: devel/py-googleapis-common-protos${PYTHON_PKGNAMEPREFIX}requests>=2.21.0: www/py-requests
Runtime 3
${PYTHON_PKGNAMEPREFIX}beautifulsoup4>0: www/py-beautifulsoup4${PYTHON_PKGNAMEPREFIX}googleapis-common-protos>0: devel/py-googleapis-common-protos${PYTHON_PKGNAMEPREFIX}requests>=2.21.0: www/py-requests
The full lists below include those, and their dependencies in turn.
Build dependencies 30
- archivers/liblz4
- archivers/zstd
- converters/py-webencodings
- devel/gettext-runtime
- devel/libffi
- devel/py-googleapis-common-protos
- devel/py-lxml
- devel/py-protobuf
- devel/py-setuptools
- devel/py-six
- devel/py-typing-extensions
- devel/readline
- dns/py-idna
- lang/python312
- lang/python315
- math/mpdecimal
- net/py-pysocks
- net/py-urllib3
- print/indexinfo
- security/libgcrypt
- security/libgpg-error
- security/py-certifi
- textproc/expat2
- textproc/libxml2
- textproc/libxslt
- textproc/py-charset-normalizer
- www/py-beautifulsoup4
- www/py-html5lib
- www/py-requests
- www/py-soupsieve
Run dependencies 26
- converters/py-webencodings
- devel/gettext-runtime
- devel/libffi
- devel/py-googleapis-common-protos
- devel/py-lxml
- devel/py-protobuf
- devel/py-six
- devel/py-typing-extensions
- devel/readline
- dns/py-idna
- lang/python312
- math/mpdecimal
- net/py-pysocks
- net/py-urllib3
- print/indexinfo
- security/libgcrypt
- security/libgpg-error
- security/py-certifi
- textproc/expat2
- textproc/libxml2
- textproc/libxslt
- textproc/py-charset-normalizer
- www/py-beautifulsoup4
- www/py-html5lib
- www/py-requests
- www/py-soupsieve
No port depends on this one.
Configuration
No options to configure.
- USES
- python shebangfix
- Service scripts
pypowerwall_proxy
Files
pkg-plist 86
- share/py312-pypowerwall/HELP.md
- share/py312-pypowerwall/README.md
- share/py312-pypowerwall/RELEASE.md
- @mode 555
- share/py312-pypowerwall/server.py
- @mode
- share/py312-pypowerwall/API.md
- share/py312-pypowerwall/__init__.py
- share/py312-pypowerwall/perf_test.py
- share/py312-pypowerwall/tests/__init__.py
- share/py312-pypowerwall/tests/test_api_endpoints.py
- share/py312-pypowerwall/tests/test_csv_endpoints.py
- share/py312-pypowerwall/transform.py
- share/py312-pypowerwall/web/LICENSE
- share/py312-pypowerwall/web/bogus/api.auth.toggle.supported.json
- share/py312-pypowerwall/web/bogus/api.customer.json
- share/py312-pypowerwall/web/bogus/api.customer.registration.json
- share/py312-pypowerwall/web/bogus/api.installer.json
- share/py312-pypowerwall/web/bogus/api.meters.aggregates.json
- share/py312-pypowerwall/web/bogus/api.meters.json
- share/py312-pypowerwall/web/bogus/api.meters.readings.json
- share/py312-pypowerwall/web/bogus/api.meters.site.json
- share/py312-pypowerwall/web/bogus/api.meters.solar.json
- share/py312-pypowerwall/web/bogus/api.networks.json
- share/py312-pypowerwall/web/bogus/api.operation.json
- share/py312-pypowerwall/web/bogus/api.powerwalls.json
- share/py312-pypowerwall/web/bogus/api.site_info.grid_codes.json
- share/py312-pypowerwall/web/bogus/api.site_info.json
- share/py312-pypowerwall/web/bogus/api.site_info.site_name.json
- share/py312-pypowerwall/web/bogus/api.sitemaster.json
- share/py312-pypowerwall/web/bogus/api.solars.brands.json
- share/py312-pypowerwall/web/bogus/api.solars.json
- share/py312-pypowerwall/web/bogus/api.status.json
- share/py312-pypowerwall/web/bogus/api.synchrometer.ct_voltage_references.json
- share/py312-pypowerwall/web/bogus/api.system.networks.json
- share/py312-pypowerwall/web/bogus/api.system.update.status.json
- share/py312-pypowerwall/web/bogus/api.system_status.grid_faults.json
- share/py312-pypowerwall/web/bogus/api.system_status.grid_status.json
- share/py312-pypowerwall/web/bogus/api.system_status.grid_status.json-offline
- share/py312-pypowerwall/web/bogus/api.system_status.grid_status.json-transition
- share/py312-pypowerwall/web/bogus/api.system_status.json
- share/py312-pypowerwall/web/bogus/api.system_status.soe.json
- share/py312-pypowerwall/web/bogus/api.troubleshooting.problems.json
- share/py312-pypowerwall/web/box.png
- share/py312-pypowerwall/web/example.html
- share/py312-pypowerwall/web/favicon-16x16.png
- share/py312-pypowerwall/web/favicon-32x32.png
- share/py312-pypowerwall/web/favicon.ico
- share/py312-pypowerwall/web/index.html
- share/py312-pypowerwall/web/viz-static/012955c70685614a5639d326f41890bd.png
- share/py312-pypowerwall/web/viz-static/1.17c71172308436a079d1.js
- share/py312-pypowerwall/web/viz-static/124f233cfa9945f861dcaca7acedd308.otf
- share/py312-pypowerwall/web/viz-static/230aeae00823cd3b622d093948d9c433.png
- share/py312-pypowerwall/web/viz-static/2bf15a1686c7a1bf7b577337a07d7049.otf
- share/py312-pypowerwall/web/viz-static/2cd211ee063a3608ab501624f326d61e.png
- share/py312-pypowerwall/web/viz-static/39.17c71172308436a079d1.js
- share/py312-pypowerwall/web/viz-static/40.17c71172308436a079d1.js
- share/py312-pypowerwall/web/viz-static/448c34a56d699c29117adc64c43affeb.woff2
- share/py312-pypowerwall/web/viz-static/4e28cc8f2bdf3ba640331daa2c453341.png
- share/py312-pypowerwall/web/viz-static/653969a51632a4df33358a39d7012f79.otf
- share/py312-pypowerwall/web/viz-static/722c5f898bbca8b2eb3fce0287688326.otf
- share/py312-pypowerwall/web/viz-static/86a6894da889a3db781418529403290f.otf
- share/py312-pypowerwall/web/viz-static/89889688147bd7575d6327160d64e760.svg
- share/py312-pypowerwall/web/viz-static/89aec2cc0b804667e95b1adc02e1ac4a.otf
- share/py312-pypowerwall/web/viz-static/a3b0d611359e6fa8356cd88aa9035268.otf
- share/py312-pypowerwall/web/viz-static/ac2944015a17576924af7c56d88751cb.otf
- share/py312-pypowerwall/web/viz-static/app.css
- share/py312-pypowerwall/web/viz-static/app.js
- share/py312-pypowerwall/web/viz-static/b8d72cb0ef934ba1fe847c692d9dfed1.otf
- share/py312-pypowerwall/web/viz-static/bceda3fae660177ae570735feec62811.otf
- share/py312-pypowerwall/web/viz-static/befdfda70624c396169873b05de57f8a.otf
- share/py312-pypowerwall/web/viz-static/black.js
- share/py312-pypowerwall/web/viz-static/cb0da8a8999c06735455bf5056a5cd78.png
- share/py312-pypowerwall/web/viz-static/clear.js
- share/py312-pypowerwall/web/viz-static/d859fee2eba0e67c75c4c92e719d0630.otf
- share/py312-pypowerwall/web/viz-static/dakboard.js
- share/py312-pypowerwall/web/viz-static/e19c20e966bde501f94e41cd0322dbe8.otf
- share/py312-pypowerwall/web/viz-static/ec6b35b07448e1624cb09323b5fb6e32.otf
- share/py312-pypowerwall/web/viz-static/ec89c09b066f57efc7687540c998845b.otf
- share/py312-pypowerwall/web/viz-static/eca1317ee8a99162d0d0e2df77330cec.otf
- share/py312-pypowerwall/web/viz-static/f4769f9bdb7466be65088239c12046d1.eot
- share/py312-pypowerwall/web/viz-static/grafana-dark.js
- share/py312-pypowerwall/web/viz-static/grafana.js
- share/py312-pypowerwall/web/viz-static/solar.js
- share/py312-pypowerwall/web/viz-static/vendor.js
- share/py312-pypowerwall/web/viz-static/white.js
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| jasonacox-pypowerwall-v0.14.10_GH0.tar.gz | 4.982283e+06 | 0fc1255849b5051aecf58e554132c2b56b6be896a433120ae1cb8853d606d984 |