top-gun / SMT50-ESP

Using a Truebner SMT50 with an ESP8266 for wireless irrigation control
GNU General Public License v3.0
13 stars 0 forks source link

1.2 adjustable interval #1

Closed top-gun closed 4 years ago

top-gun commented 4 years ago

1.2 allows the user to adjust the sensor interval. In the MQTT-key for the sensor, a new value "Intervall" is created which is the sensor interval in minutes. Allowed values are 1-60. If no value is set, the sensor will report every 30 minutes.

Obviously, shorter intervals result in shorter battery life, longer intervals result in longer battery life. My estimate is that a Wemos D1 with this sensor should last about 200 days on one set of AA batteries with 2000mAh.