Hey folks,
I am currently having trouble figuring the following setup out (and on top not sure how to google it properly).
I have an energy dashboard showing my power consumption, solar production etc. I want to configure a switch or selection to easily switch between my home consumption and a second flat with the same setup. The issue I have, I can configure as dedicated variables the inverter, the smartmeter and the battery.
However I actually only want to have a selection like “Home” and “SecondPlace”, when one gets selected the corresponding matching values for the inverter, smartmeter and battery are taken. Before some one asks no the data structure does not know “home” or “SecondPlace” we are looking at three different measurements.
Outlining the desired setup:
-
Select “Home”
Inverter value for all queries related is “111”
Smartmeter value for all queries related is “ZZZ”
Battery value for all queries related is “BBB” -
Select “SecondPlace”
Inverter value for all queries related is “999”
Smartmeter value for all queries related is “YYY”
Battery value for all queries related is “None”
Appreciate any hint or push in the right direction. I am using grafana Open Source + InfluxDB 1.8