Initial release of TempestWX 1.0.0

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HS8Wa3DD7qZpX514kktof7
This commit is contained in:
swaitsandClaude Opus 5.5 committed 2026-11-23 12:25:15 -07:00
commit 50b3424599
7 files changed
+1415

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
*.swp
*~
.DS_Store
.agent-work/
.sisi/
+21
View File
@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2026 Stephen Waits
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+1158
View File
File diff suppressed because it is too large. Load diff
+81
View File
@@ -0,0 +1,81 @@
# 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.
<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`
- `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).
+93
View File
@@ -0,0 +1,93 @@
{
"tip.setup": "TempestWX: set up your token",
"tip.updated": "TempestWX, updated %1",
"ago.now": "just now",
"ago.min": "%1 min ago",
"ago.hour": "%1 h ago",
"day.today": "Today",
"time.now": "Now",
"hero.feels": "Feels like %1",
"hero.hilo": "H %1 L %2",
"next.lightning": "Lightning nearby: %1 in the last 3 h",
"next.precip.from": "%1 likely from %2",
"next.precip.now": "%1 likely now",
"next.chance": "Chance of %1 around %2 (%3)",
"next.falling": "Falling to %1 by %2",
"next.rising": "Warming to %1 by %2",
"next.dry": "Dry for the next 24 h",
"next.dryshort": "Dry for the next %1 h",
"precip.rain": "Rain",
"precip.snow": "Snow",
"precip.sleet": "Sleet",
"precip.storm": "Thunderstorms",
"tile.humidity": "humidity",
"tile.rain": "rain today",
"tile.uv": "UV",
"tile.gust": "gust %1 %2",
"tile.calm": "calm",
"tile.trend.rising": "rising",
"tile.trend.falling": "falling",
"tile.trend.steady": "steady",
"tile.lightning.none": "No lightning",
"tile.lightning.count": "%1 in 3 h",
"tile.lightning.last": "last strike %1 %2",
"tile.lightning.strikes": "strikes",
"tile.solar": "%1 W/m²",
"uv.low": "Low",
"uv.moderate": "Moderate",
"uv.high": "High",
"uv.veryhigh": "Very high",
"uv.extreme": "Extreme",
"section.nexthours": "NEXT HOURS",
"section.now": "RIGHT NOW",
"section.week": "THIS WEEK",
"footer.station": "Station %1",
"footer.updated": "Updated %1",
"footer.stale": "stale",
"footer.failed": "refresh failed, showing last data",
"footer.refresh": "Refresh",
"footer.settings": "Settings",
"loading": "Loading weather...",
"error.load": "Could not load weather: %1",
"error.rate": "Rate limited, retrying next refresh",
"error.network": "Network error",
"error.bad": "Bad response",
"error.nodata": "No data",
"error.token": "That token was rejected. Create a new one and paste it below.",
"setup.title": "Connect your Tempest station",
"setup.intro": "TempestWX reads your station through a free personal token from WeatherFlow. The token is stored only on this computer, readable only by you.",
"setup.step1": "Log in at tempestwx.com",
"setup.step2": "Open Settings, then Data Authorizations, and press Create Token",
"setup.step3": "Copy the token and paste it below",
"setup.open": "Open tokens page",
"setup.ai": "Set up with AI",
"setup.field": "Paste your token",
"setup.save": "Save and check",
"setup.checking": "Checking token...",
"setup.cancel": "Cancel",
"setup.format": "That does not look like a token. Tokens are letters, digits and dashes only.",
"setup.savefail": "Could not save the token file.",
"setup.nostations": "The token works, but no stations were found on that account.",
"setup.ok": "Connected: %1",
"setup.where": "Saved to ~/.config/tempestwx/token (owner only).",
"ai.prompt": "Help me connect the Omarchy TempestWX widget to my Tempest weather station. Steps: 1) Open https://tempestwx.com/settings/tokens in my browser (xdg-open). 2) If I am not logged in, wait while I log in myself; never ask for, type or handle my password. 3) Create a token named \"omarchy-tempestwx\" on that page and read the token value. 4) Write it to ~/.config/tempestwx/token: create the directory with mode 700, the file with mode 600, token on one line with no other text. 5) Verify it by calling GET https://swd.weatherflow.com/swd/rest/stations?token=<token> and confirm it lists my station. Never print the full token in the terminal or logs; show at most the last 4 characters. Tell me when it works.",
"station.pick": "Choose your station",
"station.pickhint": "More than one station is on this account.",
"settings.title": "Settings",
"settings.back": "Back",
"settings.token": "TOKEN",
"settings.tokenok": "Token saved (ends %1)",
"settings.replace": "Replace token",
"settings.remove": "Remove token",
"settings.confirm": "Click again to remove",
"settings.units": "Units",
"settings.unitsus": "US (°F, mph, inHg, in)",
"settings.unitsmetric": "Metric (°C, m/s, hPa, mm)",
"settings.refresh": "Refresh every (minutes)",
"settings.station": "Station",
"settings.auto": "Automatic",
"settings.display": "DISPLAY",
"settings.data": "DATA",
"settings.disclose": "TempestWX contacts swd.weatherflow.com (HTTPS) every refresh interval while the shell runs, and once more when you open the panel if data is over a minute old. Only your token and station id are sent.",
"footer.tz": "All times are in station local time (%1)"
}
+57
View File
@@ -0,0 +1,57 @@
{
"schemaVersion": 1,
"id": "io.github.swaits.tempestwx",
"name": "TempestWX",
"version": "1.0.0",
"author": "Stephen Waits",
"license": "MIT",
"homepage": "https://github.com/swaits/omarchy-tempestwx",
"description": "Current conditions and hyper-local forecast from your Tempest personal weather station.",
"kinds": [
"bar-widget"
],
"entryPoints": {
"barWidget": "Panel.qml"
},
"barWidget": {
"displayName": "TempestWX",
"description": "Station temperature in the bar; click for current conditions, the next hours and the week ahead.",
"category": "Info",
"allowMultiple": false,
"defaultSection": "centerEnd",
"defaults": {
"units": "us",
"refreshMinutes": 5,
"stationId": ""
},
"schema": [
{
"key": "units",
"type": "enum",
"label": "Units",
"options": [
"us",
"metric"
],
"defaultValue": "us",
"description": "US: degF, mph, inHg, in. Metric: degC, m/s, hPa, mm."
},
{
"key": "refreshMinutes",
"type": "integer",
"label": "Refresh interval (minutes)",
"min": 1,
"max": 60,
"step": 1,
"defaultValue": 5
},
{
"key": "stationId",
"type": "string",
"label": "Station id",
"defaultValue": "",
"description": "Optional. Leave empty to use your station automatically (or pick one in the panel settings)."
}
]
}
}
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 158 KiB