# TempestWX
Hyper-local weather in the Omarchy bar, from your own
[Tempest](https://tempest.earth) personal weather station. The bar pill shows
the station temperature; click it for current conditions (feels like, wind,
pressure, humidity, UV, rain, lightning), the next hours, and the week ahead.

Not affiliated with or endorsed by WeatherFlow or Tempest.
## Install
```sh
omarchy plugin add https://github.com/swaits/omarchy-tempestwx.git --enable
```
The widget defaults to the `centerEnd` bar section. To put it somewhere else:
```sh
omarchy bar move io.github.swaits.tempestwx --section
```
## Setup
TempestWX needs a personal access token for your WeatherFlow account:
1. Sign in at [tempestwx.com](https://tempestwx.com), then go to
**Settings → Data Authorizations → Create Token**.
2. Click the widget and paste the token into the panel.
Or click **Set up with AI** in the panel (shown when `omarchy-agent` is
installed). It runs `omarchy agent prompt ...` and walks an agent through
creating the token and saving it for you.
The token is stored at `~/.config/tempestwx/token` (directory `0700`, file
`0600`).
## Settings
Open the widget's settings in the bar settings form, or edit its entry in
`~/.config/omarchy/shell.json`.
| Key | Default | Meaning |
|-----|---------|---------|
| `units` | `us` | `us` (°F, mph, inHg, in) or `metric` (°C, m/s, hPa, mm) |
| `refreshMinutes` | `5` | How often to fetch, 1-60 |
| `stationId` | empty | Optional. Empty uses your station automatically; if your account has several, pick one in the panel |
## Update
```sh
omarchy plugin update io.github.swaits.tempestwx
```
## Remove
```sh
omarchy plugin remove io.github.swaits.tempestwx
rm -r ~/.config/tempestwx # optional: deletes your saved token
```
## Dependencies
- `curl`
- `xdg-open` (from `xdg-utils`), to open the token page in your browser
- `omarchy-agent`, optional, only for the **Set up with AI** button
No other packages. No sudo.
## Network and privacy
The plugin talks only to `https://swd.weatherflow.com` (the WeatherFlow
Tempest API), once every `refreshMinutes` minutes while the shell runs. Your
token is passed to `curl` over stdin, never on a command line, and never
leaves your machine except in those requests to WeatherFlow. It is not logged
or displayed. The plugin writes nothing besides `~/.config/tempestwx/token`.
## License
MIT, see [LICENSE](LICENSE).