Skip to content

wrd0wl/WoT-Arrowhead-Drawbridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 

Repository files navigation

WoT-Arrowhead-Drawbridge

This is an Arrowhead Drawbridge project, that is a part of the Thesis WOT ARROWHEAD DRAWBRIDGE: BRIDGING HETEROGENIC IOT-BASED SYSTEMS. It consists of wot_emulator and arrowhead_drawbridge which both run on Node.js.

WoT Emulator

This program emulates different IoT devices creating Web Things by Eclipse Thingweb node-wot framework and register them as a service on Eclipse Arrowhead framework.

How to run the program in the terminal by following CLI commands:

  • type the path to the directory where is wot_emulator: cd home/yourusername/path/to/src/wot_emulator
  • enter npm install to install package.json
  • run npm run start

The devices with their locations and values can be defined in devices.json file.

Arrowhead Drawbridge

This program implements a rule-based engine that can connect IoT-based systems.

How to run the program in the terminal by following CLI commands:

  • type the path to the directory where is arrowhead_drawbridge: cd home/yourusername/path/to/src/arrowhead_drawbridge
  • select the pull or push mode by setting true or false and define pullInterval in milliseconds in the file config.json
  • enter npm install to install package.json
  • run npm run start

The rules are in the descriptors directory.

Emulating the processes

How to test the processes:

  • set true in test and define interval in milliseconds in the file config.json that is located in the wot_emulator directory.
  • if there is selected pull mode, first run wot_emulator and then arrowhead_drawbridge.
  • pull mode requires setting true in file config.json that is located in the wot_emulator directory. First execute arrowhead_drawbridge and then wot_emulator.

About

Thesis project

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published