Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

ORNL-AMO/sensorAPI

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mimir-backend

How does it work?

You simply clone the repo and start running the server on your network.
Once you have a live server, you can start to create devices within the Mimir app. When you create a device, you will get a device id. Use this device id when reporting sensor data to associate you sensors with your device in Mimir.
alt-text

API DOCS

route/:parameter

HTTP METHOD: {Parameter1, Parameter2, ...}

sensors/:sensor_type

POST: {id, timestamp, sensor_reading}

  • id: Integer representing the device id given to you in Mimir
  • timestamp: UTC string representing the time the sensor reading was recorded
  • sensor_reading: Raw/converted sensor output as a floating point decimal

Setup

Ruby version

Ruby 2.3

Database creation

bin/rake db:migrate

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 74.7%
  • HTML 17.2%
  • JavaScript 3.5%
  • CSS 2.2%
  • CoffeeScript 1.3%
  • SCSS 1.1%