Docker image which reads from the Amber Electric API and stores the data into influxdb.
You need to set the following variables
# Required
[email protected]
AE_PASSWORD=my-very-secrey-password
# Optional (defaults below)
INFLUXDB_HOSTNAME=influxdb
INFLUXDB_DATABASE=amber_electric
# Build
docker build -t amber-electric-influxdb .
# Configure a direnv .envrc with all the variables
# Test
docker run -it \
-e AE_USERNAME="$AE_USERNAME" \
-e AE_PASSWORD="$AE_PASSWORD" \
-e INFLUXDB_HOSTNAME="$INFLUXDB_HOSTNAME" \
-e INFLUXDB_DATABASE="$INFLUXDB_HOSTNAME" \
-e ONCE=true \
amber-electric-influxdb
# Update the change log
vi CHANGELOG.md
# Create a release
hub release create --browse v1.0.0
# Import the changelog
:r CHANGELOG.md
# Check Github Actions