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

elysics

Valuable Member
View Badges
Joined
Jan 15, 2020
Messages
1,591
Reaction score
1,590
Rating - 0%
0   0   0
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:

Martin Lowry

Community Member
View Badges
Joined
Sep 19, 2017
Messages
60
Reaction score
66
Location
Dover, NH
Rating - 0%
0   0   0
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. :(
 

Martin Lowry

Community Member
View Badges
Joined
Sep 19, 2017
Messages
60
Reaction score
66
Location
Dover, NH
Rating - 0%
0   0   0
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:

ReeferLou

Active Member
View Badges
Joined
Dec 24, 2020
Messages
193
Reaction score
151
Location
Michigan-Oakland County
Rating - 0%
0   0   0
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:
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,848
Reaction score
17,081
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
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,
 

Des Westcott

Well-Known Member
View Badges
Joined
May 29, 2018
Messages
646
Reaction score
1,035
Location
Durban - South Africa
Rating - 0%
0   0   0
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
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,848
Reaction score
17,081
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Hi all:

I just submitted a pull request to add an Equipment Switch Panel as a dashboard widget. I hope it's useful and that it will be accepted.

Cheers,
It will be super duper useful to all of us.
 

JFReyes

New Member
View Badges
Joined
Oct 5, 2020
Messages
3
Reaction score
10
Location
Puerto Rico
Rating - 0%
0   0   0
Did you submit the sorting you added to equipment tab?
Yes Rob, the natural sorting by name instead of id was applied to pretty much all of of the lists. It also rounds to 2 decimals the pH chart values and tooltip and includes some Spanish translations. Thanks!
 
Last edited:

phasezero

New Member
View Badges
Joined
Oct 3, 2012
Messages
23
Reaction score
26
Location
WA
Rating - 0%
0   0   0
Has anyone else experienced a blank screen when trying to access their reef pi with certain devices? All my apple devices work fine but I'm getting a blank screen on a Nook color HD and an ARM based Microsoft surface running windows RT. I'm getting a DNS error when using the .local address on the surface and nook and then I get a blank screen when I use the ip address.
 

tmbarbour

New Member
View Badges
Joined
Jan 29, 2021
Messages
2
Reaction score
4
Location
Fairfax Station, VA
Rating - 0%
0   0   0
I'm new and just putting together a new build with Robo-tank set up. What a great community, I've been following and catching up as I've been setting up my system. After getting it up and running, I had some glitchy data that was messing up the nice graphs, so I read up on using the reef-pi db command to export the data, edit and then re-import to clean things up.
After using the command line interface, I decided to write a Bash completion script to make using the reef-pi db command even easier. It provides full <tab><tab> command line completion options for all the reef-pi subcommands. It will introspectively provide suggestions for configured items in your system, eliminating the need to first list to get the id, before showing the values.
It's available on my GitHub. It's just one script that needs to be copied to the bash completions directory.
GitHub - reef-pi Bash Completion Script
 

Des Westcott

Well-Known Member
View Badges
Joined
May 29, 2018
Messages
646
Reaction score
1,035
Location
Durban - South Africa
Rating - 0%
0   0   0
Has anyone else experienced a blank screen when trying to access their reef pi with certain devices? All my apple devices work fine but I'm getting a blank screen on a Nook color HD and an ARM based Microsoft surface running windows RT. I'm getting a DNS error when using the .local address on the surface and nook and then I get a blank screen when I use the ip address.

What I have found strange is that I can access reef-pi from my laptop (Windows 10), Phone (Iphone latest IOS), Samsung Tab10.1 and wife and son's PC and others.

BUT

I can't get it to connect from my SmartTV (LG SmartOS) or an old Samsung Tab or an old Android box I have on another TV. I've tried all the combination of IP addresses and .local combinations possible, but some of those older devices just wont access the IP address of the webserver.
 

phasezero

New Member
View Badges
Joined
Oct 3, 2012
Messages
23
Reaction score
26
Location
WA
Rating - 0%
0   0   0
What I have found strange is that I can access reef-pi from my laptop (Windows 10), Phone (Iphone latest IOS), Samsung Tab10.1 and wife and son's PC and others.

BUT

I can't get it to connect from my SmartTV (LG SmartOS) or an old Samsung Tab or an old Android box I have on another TV. I've tried all the combination of IP addresses and .local combinations possible, but some of those older devices just wont access the IP address of the webserver.
Good to know I’m not the only one. Bummer I’ll need to source another tablet device.
 

GaryE

Well-Known Member
View Badges
Joined
Mar 12, 2020
Messages
992
Reaction score
1,385
Location
Coatesville, Indiana
Rating - 0%
0   0   0
I just picked up a couple of Chinese Black Box LED fixtures for cheap.. They came with two of these LED Drivers in them, so it got me thinking.. How can I connect these to the reef-pi to control them....


I'm thinking I should be able to connect the PWM wire to an open pin on the pca9685 and control it that way....

If so, this opens up a nice lighting option..

1612135470368.png



 

GaryE

Well-Known Member
View Badges
Joined
Mar 12, 2020
Messages
992
Reaction score
1,385
Location
Coatesville, Indiana
Rating - 0%
0   0   0
Confirmed.. Connected directly to the JST connector plugged in here with 3.3v from the pi, ground and PWM0 on the pca9685 and setup the driver and jack as normal.. Am able to control the brightness of this light via PWM from reef-pi.

Also, as seen in the photo, I connected directly to the board with the pot on it, it worked controlling that way as well, however, the pot had to be turned all the way down to get control of the light. Max the pot out and it went full bright. That might not be a bad thing...

Next step will be to drill a hole in the case and mount an aviation connector for my control wire. With a 4 conductor cable, I should have no trouble controlling both the white and blue channels on this light.

Next up I need to build a mount.. :(


1612137263448.png
 

HAVE YOU EVER KEPT A RARE/UNCOMMON FISH, CORAL, OR INVERT? SHOW IT OFF IN THE THREAD!

  • Yes!

    Votes: 32 45.7%
  • Not yet, but I have one that I want to buy in mind!

    Votes: 9 12.9%
  • No.

    Votes: 26 37.1%
  • Other (please explain).

    Votes: 3 4.3%
Back
Top