• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

torifat/xiaomi-mi-air-purifier: Homebridge plugin for Xiaomi Mi Air Purifier

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

torifat/xiaomi-mi-air-purifier

开源软件地址:

https://github.com/torifat/xiaomi-mi-air-purifier

开源编程语言:

TypeScript 100.0%

开源软件介绍:

verified-by-homebridge

Control and monitor your Xiaomi Mi Air Purifier purifier with HomeKit.

Features

  • Air Purifier Accessory
    • Turn on/off
    • Control Fan Speed
    • Toggle Child Lock
    • Change Mode (Auto/Manual)
    • Filter Live Level
    • Filter Change Warning
  • Air Quality Sensor
    • Air Quality
    • PM2.5 Density
  • Temperature Sensor
  • Relative Humidity Sensor

Prerequisites

Installation

Install using npm:

npm install -g homebridge-xiaomi-mi-air-purifier

Or, search for homebridge-xiaomi-mi-air-purifier in Plugins.

Note that it might be neccessary to enter the search string inside double quotes i.e. "homebridge-xiaomi-mi-air-purifier" in some Homebridge UI variants (such as Hoobs) in order to find it among the plethora of similarly named plugins.

Configuration

Configure the plugin in the GUI / Homebridge Config UI X (highly recommended), otherwise head over to Manual Config

Getting a Token

Use Xiaomi Cloud Tokens Extractor to get a token for your device.

Manual Config

Add this to your homebridge config.json file.

{
  "accessories": [
    {
      "name": "Air Purifier",
      "address": "<YOUR_DEVICE_IP_ADDRESS>",
      "token": "<YOUR_DEVICE_TOKEN>",
      "enableAirQuality": true,
      "enableTemperature": true,
      "enableHumidity": true,
      "filterChangeThreshold": 5,
      "enableFanSpeedControl": true,
      "enableChildLockControl": true,
      "accessory": "XiaomiMiAirPurifier"
    }
  ]
}

HomeKit pairing

  1. Open the Home app on your device.
  2. Tap the Home tab, then tap .
  3. Tap Add Accessory, and select I Don't Have a Code or Cannot Scan.



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
joel16/3DSident: PSPident clone for 3DS发布时间:2022-06-14
下一篇:
kevwil/homebrew-patches: My &quot;taps&quot; for Mac Homebrew发布时间:2022-06-14
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap