Commit Graph

3 Commits (38df5d00c4624bde4c483c0f834e262c1dd61cfa)

Author SHA1 Message Date
Dustin 38df5d00c4 values: Include boot count in state messages
This should be useful for diagnostic purposes.  It's not brought out
into a proper sensor in HA, but it can be seen using the MQTT message
viewer in the HA device configuration tool.
2022-05-16 21:17:20 -05:00
Dustin 6c1757b43d main: Deep sleep for up to an hour
It really isn't necessary to have minute-level granularity of soil
moisture (especially since it's just been sitting at "max" for 2
weeks!).  Updating frequently is helpful for diagnostics, though.  To
compromise, the sensor will now publish data every minute for the first
few minutes after it starts up, then reduce its update frequency to once
every hour.
2022-05-16 21:17:20 -05:00
Dustin 87c4833a10 Initial commit 2022-05-08 20:34:58 -05:00