Klagio
(Klagio)
January 19, 2024, 9:28am
121
just what I was looking form thanks!! Will install now. Is it possible to have two winds: True wind and Apparent wind (boats)?
I had a wrong value shown, had to check my Wind sensor (was mps) and anlso the Wind angle was in radiant, had to convert it in degrees
BTW the degrees are positive, yes? My sensor radiant had negative values, so upon converting gave negative degree, not sure if conversion is just change it to positive
Klagio
(Klagio)
January 19, 2024, 10:23am
122
can you please show me how to do your Wind speed card and Wind Direction?
Klagio
(Klagio)
January 19, 2024, 11:49am
124
many thanks, could you please share the code for the Wind speed card (to have those min max values, pretty neat)
tom_l
January 19, 2024, 12:04pm
125
color_thresholds:
- color: '#e45e65'
value: 30
- color: '#e0b400'
value: 20
- color: '#0da035'
value: 10
- color: '#039BE5'
value: -50
color_thresholds_transition: hard
entities:
- entity: sensor.wind_speed_knot
group: false
hour24: true
line_width: 4
points_per_hour: 6
show:
extrema: true # <---- THIS OPTION
fill: fade
icon: true
labels: false
name: true
state: true
type: custom:mini-graph-card
1 Like
scootaash
(Fraser)
February 3, 2024, 3:19pm
126
I love this and worked right away for me!
Is there any way I can show the wind rose as currently presented along with reference directions for comparison? Use case is for paragliding sites suitability - e.g. when the wind is coming from SW and between 10-15kph site XX is good to fly.
Example of the static information is here
i.e. wind must be between N and W to fly Sundhope
My ideal would be to superimpose this static info with the dynamic info provided by this excellent widget.
Would also serve for other windsports e.g. safe to sail if the wind is onshore which is between S and E (or whatever for your location)
Help gratefully appreciated!
scootaash
(Fraser)
February 3, 2024, 8:17pm
127
ahah! A little progress…a simple solution after a lot of time trying complex ones!
I’ve used card mod to make the background transparent and add in the static info as an image…giving the following
Needs a but of a fiddle to get the images to line up but a rather nice start
type: custom:windrose-card
title: Wind direction
windspeed_bar_full: true
wind_direction_entity:
entity: sensor.openweathermap_wind_bearing
windspeed_entities:
- entity: sensor.openweathermap_wind_speed
name: Average
data_period:
hours_to_show: 72
output_speed_unit: kph
speed_range_beaufort: false
speed_ranges:
- from_value: 0
color: blue
- from_value: 15
color: green
- from_value: 25
color: orange
- from_value: 30
color: red
view_layout:
column: 3
width: 150
max_width: 150
card_mod:
style: |
#windRose {
background: url('/local/images/wind/wind.jpeg');
background-size: 104% 79%;
}
Any further ideas - esp on how to make this dynamic (i.e. go green when wind is in right direction) which I think would need a different approach?
3 Likes
Hi, thanks for the windrose card it is great!
I am having one issue however, the card takes ages to initially load. it can take up too 2 minutes to load the card and data.
Is there any way to resolve this.
Thanks
Hi Dean,
Maybe decreasing the hours_to_show lowers the load time.
Or switching to statistics data.
nuvolare
(Salvo)
February 13, 2024, 6:46pm
130
Hello to everyone, can be possible to write the name of the wind insede the windrose?
That would be awsome!
I second that request.
nuvolare
(Salvo)
March 18, 2024, 10:29am
133
Something like that
So, over the N-E-S-W can be the names of the wind that are ovviusly more, also for NNE-ESE…etc
tom_l
March 18, 2024, 10:34am
134
You want more of these?
I reckon it would make the chart way to busy.
1 Like
Ramsey
(Rob Ramsey)
March 19, 2024, 12:44pm
135
Hi Auke. Great card! I have a small problem: the wind-rose card flashes (disappears and reappears) every few seconds even though updates are every 300 seconds. The flashing makes it hard to read. Any idea what to do? Maybe an important note: I use wind-rose card in a custom:config-template-card to tilt the compass according to the direction my boat is pointing in. So
windrose_draw_north_offset: ${NORTH}
where NORTH is a variable:
variables:
NORTH: states[‘sensor.north_relative_to_the_boat’].state
The top now is always the bow of my ship.
I absolutely second that, it would be great to have names shown.
Of course the names that are relevant for you, such as entering the names yourself.
Has anyone done that eventually with an overlay?
tom_l
March 20, 2024, 9:46am
137
Can you not read a compass rose?
My vote is definitely not for this extra clutter.
1 Like
Routout
(Routout)
March 21, 2024, 3:40pm
138
Maybe use Plotly then. Almost endless possibilities to modify yourself.
Example of wind rose made with Plotly is here:
nuvolare
(Salvo)
March 24, 2024, 11:21am
139
I mean something like this
1 Like
aukedejong:
render_relative_scale
Hi, how did you get the text below into the windrose card? Just the way I want to have it too