round measurement to one place after comma
update docs
fix line protocol converter
Using the Raspberry Pi and BME280 to measure weather elements (temperature, humidity and pressure).
Data is written as stream using RxPY to an InfluxDB instance.
Source: https://github.com/pimoroni/bme280-python
sudo raspi-config nonint do_i2c 0
Pi GPIO | BME280 |
---|---|
3.3V or 5V | VCC |
GND | GND |
SDA | SDA (SDI) |
SCL | SCL (SCK) |
Source: https://projects.raspberrypi.org/en/projects/build-your-own-weather-station/2
More Information on GPIO: The Raspberry Pi GPIO pinout guide.
sudo apt-get install -y i2c-tools
i2cdetect -y 1
pipx install git+https://git.sr.ht/~talfus-laddus/weather-sensor
Configuration paths:
XDG_CONFIG_HOME/weather-sensor/config.ini
$HOME/.config/weather-sensor/config.ini
Example configuration:
[influx2]
url=http://localhost:8086
org=my-org
token=my-token
Usage: ws [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
run
sync