Files
go-weatherstation/config.yaml

37 lines
658 B
YAML

mqtt:
broker: "tcp://mosquitto:1883"
client_id: "go-weatherstation-ingestd"
qos: 1
topics:
- name: "ws90"
topic: "ecowitt/ws90"
type: "ws90"
# - name: "baro"
# topic: "sensors/barometer"
# type: "baro"
db:
conn_string: "postgres://postgres:postgres@timescaledb:5432/micrometeo?sslmode=disable"
site:
name: "home"
latitude: -33.8688
longitude: 151.2093
elevation_m: 50
pollers:
open_meteo:
enabled: true
interval: "30m"
model: "ecmwf"
web:
enabled: true
listen: ":8080"
wunderground:
enabled: true
station_id: "ISSYDWXYZ123"
station_key: "your_station_key_here"
interval: "60s"