homebridge-xiaomi-plant-monitor

This is a [Homebridge](https://github.com/nfarina/homebridge) plugin for exposing the Xiaomi Flower Care / Flower Mate / Flower Monitor / Mi Flora devices to HomeKit.

Usage no npm install needed!

<script type="module">
  import homebridgeXiaomiPlantMonitor from 'https://cdn.skypack.dev/homebridge-xiaomi-plant-monitor';
</script>

README

homebridge-xiaomi-plant-monitor

This is a Homebridge plugin for exposing the Xiaomi Flower Care / Flower Mate / Flower Monitor / Mi Flora devices to HomeKit.

It will find automatically your sensor and add a humidity widget in your HomeKit.

screenshot mi

Prerequisite

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.

Docker

This plugin work on docker I made a PR with a working configuration here: https://github.com/oznu/docker-homebridge/pull/211

npm

(sudo) npm install -g --unsafe-perm homebridge-xiaomi-plant-monitor

Example Configuration

"platforms": [
    {
      "platform": "xiaomi-plant-monitor",
      "fetchDataIntervalInMs": 3600000
    }
]