Giter Site home page Giter Site logo

ventipi's Introduction

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.

ventipi's People

Contributors

de-wax avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.