Produce Web of Things
This handler (com.rierino.handler.wot.WOTProducerEventHandler) provides ability to consume WoT data and invoke actions on IoT and similar endpoints
Handler Parameters
Parameter
Definition
Example
Default
Actions
ReadThing
Field
Definition
Example
Default
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Produce Web of Things ReadThing action eventMeta fields",
"type": "object",
"properties": {
"eventMeta": {
"type": "object",
"properties": {
"domain": {
"type": "string",
"definition": "State to read \"Thing\" from",
"example": "custom_thing",
"default": "thing"
},
"inputElement": {
"type": "string",
"definition": "Json path for the id field in event payload",
"example": "input",
"default": null
},
"outputElement": {
"type": "string",
"definition": "Json path for the output in response event payload",
"example": "output",
"default": null
}
}
}
}
}Last updated
