fledge-iot / fledge

An open source platform for the Industrial Internet of Things, it acts as an edge gateway between sensor devices and cloud storage systems.
https://www.lfedge.org/projects/fledge/
Apache License 2.0
124 stars 46 forks source link

Ability to add south service (and other) metadata to a north plugin #1420

Open vkaramanis opened 4 months ago

vkaramanis commented 4 months ago

Hi,

I am developing a north plugin in which I want to have the south service name of each reading send in the payload alongside the asset name.

Also, I need the global fledge service name and other possible metadata from south services.

I searched a lot but could not find any solution for this.

Is there currently any way of doing this, or is it a kind of enhancement?

TheVexy commented 4 months ago

@vkaramanis you did not provide enough information for anyone to really help you. Provide some data model on what you receive on south and how you want it to look when sending it north

MarkRiddoch commented 1 week ago

The way Fledge works is that it pools rthe data in the storage layer from all souht services. I would recommend adding the data you need as metadata in the south service data pipeline so that you can pick up the data in the north.