w3c / wot-thing-description

Web of Things (WoT) Thing Description
http://w3c.github.io/wot-thing-description/
Other
133 stars 63 forks source link

Reduce intrinsic protocol level redundancy #1248

Open relu91 opened 3 years ago

relu91 commented 3 years ago

As I have been requested to do during this F2F I'm creating issues related to my presentation about Thing Description redundancies.

In this issue, I want to focus on intrinsic protocol level redundancy (slide 7). In short, certain IoT protocols require common configuration parameters that are usually shared across all Web Thing form instances. This creates longer TDs and opens the door to copy&paste errors. This is not the first time that this issue pop up in fact we already have a good list of issues that somehow touch this same aspect:

In the end, what is really missing is a global space to factor out protocol configuration and refer to those configurations in affordances only if needed. Sadly, this of course we'll make TDs more complex to read/understand.

egekorkan commented 4 months ago

I will use this issue as the umbrella for the initial connection discussion. @relu91 could you update the list with every issue listed at https://github.com/w3c/wot/pull/1200. That way, people who stumble upon this issue have an easier life. If you are fine with it of course.

Everyone else, please refrain from commenting on this issue with ideas at this stage as multiple issues are already quite long.

egekorkan commented 4 months ago

A summary of the discussions in the linked issues:

egekorkan commented 4 months ago

I am done with the previous comment and will present the findings in the TD call today. For all points of discussion, there are multiple proposals that I put into this hackmd for now: https://hackmd.io/@egekorkan/r1lXdjwtA

egekorkan commented 4 months ago

In today's meeting, opinions on the past proposals were collected: