You can already set a default color, and change to Red (critical) if the sensor value goes above or below user adjustable threshold values.
If I understand, you are asking for the color to change if the sensor value changes, then change the color back if the value stabilizes for a user settable period of time. If the value changes again before that time period has elapsed, it changes to a third color. Is this right? Questions that come to mind are:
- How much does the sensor value have to change to trigger the second color?
- Can the user set a threshold for this?
- Once it hits the threshold, does the color revert to the original color if the value stays at the new threshold value for longer than the user set time?
- If the value goes back to what is was originally within the time window, does the color change back to the original color or to the 3rd color?
- Does it only go back to the original color if the value stays within some new range for longer than the user set time, regardless of where it started or what the min and max values are at that time?
- Would the amount of change be percentage based or would each sensor have threshold steps for various colors (ex - VCore <1.00V=green, 1.00V<VCore<1.3V=yellow, 1.3V<VCore<1.4V=Orange, VCore >=1.4V=Red)?
Hysteresis could prevent the color from flickering. With either method (percentage or stepped), the behavior and range would depend on the sensor item. Some are binary (Yes or No), some are percentages so the range is 0% to 100%. then there are Frequencies, Voltages, Multipliers, Temps, MB. This could get complicated quickly.
Aquasuite can change the color of a gauge based on sensor value. You can break the range into sections and assign a color to each section. I'm not sure how many sections you can add, but at least 5. You can have the colors step or blend. I think something like this is doable, and I guess would require adding a bunch of options for colors, threshold values, and reset times in the Customize Values - Customize tab. This is something that Martin would have to weigh the investment to add all of this code verses how many people would use these features. It could become a "Color Quagmire" but the general idea of making the sensor item colors dynamic based on behavior (beyond what is already offered) is interesting.