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

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,826
Rating - 0%
0   0   0
This is really great news. I am new to reef-pi but now I am even more excited to get it up and running. I think I will get it started on my daughter's freshwater tank while I wait for my reef tank to get going.
Great...it has been flawless running everything in my 75 gallon freshwater planted tank...im running 2 lights (4 channels)pwm, 2 heaters, and 3 canisters...with macros and timers to automate water changes, feeding and the like.
 

bishoptf

Valuable Member
View Badges
Joined
Jan 1, 2019
Messages
1,349
Reaction score
1,724
Location
Missouri
Rating - 0%
0   0   0
This is really great news. I am new to reef-pi but now I am even more excited to get it up and running. I think I will get it started on my daughter's freshwater tank while I wait for my reef tank to get going.

Welcome!
 

bishoptf

Valuable Member
View Badges
Joined
Jan 1, 2019
Messages
1,349
Reaction score
1,724
Location
Missouri
Rating - 0%
0   0   0
I haven’t seen one, but think of it like a storyboard. First I turn off the skimmer pump, then I turn off the return and the power heads. Each step is another line in the macro.

Here are some screenshots of a couple of my macros, pretty simple:



reef-pi-2.png


reef-pi-2.png


Hope this helps, just add the steps in the order you want things to happen.

:)
 
Last edited:

Mandelstam

Well-Known Member
View Badges
Joined
Oct 29, 2017
Messages
688
Reaction score
1,119
Location
Malmö, Sweden
Rating - 0%
0   0   0
It's been a long time coming but I'm soon at the point where I can start a build thread of my version of Reef-pi. But until then I'll have to post some specific questions here.

I'm drawing up the enclosure for the whole controller in cad so I can laser cut the parts at work (benefits of working at an architectural firm with a model workshop). I want to have some status leds on the front panel.
  • RPi power led, I read somewhere that you can hook that up to pin 1 and it will act as a power status indicator, is that true? Does that pin always have power on as default? If not, do you have any suggestions on how to hook up a custom power indicator led?
  • Status indicators for relay board/power module. Can I hook up a small 20mA 5mm led (with resistor) in parallell on the GPIO pin that connects to each of the relays?
 

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,826
Rating - 0%
0   0   0
Status indicators for relay board/power module. Can I hook up a small 20mA 5mm led (with resistor) in parallell on the GPIO pin that connects to each of the relays?
The raspberry pi has a max of around 30ma on the whole 3.3v rail, use more than that and you kill your pi, so I would not use the 20ma leds there. You would be better off paralleling them on the outputs of the ULN2803 which handles more current. Thats why it is used, it handles alot more current than the raspberry pi outputs can handle.
 

Mandelstam

Well-Known Member
View Badges
Joined
Oct 29, 2017
Messages
688
Reaction score
1,119
Location
Malmö, Sweden
Rating - 0%
0   0   0
The raspberry pi has a max of around 30ma on the whole 3.3v rail, use more than that and you kill your pi, so I would not use the 20ma leds there. You would be better off paralleling them on the outputs of the ULN2803 which handles more current. Thats why it is used, it handles alot more current than the raspberry pi outputs can handle.

Ofcourse, much better option! Thank you!
 

crusso1993

7500 Club Member
View Badges
Joined
Oct 21, 2018
Messages
8,671
Reaction score
44,651
Location
SW, FL, USA
Rating - 0%
0   0   0
It's been a long time coming but I'm soon at the point where I can start a build thread of my version of Reef-pi. But until then I'll have to post some specific questions here.

I'm drawing up the enclosure for the whole controller in cad so I can laser cut the parts at work (benefits of working at an architectural firm with a model workshop). I want to have some status leds on the front panel.
  • RPi power led, I read somewhere that you can hook that up to pin 1 and it will act as a power status indicator, is that true? Does that pin always have power on as default? If not, do you have any suggestions on how to hook up a custom power indicator led?
  • Status indicators for relay board/power module. Can I hook up a small 20mA 5mm led (with resistor) in parallell on the GPIO pin that connects to each of the relays?

@dmolavi may be able to chime in on this as I believe he did exactly what you want to do.
 

crusso1993

7500 Club Member
View Badges
Joined
Oct 21, 2018
Messages
8,671
Reaction score
44,651
Location
SW, FL, USA
Rating - 0%
0   0   0
Ok so dumb question, where is reefapalooza being held?

:)

There are several venues but I believe the one @Ranjib is referring to is the Anaheim one in August. There's one this weekend in Orlando too.
 
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
Id love to go, but im so busy at work right now its not even funny
I can totally understand . I have been headsdown busy with company work for past couple of months . Lots of security and compliance work.
 

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,826
Rating - 0%
0   0   0
I can totally understand . I have been headsdown busy with company work for past couple of months . Lots of security and compliance work.
Yeah been meaning to do an in depth post on relay selection and another on how I did my Beamsworks, but haven't been able to find time.
 
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
Take your time, and just note down the thoughts you think will be important in simple format (post it or some scratch pad). That's what I do. Family and life first, and we will always be able to write a better doc when we are at peace, all we need is those notes, to remind us what was our chain or thoughts.
 

buddy.

Active Member
View Badges
Joined
May 16, 2018
Messages
291
Reaction score
617
Location
Australia
Rating - 0%
0   0   0
Can anyone help with this error? I unplugged everything to organise all of my cables. After plugging everything back in and powering on I am getting these errors.
None of my timers are working now either. As far as I can tell I have got everything plugged back in. Manually turning equipment on and off works as expected.

error.JPG
 

dmolavi

Well-Known Member
View Badges
Joined
Jan 3, 2015
Messages
509
Reaction score
646
Location
United States
Rating - 0%
0   0   0
It's been a long time coming but I'm soon at the point where I can start a build thread of my version of Reef-pi. But until then I'll have to post some specific questions here.

I'm drawing up the enclosure for the whole controller in cad so I can laser cut the parts at work (benefits of working at an architectural firm with a model workshop). I want to have some status leds on the front panel.
  • RPi power led, I read somewhere that you can hook that up to pin 1 and it will act as a power status indicator, is that true? Does that pin always have power on as default? If not, do you have any suggestions on how to hook up a custom power indicator led?
  • Status indicators for relay board/power module. Can I hook up a small 20mA 5mm led (with resistor) in parallell on the GPIO pin that connects to each of the relays?
Shoot me a PM. I did exactly this.
 

dmolavi

Well-Known Member
View Badges
Joined
Jan 3, 2015
Messages
509
Reaction score
646
Location
United States
Rating - 0%
0   0   0
I'm loving my ReefPi (can't wait for 3.0 and pH).

With Adafruit IO....my temp probes are updating, but my ATO graph isn't. On my ReefPi dashboard it is updating properly. But adafruit says it hasn't gotten any data. I have one error entry related to it:

Post https://io.adafruit.com/api/v2/dmolavi/feeds/rpisump-reading/data: dial tcp: lookup io.adafruit.com on 8.8.8.8:53: dial udp 8.8.8.8:53: connect: network is unreachable

Which appears to be DNS related. I'd think my temp feed would be impacted as well, but it isn't.

Any ideas?

Edit...

I just readded the feed to IO and this error popped up in ReefPi

Apr 6 07:56:35

{"error":"not found - that is an invalid URL, please check the API documentation at https://io.adafruit.com/api/docs to make sure your URL is correct"}

I'm guessing we're sending to the wrong listener...
 

crusso1993

7500 Club Member
View Badges
Joined
Oct 21, 2018
Messages
8,671
Reaction score
44,651
Location
SW, FL, USA
Rating - 0%
0   0   0
I'm guessing we're sending to the wrong listener...

Unfortunately, I cannot help you with where you're sending your info. However, I can sometimes be a good listener! ;)

To-Become-Excellent-at-Listening-There-are-Three-Main-Techniques.jpg
 
Back
Top