Skip to content

tlm-solutions/data-accumulator

Repository files navigation

Data Accumulator

built with nix

Zentral piece of software which defines the endpoint where radio stations submitt there data. It also does deduplication of telegrams and authentication of stations and forwards the data to other services over GRPC or writes it into the database.

Building

    $ nix build

Conifguration

If you are using our flake I suggest taking a look at the options documentented here: (TODO)

Environment Variables

Database and Storage

  • POSTGRES_HOST: default host "127.0.0.1"
  • POSTGRES_PORT: default port 8080
  • POSTGRES_USER user for for postgres default datacare
  • POSTGRES_DATABASE database to use default is tlms
  • POSTGRES_TELEGRAMS_PASSWORD: default pw "default_pw"
  • GRPC_HOST_X: X can be an arbitrary value all environment variables which fit this prefix will be interpreted as hosts where data should be send to via grpc.

Commandline Arguments

data-accumulator 0.3.0
[email protected]
data collection server with authentication and statistics

USAGE:
    data-accumulator [OPTIONS]

OPTIONS:
    -h, --host <HOST>    [default: 127.0.0.1]
        --help           Print help information
    -o, --offline
    -p, --port <PORT>    [default: 8080]
    -v, --verbose
    -V, --version        Print version information

The host and port option reference under which address the REST-Server should run which is exposed so client boxes can talk with this piece of software. Secondly the option --offline deactivates all authentication and postgres needs this option if primarly used by the mobile-box.

About

accumulates all the data from the different stations

Resources

Stars

Watchers

Forks

Packages

No packages published