Skip to content

Software

webbhm edited this page Jan 10, 2020 · 15 revisions

Architecture

Software is in two parts:

  • Code running locally on the MVP's Raspberry Pi
  • User Interface (UI) code running on the cloud server

These pages are about the custom MVP code. For generic information about packages, see the following:

Sensors

Standard Sensors

Optional Sensors

Other

  • ADS1115 Analog to Digital Converter

Database and data storage

  • CouchDB The database for storing data
  • Google Sheets - Using Google Sheets as a database (and charting)

Web Server - Access from the web

  • DDNS Getting a stable address on the web
  • NGINX Securing your presence on the web

Code Architecture

The MVP code currently consists of three main parts:

  • Controller (currently the Linux CRON process): control the timing of events
  • Scripts (/home/pi/MVP/scripts): these package the Python code for group operations, and provide separation between the controller and functions.
  • Code (/home/pi/MVP/python): most actions are executed through Python code files. This code represents sensors, controllers, utilities (data handling,logging, ...) and reporting.

Releases

  • V1
  • V2.1
  • V3