reef-pi :: An opensource reef tank controller based on Raspberry Pi.

Not that you mention it, I am not sure the PH graph is editable. I am not in a position to verify, but can check later. Perhaps someone else will chime in on that. Browser issue?
Color of pH graph is editable in pH section. I've just changed the color on mine.

It doesn't seem to work on temperature though.
 
Has anyone implemented a CO2 probe?

I have seen a lot of people love the kh guardian. But I’m too cheap for it.

then I ran across an article that seneye was using a ph probe and dissolved co2 probe to infer alkalinity. This sounds cheap enough to me! I already have the ph probe. I just need To know the co2 and do some math and correlations.

though I can’t find a sensor to buy. So maybe I answered my own question.
 
Has anyone implemented a CO2 probe?

I have seen a lot of people love the kh guardian. But I’m too cheap for it.

then I ran across an article that seneye was using a ph probe and dissolved co2 probe to infer alkalinity. This sounds cheap enough to me! I already have the ph probe. I just need To know the co2 and do some math and correlations.

though I can’t find a sensor to buy. So maybe I answered my own question
A friend and I were talking about the Kh Director and I remember Ranjib mentioning titration as a feature that was being worked on. We have pH measurement and doser control. My mate was if the opinion should be a relatively simple thing to write some script that takes a sample, adds something like vinegar and reads the change in pH and with some maths arrives at the Kh reading. The benefit of using vinegar as a reagent is that the sample can be dumped into the tank as a carbon source.

My mate was interested in pursuing this as a DIY project, but life and kids got in the way
 
My mate was interested in pursuing this as a DIY project, but life and kids got in the way
I live that!!! Haha

a couple of dosing pumps would be needed. One for vinegar, one for tank water. Then a way to dump the sample. Rotary actuator/servo? The dosers need to be very accurate too. I haven’t seen enough accuracy for this from the jebao doser.

this sounds like a fun project actually. I think stepper motor integration is an enabler.
 
I live that!!! Haha

a couple of dosing pumps would be needed. One for vinegar, one for tank water. Then a way to dump the sample. Rotary actuator/servo? The dosers need to be very accurate too. I haven’t seen enough accuracy for this from the jebao doser.

this sounds like a fun project actually. I think stepper motor integration is an enabler.
I'm currently in the preparation phase for exactly that. Would use titration grade hydrochloric acid though, not random vinegar. Breakdown products of that reaction are chloride and carbonic acid iirc. Vinegar would be (relatively strong) carbon dosing,even if you could get your hands on one with precise concentration.

As for pumps, look at the ones that only have 1mm inner tube diameter. The "normal" ones on all the dosers are kamoer NKP pumps or clones of them. I can get +-0.3ml 0.3 +-0.05ml with the 1mm tubing ones no problem. For titration there's the more precise, and stepper driven KFS and Kas, also by kamoer, probably also best to use 1mm or something in that range.

Edit:wrote down the accuracy wrong, I can dose consistent 0.3ml, I don't have an error of 0.3ml
 
Last edited:
I'm currently in the preparation phase for exactly that. Would use titration grade hydrochloric acid though, not random vinegar. Breakdown products of that reaction are chloride and carbonic acid iirc. Vinegar would be (relatively strong) carbon dosing,even if you could get your hands on one with precise concentration.

As for pumps, look at the ones that only have 1mm inner tube diameter. The "normal" ones on all the dosers are kamoer NKP pumps or clones of them. I can get +-0.3ml with the 1mm tubing ones no problem. For titration there's the more precise, and stepper driven KFS and Kas, also by kamoer, probably also best to use 1mm or something in that range.
I am a fan kamoer! I just setup a couple of KHS with 3x6mm tube for pulling water from my basement. They are a bit loud but work well.
 
I am a fan kamoer! I just setup a couple of KHS with 3x6mm tube for pulling water from my basement. They are a bit loud but work well.
On that note, I am hoping I can tame the noise of the stepper motor of the KAS with a high quality stepper driver. I know 3 separate people that got a freshly released commercial alkalinity tester with that pump and immediately got rid of it. The description was asking the lines of everyone in the house asking why a ufo is taking off in the living room.

Like a super cheap 3d printer

Super accurate pump though
 
Last edited:
Update, figured it out needed to increase my maximum data points to have it show me the data, so many knobs so much to learn. If anyone has any cheatsheets for grafana and what they have done with reefpi, let me know. Would love to see it etc... :)
I could use those too. I'm way behind you with my setup. :(
 
Is there a place to set the graph color? All ive done is setup a 2x2 grid and put in my temp and ph probes, i see nowhere to set colors?
You can set the graph color in 4.1 for PH and Temp, however, the color settings are not working for Temp right now. I set the PH chart to pink, no issues. @Ranjib is fixing the Temp chart issue.
 
Last edited:
Where did you buy it from? I'm game to try it. The one I had is from DFRobot and it also had a 3-level adjustment via push-button on a board, unfortunately, even on the lowest setting it would trip if the foam got thick.
I bought it on ebay : search for xkc-y26-NPN . Amazon also has them too. There seems to be 3 versions: NPN, PNP, and a relay. I guess you could make any one work with right logic and wiring just be sure to know it is 5V supply. I should note that I called this an optical sensor in my post but it IS NOT optical. It uses capacitive sense. Thick sludge layered on skimmer cup will trip it (like several months worth) but regular foam seems to not in my testing so far. I see DFRobot has the PNP version for a good price https://www.dfrobot.com/product-2109.html

I terminated mine to a TRS jack 3pin is all you need.
 
Last edited:
Reef-Pi controlled Jebao Wave Maker

Hi

I have 3 Jebao WM and I wanted to override their native controller to generate random flow in the tank. I researched the subject and came with no clear solution. There is plenty of data on return pump control, however the situation is different with WM as there is variable modes with different wave forms.

I bought a used WM for this project and as you see from the pic there is a central controller and 3 buttons (speed/feed, Mode/night, and WiFi link/lock), on the back there is the WiFi chip.
WhatsApp Image 2021-01-22 at 9.30.13 PM (5).jpeg

The 3 wire going out for the motor are positive, negative, and yellow one for the signal. The voltage on the + and – wires is always fixed at 24V. The yellow wire changes from 3.6 to 4.9 V, and is variable with the mode selected.

Being not able to control the central controller or the Wifii chip. I tried to connect the control buttons with relay switches. I connected the positive end of the speed and mode buttons to the NO side of RS, and the negative end to the comm. Then controlled the RS with reef pi, and it worked nicely.
20210123_094647 (Large).jpg



For those with Jebao WM, you know that the speed button increase the speed with each press to max then decrease to the lowest and then back up again, to overcome this and start from the same speed each time you want to change the speed to the desired new setting for the required time, then when it is time to return back to the original speed you do a full cycle that is bring the speed to lowest first then back to the original speed. For example from 4 to 6 you turn the relay 2 times, however from 6 back to 4 you turn the relay 12 times so that next time you run your macro it will go from 4 to 6 and not from 4 to 2.
2 move macro.png


speed from 4 to 6.png


speed from 6 to 4.png

I hope this helps and if you have any suggestions or better ways to write the macros you are welcome to share.
Wow . Every time I see these long macros I feel just wow, I could have never thought reef-pi will come this far , few years back when I was trying to blink and led.
Thank you so much for taking the time and sharing the details for your setup. In times like this, all the build pics makes me feel so much better,
 
Wow . Every time I see these long macros I feel just wow, I could have never thought reef-pi will come this far , few years back when I was trying to blink and led.
Thank you so much for taking the time and sharing the details for your setup. In times like this, all the build pics makes me feel so much better,
Yeah. My "Feed" Macro has become quite something. Sometimes I think Macros are the most amazing feature in reef-pi.
2021-01-28.png
 

TOP 10 Trending Threads

ARE YOU READY TO CONFESS TO CRAZIEST, DUMBEST, FUNNIEST THING YOU’VE EVER DONE IN REEFING?

  • Yeah, I'll confess! (Share your story in the comments!)

    Votes: 30 55.6%
  • Nah, I'll keep mine a secret...(Don't be like that, share with the class!)

    Votes: 24 44.4%
Free Phyto Promo
Spend $39+ → free 16oz Phyto · Use code FREEPHYTO at checkout · $16.99 value · Densest 6-species blend · Free shipping on every order · 100% live arrival guaranteed Spend $39+ → free 16oz Phyto · Use code FREEPHYTO at checkout · $16.99 value · Densest 6-species blend · Free shipping on every order · 100% live arrival guaranteed
Shop Now Code: FREEPHYTO
Back
Top
Home
Post thread…
Market
What's new