csmsx / mark0

A pure-Python getting-started plant growth data collector for RasPi.
MIT License
4 stars 3 forks source link

Buffer records locally when network is down. #6

Open ic opened 7 years ago

ic commented 7 years ago

Devices cannot expect to have permanent network connectivity. If it loses network when sensor data is ready for upload, we currently lose the batch.

This is about buffering readings locally up to some upper limit, until network is back. When the buffer is full, fall back on dropping the batches, for now.

ic commented 7 years ago

Buffer records locally when network down.