A Python package that exposes data and commands for a SunStrong Management PVS6 gateway.
Project description
PyPVS
PyPVS is a Python package that provides a Python API for interacting with SunStrong Management PVS6 and PVS5 gateways. It enables developers to access gateway data and issue commands programmatically.
Firmware Requirements
Before using PyPVS, ensure your gateway is running the minimum required firmware version.
You can verify the installed firmware version in the SunStrong Connect mobile app under the Profile → System Info section, where it appears as “PVS Firmware Version.”
PVS5 Gateway
- Minimum version: 2025.11, build 5412
PVS6 Gateway
- Minimum version: 2025.06, build 61839
Installation
Install PyPVS directly from PyPI:
PyPI: pypvs
pip install pypvs
Documentation
Reference of PVS Gateway public variables
Documentation of Legacy API
Run Locally
Clone the project
git clone https://github.com/SunStrong-Management/pypvs.git
Go to the project directory
cd pypvs
Prepare virtual environment
python3 -m venv venv
Install dependencies
source venv/activate
pip install -r requirements.txt
Install in development mode (optional)
pip install -e .
Set the environment variables
export PVS_HOST=192.168.1.100
export PVS_SN=ZT240685000549F0020
Start one of the examples
python3 examples/simple_fcgi_async.py
Disclaimer
Use of this interface is at your own risk. SunStrong Management is releasing these components as-is, and assume no liability for use/mis-use of these components.
License
Related
Here are some related projects
- Home Assistant plugin using PyPVS: pvs-hass
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pypvs-0.2.8.tar.gz.
File metadata
- Download URL: pypvs-0.2.8.tar.gz
- Upload date:
- Size: 31.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b682113cfafccd673ba3b3b3b2e4ade37e50da6f7bf2d45f063fed11050ad106
|
|
| MD5 |
f44f4b806de532cd5963495947f190fd
|
|
| BLAKE2b-256 |
19113821c92964318ecc0146aa886ac1e64ab0799c85e627b15b24486d42d3c1
|
Provenance
The following attestation bundles were made for pypvs-0.2.8.tar.gz:
Publisher:
publish.yaml on SunStrong-Management/pypvs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pypvs-0.2.8.tar.gz -
Subject digest:
b682113cfafccd673ba3b3b3b2e4ade37e50da6f7bf2d45f063fed11050ad106 - Sigstore transparency entry: 1252425112
- Sigstore integration time:
-
Permalink:
SunStrong-Management/pypvs@083db45879c8ce2abfabff010910e4cb8d7bd38b -
Branch / Tag:
refs/tags/v0.2.8 - Owner: https://github.com/SunStrong-Management
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@083db45879c8ce2abfabff010910e4cb8d7bd38b -
Trigger Event:
release
-
Statement type:
File details
Details for the file pypvs-0.2.8-py3-none-any.whl.
File metadata
- Download URL: pypvs-0.2.8-py3-none-any.whl
- Upload date:
- Size: 26.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
affb29e3bcfac4f8deb538451ebbd49bb36971fcfae43095d51863ac5f05a29a
|
|
| MD5 |
c0d7e6e2961eee769cfad66437d477a7
|
|
| BLAKE2b-256 |
7ccf01862bb1e0ab8264097313e4f11fdba87aa9310d13bdf820c726c49bbfd2
|
Provenance
The following attestation bundles were made for pypvs-0.2.8-py3-none-any.whl:
Publisher:
publish.yaml on SunStrong-Management/pypvs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pypvs-0.2.8-py3-none-any.whl -
Subject digest:
affb29e3bcfac4f8deb538451ebbd49bb36971fcfae43095d51863ac5f05a29a - Sigstore transparency entry: 1252425127
- Sigstore integration time:
-
Permalink:
SunStrong-Management/pypvs@083db45879c8ce2abfabff010910e4cb8d7bd38b -
Branch / Tag:
refs/tags/v0.2.8 - Owner: https://github.com/SunStrong-Management
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@083db45879c8ce2abfabff010910e4cb8d7bd38b -
Trigger Event:
release
-
Statement type: