Skip to content

API for reading current RuuviTag temperatures from PostgreSQL (or TimescaleDB)

License

Notifications You must be signed in to change notification settings

niktheblak/ruuvitag-measurement-api

Repository files navigation

ruuvitag-measurement-api

API for reading current RuuviTag temperatures from PostgreSQL (or TimescaleDB).

Usage

Create a config file (TOML or YAML) with your PostgreSQL credentials:

[postgres]
host = "my-postgres-instance.cloud"
port = 5432
database = "ruuvitag"
username = "measurement_api"
password = "..."
table = "ruuvitag"
name_table = "ruuvitag_names"

[server]
port = 8180
token = ["..."]

Then run the server:

go run main.go server --config config.toml

About

API for reading current RuuviTag temperatures from PostgreSQL (or TimescaleDB)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published