diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..1ef4541 --- /dev/null +++ b/.env.example @@ -0,0 +1,36 @@ +# Meteostick Logger Configuration +# Copy this file to .env and customize for your setup + +# Meteostick Hardware Configuration +METEOSTICK_PORT=/dev/ttyACM0 +METEOSTICK_BAUDRATE=115200 +METEOSTICK_FREQUENCY=EU +METEOSTICK_RF_SENSITIVITY=90 + +# Weather Station Channels +# Set to 1-8 for active channels, 0 to disable +METEOSTICK_ISS_CHANNEL=1 +METEOSTICK_ANEMOMETER_CHANNEL=0 +METEOSTICK_LEAF_SOIL_CHANNEL=0 +METEOSTICK_TH1_CHANNEL=0 +METEOSTICK_TH2_CHANNEL=0 + +# Rain Bucket Configuration +# 0 = 0.01 inch buckets (US) +# 1 = 0.2 mm buckets (Metric) +METEOSTICK_RAIN_BUCKET=1 + +# InfluxDB Configuration +METEOSTICK_ENABLE_INFLUXDB=true +METEOSTICK_INFLUXDB_HOST=localhost +METEOSTICK_INFLUXDB_PORT=8086 +METEOSTICK_INFLUXDB_DB=weather +METEOSTICK_INFLUXDB_MEASUREMENT=meteostick + +# InfluxDB Authentication +# Generate a token in InfluxDB UI: Data -> Tokens -> Generate Token +METEOSTICK_INFLUXDB_TOKEN=your_influxdb_token_here + +# Optional: Legacy username/password authentication (deprecated) +# METEOSTICK_INFLUXDB_USER=username +# METEOSTICK_INFLUXDB_PASS=password