Weather Station Card — Weather station meets forecast

Hi everyone,

You know that moment when your weather app cheerfully says "sunny" and your soaking wet laundry on the line strongly disagrees? I built a Lovelace card for that.

It puts what your weather station actually measured over the past few days right next to what the forecast says is coming, on one chart. Today is the column where the two halves meet — convenient for "did the forecast lie to me again?" research.

  • Got a weather station? Past comes from your sensors. The forecast is graded.

  • No weather station, just a weather.* entity? A toggle pulls past data from Open-Meteo so you still get the side-by-side view.

  • Sensors but no forecast? Also fine. Just your data, no fortune-telling.

On top sits a live "now" panel — temperature, condition icon, clock — driven directly by your sensors, so it doesn't quietly disagree with the chart underneath it.

Installation is via HACS as a custom repository. Setup is mostly pointing the card at your sensors and pressing save; the README has the full reference for the day you want to make it complicated.

Feedback, bug reports and translations very welcome — easier to wrangle in GitHub Issues or Discussions than buried in this thread.

Big thanks to @mlamberts78, whose weather-chart-card is the upstream this forked from. None of this would exist without that chart layout.

2 Likes

looks interesting, will test.

1 Like

Looks nice - will refine my setup over time - thanks for the card.

I had an issue with installing it, though:

After using the link on the Github page

Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.

I got this pop-up

Followed by this message

image

So, I added the repository manually to HACS and it worked :+1:

Thanks for the kind words, and thanks for reporting the install glitch. That's exactly the kind of feedback I was hoping to get.

I went through everything on my side that the HACS button touches:

  • The badge URL is correctly formatted (owner, repo name, category=dashboard, the right value for HACS 2.x).
  • The GitHub repo is public and the slug matches what the popup showed.
  • hacs.json is present and valid, with the right filename.
  • The latest release (v2.1.0) isn't a draft or pre-release, and the weather-station-card.js file is attached as a release asset.
  • Hitting GitHub's API directly against all three endpoints HACS uses during validation returns HTTP 200 from my end.
  • My own Home Assistant log shows no HACS errors against the repo.

So I haven't been able to reproduce the "Repository not found" message from here. Happy that the manual route worked for you in the end.

If anyone else runs into this, please drop a note in this thread (or on GitHub (Issues · chriguschneider/weather-station-card · GitHub)) — would help to know if it's a one-off or a pattern.

Chrigu

I also get the not found message.

Thanks @chriguschneider - here's something else that's a little strange:

With 'Round Temperatures' set to 'off', the daily view

as well as the today view

are both rounding the temperatures to one decimal, just like my sensors are formatted.

But the hourly view shows this:

When I set 'Round Temperatures' set to 'on', it works across the board(s) but I only see full numbers.

Is there a way to have all temperatures show one decimal?

Thanks for the detailed report and screenshots, @chairstacker — that was exactly the right catch.

You were seeing it correctly: with Round temperatures turned off, the card was just showing whatever precision the weather data happened to have, so
the daily/today views showed one decimal while the hourly view looked rounded to whole numbers. That inconsistency is fixed in v2.1.1:
Release v2.1.1 · chriguschneider/weather-station-card · GitHub

Now, with Round temperatures off, every temperature — daily, today and hourly — shows exactly one decimal place (e.g. 28.0°). With it on, you still
get whole numbers everywhere, same as before. Nothing to change in your YAML; just update via HACS and hard-reload.

Let me know if it looks right on your end!

Thanks for both posts, this one slipped past us until you reported it. :folded_hands:

The one-click install button was handing HACS the wrong category, which caused that pop-up. Adding the repo manually, like you did, was the right workaround. It's fixed now, so the button works without the error.

Thanks again

The icon to the left of the temperature display isn't showing up for me. All I see is a circle with an exclamation point. What's the problem?

Very interesting Card!
Before find this, I used the Weather Chart Card from @mlamberts78, in association with a weather template.
The Weather Template combine the data from Met.No for the forecasts and from my Meteobridge for the local data.
The ability to show past data from the local weather station is very kind.

1 Like

Thanks for the screenshot — that made it easy to spot. Good news: the icon isn't broken or failing to load. A circle with an exclamation mark is actually the card's "severe weather" symbol, and the card was wrongly deciding that you were having a storm.

Here's why: to pick a weather symbol, the card looks at your wind. Internally it expects wind in metres per second, but your station reports in km/h. The card wasn't converting between the two, so a perfectly normal breeze of ~31 km/h was read as if it were 31 m/s — that's hurricane-force — and it put the severe-weather symbol on the current conditions and on every past day. Your future days looked fine because those icons come straight from your weather integration, which the card doesn't re-evaluate.

The same issue also affected °F temperatures (snow could show as rain) and rainfall measured in inches, so I fixed all three at once.

This is now fixed in v2.1.2: Release v2.1.2 · chriguschneider/weather-station-card · GitHub — update via HACS, and the symbol next to the temperature and the past-day icons will match the real weather, with nothing to change in your configuration.

Thanks for reporting it!

Nice card - thanks!

My units for rain is inches, but the attributes row label is mm/h. Should this be a units conversion option?

@PecosKidd Turns out hard-coding "mm" was a bold assumption about how the world measures rain. Fixed in v2.1.3 — inch sensors now read in / in/h on their own, and Units → "Convert precipitation to" lets you force either. Thanks for catching my metric tunnel vision. Update via HACS.

1 Like

Fixed. Thanks a (metric) ton!

1 Like