wot-thing-description | Web of Things (WoT) Thing Description | Animation library
kandi X-RAY | wot-thing-description Summary
kandi X-RAY | wot-thing-description Summary
This repository covers the W3C Web of Things Thing Description family of specifications.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of wot-thing-description
wot-thing-description Key Features
wot-thing-description Examples and Code Snippets
Community Discussions
Trending Discussions on wot-thing-description
QUESTION
How should a WoT Thing Description distinguish between properties that carry configuration state and properties that carry a sensor or actuator state?
The WoT Thing Description specification specifies three interaction affordances, Properties, Actions and Events. The property affordance is described as:
An Interaction Affordance that exposes state of the Thing. This state can then be retrieved (read) and optionally updated (write). Things can also choose to make Properties observable by pushing the new state after a change.
There is no mention of different types of states, eg sensors and actuators vs configuration.
Example 27 shows a TD of Thing that has an on/off switch, a brightness setting and a timer as follows.
...ANSWER
Answered 2021-May-12 at 06:35That is up to you. The WoT TD doesn't restrict you in that regards. Said that, you may want to use "@type" like in this saref example. The "@type" property is used to label something in WoT. It sounds reasonable to use it in this context.
In the future, we are going to define WoT Profiles, which may make the implementation for certain use-cases more clearer.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install wot-thing-description
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page