Sign inSign up

olivergregorius/sun2000-rest

By olivergregorius

•Updated over 3 years ago

RESTful interface for reading Huawei Sun2000 inverter metrics.

Image
0

1.5K

olivergregorius/sun2000-rest repository overview

⁠sun2000-rest

RESTful interface for reading Huawei Sun2000 inverter metrics.

⁠Latest tag

  • 1.0.1, latest

⁠Supported platforms

  • amd64
  • arm64

⁠How to use this image

⁠Basic configuration
docker run -d --name sun2000-rest \
-p 5000:5000 \
-e ACCEPTED_API_KEYS=secretApiKey \
olivergregorius/sun2000-rest:latest
⁠Configuration options

The application can be configured setting the following environment variables:

Environment VariableDescriptionExampleDefault Value
INVERTER_HOSTInverter IP address, usually 192.168.200.1192.168.200.1192.168.200.1
INVERTER_PORTInverter Modbus TCP port, usually 502, or 6607 on newer firmwares66076607
ACCEPTED_API_KEYSComma separated list of one or more API keys for authorizationsecretApiKey,anotherSecretApiKey
LOG_LEVELLog levelDEBUGINFO
UWSGI_WORKERSSet amount of workers/processes55

⁠Find Me

⁠Versioning

We use SemVer⁠ for versioning. For the versions available, see the tags on this repository⁠.

⁠Authors

See also the list of contributors⁠ who participated in this project.

⁠License

This project is licensed under the MIT License - see the LICENSE⁠ file for details.

Tag summary

Content type

Image

Digest

sha256:29cf0cfc6…

Size

27.7 MB

Last updated

over 3 years ago

docker pull olivergregorius/sun2000-rest