Skip to content

Software

webbhm edited this page May 2, 2019 · 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

  • SI7021 Temperature/Humidity
  • TSL2561 LUX sensor

Optional Sensors

  • CCS811 CO2 Sensor
  • NDIR CO2 Sensor
  • OneWire OneWire Temperature sensors
  • SCD30 CO2 Sensor

Other

  • ADS1115 Analog to Digital Converter

Database and data storage

  • CouchDB The database for storing data

Access from the web

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

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
Clone this wiki locally