Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data Schema Fix for Quickstart example #1083

Merged
merged 2 commits into from
Sep 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions examples/quickstart/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Quick Start Things

Comment on lines +1 to +2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it make sense to link to the possible consumer part?
https://github.com/w3c/wot-cg/tree/main/Tutorials/quickstart

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I want to create it in ts and submit here but as a separate PR

This set of Things can be used to build mashup applications for a smart home scenario.
These Things are:

- Simple coffee machine that can take an order to brew a coffee.
- Presence sensor that emits an event when a person is detected.
- Smart clock that runs 60 times faster than real time, where 1 hour happens in 1 minute.

These Things are hosted on plugfest.thingweb.io but can be also self-hosted.
6 changes: 3 additions & 3 deletions examples/quickstart/simple-coffee-machine.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,17 @@ servient.start().then((WoT) => {
water: {
type: "integer",
minimum: 0,
maximum: 100,
maximum: 1000,
},
beans: {
type: "integer",
minimum: 0,
maximum: 100,
maximum: 1000,
},
milk: {
type: "integer",
minimum: 0,
maximum: 100,
maximum: 1000,
},
},
},
Expand Down
6 changes: 3 additions & 3 deletions packages/examples/src/quickstart/simple-coffee-machine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,17 +53,17 @@ servient.start().then((WoT) => {
water: {
type: "integer",
minimum: 0,
maximum: 100,
maximum: 1000,
},
beans: {
type: "integer",
minimum: 0,
maximum: 100,
maximum: 1000,
},
milk: {
type: "integer",
minimum: 0,
maximum: 100,
maximum: 1000,
},
},
},
Expand Down
Loading