From 72afe2b4975db925c10ccd67f20076ce0335c701 Mon Sep 17 00:00:00 2001 From: Mahda Noura Date: Mon, 18 Nov 2024 12:31:08 +0100 Subject: [PATCH] Create Siemens TargetV TM --- .../TDs/Siemens/targetV.tm.jsonld | 86 +++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 events/2024.11.Munich/TDs/Siemens/targetV.tm.jsonld diff --git a/events/2024.11.Munich/TDs/Siemens/targetV.tm.jsonld b/events/2024.11.Munich/TDs/Siemens/targetV.tm.jsonld new file mode 100644 index 00000000..8d0677c5 --- /dev/null +++ b/events/2024.11.Munich/TDs/Siemens/targetV.tm.jsonld @@ -0,0 +1,86 @@ +{ + "@context": [ + "https://www.w3.org/2022/wot/td/v1.1", + { + "brick": "https://brickschema.org/schema/1.0.3/BrickFrame#", + "mcep": "http://mcep/shared" + } + ], + "id": "urn:node:targetV", + "title": "Siemens TargetV device", + "version" : {"model": "1.0.0"}, + "@type": [ + "tm:ThingModel", + "brick:Thermostat" + ], + "base": "{{MQTT_IoT_DEMO_BROKER_ADDRESS}}:{{MQTT_BROKER_PORT}}", + "description": "Siemens TargetV device that integrates CO2, temperature, and humidity, and occupancy sensors", + "securityDefinitions": { + "nosec_sc": { + "scheme": "nosec" + } + }, + "security": "nosec_sc", + "properties": { + "co2": { + "title": "Reads the CO2 value from the sensor connected to the TargetV device", + "type": "string", + "writeOnly":false, + "observable":true, + "forms": [ + { + "href": "/co2", + "op": [ + "readproperty", + "observeproperty" + ] + } + ] + }, + "temperature": { + "title": "Reads the temperature value from the sensor connected to a TargetV device", + "type": "string", + "writeOnly":false, + "observable":true, + "forms": [ + { + "href": "/temperature", + "op": [ + "readproperty", + "observeproperty" + ] + } + ] + }, + "humidity": { + "title": "Reads the humidity value from the sensor connected to a TargetV device", + "type": "string", + "writeOnly":false, + "observable":true, + "forms": [ + { + "href": "/humidity", + "op": [ + "readproperty", + "observeproperty" + ] + } + ] + }, + "occupancy": { + "title": "Reads the occupancy value from the sensor connected to a TargetV device", + "type": "string", + "writeOnly":false, + "observable":true, + "forms": [ + { + "href": "/occupancy", + "op": [ + "readproperty", + "observeproperty" + ] + } + ] + } + } +}