Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ax1/scott-wp17

Demo of WP17 - Serial, MQTT, and SMOOL producer and consumer for the SCOTT project
https://github.com/ax1/scott-wp17

Last synced: 5 days ago
JSON representation

Demo of WP17 - Serial, MQTT, and SMOOL producer and consumer for the SCOTT project

Awesome Lists containing this project

README

        

# SCOTT HARVESTER INFRASTRUCTURE

>Note: this is only a summary. Go to each README.md inside every project for detailed usage.

This repository is related to the [SCOTT project](https://scottproject.eu/) (EU H2020), addressing the Use Case (in Work Package 17) [Safe freight and traffic management in intermodal logistic hubs](https://scottproject.eu/uc11-safe-freight-and-traffic-management-in-intermodal-logistic-hubs/).

This work has been partly funded by SCOTT (www.scott-project.eu). SCOTT has received funding from the Electronic Component Systems for European Leadership Joint Undertaking under grant agreement No 737422. This Joint Undertaking receives support from the European Union’s Horizon 2020 research and innovation programme and Austria, Spain, Finland, Ireland, Sweden, Germany, Poland, Portugal, Netherlands, Belgium, Norway.

## How it works

Some low-power devices (harvesters), attached to train wagons or important goods, provide `alive` signals (see [Autonomy of devices / energy efficiency of WSN](https://scottproject.eu/autonomy-of-devices-energy-efficiency-of-wsn/) ). These signals are received by gateways covering different areas of a train shunting yard (project `scott-serial`). To provide interoperability among gateways from different vendors, the open-source [SOFIA - SMOOL IoT middleware](https://bitbucket.org/jasonjxm/smool/) is used. The project `SCOTTProducer` transforms the harvester info into a semantic message and sends it to an SMOOL server located in the internal network of the shunting yard. These messages are received automatically by the `SCOTTConsumer`. The content is then extracted and delivered to the `scott-mqtt` project, which assembles the ad-hoc message for usage in CMW brokers. Finally, these brokers deliver the message to the SCOTT SFTM controlling the management of goods to be delivered.

The main higlights are:
- the harvesters (not provided in this repo) are low-cost, zero maintenance, auto gathering energy from different sources.
- the SMOOL components provide an interoperability layer between different gateways, and also between different control centers.

The real demonstration was taken in February 2020. It was composed of 4 harvesters located in 2 different areas (covered by 2 gateways), and 1 SMOOL server (request Deliverable D17.5 to the SCOTT consortium for more details).

## Installation

- **harvesters**: hardware components. See harvester project for config and install.
- **SMOOL server**: download from bitbucket and configure the real server ip in the config file. Make a daemon and start
- **scott-serial**: start as node app in gateway1
- **SCOTTProducer**: start as node app in gateway1
- **SCOTTConsumer**: start as node app in gateway2
- **scott-mqtt**: configure .env with real mqtt user/pw and start as node app in gateway2

## Workflow

1. (GW1) harvester->scott-serial
2. (GW1) scott-serial->SCOTTProducer
3. (GW2) SMOOL message arriving to SIB->sent to all subscribers
4. (GW2) SCOTTConsumer->scott-mqtt
5. (GW2) scott-mqtt->INDRA CMW->TECNALIA SFTM