Skip to content

Latest commit

 

History

History
22 lines (12 loc) · 798 Bytes

README.md

File metadata and controls

22 lines (12 loc) · 798 Bytes

Export netatmo weather data into VictoriaMetrics.

Install

Build from source or go install sgrankin.dev/netatmo-otel@latest.

Run

To access the API, create an application in Netatmo Connect and generate a token with a read_station scope.

Pass the tokens via flags, environment, or config file. (See -help.)

The destination host is expected to be VictoriaMetrics: the OTLP routes are used for teh data export, and the Prometheus query routes are used to check what the last sample written was (for incremental sends).

Run as a cron job every 5 minutes; that's the frequency the stations will upload at. Mind the rate limits.