eclipse-sparkplug / sparkplug

Sparkplug
Eclipse Public License 2.0
109 stars 39 forks source link

Additions to SpC Roadmap #432

Open RickBullotta opened 1 year ago

RickBullotta commented 1 year ago

Not sure the best way to get these added to the roadmap, so here goes the list:

russwaddell commented 1 year ago

These are clear. Most of the bullets seem worthy of their own issue, to be labeled "future release" or "current release" for tracking, assignment, comment or review if necessary, and bundling into Projects or Milestones if appropriate. Prioritization would also be helpful if these aren't all certain to go into the immediate next release.

russwaddell commented 1 year ago

These three seem straightforward and useful incremental enhancements in line with typical user requirements.

This should be routine unless there's some demonstrated case where strong typing breaks something.

Significant project to undertake? Needs more detailed fix(es) proposed.

Substantial reworking of the data model needs more details on how, why, use cases, deficiencies in existing model, comparison against models alongside which SpB is often deployed. If group/node/edge is an outlier compared to other commonly used modeling approaches, the rework is well worthwhile. If replacing group/node/edge simply reworks to harmonize with another model that's not currently or likely to be more widespread, this seems like potentially wasted effort.

These seem like useful evolutionary fixes.

JeremyTheocharis commented 1 year ago

Hi,

Adding to @RickBullotta point regarding flexible topic hierarchies. First some background to understand where I am coming from.

I am Jeremy, Co-Founder and CTO of the United Manufacturing Hub (https://github.com/united-manufacturing-hub/united-manufacturing-hub). We generally love the idea of having a standard for MQTT topics, but the current SparkplugB standard is not usable for us. The current standard is quite focused on the producer device group/node/edge which fits for a lot of IoT use-cases, but not for manufacturing, where our customers and users prefer to sort their data into a ISA95 compatible equipment model. There are not really a lot of standards out there in manufacturing that are globally accepted, but the ISA95 one actually is.

This is the reason why we have not adopted SparkplugB yet and instead are doing our own topic structure standard (see our proposal here: https://learn.umh.app/proposal-new-datamodel-for-the-united-manufacturing-hub/)

We would be happy with anything that would allow us to to sort devices into the ISA95 equipment model, maybe something like <enterprise>/<site>/<area>/<productionLine>/<workCell>/<deviceID>/<one-or-many other topics that can be adjusted based on the use-case>.

In the case of UMH, we would then use that along the lines of <enterprise>/<site>/<area>/<productionLine>/<workCell>/<deviceID>/<UMH-datamodel-version>/<tagGroup>/<tag>

However, this model will likely only work in manufacturing and is not applicable to other IoT use-cases. Maybe append a in front of it to allow different models? one could be the current one, one could be ISA95.

JeremyTheocharis commented 1 year ago

Just added a potentially sparkplug-b compatible model to our proposed datamodel (https://learn.umh.app/proposal-new-datamodel-for-the-united-manufacturing-hub/#potentially-sparkplugb-compatible):

RickBullotta commented 1 year ago

Whatever you need @wes-johnson, let me know. Happy to help flesh out the details and specifics, write some specs or code, etc...