Skip to content

Conversation

@knarrff
Copy link

@knarrff knarrff commented Nov 27, 2025

At the moment, all graphs of a bar plot series change color if the value of one of them is above a global threshold.

This commit

  • adds individual threshold values for sensors, analog to measurements.
  • populates those individual thresholds with either sensor.high within temp_source or uses the default if not
  • then uses those indivudual thresholds to change colors of individual graphs within a bar plot.

This gives users a better understanding of which sensor(s) was/were the reason for the 'alarm'.

It does not use individual colors for only those bars that are above the threshold but always changes the color for all of the bars of one graph. While it would be nicer to have only those individual bars change color, I am afraid implementing this is beyond my current time budet and not as critial as seeing which of the sensors is poses the problem.

I believe this closes the following two:

Closes #121
Closes #193

At the moment, all graphs of a bar plot series change color if the
value of one of them is above a global threshold.

This commit
- adds individual threshold values for sensors, analog to measurements.
- populates those individual thresholds with either sensor.high within
  temp_source or uses the default if not
- then uses those indivudual thresholds to change colors of individual
  graphs within a bar plot.

This gives users a better understanding of which sensor(s) was/were the reason for the 'alarm'.

It does not use individual colors for only those bars that are above the threshold but always changes the color for all of the bars of one graph. While it would be nicer to have only those individual bars change color, I am afraid implementing this is beyond my current time budet and not
as critial as seeing which of the sensors is poses the problem.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Graphs turn red although "hot" sensors with bad reasings have been removed from graphs and summaries Temperature graph wrongly changes color

1 participant