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

OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
It needs more gadgetry! And where is your little helper/director? ;)
He is busy dis-assembling the layout :-)
6E1E19B2-E72D-41DE-9E88-B2907A92D61F.jpeg


The rain boot is on for no particular reason other than his wish :-/
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
This is my CPU and memory usage with reef-pi and Pi Cam Control running at the same time. It is recording video 24/7.

Capture.JPG
Those 1.65 cpu utilization spikes are not good. I would not recommend running any critical monitoring system in such cpu starved system, if it’s persistent
 

Mikeneedsahobby

Well-Known Member
View Badges
Joined
Sep 16, 2018
Messages
516
Reaction score
916
Rating - 0%
0   0   0
No, it kept getting the cannot find executable problem.

I think if you can get streaming video working it would be pretty useful but the thing is who is going to have reef-pi in a position to live stream the tank and control everything? Right now I just have pi cam control running alongside reef-pi and it’s working fine. It is web based so it may be easier just to integrate pi cam control into reef-pi. It was easy to install too. You would just need to load http://loacalhost/min.php in reef-pi.

My Pi Zero is inside the light so I can have the camera come out and point downwards but I think most people are not doing it this way and the reef-pi box is probably hiding behind somewhere.

https://elinux.org/RPi-Cam-Web-Interface

568C7931-5BA0-4608-BF30-18D0B9AD2488.jpeg
I like these tanks! Looks nice! Good way to hide the controller too!
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
No, it kept getting the cannot find executable problem.

I think if you can get streaming video working it would be pretty useful but the thing is who is going to have reef-pi in a position to live stream the tank and control everything? Right now I just have pi cam control running alongside reef-pi and it’s working fine. It is web based so it may be easier just to integrate pi cam control into reef-pi. It was easy to install too. You would just need to load http://loacalhost/min.php in reef-pi.

My Pi Zero is inside the light so I can have the camera come out and point downwards but I think most people are not doing it this way and the reef-pi box is probably hiding behind somewhere.

https://elinux.org/RPi-Cam-Web-Interface

568C7931-5BA0-4608-BF30-18D0B9AD2488.jpeg
Very nice tank. The left tank has an anemone? This light is not too bright for the pico? I worry some corals will bleach.. definitely shrooms
 

That Crusso Kid

10K Club member
View Badges
Joined
Oct 21, 2018
Messages
14,897
Reaction score
76,043
Location
SW, FL, USA
Rating - 0%
0   0   0
He is busy dis-assembling the layout :)
6E1E19B2-E72D-41DE-9E88-B2907A92D61F.jpeg


The rain boot is on for no particular reason other than his wish :-/

Always working on something just like his papa!
 

DirtDiggler2823

If I can't break it, it doesn't exist
View Badges
Joined
Jul 31, 2018
Messages
1,667
Reaction score
2,075
Location
Gambrills
Rating - 0%
0   0   0
Null is ok . That’s not errror, you should see some text with cookie details in the cookie.txt file

I have that cookies.txt file on my pi now. I also added the other files to the top of the pi directory.

cal fail 4.JPG
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
I see two different IPs, 192.168.3.187 and 192.168.3.229 , and only one of them is working 192.168.3.187 . Which one is correct? Lets not try both and test with only one . I notice 127.0.0.1 is working as well. These are all good signs. It means the API calls are wrong, lets fix that,
Can you share the content of the calibration file, it seems it has some bad data
Code:
cat calibration.json
Once the data is validated (i can audit it for you, just share it here), here is the command (change username/password)
Code:
curl -X POST -d '{"user":"....", "password":"..."}'  -c cookie.txt  http://127.0.0.1/auth/signin
curl -X POST -d @calibration.json -b cookie.txt  http://127.0.0.1/api/phprobes/1/calibrate
 

DirtDiggler2823

If I can't break it, it doesn't exist
View Badges
Joined
Jul 31, 2018
Messages
1,667
Reaction score
2,075
Location
Gambrills
Rating - 0%
0   0   0
I see two different IPs, 192.168.3.187 and 192.168.3.229 , and only one of them is working 192.168.3.187 . Which one is correct? Lets not try both and test with only one . I notice 127.0.0.1 is working as well. These are all good signs. It means the API calls are wrong, lets fix that,
Can you share the content of the calibration file, it seems it has some bad data
Code:
cat calibration.json
Once the data is validated (i can audit it for you, just share it here), here is the command (change username/password)
Code:
curl -X POST -d '{"user":"....", "password":"..."}'  -c cookie.txt  http://127.0.0.1/auth/signin
curl -X POST -d @calibration.json -b cookie.txt  http://127.0.0.1/api/phprobes/1/calibrate
x.x.3.187 is the reef-pi, and 127.0.0.1 is local host from the reef-pi. x.x.3.229 is my PC.
 

DirtDiggler2823

If I can't break it, it doesn't exist
View Badges
Joined
Jul 31, 2018
Messages
1,667
Reaction score
2,075
Location
Gambrills
Rating - 0%
0   0   0
I see two different IPs, 192.168.3.187 and 192.168.3.229 , and only one of them is working 192.168.3.187 . Which one is correct? Lets not try both and test with only one . I notice 127.0.0.1 is working as well. These are all good signs. It means the API calls are wrong, lets fix that,
Can you share the content of the calibration file, it seems it has some bad data
Code:
cat calibration.json
Once the data is validated (i can audit it for you, just share it here), here is the command (change username/password)
Code:
curl -X POST -d '{"user":"....", "password":"..."}'  -c cookie.txt  http://127.0.0.1/auth/signin
curl -X POST -d @calibration.json -b cookie.txt  http://127.0.0.1/api/phprobes/1/calibrate

This is what's in the calibration file

[/LIST]
[
{"expected":10.01, "observed": -9284},
{"expected":7.01, "observed": -170}
]
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Hello friends,
I have just published two set of releases with few bug fixes, namely
- Disable ATO pump when alert level is breached
- Light charts on dashboard in auto-mode
- 0 & 100% pwm behavior when using pca9685 mnodules
The 2.4 release is a stable public release, and will not impact any existing 2.x installation, while the 3.0.0-alpha-2 is a pre-release not thoroughly field tested, but provides all the 3.0 intended features (ph driver, calibration, multiple pca9685 etc etc).

Releases can be found here: https://github.com/reef-pi/reef-pi/releases/
 

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,811
Rating - 0%
0   0   0
Hello friends,
I have just published two set of releases with few bug fixes, namely
- Disable ATO pump when alert level is breached
- Light charts on dashboard in auto-mode
- 0 & 100% pwm behavior when using pca9685 mnodules
The 2.4 release is a stable public release, and will not impact any existing 2.x installation, while the 3.0.0-alpha-2 is a pre-release not thoroughly field tested, but provides all the 3.0 intended features (ph driver, calibration, multiple pca9685 etc etc).

Releases can be found here: https://github.com/reef-pi/reef-pi/releases/
Just loaded 2.4 and all works, pwm bug gone!
Lighting graphs now appear!

Now to save my 2.4 database just in case and load 3.0 again! If that tests out good, time to get a ph probe on the way!!!

Great job!!!
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Just loaded 2.4 and all works, pwm bug gone!
Lighting graphs now appear!

Now to save my 2.4 database just in case and load 3.0 again! If that tests out good, time to get a ph probe on the way!!!

Great job!!!
If you have saved the dB you had with 3.0 prereleases , you can use it with the new 3.0 prerelease without any issue . It should work out as well
 

Stephen2

Community Member
View Badges
Joined
Jul 31, 2014
Messages
48
Reaction score
28
Rating - 0%
0   0   0
How do you wire the uln2803 to these boards?
Especially in refernce to the vcc and gnd?
d406684305453a62b9ff6d49283efa81.jpg
 

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