https://github.com/drc38/python-fronius-web
Library for cloud-based Fronius Solar.web api
https://github.com/drc38/python-fronius-web
fronius python
Last synced: 2 months ago
JSON representation
Library for cloud-based Fronius Solar.web api
- Host: GitHub
- URL: https://github.com/drc38/python-fronius-web
- Owner: drc38
- License: mit
- Created: 2023-01-15T06:31:28.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-14T09:04:17.000Z (3 months ago)
- Last Synced: 2025-03-01T04:17:38.000Z (3 months ago)
- Topics: fronius, python
- Language: Python
- Homepage:
- Size: 98.6 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fronius Solar.web
Python client for the Fronius [Solar.web API documentation](https://www.fronius.com/~/downloads/Solar%20Energy/User%20Information/SE_UI_API_InterfaceDocumentation_EN.pdf).
Fronius [test site](https://api.solarweb.com/swqapi/index.html).## Features
- Talks to your Fronius Solar.web PV system via Cloud API
- Automatic retries with exponential backoff
- Optionally pass in a `httpx` client
- If a login and password is provided login with a bearer token can be used## Usage
Although intended as a library [`fronius_key_example.py`](https://github.com/drc38/python-fronius-web/blob/main/examples/fronius_key_example.py) is provided for testing purposes.
Authentication and PV system id for the example is provided via environment variables, e.g. on nix systems:
```
export ACCESS_KEY_ID=FKIAFEF58CFEFA94486F9C804CF6077A01AB
export ACCESS_KEY_VALUE=47c076bc-23e5-4949-37a6-4bcfcf8d21d6
export [email protected]
export LOGIN_PASSWORD=xxxxx
export PV_SYSTEM_ID=20bb600e-019b-4e03-9df3-a0a900cda689
```