fwPunsher / batteryMqtt

GNU General Public License v3.0
2 stars 0 forks source link

Battery MQTT Client

Local script to fetch Data for ASGOFT ASE 1000 and related variants of solar battery.

Create a docker image using

docker build -t battery-mqtt-client .

Run using:

docker run -d \
  -e MQTT_BROKER='192.168.1.2' \
  -e MQTT_PORT='1883' \
  -e DEVICE_ID='DEVICE ID FROM APP'
  -e APP_CODE='ASGOFT' \
  -e LOGIN_NAME='test@example.com' \
  -e PASSWORD='YourPassword' \
  --name battery-mqtt-client battery-mqtt-client

Alternatively edit the configuration section and run the script directly

Configuration Parameters

This application can be configured through the following environment variables. Please note that some of these are mandatory for the application to function correctly: