Skip to main content
WeeWX Weather

Structured weather data with WeeWX-Conditions

WeeWX-Conditions is a WeeWX extension that exports your station's data as clean, machine-friendly JSON. No HTML skins, just structured output ready for apps, APIs, automation, and the rest of the OpenAstro ecosystem.

Three JSON artifacts

A real-time snapshot, a current-plus-min/max summary, and a NOAA-style dataset with time series and multi-period rollups.

Ecosystem foundation

Feeds the WPWeeWX WordPress plugin and pairs with the SQM-LE extension for sky quality readings.

Easy updates

Update by reinstalling the new release tarball. No uninstall step, and your configuration is preserved.

Requirements

WeeWX 5.2 or later, with archive data (typically 15-minute intervals).

Install

Download the latest release tarball from the weewx-conditions releases page, then install it with weectl:

sudo weectl extension install weewx-conditions_X.X.tar.gz

The installer automatically adds a [[ConditionsReport]] section to weewx.conf. Restart WeeWX, then generate the reports immediately if you don't want to wait for the next archive interval:

sudo weectl report run

Output files

The extension writes three JSON files alongside your other WeeWX reports:

FileContents
conditions_current.jsonReal-time snapshot: station info, generation timestamp, and current temperature, humidity, barometer, wind, and rain rate
conditions_summary.jsonEverything in the current snapshot plus daily, weekly, monthly, and yearly min/max aggregates
conditions_dataset.jsonNOAA-style layered output with time-series records and multi-period rollups

These are the URLs you'll point WPWeeWX at, and the same HTTP/JSON output AlpacaBridge's WeeWX ObservingConditions driver can consume.

Use it in AlpacaBridge

As long as your WeeWX machine and your SBC are on the same network, you can point AlpacaBridge's WeeWX ObservingConditions driver at these JSON files to show live weather data in your imaging apps. Add the WeeWX device in the AlpacaBridge web UI and give it the URL of your station's JSON output.

Updating

Install the new tarball over the old one. No uninstall needed:

sudo weectl extension install weewx-conditions_X.X.tar.gz

Uninstalling

sudo weectl extension uninstall weewx-conditions

Questions or a station that isn't cooperating? Bring it to Discord or open an issue on GitHub.