https://github.com/hrbrmstr/zap
Weatherflow Tempest weather station lightning strike logger.
https://github.com/hrbrmstr/zap
lightning rust rust-cli tempest weatherflow
Last synced: 12 months ago
JSON representation
Weatherflow Tempest weather station lightning strike logger.
- Host: GitHub
- URL: https://github.com/hrbrmstr/zap
- Owner: hrbrmstr
- Created: 2022-04-11T00:02:58.000Z (almost 4 years ago)
- Default Branch: batman
- Last Pushed: 2022-04-11T00:03:00.000Z (almost 4 years ago)
- Last Synced: 2025-01-16T02:47:45.736Z (about 1 year ago)
- Topics: lightning, rust, rust-cli, tempest, weatherflow
- Language: Rust
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# zap
Weatherflow Tempest weather station lightning strike logger.
Tempest weather stations (via the base station) send JSON records over UDP broadcast.
The `evt_strike` one logs lightning strikes:
```json
{"serial_number":"ST-00055227","type":"evt_strike","hub_sn":"HB-00069665","evt":[1645548480,63,17825791]}`
```
The `evt` array is:
- index 0: Time Epoch (in seconds)
- index 1: Distance (km)
- index 2: Energy (?)
Redirect `stdout` to something useful to log. Ctrl-c to exit.