From 6d6bcb40afe0504da990737c4644aa3462f07926 Mon Sep 17 00:00:00 2001 From: Ege Korkan Date: Thu, 14 Sep 2023 17:37:13 +0200 Subject: [PATCH 1/2] examples: fix data schema --- examples/quickstart/simple-coffee-machine.js | 6 +++--- packages/examples/src/quickstart/simple-coffee-machine.ts | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/quickstart/simple-coffee-machine.js b/examples/quickstart/simple-coffee-machine.js index 2df23d60c..dd042b3a6 100644 --- a/examples/quickstart/simple-coffee-machine.js +++ b/examples/quickstart/simple-coffee-machine.js @@ -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, }, }, }, diff --git a/packages/examples/src/quickstart/simple-coffee-machine.ts b/packages/examples/src/quickstart/simple-coffee-machine.ts index 5775d9cf5..fbd753d85 100644 --- a/packages/examples/src/quickstart/simple-coffee-machine.ts +++ b/packages/examples/src/quickstart/simple-coffee-machine.ts @@ -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, }, }, }, From 01305319cd1880cce153001138d94f701b50abf3 Mon Sep 17 00:00:00 2001 From: Ege Korkan Date: Thu, 14 Sep 2023 17:38:05 +0200 Subject: [PATCH 2/2] examples: copy readme as well --- examples/quickstart/README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 examples/quickstart/README.md diff --git a/examples/quickstart/README.md b/examples/quickstart/README.md new file mode 100644 index 000000000..0183dad5f --- /dev/null +++ b/examples/quickstart/README.md @@ -0,0 +1,10 @@ +# Quick Start Things + +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.