Requests data from MyStrom switch and stores in sql database.
SQL_URL
- the URL for database, e.g. mysql+pymysql://user:password@host:3306/database
export SQL_URL=mysql+pymysql://user:password@host:3306/database
python -m main
export SQL_URL=postgresql+psycopg2://user:password@host:5432/database
python -m main
docker run \
--name mystrom-python \
-e "SQL_URL=mysql+pymysql://user:password@host:3306/database" \
ghcr.io/maexled/mystrom-python:master
docker run \
--name mystrom-python \
-e "SQL_URL=postgresql+psycopg2://user:password@host:5432/database" \
ghcr.io/maexled/mystrom-python:master