Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HS8Wa3DD7qZpX514kktof7
94 lines
3.0 KiB
Markdown
94 lines
3.0 KiB
Markdown
# 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 (scroll the hourly
|
|
strip with the mouse wheel), and the week ahead.
|
|
|
|
## Live mode
|
|
|
|
While the panel is open it streams from WeatherFlow's WebSocket: wind about
|
|
every 3 seconds, full observations every minute. A status pill shows the
|
|
state: `LIVE`, `LINKING`, `RETRY`, `POLL 15s` or `OFFLINE`. Streaming stops
|
|
when the panel closes. If `python3` is missing, the panel falls back to
|
|
polling the REST API every 15 seconds.
|
|
|
|
<p align="center"><img src="preview.png" alt="TempestWX panel" width="360"></p>
|
|
|
|
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 <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`
|
|
- `python3` (standard on Omarchy), for live mode
|
|
- `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 WeatherFlow's Tempest service: `https://swd.weatherflow.com`
|
|
(REST) once every `refreshMinutes` minutes while the shell runs, and
|
|
`wss://ws.weatherflow.com` (WebSocket) only while the panel is open. Your
|
|
token is passed to `curl` over stdin, never on a command line, and to the
|
|
WebSocket by the live helper (`live.py`); it never leaves your machine except
|
|
in requests to WeatherFlow. It is not logged or displayed. The plugin writes
|
|
nothing besides `~/.config/tempestwx/token`.
|
|
|
|
## License
|
|
|
|
MIT, see [LICENSE](LICENSE).
|