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
I haven't so much time to test stuffs, but... 2 temperature sensors successfully tested!!!.
Thank you everyone for the help.

Next step is to setup a ph sensor.
On the adafruit site it's suggested the EZO ph module.
Is it the only module available for reef-pi?

I have a PH-4502C module... is it compatible with the reef-pi system?
I dont know about the ph-4592c module, it unlikely to work with reef-pi. The opensource reef-pi ph module , designed by @Roberto_b is the cheapest option. @Michael Lane sells it in his tindie store. There might be couple others who is producing it. The standalone ph module is cheapest if you are planning to add to an existing build.
 
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 live in Rome (Italy), so it is a little bit "complicated" to buy object from USA (shipping and txes costs)... I need to buy something that is easy to buy in Europe.

For example, I wish to buy the HS 300 power strip... but it will cost $ 79,89 + $ 17,36 (shipping cost) + 25,41$ (import taxes)... + 6 internation plugs to convert in EU plugs.

I will have a look on ebay.

Thank you for your suggestions.
We need to find some one one the EU side who can build it. Or at least get it manufactured in bulk from other place and resell locally. Its some work, but not impossible.
 
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
Hi everyone. I'm trying to plan my reefpi build and would like a little help if possible. First thing to note is I've never worked with wiring or electronics other than to build a dimmable led array for a DIY turf scrubber.
I have a 93 gallon cube plumbed to a 100 gollon trough sump. My lights are Corona (poor name choice at the current time) leds and have their own app that I'm actually really happy with so I don't need to worry about controlling them. Also my heaters are on a rainbird, so heater control isn't an issue other than temp as a notification and fail safe to shut the rainbird off if it failed on.
Here's what I would like to be able to control:
-2 jebao cp 120 gyres- I'd like to be able to ramp these up and down
-jebao dcq3500 return pump... I really like to be able to slow this one down as well but isn't a deal breaker
-High water level sensor for shutting down the return pump in the event that the overflow clogged
-ATO
-Dosing, which I have the jebao 3 head doing pump but it isn't the slave unit, its the programmable one
-Ph monitoring
-Multiple other on/off outlets.
I purchased Mike's hat with the led status lights on it a couple months ago, and have a Pi3b+. I know I still need to buy a Ph board and was thinking of buying the wireless controlled outlet strip to make that wiring part easier, and I can 3d print the project box.
I'm guess I'm just not sure where to start and what connectors to buy for things like jebao and how to connect them to the hat.
Any suggestions would be welcome.
Take small baby step and have measured expectations. Start with ATP module first, and then make ph monitor followed by doser. Though its not in your list, i think you should get a power controller going with smart plugs or smart strip. They are easy and gives you a first useful thing.
 
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
Take small baby step and have measured expectations. Start with ATP module first, and then make ph monitor followed by doser. Though its not in your list, i think you should get a power controller going with smart plugs or smart strip. They are easy and gives you a first useful thing.
Wave maker electronics are not yet sorted. Because most of them ships with their own controller and very few allows external control, we have been mostly delayes the support for the wavemaker. With 3.0 we shipped pwm profiles that will make things easy, and probably from software side we have the bare minimal things, but the electronics needs to be sorted out. My gut feeling is we can take the pwm output from pca9685 or pi and then use a BLDC/BEMF controller for 24V (drok has one) and then test some pumps (mp10s, gyres etc).
 
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 live in Rome (Italy), so it is a little bit "complicated" to buy object from USA (shipping and txes costs)... I need to buy something that is easy to buy in Europe.

For example, I wish to buy the HS 300 power strip... but it will cost $ 79,89 + $ 17,36 (shipping cost) + 25,41$ (import taxes)... + 6 internation plugs to convert in EU plugs.

I will have a look on ebay.

Thank you for your suggestions.
how about this: https://www.tp-link.com/uk/home-networking/smart-plug/hs100/ ?
 
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 first of all thank you for this amazing project! :D I'm building my own controller, I have a couple of question:
there's a way to run the ATO pump for n seconds and after that the system goes into a "failsafe" status? I'm trying with the alert but something doesn't work in right way. The first time I have the right trigger but after that I cannot make it work again.
Second question is about setting up the email alert. I've created a dedidacted gmail address to send email from reef-pi, generated the application password but I cannot send the test email... What I'm doing wrong?
Thank you very much!
Best regards
Simone
Theres an ATO max usage failsafe setting, that will disable ato if the pump usage goes above a certain value in an hour
 

Matevz Savarin

Active Member
View Badges
Joined
Dec 5, 2018
Messages
209
Reaction score
163
Rating - 0%
0   0   0
I live in Rome (Italy), so it is a little bit "complicated" to buy object from USA (shipping and txes costs)... I need to buy something that is easy to buy in Europe.

For example, I wish to buy the HS 300 power strip... but it will cost $ 79,89 + $ 17,36 (shipping cost) + 25,41$ (import taxes)... + 6 internation plugs to convert in EU plugs.

I will have a look on ebay.

Thank you for your suggestions.
I live in Slovenia, I have both ph boards, for arduino one you need converter, for ph bord from Roberto its plug and play, buy that one on tindie. Shipping is not so much. I paid 15$, but board is 45$., compared to 15$ board for arduino is expensive.., but it works..
 

Matevz Savarin

Active Member
View Badges
Joined
Dec 5, 2018
Messages
209
Reaction score
163
Rating - 0%
0   0   0
Phlizone sorry, Black box lights..they are cheap for 3 of them 204€, and I will get them from Usa for free, my uncle will bring them to me. Looks like mars aqua and I will modify them and change some of the leds. Now I am using custom 160w leds with 2x80 t5s, now I will go full led.
 
Last edited:

BenB

Active Member
View Badges
Joined
Jun 11, 2019
Messages
118
Reaction score
152
Rating - 0%
0   0   0
Last edited:

Des Westcott

Well-Known Member
View Badges
Joined
May 29, 2018
Messages
646
Reaction score
1,025
Location
Durban - South Africa
Rating - 0%
0   0   0
It could technically be used but you would have to code an arduino in between or run thru an ADC. But this may prove difficult because the code would have to be compatible with the reef pi ph driver. Or you would have to write ypur own driver.
It would be much easier to get a compatible ph board. Reef pi can use one of three boards.
1. The EZO board
2. The reef-pi ph board designed by @Roberto_b
3. The ph board that is a redesign of the roberto_b board using easier and cheaper to get parts. @Michael Lane did the redesign and sells them on his tindie site

And Leviathan by @Schreiber

The choice for Addd-On boards is becoming quite vast now. There are definitely options for all levels of bumblefartery :D
 

Schreiber

Leviathan
View Badges
Joined
Jun 28, 2016
Messages
475
Reaction score
594
Location
Knoxville
Rating - 0%
0   0   0
Speaking
And Leviathan by @Schreiber

The choice for Addd-On boards is becoming quite vast now. There are definitely options for all levels of bumblefartery :D

Thanks for the mention, shipping my first wave of them this week!

84133925_644605112963787_5047803646272602112_n.jpg
 

Zippyfear

Community Member
View Badges
Joined
Apr 30, 2019
Messages
86
Reaction score
150
Rating - 0%
0   0   0
@Ranjib first of all thank you for this amazing project! :D I'm building my own controller, I have a couple of question:
there's a way to run the ATO pump for n seconds and after that the system goes into a "failsafe" status? I'm trying with the alert but something doesn't work in right way. The first time I have the right trigger but after that I cannot make it work again.
Second question is about setting up the email alert. I've created a dedidacted gmail address to send email from reef-pi, generated the application password but I cannot send the test email... What I'm doing wrong?
Thank you very much!
Best regards
Simone


i'm also having issues with the email alerts.. I've had it set up in the past with 2.3, but reloaded the system since, and realized I haven't configured it. I tried both my gmail and 1and1 accounts, and can't get it to work. I assume 'from' is also the username of the SMTP credentials.

When I have the wrong password, I get no error from a test

When I have the correct password I get this error.

{"error":"Failed to delete. Error: 535 5.7.8 Username and Password not accepted. Learn more at\n5.7.8 https://support.google.com/mail/?p=BadCredentials j187sm5029727ywg.106 - gsmtp"} | HTTP 500

I have also tried reducing the security requirements in google and also did this


on my Reef-Pi.. just to ensure it wasn't being blocked but it still fails.. hmmm.. thoughts? I assume everyone else enables email notifications. seems like it should be flawless.

update: I did a system reload, and now I'm getting this error. {"error":"Failed to delete. Error: dial tcp 172.253.112.108:578: connect: connection timed out"} | HTTP 500

update 2: That update error message made sense actually because I entered the wrong port.. once I updated, and reloaded it again, it began working.. so it looks like I was expecting the system to work without reloading..

Maybe a warning all over the page after updating telemetry that it won't work without a reload is the answer..
 
Last edited:

Simonv92

Active Member
View Badges
Joined
Oct 21, 2014
Messages
161
Reaction score
104
Location
Italy
Rating - 0%
0   0   0
Theres an ATO max usage failsafe setting, that will disable ato if the pump usage goes above a certain value in an hour
Thank you very much! Another question how do I set the LCD screen? does it only work with the original Rpi LCD?
If I also want to trigger a macro with an external button (for example a macro that stops the moving pump while I'm feeding the fishes, ecc) there's a way todo that?
Thank you again!
 

Simonv92

Active Member
View Badges
Joined
Oct 21, 2014
Messages
161
Reaction score
104
Location
Italy
Rating - 0%
0   0   0
i'm also having issues with the email alerts.. I've had it set up in the past with 2.3, but reloaded the system since, and realized I haven't configured it. I tried both my gmail and 1and1 accounts, and can't get it to work. I assume 'from' is also the username of the SMTP credentials.

When I have the wrong password, I get no error from a test

When I have the correct password I get this error.

{"error":"Failed to delete. Error: 535 5.7.8 Username and Password not accepted. Learn more at\n5.7.8 https://support.google.com/mail/?p=BadCredentials j187sm5029727ywg.106 - gsmtp"} | HTTP 500

I have also tried reducing the security requirements in google and also did this


on my Reef-Pi.. just to ensure it wasn't being blocked but it still fails.. hmmm.. thoughts? I assume everyone else enables email notifications. seems like it should be flawless.

update: I did a system reload, and now I'm getting this error. {"error":"Failed to delete. Error: dial tcp 172.253.112.108:578: connect: connection timed out"} | HTTP 500

update 2: That update error message made sense actually because I entered the wrong port.. once I updated, and reloaded it again, it began working.. so it looks like I was expecting the system to work without reloading..

Maybe a warning all over the page after updating telemetry that it won't work without a reload is the answer..
Thank you for your feedback, after trying a new password, a Reload make it work...
 

Michael Lane

Well-Known Member
View Badges
Joined
Aug 11, 2018
Messages
677
Reaction score
1,121
Rating - 0%
0   0   0
I live in Rome (Italy), so it is a little bit "complicated" to buy object from USA (shipping and txes costs)... I need to buy something that is easy to buy in Europe.

For example, I wish to buy the HS 300 power strip... but it will cost $ 79,89 + $ 17,36 (shipping cost) + 25,41$ (import taxes)... + 6 internation plugs to convert in EU plugs.

I will have a look on ebay.

Thank you for your suggestions.
rpi doens't have any analog to digital capabilities, but ADS1115 seems to be a common module. It should be relatively straight-forward to add a driver for this ADC to reef-pi. I have a few other things I'm looking at, but if someone has a bit of programming experience, I'd be happy to offer advice on implementing a driver for this chip.
Otherwise, I might consider adding it sometime around June.
 

Michael Lane

Well-Known Member
View Badges
Joined
Aug 11, 2018
Messages
677
Reaction score
1,121
Rating - 0%
0   0   0
Hi everyone. I'm trying to plan my reefpi build and would like a little help if possible. First thing to note is I've never worked with wiring or electronics other than to build a dimmable led array for a DIY turf scrubber.
I have a 93 gallon cube plumbed to a 100 gollon trough sump. My lights are Corona (poor name choice at the current time) leds and have their own app that I'm actually really happy with so I don't need to worry about controlling them. Also my heaters are on a rainbird, so heater control isn't an issue other than temp as a notification and fail safe to shut the rainbird off if it failed on.
Here's what I would like to be able to control:
-2 jebao cp 120 gyres- I'd like to be able to ramp these up and down
-jebao dcq3500 return pump... I really like to be able to slow this one down as well but isn't a deal breaker
-High water level sensor for shutting down the return pump in the event that the overflow clogged
-ATO
-Dosing, which I have the jebao 3 head doing pump but it isn't the slave unit, its the programmable one
-Ph monitoring
-Multiple other on/off outlets.
I purchased Mike's hat with the led status lights on it a couple months ago, and have a Pi3b+. I know I still need to buy a Ph board and was thinking of buying the wireless controlled outlet strip to make that wiring part easier, and I can 3d print the project box.
I'm guess I'm just not sure where to start and what connectors to buy for things like jebao and how to connect them to the hat.
Any suggestions would be welcome.
The pumps don't have a good solution yet, but ATO, dosing, pH, and outlets are pretty much solved. I have some wiring diagrams examples, but feel free to tag me if you start a dedicated build thread. It's easy for individual build questions to get lost in this main thread.
 

Freccialata

Community Member
View Badges
Joined
Jan 31, 2020
Messages
54
Reaction score
97
Location
Rome (Italy)
Rating - 0%
0   0   0

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