wifi75
(wifi)
September 22, 2024, 4:05pm
162
hello how I can add gust sensor?
type: custom:windrose-card
title: Wind direction
data_period:
hours_to_show: 6
windspeed_bar_full: true
wind_direction_entity:
entity: sensor.gw1100a_wind_direction
windspeed_entities:
- entity: sensor.gw1100a_wind_speed
name: Velocità
output_speed_unit: kph
refresh_interval: 60
center_calm_percentage: true
windspeed_bar_location: right
speed_range_step: 5
speed_range_max: 45
speed_range_beaufort: false
cardinal_direction_letters: NESO
show_current_direction_arrow: true
speed_ranges:
- from_value: 0
color: rgb(0,255,0)
- from_value: 5
color: yellow
- from_value: 10
color: hsl(200, 100%, 60%)
- from_value: 20
color: orange
- from_value: 40
color: red
Like this:
wind_direction_entity:
entity: sensor.gw1100a_wind_direction
windspeed_entities:
- entity: sensor.gw1100a_wind_speed
name: Velocità
- entity: sensor.gw1100a_wind_gust
name: Velocità gust
output_speed_unit: kph
Can cardinal_direction_letters be changed to display more than one letter per compass point? Perhaps the input text can be delimited or made into an array, like cardinal_direction_letters: “N,E,S,W”?
I would like to be able to customise the names of the points to use the card to represent the direction of the solar wind, measured in two directions with a positive or negative sign.
For example cardinal_direction_letters: “Bz+,By+,Bz-,By-”, so there’s still four labels but they have more than one character.
I had did request before. Can you make a feature request on GitHub? (add an issue)
https://github.com/aukedejong/lovelace-windrose-card/issues
That’s how I track feature requests.
Release 1.8.0 is finally ready, little later than planned.
Features:
Auto rotate windrose on compass sensor, useful on for example a boat.
Current wind direction arrow now pointing inwards. #71
Had multiple requests for this. The arrow is now pointing to where the wind is flowing too.
Bug fixes:
Current wind direction arrow disappearing sometimes. Could not reproduce it after refactoring the code. #72
wifi75
(wifi)
September 24, 2024, 6:42am
167
thank you!
another think,
why is the scale from 1 to 12 and not up to 50?
what is wrong with my code?
type: custom:windrose-card
title: Wind direction
data_period:
hours_to_show: 6
windspeed_bar_full: true
wind_direction_entity:
entity: sensor.gw1100a_wind_direction
windspeed_entities:
- entity: sensor.gw1100a_wind_speed
name: Velocità
- entity: sensor.gw1100a_wind_gust
name: Raffiche
output_speed_unit: kph
refresh_interval: 60
center_calm_percentage: true
windspeed_bar_location: bottom
speed_range_step: 5
speed_range_max: 50
speed_range_beaufort: true
cardinal_direction_letters: NESO
show_current_direction_arrow: true
speed_ranges:
- from_value: 0
color: rgb(0,255,0)
- from_value: 5
color: yellow
- from_value: 10
color: hsl(200, 100%, 60%)
- from_value: 20
color: orange
- from_value: 40
color: red
wifi75
(wifi)
September 24, 2024, 6:56am
170
if you look carefully, in my code it is already true
wifi75
(wifi)
September 24, 2024, 7:01am
172
ok changed, but i want like this:
step of 5 while now with the value in false it became like this:
tom_l
September 24, 2024, 7:02am
173
If you want steps of 5km/h you need to specify that here:
speed_ranges:
- from_value: 0
color: rgb(0,255,0)
- from_value: 5
color: yellow
- from_value: 10
color: hsl(200, 100%, 60%)
- from_value: 20
color: orange
- from_value: 40
color: red
At the moment your steps are 0, 5, 10, 20, and 40.
1 Like
tom_l
September 24, 2024, 7:06am
174
Here are my colours:
speed_ranges:
- from_value: 0
color: '#93abca'
- from_value: 5
color: '#039BE5'
- from_value: 10
color: '#63e686'
- from_value: 15
color: '#0da035'
- from_value: 20
color: '#e0b400'
- from_value: 25
color: '#ff8000'
- from_value: 30
color: '#e45e65'
- from_value: 35
color: '#ff4754'
- from_value: 40
color: '#b200ff'
2 Likes
wifi75
(wifi)
September 24, 2024, 8:12am
176
sorry, but maybe the gust range should be set differently otherwise you can’t understand the graph.
how do you change the range and colors of the gust only?
tom_l
September 24, 2024, 10:31am
177
There is only one set of colours for both.
Aknorth
(Aknorth)
September 24, 2024, 10:09pm
179
Is there anyway to just get the current wind speed in the middle as opposed to the percentage of calm>?
Currently not possible, but you can open a feature request on Github.
Just add an issue in the lovelace-windrose-card repo.
1 Like
wifi75
(wifi)
September 25, 2024, 6:24am
181
after update HA version not working
Looks like it renders correctly.
Maybe history data is gone?
I had the same issue after an update. Had to do with added support of a new unit type, if I remember correctly.
You can check the history in the History tab in Home Assistant.