Code Monkey home page Code Monkey logo

platform-api's Introduction

Sensate IoT

header1 header2 header3

Sensate IoT is an opensource Internet of Things data broker. It enables simplified management of devices, data and data analysis through a well documented RESTful API. The backend scales extremely well, both vertically and horizontally. High availability and performance is ensured through clever use of caches and document stores.

Sensor communication

Sensors can communicate in one of two ways with the sensate servers:

  • MQTT (with or without TLS)
  • HTTP gateway

In both cases, a pseudo model in JSON format is expected by the Sensate backend:

{
  "longitude":4.79691,
  "latitude":51.58701,
  "timestamp": "2020-10-08T06:30:34.1115Z",
  "sensorId":"5efdaa9f282963000157823f",
  "secret":"$23c00474e37e82468518699c27411831214a818653d70fe2ee9bd80eea59f418==",
  "data":{
    "x":{
      "value":9.79635,
      "unit":"m/s2",
      "precision":0.01,
      "accuracy":0.5
    },
    "y":{
      "value":12.67006,
      "unit":"m/s2",
      "precision":0.01,
      "accuracy":0.5
    },
    "z":{
      "value":65.89981,
      "unit":"m/s2",
      "precision":0.01,
      "accuracy":0.5
    }
  }
}

On the root object the follow property's are required:

  • sensorId;
  • secret;
  • data.

If the sensor doesn't provide a value for timestamp, the platform will assign the current timestamp to the measurment.

The data property is an object of data points. At least one datapoint is required and the value is the only required datapoint property. Please note that the array length of data isn't limited to three. A measurement can contain anywhere between 1 and 25 data points.

Contributing

Contributing to the Sensate IoT project is very much appriciated. Please note that writing code isn't the only way to contribute:

  • You can submit bug reports on the issue system;
  • You can submit feature requests on the same issue system;
  • You can pick up existing issue's and implement them;
  • You can help design features by replying on existing issue's.

When you pick up an existing issue in order to resolve it, please let us know. This will prevent two people working on the same issue. If you are creating a new issue please use one of the supplied github templates. Sections that are not applicable should be removed. More information about contributing to Sensate IoT can be found in CONTRIBUTING.md.

platform-api's People

Contributors

michelmegens avatar

Stargazers

 avatar

Watchers

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