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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pypvs-0.2.9.tar.gz
  • Upload date:
  • Size: 34.6 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.9.tar.gz
Algorithm Hash digest
SHA256 7eb4a60096ceacb8e4b0b1340dc6cd12080ede79edcc286d022216e04d121d2b
MD5 c307c3520423bc2e771bbb8cebec11e0
BLAKE2b-256 eb6e3a0d4bca053ff115f7f7f939a868c2e98ce5b066f735dcd72b23e40b6b5c

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pypvs-0.2.9-py3-none-any.whl
  • Upload date:
  • Size: 27.4 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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 d4ba36424584b361a60f494f43d75d20ecbd44b990b737243da9d294449c2b8d
MD5 ba2a5dbbfeefe95c0c19892611ec4549
BLAKE2b-256 4082da7b3800cb0062d6288d2dd80c73c2aade7cb048cc9cda8791e5869d5123

See more details on using hashes here.

Provenance

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