Skip to content

Commit

Permalink
Add events/2024.11.Munich/TDs/chrpaul.de
Browse files Browse the repository at this point in the history
  • Loading branch information
jaller94 committed Nov 25, 2024
1 parent 11f09c9 commit a497770
Show file tree
Hide file tree
Showing 9 changed files with 1,136 additions and 0 deletions.
4 changes: 4 additions & 0 deletions events/2024.11.Munich/TDs/chrpaul.de/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# TDs of Christian Paul

Find my public Things at: https://wot.chrpaul.de

123 changes: 123 additions & 0 deletions events/2024.11.Munich/TDs/chrpaul.de/co2-monitor.td.jsonld
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
{
"@context": [
"https://www.w3.org/2022/wot/td/v1.1",
{
"@language": "en"
}
],
"@type": "Thing",
"title": "CO₂ Monitor",
"description": "",
"securityDefinitions": {
"nosec": {
"scheme": "nosec"
}
},
"security": [
"nosec"
],
"properties": {
"co2": {
"title": "CO₂ in ppm",
"type": "number",
"forms": [
{
"contentType": "application/json",
"href": "https://wot.chrpaul.de/co2-monitors/plugfest/properties/co2",
"op": [
"readproperty",
"writeproperty"
]
},
{
"contentType": "application/json",
"href": "https://wot.chrpaul.de/co2-monitors/plugfest/properties/co2/sse",
"op": [
"observeproperty"
],
"subprotocol": "sse"
},
{
"href": "wss://wot.chrpaul.de/",
"op": [
"readproperty",
"writeproperty",
"observeproperty"
]
}
]
},
"temperature": {
"title": "Temperature in °C",
"type": "number",
"forms": [
{
"contentType": "application/json",
"href": "https://wot.chrpaul.de/co2-monitors/plugfest/properties/temperature",
"op": [
"readproperty",
"writeproperty"
]
},
{
"contentType": "application/json",
"href": "https://wot.chrpaul.de/co2-monitors/plugfest/properties/temperature/sse",
"op": [
"observeproperty"
],
"subprotocol": "sse"
},
{
"href": "wss://wot.chrpaul.de/",
"op": [
"readproperty",
"writeproperty",
"observeproperty"
]
}
]
},
"humidity": {
"title": "Humidity",
"type": "number",
"forms": [
{
"contentType": "application/json",
"href": "https://wot.chrpaul.de/co2-monitors/plugfest/properties/humidity",
"op": [
"readproperty",
"writeproperty"
]
},
{
"contentType": "application/json",
"href": "https://wot.chrpaul.de/co2-monitors/plugfest/properties/humidity/sse",
"op": [
"observeproperty"
],
"subprotocol": "sse"
},
{
"href": "wss://wot.chrpaul.de/",
"op": [
"readproperty",
"writeproperty",
"observeproperty"
]
}
]
}
},
"actions": {},
"events": {},
"forms": [
{
"href": "https://wot.chrpaul.de/co2-monitors/plugfest/properties",
"contentType": "application/json",
"op": [
"readallproperties",
"readmultipleproperties"
]
}
]
}
138 changes: 138 additions & 0 deletions events/2024.11.Munich/TDs/chrpaul.de/e-paper-image-converter.td.jsonld
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
{
"@context": [
"https://www.w3.org/2022/wot/td/v1.1",
{
"@language": "en"
}
],
"@type": "Thing",
"title": "Image 1",
"description": "",
"securityDefinitions": {
"nosec": {
"scheme": "nosec"
}
},
"security": [
"nosec"
],
"properties": {
"image": {
"title": "Input image",
"oneOf": [
{
"type": "string",
"contentMediaType": "image/png",
"contentEncoding": "base64"
},
{
"type": "null"
}
],
"forms": [
{
"contentType": "application/json",
"href": "https://wot.chrpaul.de/image-storage/1/properties/image",
"op": [
"readproperty",
"writeproperty"
]
},
{
"contentType": "application/json",
"href": "https://wot.chrpaul.de/image-storage/1/properties/image/sse",
"op": [
"observeproperty"
],
"subprotocol": "sse"
},
{
"href": "wss://wot.chrpaul.de/",
"op": [
"readproperty",
"writeproperty",
"observeproperty"
]
}
]
},
"800x480-7-colors": {
"title": "E-Paper preview (800x480, 7 colors)",
"readOnly": true,
"oneOf": [
{
"type": "string",
"contentMediaType": "image/png",
"contentEncoding": "base64"
},
{
"type": "null"
}
],
"forms": [
{
"contentType": "application/json",
"href": "https://wot.chrpaul.de/image-storage/1/properties/800x480-7-colors",
"op": [
"readproperty"
]
},
{
"contentType": "application/json",
"href": "https://wot.chrpaul.de/image-storage/1/properties/800x480-7-colors/sse",
"op": [
"observeproperty"
],
"subprotocol": "sse"
},
{
"href": "wss://wot.chrpaul.de/",
"op": [
"readproperty",
"observeproperty"
]
}
]
},
"800x480-7-colors-epaper": {
"title": "E-Paper data (800x480, 7 colors)",
"readOnly": true,
"oneOf": [
{
"type": "string",
"contentMediaType": "application/octet-stream",
"contentEncoding": "base64"
},
{
"type": "null"
}
],
"forms": [
{
"contentType": "application/json",
"href": "https://wot.chrpaul.de/image-storage/1/properties/800x480-7-colors-epaper",
"op": [
"readproperty"
]
},
{
"contentType": "application/json",
"href": "https://wot.chrpaul.de/image-storage/1/properties/800x480-7-colors-epaper/sse",
"op": [
"observeproperty"
],
"subprotocol": "sse"
},
{
"href": "wss://wot.chrpaul.de/",
"op": [
"readproperty",
"observeproperty"
]
}
]
}
},
"actions": {},
"events": {}
}
Loading

0 comments on commit a497770

Please sign in to comment.