Skip to content

SunStrong-Management/pypvs

Repository files navigation

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

About

Python PVS local interface

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages