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
Some tank photos with dslr.
DSC_0110-1.jpg
DSC_0085.jpg
DSC_0080.jpg
DSC_0091.jpg
DSC_0101.jpg
DSC_0072.jpg
 

Jonathan Troutt

Well-Known Member
View Badges
Joined
Apr 1, 2018
Messages
974
Reaction score
1,177
Location
Indianapolis, IN
Rating - 0%
0   0   0
Reef-pi 3.0 alpha 2 loaded and configured to give it a run.

So far so good, temps sensors, light pwm, equipment all working. Ph board configured and reading -32768 when no probe connected and with the probe pin shorted out reading close to 0. Yay! The phboard @Jonathan Troutt built for me works....

Now to order a ph probe, any suggestions?

Thats awesome man im glad to hear its working.
 

Jonathan Troutt

Well-Known Member
View Badges
Joined
Apr 1, 2018
Messages
974
Reaction score
1,177
Location
Indianapolis, IN
Rating - 0%
0   0   0
@Ranjib i have the dual float sensors for my auto top off. Is there a way to still have reefpi control my autotop pump? Basically turn on pump bit if pump stays on for too long to shut off?
 

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,811
Rating - 0%
0   0   0
Are your dual sensors connected to reef pi now?

What type of sensors? Voltage?

What type of pump? Voltage?

Im thinking a great setup would be one sensor into reef pi, reef pi controlling your ATO.

Second sensor wired inline with your pump as a failsafe...if first sensor or reef pi messes up, the second sensor breaks the voltage going to the pump.
 
Last edited:

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,811
Rating - 0%
0   0   0
3.0 cant use the 2.3 database.

You have to purge 2.3 completely and redo your setup in 3.0, but if you save your 2.3 database then you could always go back easily.

That all being said, 3.0 has been stable for me so far, and im awaiting a ph probe to arrive.

I have noticed one big improvement in 3.0, my adafruit i/o feeds have been much more stable. With 2.3 and 2.4 i would get the occasional feed "drops" for a moment of two here and there, with 3.0 it has not dropped a feed yet.
 
Last edited:

dmolavi

Well-Known Member
View Badges
Joined
Jan 3, 2015
Messages
509
Reaction score
640
Location
United States
Rating - 0%
0   0   0
3.0 cant use the 2.3 database.

You have to purge 2.3 completely and redo your setup in 3.0, but if you save your 2.3 database then you could always go back easily.

That all being said, 3.0 has been stable for me so far, and im awaiting a ph probe to arrive.

I have noticed one big improvement in 3.0, my adafruit i/o feeds have been much more stable. With 2.3 and 2.4 i would get the occasional feed "drops" for a moment of two here and there, with 3.0 it has not dropped a feed yet.
What file(s) contain the 2.3 database? I might write a python script to convert when I get 3.0 up. This would make the upgrade a lot easier for folks.
 

pickupman66

5000 Club Member
View Badges
Joined
Aug 10, 2010
Messages
6,032
Reaction score
1,165
Location
Winchester, TN
Rating - 0%
0   0   0
Hey all. It's been a while. Just to update, my reef-pi had been running good then we had a few power events and I had to shut down via power pull to resolve a clogged drain because I couldn't access the system. Raspbian corrupted or something and i had zero boot activity. No activity light or anything. Kinda sucked. Reimaged the SD with a new version of raspbian and reloaded latest stable so I'm back up now thankfully. It's nice having a chart as to what is what. One of these days I'll get smart and make a SD clone.
 
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
Hey all. It's been a while. Just to update, my reef-pi had been running good then we had a few power events and I had to shut down via power pull to resolve a clogged drain because I couldn't access the system. Raspbian corrupted or something and i had zero boot activity. No activity light or anything. Kinda sucked. Reimaged the SD with a new version of raspbian and reloaded latest stable so I'm back up now thankfully. It's nice having a chart as to what is what. One of these days I'll get smart and make a SD clone.
Let us know if you need help with anything
 

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,811
Rating - 0%
0   0   0
@Ranjib is having an input to trigger a macro something thats in the works?
Having a physical button to trigger my feed fish macro which turns off my pumps for 4 minutes would be sweet, so the wife unit could feed the fish without having to get on the UI ;)

This is wife unit 2.0 and I dont plan on doing an upgrade there...lol
 

Michael Lane

Well-Known Member
View Badges
Joined
Aug 11, 2018
Messages
677
Reaction score
1,121
Rating - 0%
0   0   0
@Ranjib is having an input to trigger a macro something thats in the works?
Having a physical button to trigger my feed fish macro which turns off my pumps for 4 minutes would be sweet, so the wife unit could feed the fish without having to get on the UI ;)

This is wife unit 2.0 and I dont plan on doing an upgrade there...lol
I'd like to see this feature as well and I've started working on it from time to time (partly as an excuse to understand chardev gpio). I'm porting libgpiod to go so we'll be able to use interrupts instead of polling to get the button changes. My day job has been insane lately, so it's slow going. I'm hoping to have it implemented in v3.0.
 

trackerit

Community Member
View Badges
Joined
Apr 11, 2019
Messages
71
Reaction score
137
Rating - 0%
0   0   0
I see the option for the pico-board driver...what 'address' do I use (and if it's not the default, how do I find it)?

Also, can it be used for inlets, outlets, etc?
sudo i2cdetect -y 1
adress is a hexadecimal, convert to decimal and use in reef-pi


example:

pi@raspberrypi:~ $ sudo i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: 40 -- -- -- -- -- -- -- 48 -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- UU -- -- -- -- -- -- --
70: -- -- -- -- -- 75 -- --


48hex = 72dec
 

dmolavi

Well-Known Member
View Badges
Joined
Jan 3, 2015
Messages
509
Reaction score
640
Location
United States
Rating - 0%
0   0   0
@Ranjib - wrt the database, what's the format for it? obviously there are ASCII elements in the file,but it is binary mostly. Is it just a packed binary file of some sort, or is there a db reader that i can invoke to make a converter?
 
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
@Ranjib - wrt the database, what's the format for it? obviously there are ASCII elements in the file,but it is binary mostly. Is it just a packed binary file of some sort, or is there a db reader that i can invoke to make a converter?
It’s boltdb, an embedded database written in golang. It’s key value pair based, unlike relational database. All reef-pi data is serialized as json and stored there. It’s trivial to read/write it from other programs. Every key module (ato, temperature etc) as bucket (equivalent to tables in MySQL) and relevant entities are stored inside the relevant buckets
 

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.1%
  • 100% dry rock + 100% live sand

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

    Votes: 31 22.1%
  • 75% live rock, 25% live sand

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

    Votes: 10 7.1%
Back
Top