Sign inSign up

irekk/sma-node

By irekk

•Updated about 6 years ago

Image
0

170

irekk/sma-node repository overview

⁠SMA API client for NodeJS

⁠Configuration

⁠SMA_URL environment variable

Accepts URL to inverter unit, it should contain protocol and IP or hostname. No default value.

SMA_URL=https://192.168.0.2
⁠SMA_USER environment variable

Accepts inverter API user name. This can be either adm or usr. Defaults to usr.

SMA_USER=usr
⁠SMA_PASS environment variable

Accepts inverter API user password. No default value.

SMA_PASS=MyPassWord!23
⁠INTERVAL environment variable

Accepts number of seconds between each probe. Defaults to 300 seconds.

INTERVAL=300
⁠DESTINATION environment variable

Accepts either webhook URL or path to log file. Defaults to /var/log/sma.log seconds.

DESTINATION=https://www.example.com/sma/webhook
DESTINATION=/var/log/sma.log

Tag summary

Content type

Image

Digest

Size

28.6 MB

Last updated

about 6 years ago

docker pull irekk/sma-node