Hey Guys,
I finished my Setup for a nice Dashboard which I want to use for about 32 Sensors (basically the same Dashboard 32 times).
Now I am trying to figure out the Variables, which would seem like they are the best practice to go about this.
The Sensors send MQTT Data into Mosquitto ->NodeRed-> Influx and then Grafana. Using the Adhoc Filter I can select every Topic (which means +100 Options because each Sensors send Data on multiple Topics).
Could it be possible that the User just selects part of the Topic?
So if the Topic is built like A/B/C/D/E, the User would just have to select the Value for B for the whole Dashboard.
For example, the Topic is always :
Machine/(Variable which User Selects)/Data/Energy/Meter1
Machine/(Variable which User Selects)/Data/Runtime/timer1
and the User would just select one Variable and it fills in both of these Topics so the same Machine is selected.
Is this possible? All the examples in the documentation dont have mqtt topics but rather already separated fields.
If this is needed, could I split up the Topics in Nodered and feed the Data into Influx this way to be able to select it individually?
Right now, my Nodered template node consists of
“network,device={{topic}} value={{payload}}”
would it even be possible to split up the Topics this way?
I am Grateful for any Help I receive