Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95386

Input_Number Value in Grafana

$
0
0

@kctrey wrote:

I use an input_number as a threshold/trigger value for some automation. Specifically, I set an input_number to a temperature where I want certain heaters and other things to turn on and off. That part works fine.

What I am trying to do now is to build a Grafana dashboard that shows the sensor temps along with the input_number value threshold line so that I can see when the temp drops below the threshold. When I try to use the value of that input_number as a series in the graph itself, I only see the value when I have the graph showing the exact time it was changed, and I don’t change these often.

I think the solution will involve using a query variable in Grafana and using the “threshold” function of the visualization, but I can’t figure out the query to get the current state of an input_number.

I did try writing an Automation that re-sets the input_number to it’s current value on a regular basis, and it appears that works, but it seems like a complicated way to deal with it. Since the HA History graphs can show the value retained over time, I am thinking I should be able to do the same in Grafana directly.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>