Sign inSign up

vdbg/tile-influx

By vdbg

Updated almost 2 years ago

Allows for importing data from Tile⁠ to InfluxDB⁠ v2.

Image
Internet of things
0

1.9K

vdbg/tile-influx repository overview

Tile-influx

Allows for importing data from Tile to InfluxDB v2.

Requirements

  • Tile credentials associated with active Tile(s) devices.
  • A device with either Docker or Python 3.11+ installed.
  • InfluxDB v2 installed on this device or another device, and a bucket created in influxDB.

Setup

The app reads the settings from template.config.toml, then config.toml (if it exists), then environment variables. See template.config.toml for details.

With Docker without config file

Dependency: Docker installed.

Inspect template.config.toml file for all the settings that need to be overriden. Command will look something like:

sudo docker run \
  -d \
  --name tile-influx \
  --memory=100m \
  --pull=always \
  --restart=always \
  -e TILE_INFLUX_TILE_USERNAME=user \
  -e TILE_INFLUX_TILE_PASSWORD=password \
  -e TILE_INFLUX_INFLUX_TOKEN=token \
  vdbg/tile-influx:latest
With Docker using config file

Dependency: Docker installed.

  1. Download and run the Docker image: sudo docker run --name tile-influx -v config.toml:/app/config.toml vdbg/tile-influx:latest
  2. Copy the template config file from the image: sudo docker cp tile-influx:/app/template.config.toml config.toml
  3. Edit config.toml by following the instructions in the file
  4. Start the container again to verify the settings are correct: sudo docker start tile-influx -i
  5. Once the settings are finalized, Ctrl-C to stop the container, sudo docker container rm tile-influx to delete it
  6. Start the container with the final settings:
sudo docker run \
  -d \
  --name tile-influx \
  -v /path_to_your/config.toml:/app/config.toml \
  --memory=100m \
  --pull=always \
  --restart=always \
  vdbg/tile-influx:latest

Tag summary

Content type

Image

Digest

sha256:063044f31

Size

29.2 MB

Last updated

almost 2 years ago

docker pull vdbg/tile-influx