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.
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.”
- Minimum version: 2025.11, build 5412
- Minimum version: 2025.06, build 61839
Install PyPVS directly from PyPI:
PyPI: pypvs
pip install pypvsReference of PVS Gateway public variables
Documentation of Legacy API
Clone the project
git clone https://github.com/SunStrong-Management/pypvs.gitGo to the project directory
cd pypvsPrepare virtual environment
python3 -m venv venvInstall dependencies
source venv/activate
pip install -r requirements.txtInstall in development mode (optional)
pip install -e .Set the environment variables
export PVS_HOST=192.168.1.100
export PVS_SN=ZT240685000549F0020Start one of the examples
python3 examples/simple_fcgi_async.pyUse 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.
Here are some related projects
- Home Assistant plugin using PyPVS: pvs-hass