名媛直播

名媛直播 forum

Xiaomi Flora Plant Sensor

  • rayholland
  • rayholland's Avatar Offline Topic Author
  • New Member
  • New Member
  • Posts: 2
  • Thanks received: 1

Xiaomi Flora Plant Sensor was created by rayholland

Posted 3 years 10 months ago #65663
Hi there,


Last month i posted my findings on using a cheap aliexpress plant sensor to monitor all kind of environment variables on the dutch 名媛直播 Empire forum (see ).

English is not my native language, but i thought lets also post it here, so i can share my setup to anyone who is interested. I will not describe all the technical details, i just would like to show what is possible when using a cheap plant sensor for our bonsai hobby.

So, last christmas i received the Xiaomi Flora Plant Sensor as a gift from my nephew.
This sensor can measure and transmit:
- Outside Tempurature
- Humidity substrate
- Light intensity
- Electrical Conductivity (EC) substrate

This sounds very nice, but there are several drawbacks:
1. Measurements are only transferred when a BLE (bluetooth low energy) connection is made (this will drain the sensor battery relatively fast).
2. You have to register yourself on the Xiaomi site and all your data will will be stored in the Chinese IoT (Internet of Things) cloud. This does not seem very attractive, because we all know how China deals with privacy.
3. You need a dedicated smartphone with the Xiaomi Plant App turned on 24/7 to collect/transfer the data to the cloud.

Solution:
Create your own hub by installing Home Assistant on a Raspberry Pi (mini computer), which then picks up the BLE advertising broadcast data (see github.com/custom-components/ble_monitor).
Every 60 sec. the Rasberry PI will read the temp, humidity, brightness and EC values via the BLE advertisement. All these values will be stored in a database.
This image is hidden for guests.
Please log in or register to see it.


Next step is to configue the limit values, which ensures that when these limit values ??are exceeded, actions are taken.
Such an action could be, for example, that when the moisture of the soil is below 15% a whatsapp notification message is sent to my phone (see screenshot below).
This image is hidden for guests.
Please log in or register to see it.


These are the limit values ??i currently configured for my Ulmus (i still have to fine tune these values).
Temp. for my Ulmus -> -3 <> 35 degrees
Moisture substrate Ulmus -> 15 <> 60%
Brightness during the day -> 3700 <> 60000 Lux
EC -> 350 <> 2000 uS / cm

But it doesn't stop here ;-)
There is also a dutch weather plugin (called Buienrader) for Home Assistant . This plugin will trigger a whatsapp notification message and lets me know when it's going to freeze outside within 24 hours.
This image is hidden for guests.
Please log in or register to see it.


Conclusion:
Do you absolutely need such a plant sensor to keep your 名媛直播 trees healthy?
No, but it is fun to play with and it could be helpful for 名媛直播 beginners who don't know when to water their bonsai.

This image is hidden for guests.
Please log in or register to see it.

My Ulmus with the Plant sensor sticking in the substrate

This image is hidden for guests.
Please log in or register to see it.

Some history graphs

This image is hidden for guests.
Please log in or register to see it.

The Rasberry Pi, i'm using

External links:

github.com/custom-components/ble_monitor
hacs.xyz/


Cheers,
Ray
Last Edit:3 years 10 months ago by rayholland
Last edit: 3 years 10 months ago by rayholland.
The following user(s) said Thank You: Razvan

Please Log in or Create an account to join the conversation.

  • Razvan
  • Razvan's Avatar Offline
  • Senior Member
  • Senior Member
  • Posts: 51
  • Thanks received: 5

Replied by Razvan on topic Xiaomi Flora Plant Sensor

Posted 3 years 8 months ago #67976
Thanks for sharing Ray!

Have you considered to automate the watering based on the values coming from Xiaomi Flora too?
I am considering to use an Arduino/Raspberry + humidity sensors + water pumps.
by Razvan
The following user(s) said Thank You: rayholland

Please Log in or Create an account to join the conversation.

  • rayholland
  • rayholland's Avatar Offline Topic Author
  • New Member
  • New Member
  • Posts: 2
  • Thanks received: 1

Replied by rayholland on topic Xiaomi Flora Plant Sensor

Posted 3 years 8 months ago #67998

Razvan wrote: Thanks for sharing Ray!

Have you considered to automate the watering based on the values coming from Xiaomi Flora too?
I am considering to use an Arduino/Raspberry + humidity sensors + water pumps.


No need to, because i'm using an 'ebb and flow' irrigation system based on Autopot Aquavalves. The system works solely on gravity, no electricity needed.
I posted this system on the dutch bonsaiempire site.
See

It is in dutch but if people like, i can also make a post here in english.


Oh, and as you can see the tree is doing great with this irrigation system (picture taken a few weeks back)

This image is hidden for guests.
Please log in or register to see it.



Cheers,
Ray
Last Edit:3 years 8 months ago by rayholland
Last edit: 3 years 8 months ago by rayholland.

Please Log in or Create an account to join the conversation.