Skip to main content

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.

GitHub Release


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 - Version
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

MIT

Related

Here are some related projects

  • Home Assistant plugin using PyPVS: pvs-hass

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pypvs-0.2.8.tar.gz (31.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pypvs-0.2.8-py3-none-any.whl (26.8 kB view details)

Uploaded Python 3

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

Hashes for pypvs-0.2.8.tar.gz
Algorithm Hash digest
SHA256 b682113cfafccd673ba3b3b3b2e4ade37e50da6f7bf2d45f063fed11050ad106
MD5 f44f4b806de532cd5963495947f190fd
BLAKE2b-256 19113821c92964318ecc0146aa886ac1e64ab0799c85e627b15b24486d42d3c1

See more details on using hashes here.

Provenance

The following attestation bundles were made for pypvs-0.2.8.tar.gz:

Publisher: publish.yaml on SunStrong-Management/pypvs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for pypvs-0.2.8-py3-none-any.whl
Algorithm Hash digest
SHA256 affb29e3bcfac4f8deb538451ebbd49bb36971fcfae43095d51863ac5f05a29a
MD5 c0d7e6e2961eee769cfad66437d477a7
BLAKE2b-256 7ccf01862bb1e0ab8264097313e4f11fdba87aa9310d13bdf820c726c49bbfd2

See more details on using hashes here.

Provenance

The following attestation bundles were made for pypvs-0.2.8-py3-none-any.whl:

Publisher: publish.yaml on SunStrong-Management/pypvs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page