From 297445b2b97513104c6747efeab9c882ffc9b524 Mon Sep 17 00:00:00 2001 From: Michael McCool Date: Wed, 31 May 2023 15:05:52 -0300 Subject: [PATCH 1/6] Update Implementation Descriptions --- data/input_2022/Architecture/Impls/hitachi-espidf.html | 4 ++-- data/input_2022/Architecture/Impls/hitachi-nodegen.html | 2 +- data/input_2022/Architecture/Impls/hitachi-nodered.html | 2 +- data/input_2022/Architecture/Impls/hitachi-nrwotdisc.html | 2 +- data/input_2022/Architecture/Impls/intel-nodejs.html | 4 +++- data/input_2022/Architecture/Impls/intel-proxy.html | 2 ++ data/input_2022/Architecture/Impls/intel-wot-ha.html | 2 ++ data/input_2022/Architecture/Impls/philips-hue.html | 2 +- data/input_2022/Architecture/Impls/python-flask-custom.html | 2 +- data/input_2022/Architecture/Impls/tinyiot.html | 2 +- data/input_2022/Architecture/Impls/wothive.html | 2 +- 11 files changed, 16 insertions(+), 10 deletions(-) diff --git a/data/input_2022/Architecture/Impls/hitachi-espidf.html b/data/input_2022/Architecture/Impls/hitachi-espidf.html index 9b84bc16..1acacc98 100644 --- a/data/input_2022/Architecture/Impls/hitachi-espidf.html +++ b/data/input_2022/Architecture/Impls/hitachi-espidf.html @@ -1,8 +1,8 @@
-

Air quality sensor and acclerometer: TD Exposer

+

hitachi-esp-idf: Air quality sensor and acclerometer: TD Exposer

This is an example of a Thing implemented on a microcontroller. It can exporting the Thing's sensor reading via HTTP REST API, and advertise its own Thing Description using DNS-SD/mDNS.

-
\ No newline at end of file + diff --git a/data/input_2022/Architecture/Impls/hitachi-nodegen.html b/data/input_2022/Architecture/Impls/hitachi-nodegen.html index b3f36f6a..2f654950 100644 --- a/data/input_2022/Architecture/Impls/hitachi-nodegen.html +++ b/data/input_2022/Architecture/Impls/hitachi-nodegen.html @@ -1,5 +1,5 @@
-

Node generator for Node-RED: TD Consumer

+

hitachi-nodegen: Node generator for Node-RED: TD Consumer

Node generator is command line tool to generate diff --git a/data/input_2022/Architecture/Impls/hitachi-nodered.html b/data/input_2022/Architecture/Impls/hitachi-nodered.html index 70d443a8..1da247de 100644 --- a/data/input_2022/Architecture/Impls/hitachi-nodered.html +++ b/data/input_2022/Architecture/Impls/hitachi-nodered.html @@ -1,5 +1,5 @@

-

LED lamp: TD Exposer

+

hitachi-nodered: LED lamp: TD Exposer

This is an example of a Thing implemented in Node-RED. It can turn on and off a LED connected to Raspberry Pi's GPIOs diff --git a/data/input_2022/Architecture/Impls/hitachi-nrwotdisc.html b/data/input_2022/Architecture/Impls/hitachi-nrwotdisc.html index 35b65b98..488c332a 100644 --- a/data/input_2022/Architecture/Impls/hitachi-nrwotdisc.html +++ b/data/input_2022/Architecture/Impls/hitachi-nrwotdisc.html @@ -1,5 +1,5 @@

-

WoT-Discovery Plugin for Node-RED: Discoverer

+

hitachi-nrwotdisc: WoT-Discovery Plugin for Node-RED: Discoverer

This plugin uses wot-discovery functionality and make it easy to import Things into Node-RED flow editor. diff --git a/data/input_2022/Architecture/Impls/intel-nodejs.html b/data/input_2022/Architecture/Impls/intel-nodejs.html index 349a9959..656d6d49 100644 --- a/data/input_2022/Architecture/Impls/intel-nodejs.html +++ b/data/input_2022/Architecture/Impls/intel-nodejs.html @@ -2,6 +2,7 @@

intel-nodejs: TD Exposer

Two services based on a shared NodeJS codebase (not using node-wot): +

  • A simple camera service that interfaces with V4L (Video for Linux) to capture still images @@ -10,5 +11,6 @@

    intel-nodejs: TD Exposer

  • A simple text-to-speech output service based on espeak.
-

+

Usage: Exposer

+

Contributing Member Organizations: Intel

diff --git a/data/input_2022/Architecture/Impls/intel-proxy.html b/data/input_2022/Architecture/Impls/intel-proxy.html index 00366b56..11d11856 100644 --- a/data/input_2022/Architecture/Impls/intel-proxy.html +++ b/data/input_2022/Architecture/Impls/intel-proxy.html @@ -12,4 +12,6 @@

intel-proxy: Intermediary

The secure endpoints provided by this service are not given in TDs for the service itself, but added to the TDs for the Things it services.

+

Usage: Intermediary

+

Contributing Member Organizations: Intel

diff --git a/data/input_2022/Architecture/Impls/intel-wot-ha.html b/data/input_2022/Architecture/Impls/intel-wot-ha.html index b3b8c0db..f8e901b1 100644 --- a/data/input_2022/Architecture/Impls/intel-wot-ha.html +++ b/data/input_2022/Architecture/Impls/intel-wot-ha.html @@ -10,4 +10,6 @@

intel-wot-ha: TD Directory and TD Exposer

entities supported by Home Assistant and access these services using WoT affordance abstractions.

+

Usage: Directory and Exposer

+

Contributing Member Organizations: Intel

diff --git a/data/input_2022/Architecture/Impls/philips-hue.html b/data/input_2022/Architecture/Impls/philips-hue.html index d47ddd9f..8ef9ce57 100644 --- a/data/input_2022/Architecture/Impls/philips-hue.html +++ b/data/input_2022/Architecture/Impls/philips-hue.html @@ -1,5 +1,5 @@
-

Philips Hue Integration

+

philips-hue: Philips Hue Integration

This implementation leverages the already developed Philips Hue devices. The TDs for them are written by hand and show the use of WoT for brownfield devices. Philips Hue uses API Key in the URI, which is one of the features of the TD 1.1. diff --git a/data/input_2022/Architecture/Impls/python-flask-custom.html b/data/input_2022/Architecture/Impls/python-flask-custom.html index 02fa5bf3..33bcab69 100644 --- a/data/input_2022/Architecture/Impls/python-flask-custom.html +++ b/data/input_2022/Architecture/Impls/python-flask-custom.html @@ -1,5 +1,5 @@

-

Custom Python Flask Things: Thing

+

flask-tum: Custom Python Flask Things: Thing

Custom implementation pattern using the Flask library for creating an HTTP server that exposes a TD. This pattern is used in many devices that have been developed. diff --git a/data/input_2022/Architecture/Impls/tinyiot.html b/data/input_2022/Architecture/Impls/tinyiot.html index 58b888ee..19394103 100644 --- a/data/input_2022/Architecture/Impls/tinyiot.html +++ b/data/input_2022/Architecture/Impls/tinyiot.html @@ -1,5 +1,5 @@

-

TinyIoT Thing Directory

+

tiny-iot: TinyIoT Thing Directory

This is an implementation of the W3C Web of Things (WoT) Thing Description Directory (TDD). This directory is designed to be lightweight and portable, enabling deployment on the edge. diff --git a/data/input_2022/Architecture/Impls/wothive.html b/data/input_2022/Architecture/Impls/wothive.html index 49124de5..07449033 100644 --- a/data/input_2022/Architecture/Impls/wothive.html +++ b/data/input_2022/Architecture/Impls/wothive.html @@ -3,7 +3,7 @@

WoT Hive directory

WoT Hive is an implementation of a W3C Web of Things directory. This implementation is compliant with the standard specification but aims at providing enriched features thanks to the usage of other W3C standards related to Semantic Web technologies.

-

Usage: Directoryt

+

Usage: Directory

Public Repository: https://github.com/oeg-upm/wot-hive

Website: https://github.com/oeg-upm/wot-hive From 14fb0471cabb6632bb113903416c7f88925faa29 Mon Sep 17 00:00:00 2001 From: Ben Francis Date: Thu, 8 Jun 2023 16:53:23 +0100 Subject: [PATCH 2/6] Add WebThings Gateway implementation description --- .../Architecture/Impls/webthings-gateway.html | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 data/input_2022/Architecture/Impls/webthings-gateway.html diff --git a/data/input_2022/Architecture/Impls/webthings-gateway.html b/data/input_2022/Architecture/Impls/webthings-gateway.html new file mode 100644 index 00000000..99566c2c --- /dev/null +++ b/data/input_2022/Architecture/Impls/webthings-gateway.html @@ -0,0 +1,24 @@ +

+

WebThings Gateway

+

+ An open source Web of Things gateway for smart buildings, which bridges a + wide range of IoT protocols to the Web of Things. +

+

Exposes a directory of Thing Descriptions conformant with TD 1.1 and a + REST API conformant with the HTTP Basic Profile and HTTP SSE Profile from + WoT Profiles. +

+

+ Usage: A web application which can be built from source, installed + as a docker image or flashed onto a Raspberry Pi single board computer. +

+

+ Public Repository: https://github.com/WebThingsIO/gateway/ +

+

+ Website: https://webthings.io/gateway/ +

+

+ Contributing Member Organizations: Invited Experts +

+
\ No newline at end of file From 2247f29925d3d0b2dd394457ac37079891dd6248 Mon Sep 17 00:00:00 2001 From: Ben Francis Date: Thu, 8 Jun 2023 16:56:41 +0100 Subject: [PATCH 3/6] Add Krellian Cloud implementation description --- .../Architecture/Impls/krellian-cloud.html | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 data/input_2022/Architecture/Impls/krellian-cloud.html diff --git a/data/input_2022/Architecture/Impls/krellian-cloud.html b/data/input_2022/Architecture/Impls/krellian-cloud.html new file mode 100644 index 00000000..10f2ef57 --- /dev/null +++ b/data/input_2022/Architecture/Impls/krellian-cloud.html @@ -0,0 +1,21 @@ +
+

Krellian Cloud

+

+ A hosted cloud service which creates a digital twin of a building to model + how it's being used and identify potential optimisations. +

+

+ Implements the Directory Service API from WoT Discovery and consumes web + things conforming to WoT Thing Description 1.1 and the HTTP Basic Profile + and HTTP SSE Profile from WoT Profiles. +

+

+ Usage: Cloud service +

+

+ Website: https://krellian.com/services/cloud/ +

+

+ Contributing Member Organizations: Invited Experts +

+
\ No newline at end of file From c3bfb961ca58e8cb3cac4ac092fe68a5f17d7a28 Mon Sep 17 00:00:00 2001 From: Ege Korkan Date: Tue, 12 Nov 2024 00:23:02 +0100 Subject: [PATCH 4/6] Update validation.yaml --- .github/workflows/validation.yaml | 27 ++++++++++----------------- 1 file changed, 10 insertions(+), 17 deletions(-) diff --git a/.github/workflows/validation.yaml b/.github/workflows/validation.yaml index cc8c7efa..c2d557b4 100644 --- a/.github/workflows/validation.yaml +++ b/.github/workflows/validation.yaml @@ -10,29 +10,22 @@ jobs: steps: - name: Checkout wot-testing - uses: actions/checkout@v2 - - - name: Checkout thingweb-playground - uses: actions/checkout@v2 - with: - repository: thingweb/thingweb-playground - path: thingweb-playground + uses: actions/checkout@v4 - name: Setup Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v4.1.0 with: - node-version: '15' - - - name: Use lerna - run: npm install -g lerna@6.6.2 - - - name: Bootstrap - working-directory: thingweb-playground - run: lerna bootstrap --no-ci + node-version: '20' + - name: Create empty folder + run: npm init -y + + - name: Install Playground CLI + run: npm i @thing-description-playground/cli + - name: Run validation script on all new matching files env: - VALIDATION_SCRIPT: thingweb-playground/packages/cli/index.js + VALIDATION_SCRIPT: node_modules/@thing-description-playground/cli/index.js PATTERN: "*.td.jsonld" run: | # Get the list of changed files From a89e1eda3da1453d1a89a97ca789551a49f0a821 Mon Sep 17 00:00:00 2001 From: Ege Korkan Date: Tue, 12 Nov 2024 00:24:49 +0100 Subject: [PATCH 5/6] do small change for CI --- events/2024.11.Munich/TDs/openflexure/microscope.td.jsonld | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/events/2024.11.Munich/TDs/openflexure/microscope.td.jsonld b/events/2024.11.Munich/TDs/openflexure/microscope.td.jsonld index 730df857..3f50d6d0 100644 --- a/events/2024.11.Munich/TDs/openflexure/microscope.td.jsonld +++ b/events/2024.11.Munich/TDs/openflexure/microscope.td.jsonld @@ -8,7 +8,7 @@ ], "id": "OpenFlexureMicroscopeopenflexure:microscope:9cd38bce-9d27-4f00-8a2a-52d48b96a9fc:96da96db-bf8c-4d98-8fc0-34120158c7e3", "title": "OpenFlexure Microscope openflexure:microscope:9cd38bce-9d27-4f00-8a2a-52d48b96a9fc", - "description": "Test LabThing-based API for OpenFlexure Microscope", + "description": "LabThing-based API for OpenFlexure Microscope", "properties": { "org.openflexure.zipbuilder/get": { "title": "ZipListAPIView", From 36cd01098bffad346b253b377b08cda2856f285e Mon Sep 17 00:00:00 2001 From: Ege Korkan Date: Tue, 12 Nov 2024 00:30:32 +0100 Subject: [PATCH 6/6] remove json-ld validation error source --- events/2024.11.Munich/TDs/openflexure/microscope.td.jsonld | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/events/2024.11.Munich/TDs/openflexure/microscope.td.jsonld b/events/2024.11.Munich/TDs/openflexure/microscope.td.jsonld index 3f50d6d0..9f5c2f6f 100644 --- a/events/2024.11.Munich/TDs/openflexure/microscope.td.jsonld +++ b/events/2024.11.Munich/TDs/openflexure/microscope.td.jsonld @@ -1,7 +1,6 @@ { "@context": [ - "https://www.w3.org/2019/wot/td/v1", - "https://iot.mozilla.org/schemas/" + "https://www.w3.org/2019/wot/td/v1" ], "@type": [ "org.openflexure.microscope"