Skip to content

rubensgomes/iot-sensor-python

Repository files navigation

Justification for this project

ATTENTION THIS PROJECT IS NO LONGER LIVE. I DECOMMISSIONED THIS PROJECT IN 2017

NOTE: This code is not fully tested, and should be considered under development code. The source code that is provided are mainly used for demonostrations and learning purposes only.

The project contains experimental software written in the Python programming language. In this project, I wrote RESTful APIs and an IoT (Internet of Thing) sensor collector application for the Raspberry Pi.

Two Python applications are implemented:

  • rgapps.sensorapp.py is a background daemon job written for the Raspberry Pi. This program periodically collects data from DS18B20 temperature digital sensors connected to the Raspberry Pi GPIO (general purpose input/output) pins. And then it stores the readings in a local SQLite database. The DS18B20 is a digital temperature sensor from Dallas Semiconductor (acquired by Maxim Integrated in 2001)
  • rgapps.flaskapp.py is a background daemon job that implements several utility RESTful APIs documented at RESTPortal. A mobile AngularJS web application that consumes some of these RESTful APIs can be found at https://rubensgomes.com/ (NO LONGER RUNNING)

Prerequisites

Python 3.5

Source Code

All the library (classes, functions) that support the applications are found in the rgapps source folder.

Installing

To install the "FlaskAPIs" application, follow the instructions in SETUP.

Usage

To run the "FlaskAPIs" RESTFul backend application, follow the instructions in RUNNING.

License

Refer to LICENSE.

Miscellaneous

Author

Rubens Gomes

Version

2015.9.dev4

About

An IoT sensor event driven application written in Python.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published