RESTful interface for reading Huawei Sun2000 inverter metrics.
1.5K
RESTful interface for reading Huawei Sun2000 inverter metrics.
docker run -d --name sun2000-rest \
-p 5000:5000 \
-e ACCEPTED_API_KEYS=secretApiKey \
olivergregorius/sun2000-rest:latest
The application can be configured setting the following environment variables:
| Environment Variable | Description | Example | Default Value |
|---|---|---|---|
| INVERTER_HOST | Inverter IP address, usually 192.168.200.1 | 192.168.200.1 | 192.168.200.1 |
| INVERTER_PORT | Inverter Modbus TCP port, usually 502, or 6607 on newer firmwares | 6607 | 6607 |
| ACCEPTED_API_KEYS | Comma separated list of one or more API keys for authorization | secretApiKey,anotherSecretApiKey | |
| LOG_LEVEL | Log level | DEBUG | INFO |
| UWSGI_WORKERS | Set amount of workers/processes | 5 | 5 |
We use SemVer for versioning. For the versions available, see the tags on this repository.
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE file for details.
Content type
Image
Digest
sha256:29cf0cfc6…
Size
27.7 MB
Last updated
over 3 years ago
docker pull olivergregorius/sun2000-rest