Ski Resort — Home Assistant integration A native Home Assistant integration for the world's ski resorts, anchored on OpenSkiMap — the open, OpenStreetMap-derived ski database. Search 6,000 ski areas, add one as a device, and get a real weather entity, snow forecast, terrain metadata, and optional live lift status — no API key required to get started. Everything is polled locally and exposed as first-class HA…
Home Assistant integration for ski resorts — search 6,000+ mountains by name and get free snow, weather forecasts, terrain stats, lift status, trail maps, and webcams. Anchored on OpenSkiMap, powered by Open-Meteo — no API key required.
A native Home Assistant integration for the world’s ski resorts, anchored on
OpenSkiMap — the open, OpenStreetMap-derived ski
database. Search ~6,000 ski areas, add one as a device, and get a real
weather entity, snow forecast, terrain metadata, and optional live
lift status — no API key required to get started.
Everything is polled locally and exposed as first-class HA entities, so you can
build dashboards and automations (“Vail powder day tomorrow”, “the mountain just
opened”) from open data.
Unofficial. Not affiliated with any resort. It combines open data from
OpenSkiMap (OpenStreetMap + Skimap.org), Open-Meteo, and Liftie.
Highlights
Search by name, no key needed. Setup searches a bundled OpenSkiMap index
(~6,000 downhill areas); pick your resort and you’re done. Weather comes from
the free Open-Meteo service — no account, no key.
A real weather entity per resort — current conditions + a 7-day forecast,
from Open-Meteo at the resort’s exact coordinates.
Snow sensors — fresh snowfall (next 24h), snow depth, freezing level, plus
temperature and wind.
Live lift status (optional) — Lifts open, % open (against OpenSkiMap’s
authoritative total), and a Resort open binary sensor, from a self-hosted
Liftie instance or the RapidAPI
ski-resorts-and-conditions product. The Liftie slug is auto-mapped from
your chosen ski area.
Powder day binary sensor.
Trail map (open data) — the skimap.org trail map as an HA image entity,
plus a resort-info diagnostic sensor with links and facts.
Canonical IDs. Every resort is keyed by its OpenSkiMap id, so entities are
stable and consistent with the wider open-ski-data ecosystem.
Search for your resort by name (optionally filter by country).
Pick the matching OpenSkiMap ski area.
That’s it — the weather entity, snow sensors, and terrain sensors appear with no
key. The Liftie slug is filled in automatically when known.
Options
Configure on the integration exposes:
Update interval and units (imperial/metric).
NWS weather alerts (US) — on by default for US resorts (free, keyless;
turn off under Configure, and never fetched for non-US resorts). Adds a
Weather alert sensor whose state is the active alert’s event name (e.g.
Flood Watch, or None when clear) with the headline, description, and
instruction as attributes, plus a Weather alert active binary sensor for
automations. When several alerts are active the most significant is surfaced
first.
Avalanche danger (US & Canada) — opt-in; adds an Avalanche danger
sensor with the danger rating for the resort’s forecast zone (level, zone,
travel advice, expiry, and forecast link as attributes). Keyless. The source
is chosen by the resort’s country — avalanche.org in the US, Avalanche
Canada in Canada. Europe isn’t covered yet; resorts outside a forecast zone
won’t report.
Lift slug — auto-filled; override if the auto-map missed.
Self-hosted Liftie base URL — the host and port only (e.g.
http://homeassistant.local:3000), not the /api/resort/... path. If set,
lift status comes from your free Liftie instance. See
Self-hosted lift status below.
RapidAPI key — optional, and only a fallback for lift status (skiapi,
the same Liftie data proxied) when no self-hosted Liftie URL is set. A
self-hosted Liftie URL always wins for lifts. Not needed for anything else.
The lifts_open sensor’s source attribute (liftie/skiapi) shows which
is in use.
snow-forecast.com resort name — keyless; adds reported base/summit/fresh
depth and last-snowfall date. Auto-filled at setup (derived from the resort
name and validated against the live site), so it usually just works. Override
here if the auto-match missed — enter the resort’s snow-forecast.com slug (the
<slug> in snow-forecast.com/resorts/<slug>/), e.g. Vail or Beaver-Creek.
Snow refresh interval (hours) — polls snow-forecast.com on its own slow
cadence (default 12h, independent of the main update interval); reported
depths change ~daily, so this keeps the scraping light. The last reading is
kept between refreshes.
Webcam image URL — a direct still-image link to a resort webcam, shown as an image entity. You can also paste an OpenSnow cam page URL (opensnow.com/location/.../cams/ID) and it’s converted automatically. Some resorts block hotlinking.
Lift status is optional.liftie.info’s public API is Cloudflare-protected
against server-side calls, so live lifts need either a self-hosted Liftie
or a RapidAPI key (skiapi is the same Liftie data). Everything else works
without either.
Self-hosted lift status (free)
For live lift open/closed counts with no API key and no request quota, run
Liftie on your own network. The easiest
way is the companion Home Assistant add-on:
In Home Assistant: Settings → Add-ons → Add-on Store → ⋮ → Repositories,
add https://github.com/yieldhog/hass-liftie-addon, then install and start
Liftie. (Add-ons require Home Assistant OS or Supervised.)
In this integration’s Configure:
Liftie base URL → the add-on’s host and port, e.g.
http://homeassistant.local:3000 (or your host’s IP) — not the
/api/resort/... path.
Lift slug → your resort (e.g. vail); usually auto-filled.
Leave the RapidAPI key blank — when a Liftie base URL is set, it wins.
The add-on lets you limit which resorts it tracks, tune scrape frequency, and it
opens an automatic PR when upstream Liftie updates. See its
docs.
Entities
Entity
Platform
Source
Weather (current + daily forecast)
weather
Open-Meteo
Fresh snowfall (24h) · Precipitation (24h) · Snow depth · Freezing level · Temperature · Feels like · Wind
sensor
Open-Meteo
Snow forecast (5-day total; per-day snowfall in the daily attribute)
sensor
Open-Meteo
Lifts · Runs · Vertical drop · Summit / Base elevation
sensor
OpenSkiMap
Lifts open · % open
sensor
Liftie/skiapi (optional)
Reported summit/base depth · fresh snow · last snowfall date
avalanche.org / Avalanche Canada (optional, US & CA)
Weather alert (event name; headline/description/instruction as attributes)
sensor
NWS (optional, US)
Powder day
binary_sensor
Open-Meteo
Resort open
binary_sensor
Liftie/skiapi (optional)
Weather alert active (any NWS alert in effect)
binary_sensor
NWS (optional, US)
Data updates
The integration polls on a fixed interval (default 3 hours, minimum 60
minutes — set it under Configure). Weather/snow come from Open-Meteo; live
lift status from Liftie/skiapi when configured; terrain metadata is bundled and
never fetched. Each source updates independently — if one is down, the others
still refresh. Static enrichment (trail map, website, opening year) is fetched
once and cached.
Known limitations
Lift status needs a source.liftie.info’s public API blocks server-side
calls, so live lifts require a self-hosted Liftie or a RapidAPI key. Without
either, the lift/resort-open entities are simply absent.
Off-season shows 0 open. Correctly reflects reality — Liftie reports lifts
as scheduled/closed outside the season.
Lift total vs. open source. The lift total comes from OpenSkiMap
(authoritative); open count comes from Liftie, so the two can occasionally
disagree (e.g. a resort adds a lift OpenSkiMap hasn’t mapped yet).
Reported depths need a snow report. The Reported … depth sensors read
snow-forecast.com; a closed resort with no current report simply shows nothing
until the mountain reports a base.
Bundled resort index. Search covers the resorts in the bundled OpenSkiMap
snapshot; regenerate it (below) to pick up newly added areas.
Troubleshooting
Lift sensors are unavailable. Check two things under Configure:
(1) the Lift slug is set (e.g. vail), and (2) the Liftie base URL is
the host and port only (e.g. http://homeassistant.local:3000) — a full
.../api/resort/<slug> URL produces a doubled path and a 404. Then look at
Settings → System → Logs for a ski_resort line naming the cause.
Weather is missing. Open-Meteo is keyless and global; a transient failure
clears on the next poll. Persistent failure usually means outbound HTTPS is
blocked on the HA host.
Fresh snowfall is near zero but it’s clearly wet out. That’s rain, not a
bug. Compare the Precipitation (24h) sensor (liquid) with Fresh snowfall
(24h) and the Freezing level: when the freezing level is above the
resort, the moisture falls as rain and snowfall stays ~0. The 5-day Snow
forecast sensor’s daily attribute lists snow and precipitation per day
for the same reason.
Reported depth sensors unavailable. Check the snow-forecast.com resort
name matches the slug in snow-forecast.com/resorts/<slug>/. Off-season, a
closed resort has no reported base, so these stay blank until it opens.
Webcam not showing. Confirm the URL returns an image directly (some
resorts block hotlinking). OpenSnow cam page URLs are auto-converted.
Example dashboard card
A resort card built only from Home Assistant’s own cards: no custom cards or
HACS frontend add-ons. Live data from the integration for Vail:
It shows:
a title with status badges: Powder day (only on a powder day), Resort open (only with a lift source) and reported base depth (only with snow-forecast.com set)
today at a glance: fresh snow in the next 24h, the 5-day total and the temperature
a 5-day snowfall bar chart drawn from the snow forecast’s daily attribute; its title becomes “❄️ Powder day!” when one is forecast
the weather forecast
the mountain: vertical drop, summit, runs, lifts and the run mix by difficulty
a lifts-open gauge when a lift source is configured, and the NWS alert while one is in effect
the trail map at the bottom (tap it to open full size; left out of the screenshot above)
Requires Home Assistant 2024.12 or newer (the heading card and its badges).
To use it, add a Manual card to a dashboard and paste the YAML below, then
replace vail with your resort’s entity prefix. That’s the device name in
lowercase with underscores, e.g. sensor.arapahoe_basin_runs. Optional pieces
whose entities don’t exist simply stay hidden.
type: vertical-stack
cards:
# Title with live status chips; each hides when it has nothing to show.
- type: heading
heading: Vail
icon: mdi:ski
badges:
- type: entity
entity: binary_sensor.vail_powder_day
show_state: true
color: light-blue
visibility:
- condition: state
entity: binary_sensor.vail_powder_day
state: "on"
- type: entity
entity: binary_sensor.vail_resort_open
show_state: true
color: green
visibility: # only with a live lift source (Liftie / RapidAPI)
- condition: state
entity: binary_sensor.vail_resort_open
state: ["on", "off"]
- type: entity
entity: sensor.vail_reported_base_depth
name: Base
icon: mdi:arrow-collapse-down
show_name: true
show_state: true
visibility: # only with a snow-forecast.com resort set
- condition: numeric_state
entity: sensor.vail_reported_base_depth
above: -1
# Today at a glance.
- type: grid
columns: 3
square: false
cards:
- type: tile
entity: sensor.vail_fresh_snowfall_24h
name: Next 24h
icon: mdi:snowflake
color: light-blue
vertical: true
- type: tile
entity: sensor.vail_snow_forecast_5_day
name: Next 5 days
icon: mdi:weather-snowy-heavy
color: blue
vertical: true
- type: tile
entity: sensor.vail_temperature
name: Temperature
color: indigo
vertical: true
# Snowfall bar chart, built from the snow forecast's `daily` attribute.
- type: markdown
content: |
{% set e = 'sensor.vail_snow_forecast_5_day' %}
{% set days = state_attr(e, 'daily') or [] %}
{% set unit = state_attr(e, 'unit_of_measurement') %}
{% set top = days | map(attribute='snowfall') | reject('none') | max
if days else 0 %}
{% if is_state('binary_sensor.vail_powder_day', 'on') %}
## ❄️ Powder day!
{% else %}
#### Snow forecast
{% endif %}
| | | |
|:--|:--|--:|
{% for d in days -%}
{% set v = d.get('snowfall') or 0 -%}
| **{{ strptime(d.get('date'), '%Y-%m-%d').strftime('%a') }}** |
{{- ' <font color="#4fc3f7">' ~ '█' * ((v / top * 14) | round(0, 'ceil') | int) ~ '</font>' if v and top else ' ·' }}
{{- ' ' }}| {{ v }} {{ unit }} |
{% endfor %}
- type: weather-forecast
entity: weather.vail
forecast_type: daily
show_current: true
show_forecast: true
# The mountain: OpenSkiMap terrain, bundled offline.
- type: heading
heading: The mountain
heading_style: subtitle
- type: grid
columns: 2
square: false
cards:
- type: tile
entity: sensor.vail_vertical_drop
name: Vertical
icon: mdi:arrow-expand-vertical
color: brown
- type: tile
entity: sensor.vail_summit_elevation
name: Summit
color: brown
- type: tile
entity: sensor.vail_runs
name: Runs
color: green
- type: tile
entity: sensor.vail_lifts
name: Lifts
icon: mdi:gondola
color: orange
- type: markdown
content: |
{% set runs = state_attr('sensor.vail_runs', 'by_difficulty') or {} %}
🟢 **{{ runs.get('novice', 0) + runs.get('easy', 0) }}** easy 🟦 **{{ runs.get('intermediate', 0) }}** intermediate ◆ **{{ runs.get('advanced', 0) }}** advanced{% if runs.get('expert', 0) %} ◆◆ **{{ runs.get('expert', 0) }}** expert{% endif %}{% if runs.get('freeride', 0) %} 🟧 **{{ runs.get('freeride', 0) }}** freeride{% endif %}
# Live lifts — only when a lift source (Liftie / RapidAPI) is configured.
- type: conditional
conditions:
- condition: numeric_state
entity: sensor.vail_lifts_open_percentage
above: -1
card:
type: gauge
entity: sensor.vail_lifts_open_percentage
name: Lifts open
needle: true
severity:
green: 60
yellow: 25
red: 0
# NWS alerts (US) — only while one is in effect.
- type: conditional
conditions:
- condition: state
entity: binary_sensor.vail_weather_alert_active
state: "on"
card:
type: tile
entity: sensor.vail_weather_alert
icon: mdi:alert
color: red
# The resort's trail map (skimap.org); tap to open full size.
- type: picture-entity
entity: image.vail_trail_map
show_name: false
show_state: false
tap_action:
action: more-info
Removing the integration
Settings → Devices & Services → Ski Resort → ⋮ → Delete removes the config
entry and all its entities. Then remove the repository from HACS. (The
self-hosted Liftie add-on, if installed, is uninstalled separately from the
add-on store.)
Quality scale
The integration is held to Home Assistant’s Integration Quality Scale — Bronze,
Silver, and Gold complete, and it meets the Platinum strict-typing bar (mypy --strict in CI). See docs/quality-scale.md for the
full checklist.
Refreshing the bundled data
The OpenSkiMap index and Liftie crosswalk are regenerated by a script (run it
periodically to pick up new resorts):
评论