# Get live wind on your flying sites

PiGi already reads a shared network of weather stations, so a school connects nothing: you link the stations near each flying site, star one as primary, and the live wind appears on the site and in the student portal. A station that isn't in the list has to be added by PiGi first.

Source: https://help.pigi.io/guides/integrations/operations/weather-stations

## Quick answers

**Do I need to connect a weather provider or enter an API key?**
No. PiGi reads the stations itself and shares them with every school. All you do is
link the right stations to your flying sites.

**How do I put live wind on a flying site?**
Open the site from **School → Flying Sites**, find the **Weather stations** card, type
the station's name in the "Link a weather station…" picker and click it. Click the ☆
on the station that should represent the site.

**My station isn't in the list. Can I add it?**
Not yourself. The station list is maintained by PiGi. Contact PiGi support with the
station's name, its provider or owner, and where it is, and ask for it to be added.

**Who can see the wind once a station is linked?**
Your staff on the flying sites list and the site's edit page, and students in the
portal's site browse. The full station list is at /resources/weather/stations.

**Does it cost anything?**
No. Weather stations are part of PiGi; there is no separate provider account.

**Why is a station showing "Stale reading"?**
The station has stopped sending data. The last values are still shown — don't fly
off them. If it stays stale, tell PiGi support; the station's owner usually has to
fix it.

## What this does

A flying site is somewhere you fly; a weather station is hardware nearby that
measures wind. Linking them puts the current wind, gust, direction and risk zone on
the site, so staff and students can check conditions before driving out. Readings
refresh about once a minute.

## Before you start

- The **admin** role in PiGi.
- The flying site already exists in PiGi.
- Know which stations cover the site — the station list at
  /resources/weather/stations and its map view help.

## Set up the stations

There is nothing to set up outside PiGi. PiGi holds the station catalogue: which
stations exist, which provider feeds each one, who owns it and where it sits. Only
PiGi staff can change it. If you own a station that PiGi doesn't read yet, contact
PiGi support with its details.

## Connect it to PiGi

1. Open **School → Flying Sites** and click into the site.
2. Find the **Weather stations** card in the right-hand rail.
3. Click the picker at the bottom of the card ("Link a weather station…") and type
   part of the station's name.
4. Click the station. The toast reads "Weather station linked" and the row shows its
   current reading.
5. Repeat for any other stations covering the site.
6. Click the ☆ on the station whose wind should appear on the site's badge. The toast
   reads "Primary station set".

To remove a station, hover its row and click the ✕; the toast reads "Weather station
removed".

## Test it

1. Go back to **School → Flying Sites**. The site's card should now show a wind badge.
2. Open /resources/weather/stations and confirm the same station shows a recent
   **Last updated** time.
3. In the student portal, browse flying sites and check the site carries the same
   badge.

## Troubleshooting

| What you see | What to do |
|---|---|
| "No stations linked yet." | Nothing is linked. Use the picker on the card. |
| "Failed to link station" | Try again; if it persists, contact PiGi support. |
| Station missing from the picker | It is already linked to this site, or it isn't in PiGi's catalogue — ask support to add it. |
| "Stale reading" | The station stopped reporting. Link a second nearby station meanwhile. |
| Badge shows a different station from the one you expect | Star the right one as primary. Without a starred station, or when it is stale, the next linked station with a reading is used. |

## Known limitations

- You can't add a station or a station provider yourself.
- Links belong to the site, not your school. On a shared public site, your changes
  apply to every school using it.
- One primary station per site.
- "Last updated" is the time PiGi received the reading, not the time the station
  stamped it.

## Sources

PiGi provides the stations itself, so there is no provider documentation to follow.
See [Link weather stations to a flying site](../equipment/link-stations-to-sites.md)
and [Read the weather stations](../equipment/weather-stations.md).
