Assume there is available DO or pH measurements over i2c. Users would like to do the following:
Display the measurements in the UI
Act on the measurements (dosing, air valve, etc)
Export the historical measurements
pH and DO can be two different plugins. Below, I'll use pH, but DO should like very similar.
Database table
CREATE TABLE IF NOT EXISTS pH_readings (
experiment TEXT NOT NULL,
pioreactor_unit TEXT NOT NULL,
timestamp TEXT NOT NULL,
pH_reading REAL NOT NULL
);
CREATE INDEX IF NOT EXISTS pH_measurements_ix
ON pH_measurements (experiment);
Assume there is available DO or pH measurements over i2c. Users would like to do the following:
pH and DO can be two different plugins. Below, I'll use pH, but DO should like very similar.
Database table
Chart yaml for UI
pH measurement reading job
Dosing automation to target a pH
Open questions