json-scada icon indicating copy to clipboard operation
json-scada copied to clipboard

MQTT/Sparkplug metric properties

Open gaillarddamien opened this issue 4 months ago • 2 comments

MQTT/Sparkplug metrics may come with properties, but the driver can not handle them all.

At the moment,

Some of our devices publish MQTT/Sparkplug metrics with custom properties that go silently ignored, for they are not expected by the driver.

It would be really helpful if we could:

  • keep every metric property somewhere (most likely within the realtimeData document associated with this metric?), including properties that are not known beforehand
  • archive them into hist too (something like "valueJson": {"p": {"k1": "v1", "k2": "v2"}}?)

gaillarddamien avatar Oct 03 '24 08:10 gaillarddamien