I use Grafana with InfluxDB and OpenHAB to store temperature and humidity.
In InfluxDB I have the following measurements:
Bathroom_Heating_Humidity Bathroom_Heating_Temperature Bedroom_Heating_Humidity Bedroom_Heating_Temperature Hallway_Heating_Humidity Hallway_Heating_Temperature Kitchen_Heating_Humidity Kitchen_Heating_Temperature Livingroom_Heating_Humidity Livingroom_Heating_Temperature Office_Heating_Humidity Office_Heating_Temperature Outdoor_Heating_Humidity Outdoor_Heating_Temperature
In Grafana I have created the following custom variable:
Now I want to use two graphs in a dashboard - for temperature and humidity.
However, I will now only deal with the temperature graph, since the humidity graph will be identical in logic.
Now to the actual question:
Basically everything works as it should, but my problem is the label of the individual measurements. Currently they are called for example “Bathroom_Heating_Temperature” and I don’t know how to rename them to “Bathroom Temperature”.
Can someone explain to me how I can do this?