Home Assistant

Open a window: CO2 warning on your matrix

When the room gets stuffy, the matrix asks you to open a window.

High CO2 makes a room feel tired long before you notice. When a CO2 sensor stays above 1000 ppm for five minutes, this shows the reading and a reminder to open a window.

What your matrix shows

CO2 1240 - open a window

Text with the "plasma" border. Illustration; the real effect is animated.

What you need

  • A CO2 sensor in Home Assistant (Aranet, Airthings, SCD40-based ESPHome sensors, IKEA Vindstyrka).
  • Pipplee set up in Home Assistant once: see the setup guide (about 5 minutes).

The automation

In Home Assistant go to Settings → Automations, create a new automation, choose Edit in YAML and paste this. Change sensor.office_co2 to your own entity.

alias: CO2 warning on the matrix
triggers:
  - trigger: numeric_state
    entity_id: sensor.office_co2
    above: 1000
    for: "00:05:00"
actions:
  - action: rest_command.pipplee_text
    data:
      text: "CO2 {{ states('sensor.office_co2') | int }} - open a window"
      font_color: "ff8a3d"
      border: "plasma"
      duration: 300

How it works

  • The trigger fires once when CO2 rises past 1000 ppm and stays there for five minutes.
  • The text includes the live reading, with an orange colour and a moving border.

Variations

Fine dust (PM2.5)

Point it at a PM2.5 sensor with a threshold around 35 µg/m³ and say "Air is dusty".

Bathroom humidity

After a shower, remind to turn on the fan when humidity goes above 70%.

Questions

What CO2 level should trigger it?

Outdoor air is about 420 ppm. Many people choose 1000 ppm for a reminder and 1400 ppm for a stronger warning.

More ideas

All Home Assistant ideas and setup →

Get Pipplee

Set up your matrix in the app, then connect Home Assistant.

iPhone Android