# \[APP\]\[Pro\] Xiaomi mi flora sensor/ropot app

**URL:** <https://community.homey.app/t/app-pro-xiaomi-mi-flora-sensor-ropot-app/45>\
**Category:** Apps\
**Tags:** app, homey-pro\
**Created:** [August 15, 2018, 7:25am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-flora-sensor-ropot-app/45 "2018-08-15T07:25:38Z")\
**Posts on this page:** 20\
**Page:** 32

<div class="post-metadata">

**Author:** ![Da\_JoJo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/da_jojo/32/8210_2.png) [@Da\_JoJo](https://community.homey.app/u/Da_JoJo)\
**Post date:** [August 14, 2021, 7:54am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-flora-sensor-ropot-app/45/632 "2021-08-14T07:54:03Z")

</div>

![Screenshot_20210814-094831_Samsung Internet](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/b/0bd0b6bc294d08db1b9cda5366698b4c0aabb3bc.jpeg)  
Goeie @DirkG 🙄  
Didn’t think of that… This insight shows that there is no inconsistency in the connection. So therefore it is either lack of water or the sensor is not deep enough to register the correct values. I’ll try to put it lower in the pot .

---

<div class="post-metadata">

**Author:** ![Otter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/otter/32/11467_2.png) [@Otter](https://community.homey.app/u/Otter)\
**Post date:** [September 2, 2021, 8:00am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-flora-sensor-ropot-app/45/633 "2021-09-02T08:00:31Z")

</div>

How do you get the moisture levels on the tiles? Mine only shows temperature, lightintensity and battery

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [September 2, 2021, 1:08pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-flora-sensor-ropot-app/45/634 "2021-09-02T13:08:45Z")

</div>

Install the v4.0.0. Testversion, that should do the trick.

> **[Xiaomi Mi Flora](https://homey.app/nl-nl/app/com.mi.flora/Xiaomi-Mi-Flora/test/)**
>
> Volg de behoefte van uw planten en bloemen

> Then moisture (vochtigheid) and nutrition (voeding) levels can be selected too
> 
> ![Screenshot_20210902-150735_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/d/ad2006bc9127944ba968acf07013e89f21d0a643.jpeg)

---

<div class="post-metadata">

**Author:** ![owuerker](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/owuerker/32/39707_2.png) [@owuerker](https://community.homey.app/u/owuerker)\
**Post date:** [September 6, 2021, 3:54pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-flora-sensor-ropot-app/45/635 "2021-09-06T15:54:23Z")

</div>

Has anybody an advice how to increase the range of the mi flora sensors within the homey system and that app? some kind of BLE Repeater based on raspberry or any xiaomi devices ?  
I know from MqTT bridges to WLAN etc. but using them I cannot use this app and its flows anymore, or can I ?

Thanks

---

<div class="post-metadata">

**Author:** ![Martijn\_Hoogenbosch](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijn_hoogenbosch/32/10647_2.png) [@Martijn\_Hoogenbosch](https://community.homey.app/u/Martijn_Hoogenbosch)\
**Post date:** [September 6, 2021, 3:57pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-flora-sensor-ropot-app/45/636 "2021-09-06T15:57:22Z")

</div>

The ble antenna is the same as the WiFi antenna inside of Homey. You could replace this by doing a antenna mod (search forum for this) but it isn’t for the faint hearted.

---

<div class="post-metadata">

**Author:** ![Otter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/otter/32/11467_2.png) [@Otter](https://community.homey.app/u/Otter)\
**Post date:** [September 7, 2021, 8:25am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-flora-sensor-ropot-app/45/637 "2021-09-07T08:25:04Z")

</div>

I have a moisture value that doesn’t update. It has been silent for 3 days now. I added the sensor to the flora app and it says 33% moisture level (see attachement)

The rest of the values are updating just fine (see attachement)

Any idea what it could be?

 ![Screenshot_20210907-101926_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/8/3860db7610e5452f2ccd84dc5ea915f2c834e16c.jpeg)  
 ![Screenshot_20210907-101525_Flower Care](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/8/e85743d10f226ce1c6b16fb2b2d0d9f0991e643d.jpeg)

Edit: pulled the battery, blew some compressed air through it, smacked it around and now its updating again. Don’t now what did the trick but its working again 😅

---

<div class="post-metadata">

**Author:** ![Koktail](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/koktail/32/51498_2.png) [@Koktail](https://community.homey.app/u/Koktail)\
**Post date:** [September 15, 2021, 7:21pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-flora-sensor-ropot-app/45/638 "2021-09-15T19:21:32Z")

</div>

I’ve just release an new version:

```auto
❗️ This concerns an migration of capacities. Insights into history are lost forever.

flora_measure_fertility => measure_nutrition
flora_measure_moisture => measure_moisture

```

### v4.0.0 - 14.07.2021

- bugfix DE translation issue [Add min and max values in trigger card as parameters · Issue #101 · koktaildotcom/homey-mi-flora · GitHub](https://github.com/koktaildotcom/homey-mi-flora/issues/101)
- migrate capabilities to correct homey syntax [Add all capabilities to card info · Issue #103 · koktaildotcom/homey-mi-flora · GitHub](https://github.com/koktaildotcom/homey-mi-flora/issues/103)

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [September 15, 2021, 7:48pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-flora-sensor-ropot-app/45/639 "2021-09-15T19:48:29Z")

</div>

Thanx Leendert, v4.0.0 test ran fine.

---

<div class="post-metadata">

**Author:** ![Hermano](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hermano/32/37305_2.png) [@Hermano](https://community.homey.app/u/Hermano)\
**Post date:** [September 27, 2021, 5:06pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-flora-sensor-ropot-app/45/640 "2021-09-27T17:06:18Z")

</div>

My mi flora stopped updating the sensor values in Homey. Retrieving the values through a flow leads to an error. In the mi flora app it takes ages for the values to return, still works though.

Does anyone else have the same issue?

---

<div class="post-metadata">

**Author:** ![HuisCHovens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/huischovens/32/16973_2.png) [@HuisCHovens](https://community.homey.app/u/HuisCHovens)\
**Post date:** [September 27, 2021, 8:12pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-flora-sensor-ropot-app/45/641 "2021-09-27T20:12:17Z")

</div>

@Hermano Had it once so far. What can helps is. Remove it from the plant and remove the battery for 5 minutes. and then put the battery back in. Then wait until Homey returns to zero. Then you can put it back in the flowers that worked for me.

---

<div class="post-metadata">

**Author:** ![Hermano](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hermano/32/37305_2.png) [@Hermano](https://community.homey.app/u/Hermano)\
**Post date:** [September 29, 2021, 12:17pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-flora-sensor-ropot-app/45/642 "2021-09-29T12:17:16Z")

</div>

Did nothing so far. flows are working normally again. I don’t see any values in my homey app. System will reboot this night, will see what happens.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [October 6, 2021, 1:46pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-flora-sensor-ropot-app/45/643 "2021-10-06T13:46:10Z")

</div>

> [@Koktail](#):
>
> migrate capabilities to correct homey syntax

Hey Leendert,  
I just discovered double capabilities in Insights.  
Can it be related with the migration of nutrition (“Voeding”) and moisture (“Vochtigheid”) capabilities?

 ![Screenshot_20211006-134629_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/d/ad798b50be50499b773e4cbf25b58eafbff622fa.jpeg)

You can see the recording of the "earlier’ capabilities stop, and the migrated capabilities start recording at around July.

 ![Screenshot_20211006-153556_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/9/f92f4b133bf4183a4999c883b3682abd0eca8e4a.jpeg)

 ![Screenshot_20211006-153616_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/5/d597bf7d77e4c544fe44f4b4e896521fe2fa21ed.jpeg)

It’s not a ‘biggie’, I think it’s an Insights only thing.  
And probably only fixable by removing and installing the app again.

Cheers

---

<div class="post-metadata">

**Author:** ![Koktail](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/koktail/32/51498_2.png) [@Koktail](https://community.homey.app/u/Koktail)\
**Post date:** [October 6, 2021, 2:39pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-flora-sensor-ropot-app/45/644 "2021-10-06T14:39:59Z")

</div>

strange, I don’t have the the old insights anymore. I think your devices still have the old capability.

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [October 6, 2021, 2:48pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-flora-sensor-ropot-app/45/645 "2021-10-06T14:48:41Z")

</div>

> [@Koktail](#):
>
> I think your devices still have the old capability.

If I’m right, a new capability is added in device.onInit( ) with addCapability(). That doesn’t remove the old one. This will stay until the device is deleted. New added devices only have the new capability.  
So it seems you have re-added the device and @Peter_Kawa kept the device.

You could remove old capabilities with removeCapability( ) in onInit( ) to clear the devices. If the new app cersion starts, all old capabilities would be removed for all users.

Edit: Ceck with hasCapability( ) before add/remove to avoid exceptions. But you surely have the check already in your code for adding the new capability.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [October 6, 2021, 4:08pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-flora-sensor-ropot-app/45/646 "2021-10-06T16:08:03Z")

</div>

> [@Koktail](#):
>
> I think your devices still have the old capability.

I think not, while the new capabilities became available for my device tiles after v4.0.0-test install.

> [@\[APP\]\[Pro\] Xiaomi mi flora sensor/ropot app](https://community.homey.app/t/xiaomi-mi-flora-sensor-ropot-app/45/634):
>
> Install the v4.0.0. Testversion, that should do the trick. Then moisture (vochtigheid) and nutrition (voeding) levels can be selected too

.

> [@RonnyW](#):
>
> So it seems you have re-added the device and @Peter_Kawa kept the device.

True, I only installed the updated app and didn’t touch the devices

---

<div class="post-metadata">

**Author:** ![Koktail](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/koktail/32/51498_2.png) [@Koktail](https://community.homey.app/u/Koktail)\
**Post date:** [October 6, 2021, 6:08pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-flora-sensor-ropot-app/45/647 "2021-10-06T18:08:45Z")

</div>

I’ve checked the code. First the new capabilities are added, and then the old removed if they exist.

This part is only executed once.

Are you sure the old devices capabilities are gone from the device?

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [October 6, 2021, 6:56pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-flora-sensor-ropot-app/45/648 "2021-10-06T18:56:17Z")

</div>

Yes, these are the current and available capabilities  
The values represent the recent values of Insights graph “Aug. until Oct.”.

 ![Screenshot_20211006-204310_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/4/c45d1dfc1a74c458809fa3aebc7a5915710f787f.jpeg)

So only Insights kept the old capabilities as far as I can see.

Developer:

 ![Screenshot_20211006-205551_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/2/42f3303d0e33ecd88eac6728fb010377166716cd.jpeg)

Cheers & thanks

---

<div class="post-metadata">

**Author:** ![owuerker](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/owuerker/32/39707_2.png) [@owuerker](https://community.homey.app/u/owuerker)\
**Post date:** [October 13, 2021, 12:14pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-flora-sensor-ropot-app/45/649 "2021-10-13T12:14:39Z")

</div>

Hi Koktail

I have around 30 Plant Sensors, most of them I can reach via Homey BLWE directly  
But there are some I can’t reach and have to mange the plants otherwise

What do you think of an enhancement of your app for range extension via MqTT, so that plant data which is not reachable direct via BLE can be integrated via MQTT.

Exentension could be done with: [GitHub - ThomDietrich/miflora-mqtt-daemon: Linux service to collect and transfer Xiaomi Mi Flora plant sensor data via MQTT to your smart home system, with cluster support 🌱🌼🥀🏡🌳](https://github.com/ThomDietrich/miflora-mqtt-daemon) and a simple raspberry  
You can get the data from an MQTT Broker (this could be Homey) and the script above is sending the flora plant data to it. Would be great if this data can be integrated in your app, too .

I am willing to support that extension with a donation 😉 maybe others, too.  
What do you think ?

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [October 13, 2021, 1:13pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-flora-sensor-ropot-app/45/650 "2021-10-13T13:13:32Z")

</div>

Also nice for experimenting with Ble 2 mqtt!  
Thanks.

Alternative:  
Will an ESP32 with this software do?

> **[GitHub - shmuelzon/esp32-ble2mqtt: A BLE to MQTT bridge running on an ESP32](https://github.com/shmuelzon/esp32-ble2mqtt)**
>
> A BLE to MQTT bridge running on an ESP32. Contribute to shmuelzon/esp32-ble2mqtt development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [October 13, 2021, 2:37pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-flora-sensor-ropot-app/45/651 "2021-10-13T14:37:44Z")

</div>

Hello,

I already did it…using an ESP32 and some code from GitHub.  
Set yout BT-Macs of your plant sensors and the IP/user/pw of your MQTT broker and the ESP will read your sensors and push the data to your broker.  
Then you can import it with Mqtt client or hub. Not into your current devices, but into virtual sensors or hub devices

> [@Xiaomi Mi Pflanzensensor](https://community.homey.app/t/xiaomi-mi-pflanzensensor/46014/13):
>
> Der Spieltrieb und die Neugier waren einfach zu groß. Also wurde ein ESP32 bestellt und getestet innocent Das Ergebnis: Die Sensordaten werden vom ESP32 per Bluetooth gelesen und per WLAN an den MQTT-Broker geschickt. Damit kann man Homey unabhängig von der BT-Reichweite positionieren. Voraussetzung ist natürlich ein MQTT-Broker - als Homey-App oder separat auf RasPi oder als Docker-Container. Der ESP32 wird im Garten in der Elektro-Box an ein USB-Netzteil angeschlossen. Damit ist eine g…

Sorry, only german. Just ask if you need some help.

[Previous page](https://community.homey.app/t/app-pro-xiaomi-mi-flora-sensor-ropot-app/45.md?page=31)

[Next page](https://community.homey.app/t/app-pro-xiaomi-mi-flora-sensor-ropot-app/45.md?page=33)
