SPIOT

From lechacal
Jump to: navigation, search

SPIOT - Simple Python Internet Of Thing.

  • Python API over CGI
  • Sqlite database
  • Dygraph generated graph
  • JustGage gauge display


Spiot picture.png

Summary

Spiot is a very simple framework using usual components such python/sqlite3/html/dygraph/javascript.

This minimalist framework allows you to record data in a sqlite3 database. The database format is very portable as it records in flat files. Follow the given examples to build your own html page with the powerful graph based on dygraph.

Spiot does not intend to make a ready web configurable platform. However the simplicity is offered to customise your own page with html.

Download

SPIOT_V1.1

Installation

Quick Install

Download the package above and extract in a folder. Go to the spiot folder and run the python server.

$ ./run_server.sh

Go to the link below:

http://127.0.0.1:8000

Production installation

The best is to have a LAMP based server with python installed. Copy the spiot folder to the server root. Make sure you have a cgi-bin directory defined to spiot/cgi-bin.