Lovelace Windrose Card

Released version 1.11.5

  • Entity check code, revert to previous method.

The other method seams to fail for some entities.

1 Like

Hmm where is my mistake? My data comes from weather underground
grafik

Some special entity config required for the WindRoseCard?

The same Entity works in the compass card:

grafik

Config should be something like this:

wind_direction_entity:
  entity: sensor.wind_direction
  direction_letters: NOZWX
  use_statistics: false
  direction_compensation: 0

Released version 1.11.6

Fixes:

  • Margin calculation when speedbars are hidden. Fixes #97
  • Background image position fixed when using longer cardinal direction labels.
  • Small fix in measurement matching
1 Like

Fantastic card. I’m starting to feel like an idiot but I just can’t seem to get the background_image right. How is this parameter supposed to work, because whatever path I try all I get is this image:

Currently I have it working like this:

background_image: /hacsfiles/lovelace-windrose-card/bg.png

I put the image next to the windrose javascript file, downloaded bij HACS.

It should be a square image file.

Release version 1.11.7

Fixes:

  • Initial cardinal direction letters configuration when adding card now works. Fixes #101

Looks like a cool design! How would I go about using this wind rose with the default weather intergration? How do I expose wind speed and direction?

This works really well with your own anemometer providing continuous live values. It helps to illustrate the amount of wind and directions associated with those wind “bands”.

The weather providers tend to only provide an update every hour. To illustrate this discrete piece of information (which is what I do) i use a compass card to show the Met Office forecast right next to the live Windrose information

Background image is great. Thanks.

2 Likes

Thanks for the suggestion, but can you help me out with which entity would be correct for obtaining the wind direction and speed from the default weather integration - to display in the compass card. I see that this wind rose is more meant for accurate, current weather data from a home weather station.

i cant get the directions in the rose.

I have the yaml

< type: custom:windrose-card
title: Wind richting
data_period:
hours_to_show: 8
wind_direction_entity:
entity: sensor.windrichting
direction_letters: NEZWX
use_statistics: false
direction_compensation: 0
windspeed_entities:

  • entity: sensor.thuis_windsnelheid
    name: Average
    speed_range_beaufort: true
    output_speed_unit: kph >

Do i need to create a sensor in HA to get is working? I have 3 weather services but nothing works?

Hello @marksev1. Need to check information being provided by your weather integration. Either the integration or use Developer Tools. This is mine.

If you click on the weather at the top it will show you for example what daily and hourly forecasts are additionally generated.
image

I am not an expert but there are many guides on this forum on how to deal with weather templates (and extracting discrete data). I did mine a while ago and even have templates to convert key wind stats to Knots.

1 Like

Hello @interoceter. It might be worth reading some of the messages above.

A compass card might be better, but only if the data is available, and you can set it up, from your weather integration.

EDIT 1:
What is this sensor? Where does it come from and what is the current value? sensor.windrichting

If you look in Developer Tools what value is the sensor showing?

if i look in developer tools is see unknown. But if i look at day 1 of day 2 i see values. So i dont understand.
In de compass card i am not ketting any values either.

nevermind. I`m using openweathermap and it al worked.
Thanks

1 Like

Really like this card!

I was wondering, can you make it possible to have the actual windspeed in the center of the compass? And move the direction arrow on the compass ass well, to see the actual speed compared to the rose.

Here’s an example:
image

New release, features added in version 1.12.0.

  • New matching strategy ‘full-time’. See Readme for details. Fixes #102
  • Corner info label and value text size configurable. Fixes #104
  • Added CSS classes to the corner info labels and values. Can be used to modify CSS with card-mod. Fixes #104
  • Moved a few settings from global to windbar specific. Fixes #60
    • Speed ranges customizations.
    • Rendering full or partial.
    • Using Beaufort scale.
    • Output speed unit and label.
  • Tap action support for the corners, windrose and speedbars. Fixes #56
  • Corner info sensor unit conversion for direction and speed sensor. Fixes #100, #103
    • Direction sensor units: degrees, letters
    • Wind speed sensor units: bft, mps, kph, mph, fps and knots
  • Dynamic speed ranges depending on average wind speed. Fixes #93

Some feature did require code refactoring, possibly introducing new bugs.
These changes shouldn’t be breaking current configurations.
If you see strange behaviour or bugs, please submit an issue in GitHub here: Sign in to GitHub · GitHub
Also, if some parts of the Readme aren’t clear, submit an issue.

1 Like

Hi Deadpool,
There is a feature request asking the same.

Today I released a new version with some implemented feature requests. This was not one of them, bit it’s on the list.

1 Like

Release version 1.12.1

Fixes for dynamic speed ranges.

2 Likes

Release version 1.12.2

Added hand pointer on mouse hover over action area’s. Thanks @gedger.