Feature description
Zigbee models by default return a value corresponding to the connection quality with the server or central point. I imagine it’s the same with Z-wave and other protocols.
I propose to add in Gladys a feature « Link Quality » as already proposed by Zigbee2mqtt for example:
However, I don’t find « link quality » very clear. « Signal strength » is better and we understand it directly.
On the other hand, we would need a clear and simple scale to understand. On our phones, we have bars from 1 to 5, I find that quite clear. In your example (I don’t know if it’s real data), « 120 lqi » means nothing to anyone ^^
I would vote for a « signal strength » from 1 to 5 like a network bar/Wi-Fi bar
On the front end, I haven’t done anything yet. The idea of a network bar to represent the signal is a good one, except that we don’t have anything available in the icon pack (it’s qualitative but there isn’t much, and moreover, the repo is no longer maintained).
@pierre-gilles, what motivated the choice of feather icon at the time rather than material design icon for example, which has a large community and is really complete?
In the idea for the feature
What motivated the choice of feather icon was that tabler uses Feather Icon, so in terms of design it matches well. The other argument was its minimalism (the light weight of the dependency).
Material design icon, it’s a debate, several things to see:
Gladys is not a material design project, so we need to see if this set of icons makes sense even outside of a non-material UI
What is the weight of the dependency? Not too heavy? Since Gladys is a PWA, the bundle is downloaded in full with each update, so this needs to be taken into account.
Which icons in material are exactly of interest to us that we don’t have in feather? A complete migration (as it is necessary to convert the existing, we use feather in the scenes currently and the name of the icon is saved in the DB), if it’s just for 1-2 icons it might be overkill
After that, I’m not closed to changing if it makes sense
For this specific case, why not find a good SVG on the internet? If the one from material pleases you, why not just get it?
@pierre-gilles I suggest adding the unit feature for now, the box will come later in another PR. This will allow Alex to move forward with his automatic feature detection.
What is the user’s benefit of having precision to 1/255th?
I don’t know, open question.
So far, we have always tried to define a format in Gladys that is the same for all integrations (example: the colors of the bulbs), and conversion functions in each service.
This allows us to have generic components and not have to develop 5 different UIs.
If we had stored the color format of each manufacturer without doing conversions, it would have been hell ^^
Hello, I’m quickly joining the conversation to clarify that we also have this on Netatmo (the day it comes out) I’ll check on @damalgos’ PR what values I had set.