Repository navigation
Online Weather
BlueDive can fill in the weather at the surface for a dive — Weather, Air Temp., Wind and Wind Direction — from the free Open-Meteo weather service, using the dive's GPS coordinates and the time the dive started. You can look up the weather for one dive while editing it, for every dive in your logbook at once, or for the dives you've just downloaded over Bluetooth.
The service is off by default. Nothing is ever sent to Open-Meteo until you turn it on and then choose to fetch the weather.
This works the same way on iPhone, iPad and Mac.
Go to Settings → Online Services and turn on Fetch weather online.
The first time you open BlueDive after installing or updating it (once the intro, disclaimer and Welcome Tour are done), BlueDive also asks Fetch the weather online for your dives? Choose Turn On to enable the service, or Not Now to leave it off. The question is asked only once; you can change your answer at any time in Settings → Online Services. It isn't asked when BlueDive was opened from a file or a widget.
While Fetch weather online is off, the Fetch weather online section doesn't appear in Edit Conditions, Update Weather for All Dives is greyed out, and no weather question is shown after a Bluetooth download.
- GPS coordinates — BlueDive uses the dive's entry coordinates, or its exit coordinates when there is no entry position. Add them in the dive's Site Details if the dive doesn't have any. Most dive computers don't record GPS positions, so dives downloaded from them have no coordinates until you add them.
- A date and time in the past — the weather is taken for the hour nearest the dive's start. Very recent dives are supported, but a dive dated in the future has no observed weather and is skipped.
- An internet connection.
| Field | What BlueDive stores |
|---|---|
| Weather | Sunny (Day), Clear (Night), Cloudy, Overcast, Fog, Drizzle, Rain, Snow or Storm. Variable is never set, since one hourly reading can't describe changing weather. |
| Air Temp. | The air temperature in the dive's own temperature unit. |
| Wind | A Beaufort-based strength: Calm (under 1 knot), Light (1–10 knots), Moderate (11–16), Fresh (17–21), Strong (22–33) or Gale (34 knots and more). |
| Wind Direction | One of eight compass points (N, NE, E, SE, S, SW, W, NW) — the direction the wind blows from. A calm wind has no direction, so the field is left as it is. |
A field Open-Meteo has no value for is never cleared or changed. Surface, Current, Visibility and the water temperatures are not affected — they describe the water, not the weather.
The site's local time, including daylight saving time, is worked out by Open-Meteo from the coordinates. For offshore sites far from the coast, Open-Meteo uses a fixed sea time zone without daylight saving, so the weather may come from an hour later than expected during the summer.
Each place that fetches the weather lets you choose how existing values are treated:
- Replace existing weather on — every field Open-Meteo returns a value for is replaced, including values you entered yourself and the air temperature.
- Replace existing weather off — only empty fields are filled; the weather you already have is kept.
After a Bluetooth download, BlueDive always fills empty fields only.
Settings → Online Services → Replace existing weather sets how the Replace existing weather switch in Edit Conditions starts each time the sheet opens:
- Off — the switch always starts off.
- On — the switch always starts on.
- Last Used (default) — the switch starts the way you last left it in Edit Conditions. Until you have changed it once, it starts off, so Fetch Weather fills only empty fields.
Before BlueDive 2.1 the switch always started on; choose On to keep that behaviour.
The setting is greyed out while Fetch weather online is off. The switch in the sheet applies only to that sheet; with Off or On, changing it never changes the setting. Update Weather for All Dives has its own Replace existing weather switch, which always starts off and is not affected by this setting.
- Open the dive, select the Conditions tab and tap the edit (pencil) button to open Edit Conditions.
- At the top, the Fetch weather online section has a Fetch Weather button and a Replace existing weather switch, which starts as set in Settings → Online Services → Replace existing weather (see above).
- Tap Fetch Weather. While the lookup runs, the weather fields and Save are locked.
- Review the fields, then tap Save to keep them, or Cancel to discard them. Nothing is stored until you save.
The note below the button tells you what happened, for example The weather fields were filled. Review them before saving., Every weather field already has a value. Nothing was changed., or No weather data is available for this dive's date and place. If the dive has no coordinates, the button is disabled and the note reads Add the dive site's GPS coordinates in Site Details to fetch the weather online. If Open-Meteo can't be reached or can't answer, a Weather could not be fetched message explains why.
Settings → Online Services → Update Weather for All Dives looks up the weather for every dive with GPS coordinates — useful after importing an existing logbook, since file imports never fetch the weather on their own.
The Update Weather page shows:
- Dives with GPS coordinates — how many dives can be looked up.
- With empty weather fields — how many of those still have at least one empty weather field.
- A Replace existing weather switch, off by default, so only empty fields are filled unless you choose otherwise.
Tap Fetch Weather. BlueDive asks you to confirm (Fetch the weather for … dives?), reminding you that each dive's coordinates and date are sent to Open-Meteo and that it can take several minutes. With Replace existing weather on, the confirmation warns that values you entered will be replaced too.
During the run:
- The newest dives are fetched first, and a progress bar shows how far along it is.
- Tap Stop Fetching to stop. The weather already fetched is kept.
- Leaving the page also stops the run.
- On iPhone and iPad the screen stays awake while it runs; moving BlueDive to the background stops it.
- The run stops at the first network or service problem (for example, no connection, or Open-Meteo refusing more requests for the moment).
When it ends, a summary tells you how many dives got weather, for example Weather added to 25 of 30 dives. Because the default mode skips dives already filled, you can simply run it again later to continue where it stopped. Open-Meteo limits how many requests can be made in an hour, so a very large logbook may need more than one run.
When Fetch weather online is on and at least one dive you just downloaded has GPS coordinates and an empty weather field, the sync results ask whether to fetch their weather — for example Fetch the weather from Open-Meteo for 3 downloaded dives with GPS coordinates? Tap Fetch Weather to look them up, or simply close the screen to skip — nothing is sent unless you tap the button.
The fetch after a download only ever fills empty fields, so weather you entered on a re-downloaded dive is never overwritten. If a dive computer measures the air temperature at the surface itself, that reading is kept. Closing the screen while the fetch is running stops it; the dives already updated keep their weather. If it stops early, use Fetch Weather in Edit Conditions (or Update Weather for All Dives) later for the rest. See Importing Dives via Bluetooth Sync.
- Only the dive's GPS coordinates and date are sent to Open-Meteo, and only when you fetch the weather. No name, account or other dive data is sent, and Open-Meteo needs no account or sign-in.
- Requests aren't kept in BlueDive's on-disk web cache.
- Reset preferences (Settings → Data Management) turns Fetch weather online back off, and sets Replace existing weather back to Last Used (forgetting your last choice).
Weather data by Open-Meteo.com, licensed under CC BY 4.0, converted to BlueDive's weather, wind and wind direction options. The credit is shown wherever the weather is fetched and in About BlueDive → Acknowledgements.