No description
Find a file
Pieter Hollander 2259c8c619
All checks were successful
Build Docker image / build (push) Successful in 1m6s
Don't commit docs as long as those are not anonymised yet.
2024-02-21 11:25:23 +01:00
.gitea/workflows Add container build workflow 2024-02-21 11:23:27 +01:00
docker Add example .env 2024-02-21 11:23:47 +01:00
.gitignore Don't commit docs as long as those are not anonymised yet. 2024-02-21 11:25:23 +01:00
Dockerfile Add Dockerfile 2024-02-21 11:20:59 +01:00
go.mod Go init 2024-02-21 11:22:24 +01:00
go.sum Go init 2024-02-21 11:22:24 +01:00
main.go Add main.go 2024-02-21 11:24:32 +01:00
README.md Add README.md 2024-02-21 11:23:11 +01:00

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

REMOTE_URL="opendtu:80"
DB_URL="host=localhost port=5432 user=postgres password=secret dbname=dtu sslmode=disable"
TIMESCALEDB_ENABLED="true"
TZ="Europe/Amsterdam"