Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add events/2024.11.Munich/TDs/chrpaul.de #616

Merged
merged 1 commit into from
Nov 26, 2024
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
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