No description
Find a file
Pieter Hollander df385055f4
Some checks failed
Build Docker image / build (push) Successful in 1m16s
Build Golang packages / release (push) Has been cancelled
Another try with gitea package.
2024-02-21 19:34:31 +01:00
.gitea/workflows Another try with gitea package. 2024-02-21 19:34:31 +01:00
docker Add example .env 2024-02-21 11:23:47 +01:00
.gitignore Don't include compiled binary 2024-02-21 15:44:44 +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 Cleanup TODO, add documentation, add slog, change SQL for TimescaleDB compatibility. Split hints into hints table. 2024-02-21 18:56:29 +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"