This is an general issue of the LOSANT Data model (see Device attribute metrics).
While it is good and helpful to have device tags to organize devices, it is absolutely necessary to have sensor meta information (that could be stored in tags either).
This may be factors or offsets, but what is more critical: sensor data are physical properties, that have:
- a unit
- a valid data range
- a precision
- a sensor id
- a calibration date
- …
Without this information, it´s just a number, but you will recognize the difference, if you think its Celsius but in fact is Kelvin or Farenheid.
Another issue is, that sensor topology and target topology are usually not equal. A sensor is part of a measuring device or gateway, so maybe many sensors are part of a single device (on the side of electrical connection). But sensors are connected to physical spaces too. So maybe a sensor belongs to a duct, a plant, a room or whatever.
So both sides are important. Topoligy mapping cannot be handeled on device level, it is a property of sensors.
So, I think this is a general issue of the LOSANT data model that needs to be fixed sooner or later. It is absolutely necessary to have sensor tags in addition to device tags. And we should have some general option for data mapping (which ist standard for most scada-applications like BSCADA…)
Best regards
Eckehard