Currently it works only with an direction entity with degrees, where 0 degrees is north and multiple windspeed entities using meters per second.
Every windspeed entities results in a bar graph. Only the first windspeed entity is used for the windrose.
The windspeed ranges are in Beaufort.
ToDo:
support windspeed entities returning kph speeds.
support direction entities returning direction as letters like N, E, S, W
controls on the card to increase hours shown.
controls to move back and forward in time.
show the speeds in other unit like: mph, kph, mps, knots
maybe also showing the seconds windspeed entity (Gust speeds) in the windrose.
display some summery info like: average, number of measurements, time range
other configuration options?
any ideas?
I would like to know your wishes.
And maybe share some pictures of the card in action. We didn’t have much wind here ately, so the above graph is made with dummy date.
Yes. You can configure how far in the past it gets the data. Default is 4 hours, but you can set is to one. I’m not sure if fractions of hours work.
There also a refresh_interval property, default 300 seconds. I forgot to put in the README.md.
So every 5 minutes it gets the wind data of the last 4 hours.
Did you check what units your entities use? Should be degrees en meters per second.
Windrose graph is for displaying historical data. Weather services make these for even longer periods, moths.
But I understand what you want.
The card should also work with smaller datasets, even 1 measurement.
In de browser dev tools console tab. The history data used by the card is logged. I did not remove the console logs yet.
Can you tell me what you see there?
Errors maybe?
I’ll do some tests this evening.
Maybe it’s an option the keep only the last 15 minutes of data? I don’t know that possible in HA.
Added an option to configure the wind direction unit. Supported options are degrees and letters.
Degrees is the default.
When letters is used, 32 direction are support, case insensitive.
First of all, thank you a lot for this custom card!
I’m currently trying it out and the first thing I noticed is that the background colour of the card doesn’t match that of the other cards. This happens only if using custom themes, such as Google Theme, and seems to work fine with the default one.
This is what it looks like (there is no data because I’m fixing my weather station anemometer):