Nayel Khouatra
Published © CC BY

Comovis

Keep your home safe and healthy with Comovis!

IntermediateWork in progress3 hours769
Comovis

Things used in this project

Hardware components

NodeMCU ESP8266 Breakout Board
NodeMCU ESP8266 Breakout Board
×1
Grove - Air quality sensor v1.3
Seeed Studio Grove - Air quality sensor v1.3
×1
SparkFun Serial Basic Breakout - CH340C and USB-C
SparkFun Serial Basic Breakout - CH340C and USB-C
optionnal
×1
Adafruits usb-c breakout board
×1
WS2812 Addressable LED Strip
Digilent WS2812 Addressable LED Strip
×1

Software apps and online services

Home Assistant
Home Assistant

Hand tools and fabrication machines

Soldering iron (generic)
Soldering iron (generic)
Solder Wire, Lead Free
Solder Wire, Lead Free
3D Printer (generic)
3D Printer (generic)

Story

Read more

Custom parts and enclosures

Front Diffusers

Front

Back

Back Diffusers

plinth for the sensors

Plinth for the esp8266

Schematics

Schematics

Flowchart

Code

.YAML

YAML
This code allows you to use the temperature and humidity sensor as well as the air quality sensor without the leds strips
esphome:
  includes:  
    - Air_Quality_v1.h
sensor:
  - platform: aht10
    temperature:
      name: "PSalon Temperature" //the name of the Infos
      accuracy_decimals: 1 //The precision of the number that is showned
    humidity:
      name: "PSalon Humidite" 
      accuracy_decimals: 1
    update_interval: 20s //the delay
    address: 0x38 //the adress of the sensor
    i2c_id: bus_b //the way we use the i2c

  - platform: custom
    lambda: |-
      auto my_sensor = new Air_Quality_v1();
      App.register_component(my_sensor);
      return {my_sensor->Co2};
    sensors:
      name: "Polutions"    
      unit_of_measurement: PPM //type unit of the info
      accuracy_decimals: 2 //the precision 
      
captive_portal:
i2c:
  - id: bus_b 
    sda: 4 //pin number for the AHT10
    scl: 5 //pin number for the AHT10
    scan: True 

Credits

Nayel Khouatra
3 projects • 0 followers
Hey! I'm Nayel Khouatra, I am a student at the IUT of Lyon In France, I love Electronics and fusion 360, but I also love Programmation,

Comments