#WoT-a-Mashup!
WoT-a-Mashup is a mashup tool for the Internet of Things and the Web of Things. It was the first tool of this kind and is built around the idea of Physical Mashups.
It is based on the great ClickScript Javascript mashup tool, and integrates direct support for the EVRYTHNG Web of Things API into Clickscript as a showcase of how EVRYTHNG makes it easy build Web of Things apps.
The forks adds:
- 2 EVYTHNG modules, one for reading Thng properties, one for updating them.
- A Node.js proxy to circumvent the Javascript cross-domain restrictions.
Useful if:
- You have real-world objects (e.g., a temperature sensor, a connected product) connected to EVRYTHNG and want to involve them in crazy mashups/applications within seconds!
- node.js
- Firefox (many things won't work with Chrome...)
- A (free!) EVRYTHNG API account, API key and an existing Thng with properties (see the API doc)
git clone [email protected]:webofthings/ClickScript.git
cd proxy
sudo npm install
In
cs/system/ConfigController.js
add your EVRYTHNG API key and the id of the Thng you want to include in your mashups:
evrythng : {key : "YOUR-KEY", thng : "YOUR-THNG-ID", proxyUrl : "http://localhost:8001"}
cd proxy
node proxy.js
Browse to:
http://localhost:8001/wot-a-mashup.html
You can create you own mashup modules (little boxes) by
The two EVRYTHNG modules are the last ones on the Clickscript IDE module bar! Enjoy!