Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

Latest commit

 

History

History
80 lines (59 loc) · 5.1 KB

README.md

File metadata and controls

80 lines (59 loc) · 5.1 KB

IoT Learning Agent

GitHub tag (latest release) Build Status Build Status Docker Pulls Docker Pulls

The IoT Learning Agent (LA) is bing developed for all kind of store-less data processing, from simple data annotation or aggregation to complex data machine learning techniques. The LA fulfill the task of a LinkSmart® Processor and a bit of a Message Handler (see LinkSmart® Specification), and they are ideal for intelligent on-demand data management or analysis in IoT environments, from edge computing to cloud computing. The LA can be used as edge standalone service or as a computational node in the cloud.

The LA is a service that offer Complex-Event Processing as service and Real-time Machine Learning as a service. The agent provides three APIs, the Stream Mining API (Statement API), the Learning API (CEML API) and the IO API. The Statement and CEML APIs are CRUD (Create, Read, Update, Delete) and JSON based, while the IO are write-only (for Input) or read-only (for Output). The APIs are implemented as HTTPs RESTful and MQTT. There is a lightweight version of the LA without the learning API, named Data-Processing Agent (DPA)

For more documentation please see IoT Learning Agent Wiki.

Deployment

Using Docker

  docker run -p "8319:8319" linksmart/la:latest  

Without docker

  curl -O eu/linksmart/services/events/gpl/distributions/iot.learning.universal.gpl.agent/1.8.2/iot.learning.universal.gpl.agent-<current.version>.jar
   env_var_enabled=true cep_init_engines=eu.linksmart.services.event.cep.engines.EsperEngine env_var_enabled=true cep_init_engines=eu.linksmart.services.event.cep.engines.EsperEngine java -cp ./* "org.springframework.boot.loader.PropertiesLauncher"  

Compile from source

  git clone https://github.com/linksmart/data-processing-agent.git code
  cd code
  mvn install 

Dependencies

To install maven in Linux:

  apt-get install maven

For use maven in docker see: Maven Docker Image

Run DPA

  cd gpl-artifacts/distribution/IoTAgent/target
  env_var_enabled=true cep_init_engines=eu.linksmart.services.event.cep.engines.EsperEngine env_var_enabled=true cep_init_engines=eu.linksmart.services.event.cep.engines.EsperEngine java -cp ./* "org.springframework.boot.loader.PropertiesLauncher"

Run LA

  
  cd gpl-artifacts/distribution/IoTAgent/target
  env_var_enabled=true cep_init_engines=eu.linksmart.services.event.cep.engines.EsperEngine env_var_enabled=true cep_init_engines=eu.linksmart.services.event.cep.engines.EsperEngine java -cp ./* "org.springframework.boot.loader.PropertiesLauncher"

Documentation

For more please see: IoT Learning Agent.

Contribute

Feel free to create an issue or pull request in GitHub in case you want to contribute to the software.

Acknowledgements

This work was applied and supported by the European Commission through:

Publications