Giter Club home page Giter Club logo

fvh_sentilonoise_in's Introduction

platform-input for sentilo noise

To bring up service:

Note: the environment variables file config.env must be at root folder and the ssl root cert (pem file) should be in folder /platform_in

Note: Dockerfile.prod is more up-to-date

dev config (flask dev server):

docker-compose up
send PUT requests to localhost:5000/cesva/v1 with sentilo noise data
should return success or failure response

prod config (nginx+gunicorn)

docker-compose -f docker-compose.prod.yml up

2,3,4 same as previous but port for prod is 1337

example PUT data:

{
	"sensors": [{
			"sensor": "TA120-T246174-N",
			"observations": [{
				"value": "38.7",
				"timestamp": "12/03/2020T12:26:58UTC"
			}]
		},
		{
			"sensor": "TA120-T246174-O",
			"observations": [{
				"value": "false",
				"timestamp": "12/03/2020T12:26:58UTC"
			}]
		},
		{
			"sensor": "TA120-T246174-U",
			"observations": [{
				"value": "false",
				"timestamp": "12/03/2020T12:26:58UTC"
			}]
		},
		{
			"sensor": "TA120-T246174-S",
			"observations": [{
				"value": "029.9,0,1;029.8,0,1;030.0,0,1;030.2,0,1;030.0,0,1;030.2,0,1;030.1,0,1;034.5,0,1;050.0,0,0;046.2,0,0;035.9,0,0;030.3,0,1;030.5,0,1;030.6,0,1;030.5,0,1;030.2,0,1;030.0,0,1;030.0,0,1;029.8,0,1;029.8,0,1;029.6,0,1;029.6,0,1;029.7,0,1;029.9,0,1;033.8,0,1;046.7,0,0;032.4,0,1;030.8,0,1;030.3,0,1;029.9,0,1",
				"timestamp": "12/03/2020T12:26:58UTC"
			}]
		}
	]
}

fvh_sentilonoise_in's People

Contributors

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