patricktokeeffe/rpi-ebam-plus

Retrieve data from EBAM PLUS

patricktokeeffe opened this issue · 3 comments

We need a basic script to retrieve data from the EBAM PLUS.

A new record is produced hourly, approximately on the hour (within precision of EBAM clock). The script will be triggered hourly via cron and only needs to retrieve the latest record.

Data should be saved to a folder in /var/log in comma- or tab-separated values files.

The bench test script test_ebam_comms.py is verified to work correctly and can be used as a starting point. More notes are in docs/develop.md.

Let's record the data into files stored under /var/log/ebam/, named after the current month. (We can revisit log rotation later on.)

Use a comma- or tab separated values format. We can reconsider too if other formats are more convenient.