atc1441 / ATC_MiThermometer

Custom firmware for the Xiaomi Thermometer LYWSD03MMC and Telink Flasher via USB to Serial converter
2.79k stars 468 forks source link

battery life expectation #302

Open poseidogithub opened 10 months ago

poseidogithub commented 10 months ago

Hello

I'm using the latest firmware and the default settings, reading the data in homeassitant trugh an ESPHome. wit the mi Thermometer original (the small square one with the temp and humidity and a little face)

I see this chart: image similar with the voltage reported: image

seems I'm using a 10% of the battery each 3 to 5 days, it doesnt seem right, right?

squirrelchew commented 9 months ago

You have active vs passive polling. Active polling is going to take a toll on the battery.

I'm currently working through getting passive polling working on an rpi4 using TheengsGateway and am reasonably confident it is truly doing passive polling... but the sensors are advertising every 2-10 seconds, despite being configured for 60 second intervals and increasing the instant alert thresholds well beyond any change that is occurring.

The broadcasts I'm seeing are also showing the same payload, so either something else is polling them or they're polling like crazy.

Like you, I've seen my battery voltage rocketing downwards at the same rate.