Description
When an anemometer is integrated with Gladys Assistant, the wind direction is currently displayed as an angular value in degrees.
For example:
Wind direction: 247°
This information is precise, but it is not necessarily very intuitive or readable on a daily basis, especially on a dashboard designed to be consulted quickly.
It would be interesting if Gladys could provide a more easily understandable representation of this data.
Proposition
For features representing a wind direction expressed in degrees, the interface could automatically convert this value to a cardinal direction.
For example:
| Angle | Direction |
|---|---|
| 0° / 360° | North (N) |
| 45° | Northeast (NE) |
| 90° | East (E) |
| 135° | Southeast (SE) |
| 180° | South (S) |
| 225° | Southwest (SW) |
| 270° | West (W) |
| 315° | Northwest (NW) |
A more precise conversion over 16 directions could also be used: N, NNE, NE, ENE, E, ESE, SE, SSE, S, SSW, SW, WSW, W, WNW, NW, and NNW.
Visual Representation
Ideally, there should also be a graphical representation, for example an arrow oriented according to the wind direction, possibly accompanied by the cardinal point.
Example:
SW
Direction: 225°
or, in a more graphical representation, an arrow/compass that can pivot based on the measured angle.
This would allow the wind direction to be understood instantly without having to mentally convert a value in degrees.
Preservation of the Degree Value
I do not propose to remove the value in degrees, which remains useful for users wishing to have precise information.
The idea would rather be to have:
SW
— 225°
or possibly to be able to choose in the interface between:
- degrees;
- cardinal direction;
- cardinal direction + graphical representation.
Scope of the Feature
This improvement should ideally not be specific to a particular integration like Netatmo.
It could be applied generically to any Gladys feature representing a wind angular direction, regardless of the data source: weather station, MQTT, Netatmo, etc.
This would notably allow leveraging data already available in degrees without asking each integration to create an additional textual value itself.
Context
A similar request had already been mentioned in the Gladys community regarding the Netatmo anemometer and the conversion of the angle to cardinal points.
The need has therefore been identified for several years, but a generic solution integrated into the Gladys interface would be particularly interesting.
Expected Result
The goal is simply to make the information more immediately understandable on a dashboard, while preserving the precision of the original measurement.
A value like:
287°
would thus be much more easily interpretable in the form:
WNW
— 287°
with possibly a graphical representation of the compass/arrow type.
Related topics: