Skip to content
Alexey Anshakov edited this page Feb 18, 2020 · 32 revisions

The IoT Testbed consists of the following elements:

To Make WRIO-InternetOS working with back-end services there are several steps needs to follow

That`s it.

Requirement:

• An account on ilabs • Installed jFed and properly working on Linux platform • Installed latest version of Node • Install asp.net core 3.1 • Install Heroku Cli • Installed Docker on local machine

How System works:

There are 3 major components of the system • WRIO-InternetOS(Front Part) • Gateway Server (Gateway Service) • Gateway (Node) & Sensor (Mote) These components collaborate each other to make System work, WRIO-InternetOS has been built up using react, Gateway Server in Asp.net core and Gateway & Sensor has been built up in C++ and C respectively

• Gateway/Node send commands to Motes and receives results of it over serial port • Gateway transmit data to Gateway Server using MQTT protocol • Gateway Send and receive data to WRIO-InternetOS using REST call and WebSocket • WRIO-InternetOS get that data and show it to User on browser

Compile and Install modules:

How to compile and deploy WRIO-InternetOS

Please take a look at https://github.com/webRunes/WRIO-local-dev/blob/master/readme.md and https://github.com/webRunes/WRIO-InternetOS/wiki/Testbed-IoT for this

How to compile and deploy Gateway Server on Heroku

Download latest code from git Set your own configuration in config.json file Using Heroku Cli login your-self, heroku login heroku container:login

Build an image of Gateway Server docker build -t registry.heroku.com/imec/web -f ./Demo/Dockerfile . Here “imec” is the app name
To Push it on Heroku, use these commands docker push registry.heroku.com/imec/web To Release it use this command heroku container:release web -a imec

How to compile and deploy Gateway & Mote

Steps to deploy imec release are as follows • Reserve Node from https://boss.wilab1.ilabt.iminds.be/inventory/?viewMode=inventory# or Use jfed for this, • Download the latest jfed-expermental-toolkit from git and extract it to a folder • Goto iot.rspec of extracted folder and insert node id in it • Select this folder from jfed`s Espec tool button • Start the experiment with this Espec

How to test it:

Live data would be displayed on https://imec.wr.io/43981/22131/#feed, from this page we can see sensors values and control it