Giter Site home page Giter Site logo

eliot's Introduction

Emulated IoT (ELIOT) Platform

The Emulated IoT (ELIOT) platform enables emulating simple IoT devices on Docker. It is based on libraries, coap-node and Leshan, which implement device management over CoAP and LWM2M. Devices consisting of simple sensors and actuators can be built using IPSO objects. The current implementation provides ready-to-use devices, such as weather observer, presence detector, light controller and radiator.

More detailed information about ELIOT can be found from wiki

This module implements the following LWM2M interfaces & operations:

Bootstrap Register Device Management & Service Enablement Information Reporting
Bootstrap Register Read (Text/JSON/TLV) Observe (Text/JSON/TLV)
Update Write (Text/JSON/TLV) Notify (Text/JSON/TLV)
Deregister Create (JSON/TLV) Cancel
Execute
Delete
Write attributes

Usage with Docker

alt text

  1. Run the LWM2M Server:

    docker run --rm -ti --name ms corfr/leshan

  2. Run the LWM2M Bootstrap Server:

    docker run --rm -ti --name bss --link ms corfr/leshan bootstrap

  3. Run the devices (PresenceDetector | WeatherObserver | LightController | Radiator):

    Without Bootstrap Server

    docker run -it --link ms alliasd/eliot <jsfile_name> ms [OPTIONS]

    With Bootstrap Server

    docker run -it --link bss --link ms alliasd/eliot <jsfile_name> bss [OPTIONS]

    JS-files:
    * presence.js
    * weather.js
    * light_control.js
    * radiator.js
    
    Options:
    -b          Bootstrap mode
    -t          Real Weather data (only WeatherObserver)
    

    Note: instead of using the name ms/bss you can use the IP address without the --link flags.

  4. Run multiple clients with docker-compose

    docker-compose up

    docker-compose scale weather=X presence=X radiator=X light=X

eliot's People

Contributors

jaimejim avatar alliasd 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.