SPIOT: Difference between revisions
No edit summary |
|||
Line 20: | Line 20: | ||
==Download== | ==Download== | ||
[http://lechacal.com/SPIOT/spiot_v1. | [http://lechacal.com/SPIOT/spiot_v1.1.zip SPIOT_V1.1] | ||
==Installation== | ==Installation== |
Revision as of 20:22, 21 February 2017
SPIOT - Simple Python Internet Of Thing.
- Python API over CGI
- Sqlite database
- Dygraph generated graph
- JustGage gauge display
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
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.