Skip to content
This repository has been archived by the owner on Sep 22, 2021. It is now read-only.
/ ventiPi Public archive

A ventilation system for the Raspberry Pi.

License

Notifications You must be signed in to change notification settings

de-wax/ventiPi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ventiPi

A ventilation controller for the Raspberry Pi or any other device on which you can install and run Node-Red. Still under development and without real function.

Required hardware:

Setup:

Prepare ESP8266 Devices

Solder Sensor to ESP8266

Connect BME280 sensor to ESP8266, check pinout to see your layout.

   ESP8266 v3

 (A0 )    (D0 )     
 (GND)    (D1 )    
 (VU )    (D2 )   
 (S3 )    (D3 )
 (S2 )    (D4 )
 (S1 )    (3V3)
 (SC )    (GND)
 (S0 )    (D5 )
 (SK )    (D6 )
 (GND)    (D7 )               BME280            
 (3V3)    (D8 )
 (EN )    (RX )   ------->   (SCL)
 (RST)    (TX )   ------->   (SDA)
 (GND)    (GND)   ------->   (GND)
 (VIN)    (3V3)   ------->   (VIN)
    | USB  |
    | Port |

Tasmotize

Download Tasmotizer from here.

Tasmotize your ESP8266 and configure WiFi

First select COM-Port and tasmota-sensors.bin, then click Tasmotize!
After this finished, click on "Send config" and configure your WiFi-Settings. Leave everything else default.
Click on "Get IP" to show the IP-Adress of the ESP8266 and paste this into your Brwoser.

Tasmotize and Configure

Configure the ESP8266 to post sensor data to MQTT

Click on Configuration -> Configure Module -> Select Module Type "Generic (18)" and click save

Configuration Configure Module Select Module Type

Wait for Reboot, then Click Configuration -> Configure Module
Set TX to I²C SCL
Set RX to I²C SDA
Click Save and wait for Reboot

Configure Module

Sensor-Data is now shown on ESP8266-Homepage

Sensor-Data

Configure Hostname on Configuration -> Configure WiFi -> Hostname, click Save

Hostname

Configure MQTT-Parameters on Configuration -> Configure MQTT

Set Host, Port, Client, User to your needs

Set topic an full topic to tasmota-innen for the inside sensor, tasmota-aussen for the outside sensor. Or set the names that you prefer and change it in the node-RED flow.

MQTT-Parameters

Set the telemetry period to the value you prefer.

Telemetry period

Configure Sensor Offsets for Temp and Humidity

Like described here

Open Webinterface of ESP8266 and Click on Console, then enter Command an hit Enter.

TempOffset -12.6..12.6 = Set calibraton offset value for reported temperature telemetry
This setting affects all temperature sensors on the device.

TempOffset -3

HumOffset -10.0..10.0 = Set calibraton offset value for reported humidity telemetry
This setting affects all humidity sensors on the device.

HumOffset 5

Install mosquitto Broker

sudo apt update && sudo apt install mosquitto

Install node-RED

Install node-Red like described here.

Releases

No releases published

Packages

No packages published