当前位置: 首页 > 软件库 > 其他开源 > 物联网 >

homebridge-mi-flower-care

授权协议 #41
开发语言 JavaScript
所属分类 其他开源、 物联网
软件类型 开源软件
地区 不详
投 递 者 宗政天逸
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

homebridge-mi-flower-care

This is a Homebridge plugin for exposing the Xiaomi Flower Care / Flower Mate / Flower Monitor / Mi Flora devices to HomeKit. Historical display of temperature / moisture data is available via HomeKit apps that support graphing (e.g. Elgato Eve).

Installation

Prerequisites

System dependencies

This plugin is using node-mi-flora / Noble in the background with the same package dependencies. You can install these dependencies using apt-get, if not already done.

(sudo) apt-get install bluetooth bluez libbluetooth-dev libudev-dev

For more details and descriptions for other platforms see the Noble documentation. At the moment Noble does not support Node 10. Please use Node 9 if you want to use this plugin, untis the issues with Noble are resolved.

MAC address

Ensure you know the MAC address of your Xiaomi Flower Care. You can use hcitool lescan to scan for devices. The device will appear as AA:BB:CC:DD:EE:FF Flower care in the list.

npm

(sudo) npm install -g --unsafe-perm homebridge-mi-flower-care

Known Issues

  • When using this plugin and 'homebridge-mi-hygrothermograph' no data will be receviced.

Example Configuration

{
  "accessory": "mi-flower-care",
  "name": "Golden cane palm",
  "deviceId": "AA:BB:CC:DD:EE:FF",
  "interval": 300
}
Key Description Optional / Required
accessory     Has to be mi-flower-care. Required
name The name of this accessory. This will appear in your HomeKit app. Required
deviceId The MAC address of your Xiaomi Flower Care device. Required
interval Frequency of data refresh in seconds. Minimum: 1 (not recommended); Maximum: 600 (due to FakeGato). Required
humidityAlertLevel Humidity level in percent used to trigger the humidity alert contact sensor. Optional
lowLightAlertLevel Low light level in Lux used to trigger a low light alert contact sensor. Optional
lowBatteryWarningLevel Battery level used to trigger low battery warning. Optional

Typical values for humidityAlertLevelare 30 (%), 2000 (Lux) for lowLightAlertLevel, and 10 (%) for lowBatteryWarningLevel.

Running

Due to Bluetooth access, Homebridge must run with elevated privileges to work correctly i.e. sudo or root.

Note

The plugins is using Bluetooth LE (Low Energy) to connect to the Xiaomi Flower Care devices. Therefore, the first measured values are only visible after the first broadcast of the sensor. Up to this point the plugin is marked as inactive in HomeKit. In the worst case, the waiting time can last up to several minutes. Just have a little patience.

Credits

  • lucavb - homebridge-mi-flora
  • demirhanaydin - node-mi-flora
  • simont77 - fakegato-history

Legal

Xiaomi and Mi are registered trademarks of BEIJING XIAOMI TECHNOLOGY CO., LTD.

This project is in no way affiliated with, authorized, maintained, sponsored or endorsed by BEIJING XIAOMI TECHNOLOGY CO., LTD or any of its affiliates or subsidiaries.

 相关资料
  • homebridge-flower-sensor Integrate Parrot Flower Power, the Parrot Pot or the never released Parrot H2O into HomeKit using homebridge. This plugin does not depend upon the now discontinued Parrot Clou

  • homebridge-mi-aqara homebridge plugin for XiaoMi Aqara plugin. 小米/绿米网关的HomeBridge插件。 Thanks fornfarina(the author of homebridge),snOOrz(the author of homebridge-aqara),licuhui,攀旺智能,magaHH,isundaylee,i

  • homebridge-mi-airpurifier XiaoMi air purifier plugins for HomeBridge. Thanks for nfarina(the author of homebridge), OpenMiHome, aholstenson(the author of miio), licuhui, superszy, all other developer

  • homebridge-mi-acpartner English Version | 中文版 小米空调伴侣的Homebridge插件 感谢takatost,miio,YinHangCode和所有测试开发人员提供支持。 注意:此插件于0.6.0版本后修改了配置文件,请根据本文修改你的配置文件使插件正常工作。 若要查看抓包教程,请访问此项目Github的Wiki页面 Support(支持) 空调伴侣型号

  • homebridge-mi-hygrothermograph    Homebridge plugin for exposing measured temperature and humidity from Xiaomi sensors as HomeKit accessories. Supported sensors: Xiaomi Mi Bluetooth Temperature and Hu

  • homebridge-mi-fan XiaoMi fan plugins for HomeBridge. Thanks for nfarina(the author of homebridge), OpenMiHome, aholstenson(the author of miio), ABC, 小马哥, all other developer and testers. Note: If you