tklos / collect

Store and display data collected by iot devices

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Data collection and visualisation

A django application for storing and displaying data collected by iot devices, with plots created using chart.js.

Usage

  • Create user account
  • Create a device and write down the generated API key
  • Build a device that sends data to the server using the given API key; some examples can be found at https://github.com/tklos/iot.
    Sample API call:
    curl \
        -X POST \
        https://(server)/api/measurements/ \
        -H "API-KEY: (api-key)" \
        -H "Content-Type: application/json" \
        -d '{"data": (list-of-floats)}'
  • Collected data are shown on the device page
    • Plot Sample run with plot
    • Map Sample run with map

Installation

  • Clone the repository
  • Create a Python 3.8 virtual environment
  • Create collect/settings/default.py based on its .template version

About

Store and display data collected by iot devices

License:GNU General Public License v3.0


Languages

Language:Python 64.0%Language:HTML 20.8%Language:JavaScript 12.7%Language:CSS 2.5%