Hello,
I’ve different temperature Sensors, and I want to Display the Max and Min Tempretures.
Is it possible to implement a feature which shows the max. and min. Temperature when printing the Graph?
It would be nice to have a feature which updates the values instandly when changing the Timeperiod in the Graph.
I already thought to make my own sql query to get the Tempretures.
Does anyone has an idee how to realize this?
greetings Saturion
-
How to print maximum and minimum Temperature in the Graph
-
@tonimahoni You can use the a VariablesDevice to define a variables for minimum and maximum temperatures which will be calculated from your temperature sensor values. Here is an example for minimum outside temperature calculated from three sensor values. Simply add another variable to the device for maximum temperature and use max(). min() and max() can take multiple values.
{ "variables": [ { "name": "temperature", "expression": "min($temp1.temperature, $temp2.temperature, $temp3.temperature)", "unit": "°C", "type": "number" } ], "id": "minOutSideTemperatureDevice", "name": "Minimum Outside Temperature", "class": "VariablesDevice" },
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law