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

Alaa

Community Member
View Badges
Joined
Nov 28, 2018
Messages
74
Reaction score
80
Rating - 0%
0   0   0
Hi

Have not posted for a long time, but following the great progress, upgraded to reef-pi 4 with no troubles and working great. Many thanks to @Ranjib and all the others for their effort and endless support.

For my new project I’m planning to add a battery backup for my tank and auto frozen food feeding system



I came with the following design, I need advice and suggestion from those with more knowledge before I start ordering parts.

I plan to run 2 reef-pi the main one and a second one for data collection and frozen food feeder control, I’m also thinking to keep both PIs powered by the battery for assurance for continuous work and not to keep my battery without use for a long time as we don’t experience frequent or long power outage (the main reason I wanted to start this is to prepare for vacation where I have to leave the tank for 3-4-weeks).

I figure that the pi will not use much power and is the battery is easily maintained by the charger.

For circulation I will connect my backup return pump and one wave maker (both run on 24V)

I will also keep the fridge for frozen food feeding connected to the backup system to preserve the food in case of power outage, It is current rated for 0.05 A and 65W so I think.

The attached diagram shows the way I figured to setup my battery backup

All ideas and suggestions are welcomed and sorry for the long post

Regards

backup battery.jpg
 

sfgabe

Active Member
View Badges
Joined
Sep 7, 2018
Messages
178
Reaction score
258
Rating - 0%
0   0   0
Ranjib,

Thank you for adding the MQTT support . I am having issues when I enable and configure it. Not sure if I am doing something wrong but I have same results across 3 separate Reef-Pi's

The Mosquito server is working fine, I have about 60 devices talking over MQTT, just can't get the Reef-Pi to communicate.

Any ideas....

Thanks Mark

MQTT issue.JPG
I've also run into this a few times, at random I think. What worked for me is a reboot / wait a bit / reload in config panel. It seems to retry on it's own if it doesn't connect right away, I wonder if it's overloading the MQTT server or something?
 

zab34

Active Member
View Badges
Joined
Jan 23, 2012
Messages
354
Reaction score
72
Location
Orlando
Rating - 0%
0   0   0
This is probably a stupid question. I was setting up my Reef-pi a few months ago but it has since taken a backseat. I am attempting to get it going again.

I have two float switches set up. How should the programming on the dashboard look for these? I guess Ideally I would use on to control the on/off and one as an emergency shut off?

Any ideas?
 

magikfly

Active Member
View Badges
Joined
Sep 16, 2018
Messages
132
Reaction score
92
Location
NL
Rating - 0%
0   0   0
Hey guys, I had a reef-pi set up and running like a dream for a few weeks. Today I finally got around to building an enclosure and since then reef-pi has been generating incorrect pH values. Polling the probe straight from I2C shows 8.1 (correct) but reef-pi seems to insist its 7.7! Disabling and going to the calibration screen in reef-pi also shows the correct values in the "current readings" field. Anyone know what's wrong here?
 

Alaa

Community Member
View Badges
Joined
Nov 28, 2018
Messages
74
Reaction score
80
Rating - 0%
0   0   0
Hey guys, I had a reef-pi set up and running like a dream for a few weeks. Today I finally got around to building an enclosure and since then reef-pi has been generating incorrect pH values. Polling the probe straight from I2C shows 8.1 (correct) but reef-pi seems to insist its 7.7! Disabling and going to the calibration screen in reef-pi also shows the correct values in the "current readings" field. Anyone know what's wrong here?
Hi
That is strange, I have the same problem since yesterday but with a different story.
My ph was reading 8 and doing ok, but since it is over 10 months since last calibration I decided to calibrate
The process went smooth and reading after calibration from the calibration fluids were 7.02 and 9.98
When I fixed the prob in the tank same place as before I got reading of 7.6, I decided to wait and as I still got the same readings today I did testing with 2 different test kits and and reading were 8
The prob is reading the test solutions (new pack) accurately but when I return it to the tank I still got the reading 7.7 even if I change the position
I hope other may be able to help
 

magikfly

Active Member
View Badges
Joined
Sep 16, 2018
Messages
132
Reaction score
92
Location
NL
Rating - 0%
0   0   0
Hi
That is strange, I have the same problem since yesterday but with a different story.
My ph was reading 8 and doing ok, but since it is over 10 months since last calibration I decided to calibrate
The process went smooth and reading after calibration from the calibration fluids were 7.02 and 9.98
When I fixed the prob in the tank same place as before I got reading of 7.6, I decided to wait and as I still got the same readings today I did testing with 2 different test kits and and reading were 8
The prob is reading the test solutions (new pack) accurately but when I return it to the tank I still got the reading 7.7 even if I change the position
I hope other may be able to help
Did you verify those are the values the probe is generating? In my case I think reef-pi is messing with the generated values. At least, the ones that get logged to the dashboard and the prometheus metrics feed
 

Alaa

Community Member
View Badges
Joined
Nov 28, 2018
Messages
74
Reaction score
80
Rating - 0%
0   0   0
Did you verify those are the values the probe is generating? In my case I think reef-pi is messing with the generated values. At least, the ones that get logged to the dashboard and the prometheus metrics feed
I don't know how to differntiate i tested with standard solution of both 7 and 10 and the readings on reef pi were accurate then when I return to tank it reads 7.6 to 7.7 and as I said I tested tanks water with 2 different test kits and both read around 8, so I think those are the values generated by the prob and not related to reef pi
 

AbjectMaelstroM

Valuable Member
View Badges
Joined
Jul 21, 2019
Messages
1,535
Reaction score
1,709
Location
RVA
Rating - 100%
1   0   0
I don't know how to differntiate i tested with standard solution of both 7 and 10 and the readings on reef pi were accurate then when I return to tank it reads 7.6 to 7.7 and as I said I tested tanks water with 2 different test kits and both read around 8, so I think those are the values generated by the prob and not related to reef pi

If your probe is reading test solution accurately, I would say that your tank is closer to 7.7 than it is to 8.
 

FuzzeWuzze

Community Member
View Badges
Joined
Nov 9, 2020
Messages
28
Reaction score
29
Location
Newberg
Rating - 0%
0   0   0
So im waiting for my Robotank board to come, but curious about using it with my Icecap gyre controller that needs 0-10V input. Ive already figured out i can make a cable like this to get the 2 0-10V signals to my icecap controller.


But being a reefpi newbie im not 100% sure about this description and how you do it in ReefPi
This cable allows you to run your Maxspect Gyre in both forward and reverse direction by using one full Variable Speed port on your Apex to connect two 0-10v signals to a single IceCap Gyre Interface Module.

On your APEX, you will need to set up two Variable Speed outlets to control a single Gyre pump. The first variable speed outlet will control the speed of the pump. You can set speeds ranging from 20% to 100%. The second variable speed outlet will control the direction of the pump. Set it to 0% and the pump will rotate in a forward direction. Set it to 100% and the pump will rotate in a reverse direction.

Note: Requires a full Variable Speed port on your APEX Controller

Not having anything plugged in, i assume i use the light controls and i can do something like this to be able to control both the speed and rotation? I dont quite understand how it works electronically, if its only a 0-10V input, how are there two controls(speed + direction) being applied from the Apex? Polarity? I'm hoping i can control both speed + direction, but if i can only apply speed i'd still be happy.

Also looking at that cable trying to zoom in on the picture it appears there's 4 pins on the cat5 end connected? Voltages + 2 grounds? I cant really tell though from the image. If it is 4, both grounds would just go to the same sleeve on the jack so seems redundant? Not sure if any of you have one of these types of cables or more details, i assume i just need to wire the 0-10V to the tip and ring, and the sleeve to gnd like this

trs-wire-connections.jpg
 
Last edited:

elysics

Valuable Member
View Badges
Joined
Jan 15, 2020
Messages
1,695
Reaction score
1,607
Rating - 0%
0   0   0
if its only a 0-10V input, how are there two controls(speed + direction) being applied from the Apex? Polarity? I'm hoping i can control both speed + direction, but if i can only apply speed i'd still be happy.
It's not only a 0-10V signal, it's two 0-10V signals on one of those apex ports. So one for speed, one for direction, though my guess is that you don't really need 0-10V for direction, only 0V or 10V. But with the robotank you are spoiled with so many signal outputs anyway, that you should have 2 free 0-10V channels. One channel at the tip, one at the ring, ground at the sleeve. But definitely don't wire tip and ring together, without knowing the innards of that pump controller, it's a possibility that that could fry it or damage the pump somehow.
 
Last edited:

FuzzeWuzze

Community Member
View Badges
Joined
Nov 9, 2020
Messages
28
Reaction score
29
Location
Newberg
Rating - 0%
0   0   0
Yea i need to ask on the Coralvue page i think to understand what the inputs are.
There is only 1 physical port to plug into, but in the software there is Input_1 and Input_2. My assumption was that there were 2 0-10V coming in, on the tip and ring, one for Input_1 and one for Input_2.

I found video showing the cat5 connection end, and there is definately 4 pins connected, i assume the 2 black are going to the same ground (sleeve) and the red to either tip or ring. Maybe its just cheaper for them to do that to use the same cat5 end setup for single or Y split cables.

I'm a bit more lost than i was before, i need to figure out if the 2 0-10V inputs can independently control each pump, or if i can only communicate with both pumps at once, which is what im trying to get past. For whatever reason their stupid controller software only allows you to set settings per controller, not per pump. So i cant have 1 pump at 50% reverse and 1 pump at 100% forward. Only both at 50% reverse, or both at 100% forward. Needless to say its very annoying and limiting to what patterns you can create with 2 gyre pumps.
 

marekd1

Active Member
View Badges
Joined
Dec 24, 2019
Messages
133
Reaction score
199
Rating - 0%
0   0   0
I've also run into this a few times, at random I think. What worked for me is a reboot / wait a bit / reload in config panel. It seems to retry on it's own if it doesn't connect right away, I wonder if it's overloading the MQTT server or something?
thanks I will try this. Since the message said that MQTT was not loaded that would indicate that it will not retry. I least that was my thinking
 

dmolavi

Well-Known Member
View Badges
Joined
Jan 3, 2015
Messages
509
Reaction score
640
Location
United States
Rating - 0%
0   0   0

marekd1

Active Member
View Badges
Joined
Dec 24, 2019
Messages
133
Reaction score
199
Rating - 0%
0   0   0
thanks I will try this. Since the message said that MQTT was not loaded that would indicate that it will not retry. I least that was my thinking
Still no luck on the MQTT. Tried any possible combination and the MQTT fails to initialize. At this point I think there has to be something in the code as all my other MQTT devices are talking without any issues.
 

zab34

Active Member
View Badges
Joined
Jan 23, 2012
Messages
354
Reaction score
72
Location
Orlando
Rating - 0%
0   0   0
@Michael Lane

using the Jebao slave dosed. Not sure on how to wire the board.
12v for power
cat6 to the jebao
Where are the other 5 pins wires to? All other connection have 4 pins on the hat.
 

Mikeneedsahobby

Well-Known Member
View Badges
Joined
Sep 16, 2018
Messages
516
Reaction score
916
Rating - 0%
0   0   0
@Michael Lane

using the Jebao slave dosed. Not sure on how to wire the board.
12v for power
cat6 to the jebao
Where are the other 5 pins wires to? All other connection have 4 pins on the hat.
Do you have Michael lanes dosing board?

C4E97E8C-0941-451F-8BDB-96D480CDD95F.png

pump 5-8 are pwm signals.
 

TOP 10 Trending Threads

WHAT AMOUNT OF LIVE ROCK AND SAND SHOULD BE PRIORITIZED FOR OPTIMAL BIODIVERSITY/FILTRATION?

  • 100% live rock + bagged sand

    Votes: 38 27.3%
  • 100% dry rock + 100% live sand

    Votes: 47 33.8%
  • 50/50 live/dry rock, 50/50 live/bagged sand

    Votes: 30 21.6%
  • 75% live rock, 25% live sand

    Votes: 14 10.1%
  • 25% live rock, 75% live sand

    Votes: 10 7.2%
Back
Top