For “super stable” data i use simple hack- add very small random error from Random sensor
sensor:
- platform: random
I read data from MQTT
- platform: mqtt
name: wind_dir_davis
state_topic: "weather/windDir"
unit_of_measurement: "°"
value_template: "{{ (value + (float(states.sensor.random_sensor.state)-10)/1000) | round(2) }}"
this update sesor every 30 seconds
3 Likes
Maybe use statistic sernsor
I’m trying this method but for the wind dispersion I’ve values also > 90°. Maybe you did some update to the code? Thanks !
g0hww
(Darren Long)
April 28, 2024, 8:51am
25
I came here trying to figure out if and how I could smooth wind direction and after some more googling, I discovered the Lovelace WindRose card in HACS. This has satisfied my need to better understand Wind Direction and recommend it to those having a similar need.
Hello,
I’ve been working an a custom Lovelace card and would like some feedback.
It’s a windrose card to show wind speed and direction history.
Link to the repo:
https://github.com/aukedejong/lovelace-windrose-card
You can add this link in HACS as a cutom repo. It’s not a default repo yet.
Example image:
[windrose-example-dark]
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…