Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 78 additions & 0 deletions events/2022.06.Online/TD/TDs/siemens-LED.td.jsonld
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
{
"@context": ["https://www.w3.org/2019/wot/td/v1","https://www.w3.org/2022/wot/td/v1.1"],
"title": "LED Thing Model",
"securityDefinitions": {
"basic_sc": {
"scheme": "basic",
"in": "header"
}
},
"security": "basic_sc",
"links": [
{
"rel": "collection",
"href": "./SmartVentilation.td.jsonld",
"type": "application/td+json"
},
{
"rel": "type",
"href": "./LED.tm.jsonld",
"type": "application/tm+json"
}
],
"properties": {
"R": {
"type": "number",
"description": "Red color",
"forms": [
{
"href": "http://127.0.13.211:4563/R"
}
]
},
"G": {
"type": "number",
"description": "Green color",
"forms": [
{
"href": "http://127.0.13.211:4563/G"
}
]
},
"B": {
"type": "number",
"description": "Blue color",
"forms": [
{
"href": "http://127.0.13.211:4563/B"
}
]
}
},
"actions": {
"fadeIn": {
"title": "fadeIn",
"input": {
"type": "number",
"description": "fadeIn in ms"
},
"forms": [
{
"href": "http://127.0.13.211:4563/fadeIn"
}
]
},
"fadeOut": {
"title": "fadeOut",
"input": {
"type": "number",
"description": "fadeOut in ms"
},
"forms": [
{
"href": "http://127.0.13.211:4563/fadeOut"
}
]
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"@context": ["https://www.w3.org/2019/wot/td/v1","https://www.w3.org/2022/wot/td/v1.1"],
"@type" : "Thing",
"title" : "My DistanceSensor",
"description": "DistanceSensor unit",
"links" :[{
"rel" : "type",
"href": "https://raw.githubusercontent.com/w3c/wot-testing/main/events/2021.06.Online/TD/TMs/Siemens/MyDistanceSensor-Extends-VortoModel.tm.jsonld",
"type": "application/jsonld"
}],
"securityDefinitions": {
"nosec_sc": {
"scheme": "nosec"
}
},
"security": ["nosec_sc"],
"properties": {
"distance.currentMeasured": {
"title": "currentMeasured",
"type": "integer",
"forms" : [{
"href": "mqtt://127.0.0.1:1883/DistanceSensor/currentMeasured"
}]
},
"distance.minMeasured": {
"title": "minMeasured",
"type": "integer",
"minumum" : 0,
"forms" : [{
"href": "mqtt://127.0.0.1:1883/DistanceSensor/currentMeasured"
}]
},
"distance.maxMeasured": {
"title": "maxMeasured",
"type": "integer",
"forms" : [{
"href": "mqtt://127.0.0.1:1883/DistanceSensor/currentMeasured"
}]
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"@context": ["https://www.w3.org/2019/wot/td/v1","https://www.w3.org/2022/wot/td/v1.1"],
"@type": "ThingModel",
"title": "MyLight Control Device",
"links" : [{
"rel": "type",
"href": "https://raw.githubusercontent.com/w3c/wot-testing/main/events/2021.06.Online/TD/TMs/Siemens/MyLight-Extends-LwM2M.tm.jsonld",
"type" : "application/jsonld"
}],
"securityDefinitions": {
"nosec_sc": {
"scheme": "nosec"
}
},
"security": ["nosec_sc"],
"properties": {
"On_Off": {
"title": "OnOff",
"description": "On/off control. Boolean value where True is On and False is Off.",
"type": "boolean",
"forms":[{"href": "coap://example.com/onOff"}]
},
"Status" : {
"title" : "Current Lamp status",
"description" : "Shows status information (on, off, error)",
"type" : "string",
"enum" : ["on", "off", "error"],
"forms":[{"href": "coap://example.com/Status"}]
}
}
}
Loading