Does anyone have any experience with the mi flora esphome sensor and how long the battery lasts?
I have one and it lasted 2 months before I had to replace the battery.
Just wondering if this is typical or if my device has an issue.
Does anyone have any experience with the mi flora esphome sensor and how long the battery lasts?
I have one and it lasted 2 months before I had to replace the battery.
Just wondering if this is typical or if my device has an issue.
The battery in mine lasted for over a year before I had to replace it.
Hmmm. Thanks.
Tested the battery itās definitely flat after only 2 months. Will see how long the replacement lasts.
With a data request every hour, mine also last almost a year before I have to change.
Yeah but thatās not the esphome sensor is it?
The esphome sensor does not request data it listens for broadcasts passively. There is no control over the update rate.
Iāve had mine for about 2 and a half years now. I replace the battery about once a year. Itās worth noting, the battery reporting is not terribly accurate. I changed the battery last month, and today itās showing 64%. When I first put that battery in, it was showing 27% with the fresh battery. Iād probably wait until itās below 5% or stops working entirely before changing the battery, or just set a calendar reminder for once a year. That being said, itās one of the most competitively priced sensors available, and the battery reporting is really the only complaint Iāve had so far.
Are you using esphome to report the mi flora values?
Because it no longer reports battery levels in the passive broadcast.
Hi Tom,
i have found with the newer (green coloured body) sensors the battery life is significantly shorter (2 months or so) than the older white body ones i have
Edit: also using ESPHome, but as you stated, ESPHome is passive
Ah! Thanks. I have the green version.
This simply isnāt going to be sufficient. Iām not prepared to replace batteries every 2 months.
Iāll either modify it to take a 1200mAh 3.7v lithium battery or bin it altogether. Havenāt made up my mind yet.
looking at the esphome logs, the sensors seems to broadcast constantly when comparing the timestamps for them
[23:54:33][D][xiaomi_ble:134]: Got Xiaomi HHCCJCY01 (80:EA:CA:88:B3:6C):
[23:54:33][D][xiaomi_ble:137]: Temperature: 27.4Ā°C
[23:54:33][D][sensor:092]: āPeace Lily Temperatureā: Sending state 27.40000 Ā°C with 1 decimals of accuracy
[23:54:37][D][xiaomi_ble:134]: Got Xiaomi HHCCJCY01 (80:EA:CA:88:B3:6C):
[23:54:37][D][xiaomi_ble:137]: Temperature: 27.4Ā°C
[23:54:37][D][sensor:092]: āPeace Lily Temperatureā: Sending state 27.40000 Ā°C with 1 decimals of accuracy
[23:54:45][D][xiaomi_ble:134]: Got Xiaomi HHCCJCY01 (80:EA:CA:88:B3:6C):
[23:54:45][D][xiaomi_ble:149]: Illuminance: 336lx
[23:54:45][D][sensor:092]: āPeace Lily Illuminanceā: Sending state 336.00000 lx with 0 decimals of accuracy
[23:54:50][D][xiaomi_ble:134]: Got Xiaomi HHCCJCY01 (C4:7C:8D:6B:01:97):
[23:54:50][D][xiaomi_ble:137]: Temperature: 27.0Ā°C
[23:54:50][D][sensor:092]: āPalour Palm Temperatureā: Sending state 27.00000 Ā°C with 1 decimals of accuracy
[23:54:53][D][xiaomi_ble:134]: Got Xiaomi HHCCJCY01 (80:EA:CA:88:B3:6C):
[23:54:53][D][xiaomi_ble:152]: Moisture: 25%
[23:54:53][D][sensor:092]: āPeace Lily Moistureā: Sending state 25.00000 % with 0 decimals of accuracy
[23:54:58][D][xiaomi_ble:134]: Got Xiaomi HHCCJCY01 (80:EA:CA:88:B3:6C):
[23:54:58][D][xiaomi_ble:152]: Moisture: 25%
[23:54:58][D][sensor:092]: āPeace Lily Moistureā: Sending state 25.00000 % with 0 decimals of accuracy
[23:54:59][D][xiaomi_ble:134]: Got Xiaomi HHCCJCY01 (80:EA:CA:88:B3:6C):
[23:54:59][D][xiaomi_ble:152]: Moisture: 25%
[23:54:59][D][sensor:092]: āPeace Lily Moistureā: Sending state 25.00000 % with 0 decimals of accuracy
[23:55:01][D][xiaomi_ble:134]: Got Xiaomi HHCCJCY01 (80:EA:CA:88:B3:6C):
[23:55:02][D][xiaomi_ble:146]: Conductivity: 328ĀµS/cm
[23:55:02][D][sensor:092]: āPeace Lily Soil Conductivityā: Sending state 328.00000 ĀµS/cm with 0 decimals of accuracy
[23:55:05][D][xiaomi_ble:134]: Got Xiaomi HHCCJCY01 (80:EA:CA:88:B3:6C):
[23:55:06][D][xiaomi_ble:146]: Conductivity: 328ĀµS/cm
[23:55:06][D][sensor:092]: āPeace Lily Soil Conductivityā: Sending state 328.00000 ĀµS/cm with 0 decimals of accuracy
[23:55:08][D][xiaomi_ble:134]: Got Xiaomi HHCCJCY01 (80:EA:CA:88:B3:6C):
[23:55:08][D][xiaomi_ble:146]: Conductivity: 328ĀµS/cm
[23:55:08][D][sensor:092]: āPeace Lily Soil Conductivityā: Sending state 328.00000 ĀµS/cm with 0 decimals of accuracy
[23:55:13][D][xiaomi_ble:134]: Got Xiaomi HHCCJCY01 (80:EA:CA:88:B3:6C):
[23:55:13][D][xiaomi_ble:137]: Temperature: 27.5Ā°C
[23:55:13][D][sensor:092]: āPeace Lily Temperatureā: Sending state 27.50000 Ā°C with 1 decimals of accuracy
I present to you the Franken-flora:
7dB increase in signal strength (from -90 to -83dBm in the centre of my lawn). Was supposed to be a 9dBi antenna but matching losses and Chinese advertising hyperbole took the other 2 dB.
1800mAh battery that should last about 16 months (I got 2 months from a 220mAh CR3220).
Waterproof enclosure for outside use.
Iāll be surprised if it lasts a month.
Edit: holey shatballs bitman!
RSSI is now a steady -66dBm. I can move it further away from my irrigation controller and out of the centre of the lawn (which was a PITA to be honest).
the mother of all MiFloras,
now is it whipper-snipper proof?
Itās more whipper-snipper proof than the thin glass vial I had it in. Which isnāt saying much.
That box was surprisingly difficult to machine. Iām guessing polycarbonate rather than ABS.
My mifloras seem to last damn all time on batteries. Like a week!
Are these things supposed to be waterproof? Maybe the problem is moisture.
EDIT: having said that my outdoor sensor has just come back. It was all āunavailableā yesterday. Using esphome.
Having pulled one apart, I can say they are definitely not water resistant in any significant way.
Nick how are yours connected?
Through ESP home or using the home assistant integration?
ESP home listens for broadcast messages and there is no scan interval to set.
The Home Assistant integration actively scans the device and if you are doing this too often it will affect battery life.
mine are esphome connected. It might be that the initial batteries were nearly flat (there is some complaint of that on the aliexpress ad that @sparkydave just posted).
Combined with the crap replacement batteries I got from wish.com, it may just be unique to me.
Combined with the hail storm we got here yesterday which almost buried the outdoor one and ruined my lettucesā¦
Iām also experiencing the same. Maybe not 2 months but not much more than that. Iām also using ESPHome. I guess Iāll try to factory reset it and see if it improves.
Did anyone solve this? Iāve recently added an ESPhome to the mix, because one of my miflora sensors is too far from my HA NUC. Iāve been really surprised to see how frequently the ESPhome picks up broadcasts from the miflora (once per minute or two) compared to the 20 minute updates Iāve been used to with the HA native platform.
Itās got to kill battery life, but I canāt see why it should be any different for ESPhome, particularly as it is supposed to be a passive approach.
I had been wondering whether the ESPhome esp32_ble_tracker
, which triggers very frequent bluetooth scans (once per minute or two), is responsible for the flurry of activity from the miflora. Even though the xiaomi_hhccjcy01
sensor just waits passively for broadcast messages, maybe the general bluetooth scans prompts them to happen.
The Mi Flora sensor is supposed to be completely passive, just listening for broadcast messages:
From the sensor page:
Note
The ESPHome Xiaomi integration listens passively to packets the xiaomi device sends by itself. ESPHome therefore has no impact on the battery life of the device.
I think it is just that the newer model broadcasts more often: