Giter VIP home page Giter VIP logo

gatewayxm's Introduction

Gateway ex Machina

Eclipse AGAIL extended with Thingsboard and ESP32

Gateway ex Machina extends and integrates Eclpise AGAIL / Agile IoT technologies with Thingsboard in an attempt to create the necessary software for an industrial grade robust gateway paired with Espressif ESP32 wireless sensors that can be used in industrial IoT projects.

Goals overview

  1. Utilize Eclipse Kura and connect to MODBUS smart meter devices.
  2. Integrate Eclipse Kura with Thingsboard.io and communicate telemetry from MODBUS devices on the field to the Thingsboard cloud server.
  3. Enable easy remote device management and OTA software update of GW software by utilizing dockerized Kura, resin.io and other AGAIL technologies.
  4. Develop an ESP32 mesh sensor network that is bridged with the GW, enabling sensor telemetry data to be forwarded to Thingsboard server.
  5. Add ESP32 firmware OTA capability via GW.

Background

Thingsboard project includes a powerful gateway open-source software designed to run at the edge, connecting to the Thingsboard server over MQTT, as well as to local hardware sensors.

alt_text

https://github.com/thingsboard/thingsboard-gateway

The Gateway provides simple integration APIs, and encapsulates common Thingsboard related tasks: device provisioning, local data persistence and delivery, message converters/adaptors and other. It is designed with the assumption that application developers will connect to it through an external MQTT broker or an OPC-UA server, or by implementing custom extensions that support other protocols (e.g. MODBUS). It is based on Java Spring and its monolithic nature introduces various limitations for application developers who wise to extent it with custom protocols, plus it lacks device management features such as OTA software updates, self-healing agents etc. Therefore the combination of Eclipse Kura and other Agile IoT technologies with the thingsboard gateway will bring multiple advantages to application developers.

After performing a thorough evaluation of Eclipse Kura, Resin.io and the Eclipse AGAIL project, a number of architecture approaches were identified, which are described below.

Architecture approach

Thingsboard gateway (TB-GW) is an active project, where new features are constantly added, and it is important to ensure seamless upgradability with future versions of the gateway. Therefore a loose coupled approached is prefered vs one that requires major refactoring of the TB-GW source code. A number of architecture scenarios has been explored with proof of concept implementations in order to conclude on the final most efficient architecture. So far most of the work is focused on a lightweight Kura OSGi bundle that acts as a thingsboard gateway and is documentent in the repo bellow.

https://github.com/exmgr/Kura-Thingsboard-Bundle

gatewayxm's People

Contributors

nikil511 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.