Commit Graph

3 Commits (c933b4cdcdd85d11934f200b5f49af0a29f05901)

Author SHA1 Message Date
Dustin 1ea3de712e values: Report battery level in percentage
The LiPo battery apparently ranges from 3.0 V to 3.95 V.  Since we know
the range, we can report the current level as a percentage, which Home
Assistant will display.

We'll leave the original voltage reading in the MQTT state payload for
diagnostic purposes.
2022-05-16 21:41:38 -05:00
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 87c4833a10 Initial commit 2022-05-08 20:34:58 -05:00