Skip to content

A mashup tool for quick Web of Things prototypes with the EVRYTHNG API.

License

Notifications You must be signed in to change notification settings

webofthings/wot-a-mashup

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#WoT-a-Mashup!

A Physical Mashup Tool with EVRYTHNG support!

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!

Install

Prerequisites

Cloning the repository

git clone git@github.com:webofthings/ClickScript.git

Setting up the Node.js proxy

cd proxy
sudo npm install

Configure your EVRYTHNG API key

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"}

Get started

cd proxy
node proxy.js

Browse to:

http://localhost:8001/wot-a-mashup.html 

Writing your own module

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!

About

A mashup tool for quick Web of Things prototypes with the EVRYTHNG API.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 93.4%
  • CSS 6.6%