Skip to content

A simple server for recording measurements from anywhere, eg IoT devices.

Notifications You must be signed in to change notification settings

iancoleman/measurement_server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Measurement Tool

A server for recording measurements

Interface

GET /time

Returns the current unix time on the server.

POST /measurements

Saves a list of measurements. Body should be a json formatted string:

[
    {
        "unixtime": 1234567890.1234567,
        "properties": [
            {
                "key": "temperature",
                "value": "15"
            },
            {
                "key": "location",
                "value": "livingroom"
            },
            {
                "key": "must always be a string",
                "value": "must always be a string"
            },
            {
                ... more properties ...
            }
        ]
    },
    {
        ... more measurements ...
    }
]

About

A simple server for recording measurements from anywhere, eg IoT devices.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages