Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 999 Bytes

File metadata and controls

38 lines (30 loc) · 999 Bytes

WoT-Raspberry-Pi-Servient

This is a simple implementation of a WoT Raspberry PI Servient on NodeJS to control the internal status LEDs. It is based on the Eclipse Thingweb node-wot implementation of the W3C Web of Things.

Requirments

  • NodeJs
  • npm

Quick Start

Clone the repository:

git clone https://github.com/tejoha/WoT-Raspberry-Pi-Servient.git

Go into:

cd WoT-Raspberry-Pi-Servient

Install dependencies:

npm install

Run:

npm start

HTTP Resources

The Servient will gererate follwing HTTP url bindings. The Thing Description will be aviable under localhost:8080/LED.

Using a browser

Open WoT Browser and consume Thing Description (localhost:8080/LED).

Test environment

  • Raspberry PI 3 Model B V1.2
  • Raspbian GNU/Linux 9.9