pesor / TTGO-T-HIGrow

The extremely good plant sensor named LILYGO TTGO-T-HIGrow, is here integrated into Home Assistant, via MQTT messages, that can be Autodiscovered, via the belonging Python program. The program supports both DHT sensors, the new BME280 sensor and the external soil temperature sensor.
https://github.com/pesor/TTGO-T-HIGrow
MIT License
70 stars 35 forks source link

Battery consumption issue, temporary fix. #15

Open pesor opened 3 years ago

pesor commented 3 years ago

This change will come in a later release, but I think you should correct your code, and upload it next time you charge a battery from a module.

This is the original code in the main.cpp Original-text

Change it to: change_1

I discovered this when due to the DDoS attach at one of the biggest ISP’s here in Denmark.

It made my timeClient.update() come back empty, and then it just keep looping, and ate my batteries in less than 3 hours.

With this change, module just sleeps for another hour, and tries again.