Add README.md
This commit is contained in:
parent
13d7cea2cb
commit
9756e25f89
1 changed files with 14 additions and 0 deletions
14
README.md
Normal file
14
README.md
Normal file
|
@ -0,0 +1,14 @@
|
|||
# OpenDTU logger
|
||||
|
||||
OpenDTU logger connects to the OpenDTU livedata websocket and captures metrics.
|
||||
These metrics are inserted into a PostgreSQL database.
|
||||
Optionally, TimescaleDB can be used for better performance.
|
||||
|
||||
## Environment variables
|
||||
|
||||
```conf
|
||||
REMOTE_URL="opendtu:80"
|
||||
DB_URL="host=localhost port=5432 user=postgres password=secret dbname=dtu sslmode=disable"
|
||||
TIMESCALEDB_ENABLED="true"
|
||||
TZ="Europe/Amsterdam"
|
||||
```
|
Loading…
Reference in a new issue