| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
@fatadel Thanks very much for sharing this early PR! @tim-hellhake is welcome to review it and decide what branch to eventually land on. As expected, it seems there are several open questions shared with the gateway implementation which need resolving before we can be sure of what to do with some features. Let's try to resolve those issues on the gateway first, in the issues tagged with w3c-compliance. |
Sorry, something went wrong.
|
Following up on this after a long time, the master branch of WebThings Gateway is now more or less compliant with WoT Thing Description 1.1 and WoT Profile (HTTP Basic Profile and HTTP SSE Profile). That can provide a guide as to how to make all the WebThings Framework libraries like this one compliant.
I would ideally like to implement both the HTTP Basic Profile and HTTP SSE Profile in all the WebThings Framework libraries, so that all WebThings web thing implementations are consistent with the gateway.
This sounds wrong from this description, the action input should be mapped directly onto the body of the invokeaction POST request, e.g. see https://w3c.github.io/wot-profile/#example-13
WebThings Gateway doesn't currently expose any action outputs, but that could be implemented. Note that the HTTP Basic Profile has different response payloads for synchronous vs. asynchronous actions https://w3c.github.io/wot-profile/#sync-action-response
You're correct, see writeOnly in the Thing Description DataSchema. WebThings Gateway doesn't currently expose any write-only properties, see WebThingsIO/gateway#3082
See queryallactions in the HTTP Basic Profile
See queryaction and cancelaction in the HTTP Basic Profile |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This is an indermediate PR (thus it's a draft yet) to share my work with @sebastiankb, @benfrancis and @tim-hellhake.
What is already done:
Some open questions:
FYI, I've managed to consume and interact with (read/write properties and invoke action) the single-thing of webthing from a consumer in node-wot). The other behaviour (e.g. events) is not yet tested.