Skip to content

Commit

Permalink
Merge pull request #1083 from egekorkan/ege-example-payload-fix
Browse files Browse the repository at this point in the history
Data Schema Fix for Quickstart example
  • Loading branch information
egekorkan authored Sep 14, 2023
2 parents 46f2d5a + 0130531 commit 52ef103
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
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

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

0 comments on commit 52ef103

Please sign in to comment.