Hi,
I just recently came across reef-pi and I am thinking about building an all-in-one controller for my tank with it.
One part of that project would be an alkalinity monitor/controller that requires a slightly more advanced macro/programming.
The basic workflow would look like this:
Doser empties, flushes, and fills test vessel with tank water.
Magnetic stirrer starts.
pH probe records pH.
Doser adds acid in small quantities, with breaks for stirring in between, until target pH is reached, dosing slower / taking longer stirring breaks the closer the pH gets to the target value.
The total volume of acid dosed is saved as a variable.
Doser empties, flushes, and fills test vessel with tank water.
Magnetic stirrer stops.
KH is calculated with the obtained values and displayed in a graph.
Doser adds KH reagent to the tank according to the previous measurement.
Dosed volume is displayed as second data point within the KH graph.
Rinse and repeat at a certain interval.
The hardware part is fairly trivial and obviously not a problem for reef-pi.
From what I have seen of the UI thus far, I am unsure about the calculations and such required for this project.
Is impossible to have such complex macros within reef-pi?
If not, is there a simple way to add custom code to the overall program that follows the workflow above?
Best,
Janis
I just recently came across reef-pi and I am thinking about building an all-in-one controller for my tank with it.
One part of that project would be an alkalinity monitor/controller that requires a slightly more advanced macro/programming.
The basic workflow would look like this:
Doser empties, flushes, and fills test vessel with tank water.
Magnetic stirrer starts.
pH probe records pH.
Doser adds acid in small quantities, with breaks for stirring in between, until target pH is reached, dosing slower / taking longer stirring breaks the closer the pH gets to the target value.
The total volume of acid dosed is saved as a variable.
Doser empties, flushes, and fills test vessel with tank water.
Magnetic stirrer stops.
KH is calculated with the obtained values and displayed in a graph.
Doser adds KH reagent to the tank according to the previous measurement.
Dosed volume is displayed as second data point within the KH graph.
Rinse and repeat at a certain interval.
The hardware part is fairly trivial and obviously not a problem for reef-pi.
From what I have seen of the UI thus far, I am unsure about the calculations and such required for this project.
Is impossible to have such complex macros within reef-pi?
If not, is there a simple way to add custom code to the overall program that follows the workflow above?
Best,
Janis