Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vicaba/node-wot-termometer-browser.
https://github.com/vicaba/node-wot-termometer-browser.
node node-wot training web web-of-things web-of-things-course
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/vicaba/node-wot-termometer-browser.
- Owner: vicaba
- Created: 2023-08-29T14:17:48.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-29T14:18:01.000Z (over 1 year ago)
- Last Synced: 2024-07-30T21:02:52.532Z (5 months ago)
- Topics: node, node-wot, training, web, web-of-things, web-of-things-course
- Language: JavaScript
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Statement
* You have to display a dashboard for a webthing. The webthing is `termometer.js`, which you can run using `node termometer.js` and check its address at `localhost:8080`.
* The dashboard should be able to read the first property of the webthing and display the name of the property and its value, which will be updated every second.
* Additionally, you should read the first action and display its name and allow the user to act on it.
* You do not need to check for the validity of the action input.
* Use the following libraries and versions (they are already included in the `package.json`):
```
"@node-wot/binding-http": "^0.8.3",
"@node-wot/browser-bundle": "^0.8.3",
"@node-wot/core": "^0.8.3"
```
## Resources
* [WoT Scripting API](https://www.w3.org/TR/wot-scripting-api/)
* [thingweb/node-wot](https://github.com/eclipse/thingweb.node-wot)## Solution
Check the [following demo](https://www.loom.com/share/e8246bdc5375472984a861aae7ca29c4).