Skip to content

maxfok/nimbus-weather-card

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

65 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŒฆ๏ธ Nimbus Weather Card

Nimbus Weather Card

A beautiful, Apple Weatherโ€‘inspired custom card for Home Assistant with smooth particle effects, dynamic backgrounds, and full moon phase support.

๐Ÿ”— GitHub: https://github.com/maxfok/nimbus-weather-card
๐Ÿ“ฆ HACS: Install as a custom repository while default HACS inclusion is pending


โœจ Features

  • Stunning visuals โ€“ gradient backgrounds, floating particles (rain, snow, fog, clouds, wind, lightning)
  • Dynamic day/night โ€“ automatically switches between sun/moon, starry sky, and colourโ€‘shifting gradients
  • Moon phases โ€“ renders realistic waxing/waning moons with NASA texture and all 8 phases
  • Shooting stars โ€“ on clear nights, a random star detaches and streaks across the sky, then fades back in
  • Feelsโ€‘like temperature โ€“ shows apparent temperature when available
  • Smart units โ€“ automatically converts ยฐC/ยฐF reading native entity attributes
  • Multilingual โ€“ English, Spanish, German, Dutch (and more via PR!)
  • Hourly/Daily forecast toggle โ€“ tap the forecast bar to switch view
  • Custom tap action โ€“ navigate, call-service, url, or more-info
  • Clock & date panel โ€“ optional, togglable
  • HACS compatible โ€“ one-click install via custom repository

๐Ÿ†• What's new in v2.3.0

This release focuses on atmosphere, smoother transitions, and a more polished forecast modal experience.

๐ŸŒ… Slow Background Cross-Fade

Sky gradients now transition with a slow 3-minute cross-fade instead of an abrupt change. Sunrise, golden hour, daytime, and night phases blend naturally as sun elevation changes. The card also schedules a refresh around key sun-elevation thresholds so the sky updates at the right moment.

๐ŸŒŒ Aurora Borealis

Clear nights in the Arctic latitude zone can show a soft aurora overlay with layered green, blue, and purple ribbons. Enabled via latitude_zone: arctic in your card config.

type: custom:nimbus-weather-card
entity: weather.home
latitude_zone: arctic

โšก Lightning Flash Effect

Thunderstorm conditions now include a sky-flash overlay that briefly illuminates clouds, rain, and droplets. Bolt and flash fading is slower and the secondary flash delay is longer, so strikes feel more natural.

๐Ÿ“Š Forecast Modal Polish

  • Haptic feedback on open/close
  • Tap backdrop to close
  • Swipe down from handle to close
  • Escape key support on desktop
  • Improved accessibility (role="dialog", aria-modal, aria-hidden)
  • Larger modal handle
  • Better mobile gesture handling (no background scroll bleed)

๐ŸŒ  Shooting Stars

On clear nights, a random star detaches and streaks diagonally across the sky every 4โ€“14 seconds, then fades back into place.

๐Ÿ”ง Small Improvements

  • Refined night gradient colour
  • Improved layer ordering for backgrounds, aurora, effects, lightning, droplets, and content
  • Moon remains visible when condition is explicitly clear-night
  • Internal timer cleanup when card is removed or rebuilt
  • Removed leftover debug logs

๐Ÿ“‹ Changelog

v2.3.0

  • โœจ Slow background cross-fade โ€” sky gradients blend over ~3 minutes between elevation zones
  • โœจ Aurora Borealis โ€” soft aurora overlay for latitude_zone: arctic on clear nights
  • โœจ Lightning flash effect โ€” sky illumination during thunderstorms, slower/more natural timing
  • โœจ Forecast modal polish โ€” haptic feedback, swipe-to-close, backdrop tap, Escape key, accessibility improvements
  • โœจ Shooting stars โ€” existing stars detach, streak, and fade back in on clear nights
  • ๐Ÿ› Moon remains visible when condition is explicitly clear-night
  • ๐Ÿ”ง Internal timer cleanup, improved layer ordering, removed debug logs

v2.2.0

๐ŸŒ… Sky & Sun

  • New multi-phase sky gradient system with smooth colour interpolation
  • 7 elevation zones: deep night โ†’ nautical dawn โ†’ blue hour โ†’ sunrise/sunset โ†’ golden hour โ†’ morning โ†’ daytime โ†’ midday
  • Extended sun elevation range to โˆ’30ยฐ..90ยฐ

๐ŸŒ™ Moon

  • Moon auto-detected from sensor.moon_phase (no config needed)
  • Moon fixed to top-right corner โ€” no longer goes offscreen on short cards
  • More precise phase calculation using UTC time

๐Ÿ“Š Forecast Modal

  • Tap the forecast bar to swap between daily โ†” hourly view
  • tap_action support: More Info, Navigate, Open URL, None

๐Ÿ“ฑ Mobile

  • Dedicated mobile cloud rendering for sharper display on touch devices
  • Better cloud detection for rainy, pouring, snowy-rainy conditions

๐ŸŒก๏ธ Thermometer

  • Redesigned icon matching the style of humidity, wind and pressure icons

๐Ÿ› Bug Fixes

  • High/Low always shows daily values even when hourly forecast is selected
  • clear-night condition now correctly shows sun icon during daytime (fixes KNMI / NL Weather integration)

v2.0.1

  • โœจ Multilingual support โ€” English, Spanish, German (thanks u/R3x10 & u/super-gando!)
  • โœจ Language selector in card editor
  • ๐Ÿ› Fix: HACS update notifications now work correctly (missing filename in hacs.json)
  • ๐Ÿ› Fix: Forecast icons correctly show day/night per hour (no more moon at 1pm!)
  • ๐Ÿ› Fix: Sun entity takes priority over weather state for day/night detection

v2.0.0 โ€” Complete rewrite ๐ŸŽ‰

  • โœจ Animated rain with wind skew (based on wind_bearing)
  • โœจ Glass window droplets for rainy conditions
  • โœจ SVG cloud layers with per-condition opacity
  • โœจ Snow animation with 3-layer canvas and sine-wave sway
  • โœจ Lightning with midpoint-displacement branching bolt algorithm
  • โœจ Autumn leaf gusts for windy conditions
  • โœจ Dynamic solar gradient based on sun.sun elevation
  • โœจ NASA moon texture with full 8-phase rendering
  • โœจ Moon hemisphere rotation based on latitude

๐Ÿ”ง Installation

Via HACS custom repository

  1. Open HACS โ†’ Frontend
  2. Click the three-dot menu (โ‹ฎ) โ†’ Custom repositories
  3. Add URL: https://github.com/maxfok/nimbus-weather-card
  4. Category: Dashboard
  5. Click Add, then find Nimbus Weather Card and install

Manual

  1. Download nimbus-weather-card.js
  2. Copy to /config/www/nimbus-weather-card.js
  3. Add as a custom resource: Settings โ†’ Dashboards โ†’ Resources โ†’ Add
    • URL: /local/nimbus-weather-card.js
    • Type: JavaScript module

โš™๏ธ Configuration

type: custom:nimbus-weather-card
entity: weather.forecast_home
sun_entity: sun.sun          # optional but recommended
moon_entity: sensor.moon     # optional, for moon phases
language: en                 # en | es | de | nl
show_clock: true             # optional clock/date panel
tap_action:
  action: navigate
  navigation_path: /lovelace/weather

All options

Option Default Description
entity required Your weather entity
sun_entity sun.sun For accurate day/night detection
moon_entity โ€” Moon phase sensor
language en en, es, de, nl
show_clock false Show clock & date panel
show_details true Show humidity, wind, pressure
tap_action more-info Standard HA tap action
ufo_easter_egg false ๐Ÿ›ธ You'll know when you see it
latitude_zone โ€” arctic for aurora borealis on clear nights

๐ŸŒ Add your language

Translations are just a few lines of JSON. Open a Pull Request!
See existing translations in the source for the format.


๐Ÿ› Bugs & Feature Requests

Open an issue on GitHub or comment on the HA Community thread.


โค๏ธ Support

If you like Nimbus, consider giving it a โญ on GitHub!

About

Glassmorphic ethereal weather card - apple ios style

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors