कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

xiaomi-air-purifier

radyakaze द्वारा

DevOps & Cloud
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Monitor and control Xiaomi Air Purifier 4 Lite via Mi Cloud.

विवरण

यह स्किल क्या करती है

Controls and monitors Xiaomi Air Purifier 4 Lite via the Xiaomi Cloud API. Supports targeting devices by room name, device name, or device ID across multi-room setups. Reads PM2.5, humidity, temperature, and filter life, and adjusts power, fan mode, speed, brightness, buzzer, and child lock.

Enables scripting and automation of purifier control without opening the Mi Home app.

इसे कब इस्तेमाल करें

  • Checking bedroom PM2.5 levels before sleep
  • Turning on a purifier when air quality drops
  • Switching fan to sleep mode at night
  • Monitoring filter life remaining across devices
  • Controlling purifiers in multiple rooms by name

उदाहरण वर्कफ़्लो

इनपुट

User asks: What's the air quality in the bedroom right now?

एजेंट
  1. 1

    Run the status command targeting the Bedroom room

  2. 2

    Parse PM2.5, humidity, and temperature from the API response

  3. 3

    Return the sensor readings to the user

आउटपुट

Bedroom: PM2.5 12 μg/m³, Humidity 45%, Temperature 22.3°C

आवश्यकताएँ

  • Xiaomi (Mi) account with Mi Cloud access

इंस्टॉलेशन

clawhub install radyakaze/xiaomi-air-purifier

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक