ioBroker.ble icon indicating copy to clipboard operation
ioBroker.ble copied to clipboard

Mi Flora plant sensor: no battery stats?

Open thatso opened this issue 5 years ago • 9 comments

I'm currently on BLE 0.7.0 (still waiting for 0.7.2 to be released with the additional MAC for hygrometers) and don't see battery stats for my plant sensor (MAC c4:7c:8d:xx:xx:xx, firmware 3.2.1) even after two weeks of the initial connection. Am I missing something or is this a bug?

thatso avatar Apr 28 '19 04:04 thatso

If I remember correctly, the battery information requires an active connection, which is something the adapter does not support yet.

AlCalzone avatar Apr 28 '19 07:04 AlCalzone

Do you mean polling the device with "active connection"? It seems the neighboring project is doing it this way: https://www.home-assistant.io/components/miflora/

thatso avatar Apr 28 '19 14:04 thatso

Yes, that's what I mean. The problem isn't that I don't know how to do it - its finding the time to do so. Because I need to do it in a generic way so I can support many other devices aswell.

AlCalzone avatar Apr 28 '19 15:04 AlCalzone

I would also be very happy about the enhancement of the battery capacity.

capitaenz avatar Aug 23 '19 17:08 capitaenz

Yeah I agree, that would be really nice to have. I have a smart greenhouse in my garden, but it is 15km away from here. Sometimes I don´t go there for 2 weeks, When in this time the battery of one of the 20 sensors is empty, it is sometimes a little mess, especially when you went there a day ago. But, no hurry! I am very thankful of all the work and time you are spending on this great adapter until now! And in the meantime I can use my MobileApp to check the battery status. when I´m there. Though it´s a little laborious in this way.

Klugschieter avatar Dec 03 '19 14:12 Klugschieter

The miflora js on github uses characteristics to read the data. I think this could help to integrate into the adapter, because the code looks simple.

eddKv avatar Jan 08 '21 16:01 eddKv

Is it meanwhile possible to get the battery status? I installed the adapter yesterday but i don´t get the battery status of MiFlora...

In the past i used this on RPI3+ to fetch the data incl. battery - send this with MQTT to ioBroker: https://tutorials-raspberrypi.de/raspberry-pi-miflora-xiaomi-pflanzensensor-openhab/

nukleuz80 avatar Sep 09 '21 08:09 nukleuz80

No. https://github.com/AlCalzone/ioBroker.ble/issues/106#issuecomment-487387111 still holds true. I don't find much time to do anything else outside Z-Wave and what I need for it.

AlCalzone avatar Sep 09 '21 08:09 AlCalzone

bump - hope there is any chance to get the feature

atm - i've written a workaround script- to check that data comes in, if not (1day) - it informs me to replace the battery - i use the flower cars for controlling 'leitwert in German' on my aquariums ;)

moeff avatar Jan 15 '23 18:01 moeff