Curing-chamber

Build an automated system to monitor and control the temperature and relative humidity of a curing chamber.

View the Project on GitHub davwak/Curing-Chamber

Curing Chamber

Usage

The main Python file curingControl.py should run as a cron job every 10 minutes.

This reads the current temperature and relative humidity inside your curing chamber from the AM2302 sensor. You can set ranges for your optimal temperature and humidity within the fridge. The program will then adjust the power to your fridge and humidifier when it gets outside of these ranges (via the WeMo Insight switches).

All data is logged to a MySQL database, as well as a "last run" CURINGLOG file that you can check for last actions. Optionally you can also use the Raspberry Pi camera to take a picture inside the fridge for display on a webpage.

Getting Started

*/10 * * * * /home/pi/curingControl.py

Hardware Requirements

Raspberry Pi

Software

Temperature and humidity sensor.

MySQL Schema

mysql> describe chamberlog;
+----------------+--------------+------+-----+---------+----------------+
| Field          | Type         | Null | Key | Default | Extra          |
+----------------+--------------+------+-----+---------+----------------+
| entry_id       | int(11)      | NO   | PRI | NULL    | auto_increment |
| date           | datetime     | YES  |     | NULL    |                |
| temp           | decimal(4,2) | YES  |     | NULL    |                |
| humidity       | decimal(4,2) | YES  |     | NULL    |                |
| tempaction     | varchar(20)  | YES  |     | NULL    |                |
| humidityaction | varchar(20)  | YES  |     | NULL    |                |
+----------------+--------------+------+-----+---------+----------------+
6 rows in set (0.01 sec)

WeMo Insight Switch

To Do

References