pimoroni / enviro

MIT License
101 stars 79 forks source link

Batch local readings by day #194

Closed nils-s closed 2 months ago

nils-s commented 10 months ago

When Enviro is configured to not upload data, store readings locally, with readings grouped into one file per day.

See issue #193

Gadgetoid commented 2 months ago

Without closing the door on https://github.com/pimoroni/enviro/pull/135, I'm merging this for now since it's the smallest possible fix.

I think I agree regarding the .csv suffix, too, though I suspect .txt was chosen since it opens by default in Thonny. It's easy to configure .csv to do this too, so there's no real reason to stay with .txt. I'll raise a separate patch for that.