koktaildotcom / homey-mi-flora

Integrate Xiaomi Mi Flora Plant Sensor into Homey
MIT License
11 stars 13 forks source link

Xiaomi mi flora sensor

app image

Introduction

This app integrates the Xiaomi mi flora sensor and Xiaomi mi flora ropot into Homey.

Do you like the app? You can make me happy by buying me a beer!

Q&A

Q1 Why can’t the sensor be found by Homey?

Q1 Why are the readings from the sensors different from in the Xiaomi Mi Flora app?

Q3 Is the app compatibel with v2.0.0?

Q4 Is the app compatibel with SDK 3?

Usage

  1. Install app
  2. Add the device(s) to Homey.
  3. Configure the threshold in the device configuration.
  4. Make a flow with one of the cards.

You can configure the timeout between polls in the app's settings.

Cards

Device cards

Trigger cards

  1. Some device sensor has changed.
    • sensor (Moisture)
    • value (20%)
    • report (The moisture of Flora 1 has changed to: 20%.)
  2. Some device sensor is updated.
    • sensor (Moisture)
    • value (20%)
    • report (The moisture is updated to: 20%.)
  3. Sensor value is below the configured threshold.
    • sensor (Moisture)
    • value (20%)
    • report (The moisture (20%) is too low. This can be at least 30%.)
  4. Sensor value is above the configured threshold.
    • sensor (Moisture)
    • value (20%)
    • report (The moisture (20%) is too high. This must be a maximum of 15%.)

Condition cards

  1. De plant has a correct temperature.
  2. De plant has enough sunlight.
  3. De plant has enough nutrition.
  4. De plant has enough moisture.

Global cards

Trigger cards

  1. Some device sensor has changed.
    • device (Flora 1)
    • sensor (Moisture)
    • value (20%)
    • report (The moisture has changed to: 20%.)
  2. Some device sensor is updated.
    • device (Flora 1)
    • sensor (Moisture)
    • value (20%)
    • report (The moisture is updated to: 20%.)
  3. Sensor value is below the configured threshold.
    • device (Flora 1)
    • sensor (Moisture)
    • value (20%)
    • report (The moisture (20%) is too low. This can be at least 30%.)
  4. Sensor value is above the configured threshold.
    • device (Flora 1)
    • sensor (Moisture)
    • value (20%)
    • report (The moisture (20%) is too high. This must be a maximum of 15%.)
  5. Sensor value is outside the configured threshold.
    • device (Flora 1)
    • sensor (Moisture)
    • value (20%)
    • report (The moisture (20%) is too high. This must be a maximum of 15%.)
  6. Sensor gives a timeout after 3 tries.
    • device (Flora 1)
    • reason (Not in range)

Condition cards

  1. De plant has a correct temperature.
  2. De plant has enough sunlight.
  3. De plant has enough nutrition.
  4. De plant has enough moisture.

Action cards

  1. Synchronise all sensor values with Homey.

History

v1.0.0 - 09.04.2018