Last Updated:

Enhanced Home Air Quality Control with Xiaomi Integration

S.C.O.R.E.ConvenienceDeviceControl

Overview

The new integration of Xiaomi air purifiers and humidifiers through Xiaomi Miio allows homeowners to effortlessly manage their indoor air quality. This capability simplifies the process of maintaining a comfortable and healthy living environment, catering to specific needs based on air quality conditions.

Convenience icon

Benefits

  • Automated air quality management based on real-time data.
  • Customizable settings for purifiers and humidifiers to suit personal preferences.
  • Remote control access via Home Assistant for convenience.

Intent

This capability aims to provide seamless control over Xiaomi air purifiers and humidifiers, enabling users to create the ideal indoor environment. The outcome is improved air quality and enhanced comfort for all home occupants.

Preconditions

  • Xiaomi air purifiers and humidifiers installed and operational.
  • Home Assistant configured with Xiaomi Miio integration.
  • Stable Wi-Fi connection for device communication.
  • Home Assistant installed and configured.
  • Integration available and authenticated: Zigbee2MQTT.
  • Device installed and reachable: Smoke Detector and Alarm Trigger.

Actors

  • Homeowner managing air quality settings
  • Family members enjoying cleaner air
  • Guests experiencing improved indoor environment

Trigger

The capability is triggered by changes in air quality sensor readings or scheduled times set in Home Assistant.

Workflow Diagram

flowchart TD
    A[Air Quality Trigger] -->|check| B{Is air quality poor?}
    B -->|Yes| C[Turn on air purifier]
    C --> D[Increase humidity if needed]
    B -->|No| E[Maintain current settings]

Workflow Description

1. Monitor Air Quality

Air quality sensors continuously monitor the indoor environment for pollutants and humidity levels.

2. Evaluate Conditions

The system evaluates the air quality data to determine if it falls below acceptable thresholds.

3. Activate Devices

If air quality is poor, the system automatically activates the Xiaomi air purifier and adjusts the humidifier settings as needed.

4. Adjust Settings

Users can manually adjust the settings through Home Assistant if desired, to meet personal comfort preferences.

5. Notify Users

Home occupants receive notifications on their devices when air quality improvements are made.

Postconditions

After the capability completes, indoor air quality is improved, and devices remain operational or adjust as needed based on ongoing sensor readings.

Optional Enhancements

  • Integrate with weather forecasts to adjust settings based on outdoor conditions.
  • Enable voice control via smart assistants for hands-free operation.
  • Create routines that automatically adjust air quality settings based on occupancy.

Recommended Components

Recommended ApplicationsRecommended IntegrationsRecommended Devices
Home AssistantZigbee2MQTT, Z-Wave JSSmoke Detector and Alarm Trigger, Gas Sensors

Source Examples