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.7.tar.gz (25.8 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.7-py3-none-any.whl (21.4 kB view details)

Uploaded Python 3

File details

Details for the file pypvs-0.2.7.tar.gz.

File metadata

  • Download URL: pypvs-0.2.7.tar.gz
  • Upload date:
  • Size: 25.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pypvs-0.2.7.tar.gz
Algorithm Hash digest
SHA256 6430db265608e9fdd78e76e37ade3f897921540da8eb63b894164dcc3c87c977
MD5 bc344ad62bfb5b5d04bfca01a2c5c8e2
BLAKE2b-256 d5c15bedc05d087bb0bab4f6e74ca53b2dc3bd8c49584ae1acd33513f6395c9e

See more details on using hashes here.

Provenance

The following attestation bundles were made for pypvs-0.2.7.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.7-py3-none-any.whl.

File metadata

  • Download URL: pypvs-0.2.7-py3-none-any.whl
  • Upload date:
  • Size: 21.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pypvs-0.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 1694caa64bdb7fb8f2d99fe0afec8b907d53fda34196e87e87da6c896e49227e
MD5 2c759676965abc73f6562c7599a09002
BLAKE2b-256 83bdd3fa7600f6a10c664e7992cbca1a16a8b803dc3c3905716e460fb5928d00

See more details on using hashes here.

Provenance

The following attestation bundles were made for pypvs-0.2.7-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