Dublin Bay Temp

Widgets & embeds

Put the bay's live conditions on your club website, your phone's home screen, or your wrist. All free, all using the same buoy data.

Embed on your website

Live preview — this is what your visitors would see:

Copy this into your site's HTML. It updates itself, adapts to light and dark themes, and links back here. Perfect for swim club, triathlon and sailing club sites.

<iframe src="https://dublinbaytemp.github.io/widget.html"
  width="320" height="200" title="Dublin Bay sea conditions"
  style="border:0;border-radius:14px" loading="lazy"></iframe>
iPhone home-screen widget

Via the free Scriptable app — a live sea temp, wind, waves and next-tide widget on your home screen:

  1. Install Scriptable from the App Store (free)
  2. Open it, tap +, and paste in this script (open the link, select all, copy)
  3. Name it Dublin Bay and save
  4. Long-press your home screen → add a Scriptable widget (small) → tap it → choose the Dublin Bay script

It refreshes itself roughly every 15 minutes and opens this site when tapped.

View the widget script
Android home-screen widget

Via KWGT (Kustom Widget Maker) — the closest Android equivalent. You'll need the KWGT Pro key (a few euro, one-off) for its web-fetch feature:

  1. Install KWGT from the Play Store (+ the Pro key)
  2. Long-press your home screen → Widgets → place a KWGT widget, then tap it to open the editor
  3. Add a Text item and set its text to this formula:
$wg("https://api.dublinbaybuoy.com/rest/v1/readings?select=water_temp&water_temp=not.is.null&order=timestamp.desc&limit=1&apikey=sb_publishable_R5KkIpbiwNajUyx3I4aewQ_S4NI8hl3", json, $[0].water_temp)$°C

Add more Text items for wind and waves by swapping water_temp in the filter for avg_wind or wave_height. Style it however you like — KWGT refreshes web data every 15–30 minutes.

Apple Watch & Siri

A Siri Shortcut works on both iPhone and Apple Watch — raise your wrist and ask. Build it once in the Shortcuts app (4 actions):

  1. Get Contents of URL — paste:
    https://api.dublinbaybuoy.com/rest/v1/readings?select=water_temp&water_temp=not.is.null&order=timestamp.desc&limit=1
    then Show More → Headers → add apikey with value:
    sb_publishable_R5KkIpbiwNajUyx3I4aewQ_S4NI8hl3
  2. Get Item from List → First Item
  3. Get Dictionary Value → key water_temp
  4. Show Result: Dublin Bay is [Dictionary Value]°C — Siri speaks whatever's shown

Name it “Sea temp” — then “Hey Siri, sea temp” answers live on iPhone, Apple Watch, HomePod or CarPlay. (The key is the buoy API's public read-only key.)