Xiaomi Mi Plants Monitor Flower

Let’s us know how you go… I had the same idea with multiple pi’s for more Bluetooth range.

How good and accurate is the light sensor on this thing? Need a light sensor to use in automation rules for the house lights. Wonder if this thing will suffice

It only pushes the light info every ~15 min. otherwise the battery would die quickly. So it cannot be used for real-time applications.

Well more then enough for the automation rules to judge on overal luminosity. Thank you

1 Like

how to get the mac address of the Mi Flora? Any easy way? The app is all chinese, my router has 200+connections

just got one for this exact purpose. testing now

No HA is pulling the data from the sensor, and you can customize how often you want to update

not encouraging

17-01-12 09:04:54 homeassistant.components.sensor: Setting up sensor.miflora
17-01-12 09:04:54 homeassistant.core: Bus:Handling <Event state_changed[L]: new_state=<state sensor.flower_1_conductivity=unknown; unit_of_measurement=µS/cm, friendly_name=Flower 1 Conductivity @ 2017-01-12T09:04:54.478818+01:00>, entity_id=sensor.flower_1_conductivity, old_state=None>
17-01-12 09:04:54 homeassistant.core: Bus:Handling <Event state_changed[L]: new_state=<state sensor.flower_1_moisture=unknown; unit_of_measurement=%, friendly_name=Flower 1 Moisture @ 2017-01-12T09:04:54.481934+01:00>, entity_id=sensor.flower_1_moisture, old_state=None>
17-01-12 09:04:54 homeassistant.core: Bus:Handling <Event state_changed[L]: new_state=<state sensor.flower_1_light_intensity=unknown; unit_of_measurement=lux, friendly_name=Flower 1 Light intensity @ 2017-01-12T09:04:54.486887+01:00>, entity_id=sensor.flower_1_light_intensity, old_state=None>
17-01-12 09:04:54 homeassistant.core: Bus:Handling <Event state_changed[L]: new_state=<state sensor.flower_1_temperature=unknown; unit_of_measurement=°C, friendly_name=Flower 1 Temperature @ 2017-01-12T09:04:54.491030+01:00>, entity_id=sensor.flower_1_temperature, old_state=None>
17-01-12 09:04:54 homeassistant.core: Bus:Handling <Event state_changed[L]: new_state=<state sensor.flower_1_battery=unknown; unit_of_measurement=%, friendly_name=Flower 1 Battery @ 2017-01-12T09:04:54.494097+01:00>, entity_id=sensor.flower_1_battery, old_state=None>
17-01-12 09:04:54 homeassistant.core: Bus:Handling <Event state_changed[L]: new_state=<state sensor.yr_symbol=4; entity_picture=//api.met.no/weatherapi/weathericon/1.1/?symbol=4;content_type=image/png, attribution=Weather forecast from yr.no, delivered by the Norwegian Meteorological Institute and the NRK., friendly_name=yr Symbol @ 2017-01-12T09:04:54.934490+01:00>, entity_id=sensor.yr_symbol, old_state=<state sensor.yr_symbol=unknown; entity_picture=//api.met.no/weatherapi/weathericon/1.1/?symbol=None;content_type=image/png, attribution=Weather forecast from yr.no, delivered by the Norwegian Meteorological Institute and the NRK., friendly_name=yr Symbol @ 2017-01-12T09:04:53.943130+01:00>>

It may take some minutes after you have started hass, before new values show up.

very cool idea.

I am more lost then you, and I will have additional problem that some pi3 will have to run on wifi and not ethernet.

p.s. in addition, if possible, is good to have redundancy for HASS instances

not sure about the other values, but the temperature data is not correct …

You sure your not living on the sun? :wink:

2 Likes

I am getting similar results to @anon35356645. The first time the device was connected to HA the results were correct, however, any subsequent results have been way too high.

The only one that is correct is the battery percentage.

I’ve set median to ‘3’, but can see from the logs each time HA queries the device it returns these high values.

And I can confirm, I am not living on the Sun :slight_smile:

are you sure? :wink:

No, it’s 700 degrees colder :smile:

@anon35356645

I have nine of these sensors set up around my house. I sometimes get the high numbers you guys are reporting as well, so I did some investigating.

I can say from my testing, that the abnormal results seem to be directly correlated to their range from the base station. I have four plants pretty close to the Pi running HASS - they have never shown crazy high results. Meanwhile, the plants furthest away seem to have this issue even with median: 5.

My shortest distances are from 1-2m with direct line of sight.

Longest distance is roughly 8m through a wall. (I know this exceeds the expected range, still testing to see what I can get away with).

To those of you struggling with temperatures north of 4000 degrees, I would suggest temporarily relocating the sensor closer to your base station to see if the problem clears up.

Mine is 20 cm from my pi3 with Bluetooth

One of mine is about 5m away and I only once a week get a wrong value.
The closer once almost never give a wrong value.