Skip to content

Ensure files from stream match local write #20

@pbitzer

Description

@pbitzer

Brokkr watches the stream of data from the sensor and writes to a Pi-attached drive. The sensor also writes data. So, we have two places where data can be found. Typically:

  1. The sensor drive is smaller than the Pi drive
  2. The sensor drive does not buffer, so under high flash rates might drop triggers.

We want to:

  • Make sure that every trigger on the Pi drive is on the sensor drive.

This will catch any case where brokkr fails to write data. Note that we don't need to worry about the converse.

  • Periodically clean sensor drive.

If it fills, the sensor goes into a reboot cycle. This can happen near daily, depending on the size of the USB drive.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions