Sign inSign up

vdbg/weewx-influx

By vdbg

Updated almost 4 years ago

Import Weewx weather data to influx db - https://github.com/vdbg/weewx-influx

Image
0

1.1K

vdbg/weewx-influx repository overview

Allows for importing weather station data from WeeWX to InfluxDB v2.

Requirements

  • WeeWX configured on a device.
  • InfluxDB v2 installed on this or another device, and a bucket created in influxDB.

Setup

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

Tag summary

Content type

Image

Digest

sha256:472923ca0

Size

25.1 MB

Last updated

almost 4 years ago

docker pull vdbg/weewx-influx