Integration Mi Flora

I just received my RPI zero, so I couldn’t help but test the script :slight_smile: It works. So the problem indeed comes from RPI3/4, but I’m not knowledgeable enough to debug the libraries in depth.

I will therefore use the pi zero as a gateway and write the data to the MQTT server by adding the option of the parameter reporting_method = "Gladys": a preference for the normalization of data publication?

You have the MQTT documentation link a bit above

Integration complete.
I updated the script by Thom Dietrich, visible on my Git while waiting for him to accept the PR
https://github.com/Chouille/miflora-mqtt-daemon

On MQTT, it looks like this:

On Gladys:


Now it’s just a matter of playing with the scenes :slight_smile:

Would a tutorial on this be of interest?

All of that interests me :slight_smile:

Cool ça, tu devrai inclure le lien de la doc gladys en anglais plutôt que le lien FR

It’s fixed in a new PR.

I’m going to draft something quickly.

Here’s the tutorial: [TUTORIEL] Monitorer ses plantes avec les capteurs Mi Flora

I started looking at the gladys-bluetooth-analyzer tool for the parrot flower and the miflora which successfully retrieves measurements,
@AlexTrovato I have 2 questions:

  • If I want to integrate these 2 devices into gladys, do I need to create 1 file per device as is done for zigbee or should the code be distributed differently?
  • Is it necessary to rewrite the data retrieval code entirely or can we use the existing npm libraries for these products?

Isn’t that a bit generic on the Bluetooth side?

Not planned yet :confused:

We need to find the place (and how) to determine that such a Bluetooth device is compatible with such a way of communicating.

Or create a new service that reuses the Bluetooth service if it’s really specific.