pimoroni / enviro

MIT License
105 stars 85 forks source link

Rain sensor trigger log and reading calculation #55

Closed lowfatcode closed 2 years ago

lowfatcode commented 2 years ago

Rain sensor trigger events are now logged in rain.txt in the filesystem. This log is kept to under 4096 bytes (one filesystem block) in length.

The log entries are used to determine the rainfall in millimetres over the past hour.