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,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
PETG is a giant pain to print. Took me a while to get it to where prints were usable. Temp tower to get the best temp, then get retraction right. I had to turn the fan down to max of 30% and slowed print down to 50 mm/s.
this is exactly why im holding back, till i have feed up a week worth of time to tinker with it, i dont want to delve into it
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Heres a screen shot of two of my pico tank heater/fan usage. Notice the spike in temperature in pico 1, till i setup the fans
pico1.png


Also i can now definitevely see the elevated ato usage. I removed the glass hood from my pico tanks right before setting up the fans.
pico2.png


I also have ambient temperature and humidity (sht31d sensor) now.. im thinking how best to establish a relationship to these data collectively.. may be some time series decompostion?? we'll see..
humidity.png
 

robsworld78

Valuable Member
View Badges
Joined
Feb 14, 2020
Messages
1,029
Reaction score
1,293
Location
Edmonton, Canada
Rating - 0%
0   0   0
Various stuff. Return Pump in one, Skimmer in another. Heaters (2 x 500W units. Yes, I know :eek: ) Lights (165W unit)

I was hoping it was a large pump that you moved from relay to relay, inductive loads are hard on them. Heaters aren't though so it's not that. Maybe try some big solid state relays.

PETG is a giant pain to print. Took me a while to get it to where prints were usable. Temp tower to get the best temp, then get retraction right. I had to turn the fan down to max of 30% and slowed print down to 50 mm/s.

Soon I want to get some PETG, these tips come at a perfect time.

Funny I actually took a picture of my printer tonight for something else so may as well, it's a Tevo Black Widow. As you say esteps and then flow rate in slicer are key. My biggest problem is I have a cat that love's to walk across the bed like he owns it.

CAM01087-Optimized.jpg
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
I was hoping it was a large pump that you moved from relay to relay, inductive loads are hard on them. Heaters aren't though so it's not that. Maybe try some big solid state relays.



Soon I want to get some PETG, these tips come at a perfect time.

Funny I actually took a picture of my printer tonight for something else so may as well, it's a Tevo Black Widow. As you say esteps and then flow rate in slicer are key. My biggest problem is I have a cat that love's to walk across the bed like he owns it.

CAM01087-Optimized.jpg
I like that color. What type of printer is this one?
 

Justin Worthy

New Member
View Badges
Joined
Apr 24, 2020
Messages
2
Reaction score
1
Rating - 0%
0   0   0
Quick question (I hope). I have a current monitor running off of I2C that is logging data to a spreadsheet. Is there anyway to have this info graphed on the dashboard? Thanks in advance for any help.
 

mnl

New Member
View Badges
Joined
May 20, 2019
Messages
16
Reaction score
23
Rating - 0%
0   0   0
The Prusa manual is very good, assembly took a few hours over a couple of days. The Prusa Slicer defaults for PETG work very well. I have not had to make any changes as a result of print quality, just to adjust mechanical things like trying to get more stiffness for a couple of clamps.
 

kjerryh85

New Member
View Badges
Joined
Apr 22, 2020
Messages
7
Reaction score
8
Rating - 0%
0   0   0
Soo as I new person to this, being a perfectionist and wanting to do this right the following happened lol:

.. Learnt and continuing to learn Python and Linux
.. Got myself another test aquarium (partner not happy haha)
.. My home office full of electronics
.. Got to page 35 on this thread (including side threads)

And now you guys are so cruel as to tempt me to get a 3D printer with all the 3D printer talk....
ooopss to late, bought one now!!!
 

GaryE

Well-Known Member
View Badges
Joined
Mar 12, 2020
Messages
992
Reaction score
1,321
Location
Coatesville, Indiana
Rating - 0%
0   0   0
What does your reef pi test rig look like?

Top is a pi 2 that's going in a case to display my stats on the wall behind my DT.

Middle is my pi 4 for testing and building software.

Bottom is an old early 64 bit raspberry pi competitor (roseapple pi) that sadly went nowhere.. still useful to play with.

IMG_20200508_115934.jpg
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Quick question (I hope). I have a current monitor running off of I2C that is logging data to a spreadsheet. Is there anyway to have this info graphed on the dashboard? Thanks in advance for any help.
If you can make it write the values in a Simple text file then You can wire reef-pi to read that value and expose it as an analog input connector. You can then attach the analog input connector to a ph controller ui and chart/control equipment with that value
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Soo as I new person to this, being a perfectionist and wanting to do this right the following happened lol:

.. Learnt and continuing to learn Python and Linux
.. Got myself another test aquarium (partner not happy haha)
.. My home office full of electronics
.. Got to page 35 on this thread (including side threads)

And now you guys are so cruel as to tempt me to get a 3D printer with all the 3D printer talk....
ooopss to late, bought one now!!!
This thread is more of history than a manual, if you want to get started with development then learn go (not python) and/or react and join the slack channel for getting help. If you just want to build/use reef-pi then just refer to the adafruit guides
 

elysics

Valuable Member
View Badges
Joined
Jan 15, 2020
Messages
1,695
Reaction score
1,607
Rating - 0%
0   0   0
Is that textfile interface a one way street or can we get the same for outputs, like reef-pi writing the on/off status of equipment to a file?
 

kjerryh85

New Member
View Badges
Joined
Apr 22, 2020
Messages
7
Reaction score
8
Rating - 0%
0   0   0
This thread is more of history than a manual, if you want to get started with development then learn go (not python) and/or react and join the slack channel for getting help. If you just want to build/use reef-pi then just refer to the adafruit guides

The reason I'm reading the thread is because I have found so much interesting ideas that people proposed and others that started fringe projects from this one and each time I learnt from mistakes others have mentioned and gave me an insight into the development and evolution of the Reef-Pi; which is def interesting.

Go and react it is, so will go back to the drawing board and add those to my list.. Thanks.

I definitely want to do more than just do the guides, so will be joining the slack channel.
 

Simonv92

Active Member
View Badges
Joined
Oct 21, 2014
Messages
163
Reaction score
104
Location
Italy
Rating - 0%
0   0   0
What does your reef pi test rig look like?

Top is a pi 2 that's going in a case to display my stats on the wall behind my DT.

Middle is my pi 4 for testing and building software.

Bottom is an old early 64 bit raspberry pi competitor (roseapple pi) that sadly went nowhere.. still useful to play with.

IMG_20200508_115934.jpg
What are you using to show the stats on the first rpi? thanks :)
 

Simonv92

Active Member
View Badges
Joined
Oct 21, 2014
Messages
163
Reaction score
104
Location
Italy
Rating - 0%
0   0   0
@Ranjib I was looking at the Ph board on Github, the board works fine with Ph and ORP probes, does Reef-Pi accept one Ph and one ORP probe at the same time? (on 2 separate boards) thank you!
 

bobduhgeek

New Member
View Badges
Joined
Apr 23, 2020
Messages
3
Reaction score
0
Rating - 0%
0   0   0
How to fix this?
May 9 11:28:12 raspberrypi systemd[1]: reef-pi.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
 

bobduhgeek

New Member
View Badges
Joined
Apr 23, 2020
Messages
3
Reaction score
0
Rating - 0%
0   0   0
I enabled prometeus in configuration and restarted.
May 9 12:22:22 raspberrypi reef-pi[7618]: panic: descriptor Desc{fqName: "55_top_light_white_light_55", help: "Module:55 top light Item:White light 55", constLabels: {}, variableLabels: []} is invalid: "55_top_light_white_light_55" is not a valid metric name
May 9 12:22:22 raspberrypi reef-pi[7618]: goroutine 37 [running]:
May 9 12:22:22 raspberrypi reef-pi[7618]: github.com/prometheus/client_golang/prometheus.(*Registry).MustRegister(0x28fd440, 0x287b8b8, 0x1, 0x1)
May 9 12:22:22 raspberrypi reef-pi[7618]: #011/Users/ranjib/gocode/pkg/mod/github.com/prometheus/[email protected]/prometheus/registry.go:400 +0x80
May 9 12:22:22 raspberrypi reef-pi[7618]: github.com/prometheus/client_golang/prometheus.MustRegister(...)
May 9 12:22:22 raspberrypi reef-pi[7618]: #011/Users/ranjib/gocode/pkg/mod/github.com/prometheus/[email protected]/prometheus/registry.go:177
May 9 12:22:22 raspberrypi reef-pi[7618]: github.com/prometheus/client_golang/prometheus/promauto.NewGauge(0x0, 0x0, 0x0, 0x0, 0x28a4d80, 0x1b, 0x28f81e0, 0x27, 0x0, 0x28f81e0, ...)
May 9 12:22:22 raspberrypi reef-pi[7618]: #011/Users/ranjib/gocode/pkg/mod/github.com/prometheus/[email protected]/prometheus/promauto/auto.go:165 +0xb0
May 9 12:22:22 raspberrypi reef-pi[7618]: github.com/reef-pi/reef-pi/controller/telemetry.(*telemetry).EmitMetric(0x298a180, 0x28914d0, 0xc, 0x28914e0, 0xe, 0x83b7eda, 0x405263c7)
May 9 12:22:22 raspberrypi reef-pi[7618]: #011/Users/ranjib/gocode/src/github.com/reef-pi/reef-pi/controller/telemetry/stats.go:174 +0x430
May 9 12:22:22 raspberrypi reef-pi[7618]: github.com/reef-pi/reef-pi/controller/modules/lighting.(*Controller).syncLight(0x28163f0, 0x28faec0)
May 9 12:22:22 raspberrypi reef-pi[7618]: #011/Users/ranjib/gocode/src/github.com/reef-pi/reef-pi/controller/modules/lighting/light.go:140 +0x1ac
May 9 12:22:22 raspberrypi reef-pi[7618]: github.com/reef-pi/reef-pi/controller/modules/lighting.(*Controller).syncLights(0x28163f0)
May 9 12:22:22 raspberrypi reef-pi[7618]: #011/Users/ranjib/gocode/src/github.com/reef-pi/reef-pi/controller/modules/lighting/controller.go:102 +0x58
May 9 12:22:22 raspberrypi reef-pi[7618]: github.com/reef-pi/reef-pi/controller/modules/lighting.(*Controller).StartCycle(0x28163f0)
May 9 12:22:22 raspberrypi reef-pi[7618]: #011/Users/ranjib/gocode/src/github.com/reef-pi/reef-pi/controller/modules/lighting/controller.go:52 +0x3c
May 9 12:22:22 raspberrypi reef-pi[7618]: created by github.com/reef-pi/reef-pi/controller/modules/lighting.(*Controller).Start
May 9 12:22:22 raspberrypi reef-pi[7618]: #011/Users/ranjib/gocode/src/github.com/reef-pi/reef-pi/controller/modules/lighting/controller.go:48 +0x2c
May 9 12:22:22 raspberrypi systemd[1]: reef-pi.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
May 9 12:22:22 raspberrypi systemd[1]: reef-pi.service: Failed with result 'exit-code'.
 

GaryE

Well-Known Member
View Badges
Joined
Mar 12, 2020
Messages
992
Reaction score
1,321
Location
Coatesville, Indiana
Rating - 0%
0   0   0
What are you using to show the stats on the first rpi? thanks :)

Grafana / Prometheus. I have it running on my Synology DS918+ NAS. Im also pulling in weather from Openweather map to get outside air temp / humidity. (not showing on this dashboard)

All of that is displayed in browser, maximized and kiosk mode. I'm still working on trying to get it working better, as the browser tends to lock up randomly. May move to 64 bit ubuntu on the PI4 for this.
 

Simonv92

Active Member
View Badges
Joined
Oct 21, 2014
Messages
163
Reaction score
104
Location
Italy
Rating - 0%
0   0   0
@Ranjib sorry for the double message, I think I've figured out the problem with ATO alert. Running ATO without alert works fine. Then I've configured the e-mail alert and run again the ATO with a timeout of 50 second.
The first time it works perfectly, after 50 second the ATO shut off and the e-mail was sent. But if I enable again the ATO it won't work anymore, the system sends me the alert email just after the sensor has triggered. The only way to make it work again is a rebbot of the Rpi. It was designed to work like that? Thank you again! :)
 

Simonv92

Active Member
View Badges
Joined
Oct 21, 2014
Messages
163
Reaction score
104
Location
Italy
Rating - 0%
0   0   0
Grafana / Prometheus. I have it running on my Synology DS918+ NAS. Im also pulling in weather from Openweather map to get outside air temp / humidity. (not showing on this dashboard)

All of that is displayed in browser, maximized and kiosk mode. I'm still working on trying to get it working better, as the browser tends to lock up randomly. May move to 64 bit ubuntu on the PI4 for this.
Thank you very much! I'm now trying Prometheus on my VM server, have you followed a guide to setup everything?
P.S. I've Prometheus up and running, i've a problem setting up the target to reach my reef-pi. Which is the right syntax? Thank you
 
Last edited:

ARE YOU READY TO CONFESS TO CRAZIEST, DUMBEST, FUNNIEST THING YOU’VE EVER DONE IN REEFING?

  • Yeah, I'll confess! (Share your story in the comments!)

    Votes: 7 63.6%
  • Nah, I'll keep mine a secret...(Don't be like that, share with the class!)

    Votes: 4 36.4%
Back
Top
Home
Post thread…
Market
What's new