Batteries: watch polarity, use protected cells and a charger with protection, never charge damaged cells unattended.
A thermometer that sends no Wi-Fi at all
A BLE node wakes up, takes one measurement, advertises it for a fraction of a second, and goes back to sleep. No connection, no router, no IP address. This is why it can live for months on a single Li-ion cell, if the rest of the circuit is careful.
Making Home Assistant understand it
Put the values in the BTHome v2 format and Home Assistant discovers the sensor by itself through any Bluetooth adapter or an ESP32 acting as a proxy. Without BTHome you can still read the manufacturer data in a second ESP32 and forward it with MQTT.
Put the BME280 in forced mode: one measurement, then it sleeps on its own.
Wake every minute or two. Faster does not improve the data, only the battery bill.
A TP4056 module often has two LEDs that burn the battery even when the board sleeps. Desolder them. Choose the variant with protection or use a protected cell.
Lithium cells lose capacity in the cold, so for an outdoor sensor expect much less in winter.
Comments
No comments yet. Share your experience or ask a question.