https://github.com/piger/ecowitt-collector
https://github.com/piger/ecowitt-collector
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/piger/ecowitt-collector
- Owner: piger
- Created: 2025-03-02T01:23:38.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-03-02T01:24:11.000Z (over 1 year ago)
- Last Synced: 2025-03-09T01:13:39.204Z (about 1 year ago)
- Language: Go
- Size: 25.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ecowitt-collector
A custom collector for weather data sent by the Ecowitt Weather Stations WS2910.
This program is published for documentation purposes only, as it's tailored to my own use.
## Configuration
The configuration for the collector must be provided in YAML with the following format:
```yaml
log_level: "INFO"
database:
dsn: "postgres://:@/"
table: ""
http:
address: ":8080"
```
To configure the station's panel to send weather data to this collector you can use the
[WSView Plus](https://api.ecowitt.net/api/app/download?category=WSView%20Plus) mobile app; the
collector exposes a HTTP endpoint on `/data/report/` accepting POST requests.
## Metrics
The program exposes the following metrics on the `/metrics` endpoint:
- `ecowitt_collector_requests_total`
- `ecowitt_collector_errors_total` with the `error_type` label (`parser`, `decoder`, `converter`, `db`)
## Protocol information
- [Receiving weather information in EcoWitt protocol and writing into InfluxDB and WOW](https://www.bentasker.co.uk/posts/blog/house-stuff/receiving-weather-info-from-ecowitt-weather-station-and-writing-to-influxdb.html)
- [aioecowitt](https://github.com/home-assistant-libs/aioecowitt)
- [Connecting a Weather Station to FME](https://locusglobal.com/connecting-a-weather-station-to-fme/)