Uncontrolled Mechanical Ventilation

Automatic CMV

Similar projects worth following
Automatically switch your CMV speed (Off, 1 or 2) according to indoor and outdoor temperatures and humidity.

All parts of this project are available on MIT license.

After three years in my house, I realized the ventillation is always at the maximun speed. I looked for a switch, previously unseen… nothing. I’m not an handyman, I don’t know how to pull a wires and add a switch. Nevermind, hack that and install a wireless switch. A minute! I already had a weather station pluged on a raspberry pi, why push a button when it can be automatically done according to the weather. Make it!

This projet is splited in several steps:

  1. Collect weather data;
  2. Store data;
  3. Control the CMV;
  4. Graph data;
  5. Temperature/Humidity sensor;
  6. Dashboard.

  • 1 × Weather station La Crosse Technology WS2355SIL-ALU
  • 2 × Raspberry pi 3
  • 1 × 2 relays module
  • 1 × esp8266
  • 1 × DHT22 Temperature/humidity sensor

View all 10 components

View all 10 project logs

  • 1
    Step 1

    Before starting, you can have a look at this repository. This is a set of ansible recipes for two vagrant VMs (weather and vmc) that contains all softwares described below.

  • 2
    Step 2

    Indoor weather station I had put the weather station on my electric meter because it also retreives consumption informations [fr].

    Outdoor weather sensors

    Tips: put the termometer under metal sheets is probably not a good idea…

    • First, we collect data from weather station and publish via the mqtt protocol;
    • Install raspbian on your raspberry pi and plug the weather station;
    • Install mosquitto, mqtt utils:
      apt install mosquitto-clients
    • To collect data, I use ws2300 (a rewrite in rust of Open2300);
    • Finally, periodically publish data on the domotic/weather topic via cron:
      * * * * * /usr/bin/mosquitto_pub -t domotic/weather -m "$(/home/pi/ws2300 /dev/ttyUSB0)"
  • 3
    Step 3

    • Now, we can store data in a database, for futur reuse. Simply create a new domotic database with a weather table according to weather.sql script;
    • With this script, we store all messages published to mqtt server in the database.

View all 7 instructions

Enjoy this project?



Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates