Web Thing Element

The Web Thing element is used to define a Thing Description for a device. There should only be one Web Thing element per project.

The Web Thing element has no useful abilities or triggers, it simply allows you to define your Thing Description. All functionality comes from Web Thing Propery and Web Thing Event elements.

This element is only available for ESP32 based platforms.

Properties

The following properties can be changed for the Web Thing element:

Name

The name of the element.

Capability

The capability of the WebThing. The full specification and description of the various capabilities can be found here.

Description [Optional]

A description of the device.

Event Queue Depth

Depth of the event queue. Any new events will overwrite the oldest in the queue.

Triggers

The following triggers are available to execute events from within the Web Thing element:

Triggered

Execute an event when the source element connected to the Web Thing triggers.

Abilities

The following abilities are available for the Web Thing element when its source element triggers:

Trigger

Trigger the element(s) that follow the Web Thing element.