Comments (13)
About the first speed range, not in a circle: I'll think about this and have a look at the code. I'm afraid this will be a bigger change.
I think the reason for other windrose plots to not show the direction for the calm speeds is that the wind is not strong enough to measure a correct heading.
About hiding the center percentage: that should be easy to fix.
Hopefully I can find some time to fix the second request in the next few days.
from lovelace-windrose-card.
Thanks for your quick response.
Could we then have an option to define the first range for the calm speeds (unreliable directions) but keep the same steps?
Let's say my speed_range_step
is 2
m/s, we could have a speed_range_first_step
option and set it to 0.3
. The first range would then be 0 to 0.3 (circle), the second range 0.3 to 2 (with directions), then 2 to 4 , 4 to 6 and so on. We could keep the same colour on the graph for the first and second range (from 0 to 2) so they would blend together. The windspeed bar could be kept the same and report the percentage from 0 to 2.
The idea would be to keep the circle small (proportional to the percentage of the first range?), not have strange values on the windspeed bar by shifting the rest of the values to the right (0.3 to 2.3 for example) and not have to define every step to be 0.3 .
from lovelace-windrose-card.
I spend some time to see what it would take to make your first request work.
It needs to much changes at different parts in the code. And to make it configurable would add to much complexity.
It would be a nice feature, I totally agree, but with the current code architecture, it would make it less maintainable.
I will add the config option to hide the center percentage value. The circle will still be there.
I'm a little busy right now, but hopefully I can find some time this weekend.
from lovelace-windrose-card.
Nothing new to add, but yesterday was windy, so I thought I would share my graph with you.
You really did an amazing work! Thanks again!
from lovelace-windrose-card.
Nice.
There is a new release coming up, with a few bigger changes.
One change is your request of not having the center calm percentage.
An other one is support for HA 5 minute statistics data.
I'm currently testing and debugging.
Hopefully I can release something this week.
from lovelace-windrose-card.
Your requested feature is released.
If you see any problems, please let me know.
from lovelace-windrose-card.
I put center_calm_percentage: false
but I don't see any change in the rendering. The percentage is still rendered.
I did install the new version and I also did a full system restart.
Thanks a lot for your hard work by the way!!!
from lovelace-windrose-card.
Strange. Can you share your configuration?
from lovelace-windrose-card.
Tested in Chrome (MacOS) and Safari (iOs and MacOS)
type: custom:windrose-card
title: Vent 6h
hours_to_show: 6
max_width: 400
refresh_interval: 300
windspeed_bar_location: bottom
windspeed_bar_full: true
wind_direction_entity: sensor.wind_direction
windspeed_entities:
- entity: sensor.wind_speed_hi_last_2_min_davis
name: Vent 6h
wind_direction_unit: letters
input_speed_unit: kph
output_speed_unit: kph
speed_range_step: 5
speed_range_max: 40
center_calm_percentage: false
direction_compensation: 0
windrose_draw_north_offset: -15
cardinal_direction_letters: NESO
wind_direction_count: 16
matching_strategy: direction-first
direction_speed_time_diff: 1
from lovelace-windrose-card.
The configuration changed in a breaking way.
I think it's easiest to just delete and add the card and modify the generated configuration.
Did you read the release notes? I'm not sure it's described clear enough in there.
from lovelace-windrose-card.
Yes, that's what I did at first (started fresh with a new card).
Here's the default config I get :
type: custom:windrose-card
title: Wind direction
hours_to_show: 4
max_width: 400
refresh_interval: 300
windspeed_bar_location: bottom
windspeed_bar_full: true
wind_direction_entity: ''
windspeed_entities:
- entity: ''
name: ''
wind_direction_unit: degrees
input_speed_unit: mps
output_speed_unit: bft
direction_compensation: 0
windrose_draw_north_offset: 0
cardinal_direction_letters: NESW
matching_strategy: direction-first
direction_speed_time_diff: 1
If I change these configs to get a graph and add center_calm_percentage: false
, it does nothing to the center calm percentage. I did download the latest version and restarted Home Assistant.
from lovelace-windrose-card.
I think you need a browser cache refresh.
It looks like it's still loading the old version.
from lovelace-windrose-card.
Oops... Sorry, my fault! Sometimes you need to get back to the basics!
It works awesome!!! Wow. This is really a great card. Thank you again!
This config works great :
type: custom:windrose-card
title: Vent 6h
hours_to_show: 6
max_width: 400
refresh_interval: 300
windspeed_bar_location: bottom
windspeed_bar_full: true
wind_direction_entity:
entity: sensor.wind_direction
direction_unit: letters
use_statistics: false
direction_compensation: 0
windspeed_entities:
- entity: sensor.wind_speed_last_davis
name: Vent
speed_unit: auto
use_statistics: false
output_speed_unit: kph
speed_range_beaufort: false
windrose_draw_north_offset: 0
cardinal_direction_letters: NESW
matching_strategy: direction-first
center_calm_percentage: false
speed_range_step: 5
speed_range_max: 40
center_calm_percentage: false
from lovelace-windrose-card.
Related Issues (20)
- i want fix the legend range in rose plot HOT 4
- wind rose legend HOT 2
- [Feature request] Hide bar option HOT 5
- [FR] Console warnings: Speed unavailable at timestamp ... is not a number - can we have a "debug_messages: false" option? [overlooked "log_level" option] HOT 2
- Card may not be displayed (observed in Edit mode) HOT 5
- Numbers in and next to the bar HOT 5
- [Feature request] add range selector buttons
- Card not displaying HOT 2
- Speed unit locked to beaufort HOT 2
- Provide a full, working example HOT 8
- [Feature request] Use vector graphics (fix Low resolution graphic) HOT 5
- [Feature request] : add the possibility to use weather forecast entity data
- [Feature request] Format text color based on windspeed color HOT 5
- Gust Windspeed Entity not available HOT 2
- [Feature request] Show Current Wind Speed and Gust Values HOT 3
- Card Dynamically Keeps Growing and Growing in Size HOT 4
- Some issues in Firefox HOT 3
- Can you edit and give an example how to get gust scale visible? HOT 1
- Blank screen and error in browser console HOT 6
- [Feature Request] Background Image
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lovelace-windrose-card.