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 of my sps. I am happy to see them grow, one year back I was fairly worried that I might not be able to grow sps in 29g, but here we are after a year
8534BC44-ED5C-4FCA-800C-0EDA98482144.jpeg
96A2310D-EDC7-45A8-A9D7-8E0B992DF4CA.jpeg
5FB1E126-632D-4E81-B169-03882AE27215.jpeg
DC978669-00B4-4208-8E6B-BB4E66BE8F49.jpeg
E8C4EB67-BEF5-4C57-B5EB-CFFC688C3C79.jpeg
13AFC7FF-37F8-452B-A261-941F81B1A241.jpeg
26835810-CCBE-490F-ABA0-06D492BEDBEE.jpeg
 
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
Thank you very much. At 100% I read 0 volts, but at 99% I get about 3.3, and down to 50%, around 1.6. So it’s working perfectly. Thank you again. This build is great fun.
So, you are using pi to do the pwm, not pca9685?
 
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’ve managed to do a bit more on my build today. I didn’t like the first facade so adjusted it as in second picture to neaten it up a bit. I’m still waiting on delivery of my 7” touchscreen which I’ll mount at the top and my jumper cables to connect my relays. Once this stage is done I will be adding a ph, temp probe and hopefully a salinity gauge of some form?! If it’s possible. Then a liquid level sensor in my ato to let me know when my ro needs topping up!

2406098D-19EE-4ECC-A846-C30F628AB33B.jpeg


C075251D-3E47-4450-9636-1CAD5F4A8CEB.jpeg
Very nice . I wonder how you made those cuts ? Cnc ? Or scrollsaw ?
 
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’m using the Adafruit PWM “hat” version of the pca9685. Its a nice form factor, but it runs 3.3v volt pwm.
Thats very strange; so the vcc is wired (pcb) to 3.3 v probably. Generally we use the pca9685 breakout board and hook it up with 5v vcc, and get 5v pwm. Anyway, as long as it works for you :-)
 

justin1698

New Member
View Badges
Joined
May 16, 2018
Messages
11
Reaction score
13
Rating - 0%
0   0   0
Very nice . I wonder how you made those cuts ? Cnc ? Or scrollsaw ?
Just a normal plunge router amazing bits of kit once you learn how to use them with some control. Took me months of practice but got it now. Thanks though the fact you thought they were cnc is a huge compliment
 

CL Ingus

New Member
View Badges
Joined
May 19, 2018
Messages
7
Reaction score
4
Rating - 0%
0   0   0
Throwing my hat into the ring here. Been reading through the thread and the website. Ordered all my parts and successfully assembled a temp probe and relay control. Also have Adafruit telemetry set up for remote viewing. Works beautifully. Have experience in statistical programming Qin R and Python but physical computing is new to me so the guides are quite helpful. I’m actually borrowing my roommates tank. Included a [crappy] picture. He has a tang and two clowns and a carpet nem...I know nothing about fish or reef keeping but I’m interested in the raspberry pi and DIY automation and happy to have an empirical application. Looking forward to learning all about reef keeping, programming and electronics. Thanks for the wealth of knowledge.

On related notes I tried the beta 2.0 release and it seems the telemetry data isn’t bing sent correctly to Adafruit, health data is sent so token is being read but temp probe data is missing. Downgraded to 1.5 and all works fine

368F427C-3D24-474B-AA1A-DA13A1168316.jpeg
 

Danny Taylor

New Member
View Badges
Joined
Mar 13, 2018
Messages
11
Reaction score
6
Rating - 0%
0   0   0
hi getting there on my all in one controller got temp and ac outlets and ato working just wait for my items to get my diy light rig up do you have a bill of parts for dosing circuit and it just the atlas circuit and I need for ph thanks in advance
 

James Golden

Community Member
View Badges
Joined
Apr 8, 2018
Messages
44
Reaction score
55
Rating - 0%
0   0   0
Well crud, got the raspberry pi 3b+ loaded and set up with the beta 2.0.0, and ran into problems with it. I add the outlets on the configuration tab, go to the equipment tab and add them there, then i get this
Screen Shot 2018-05-19 at 8.47.57 AM.png
I then did the stop, delete Db, start and tried again. Same problem as before. So I removed the program, by stop, apt-get uninstall reef-pi, went and installed the 1.5 version and everything did the same as before.

here is the "check system is running"
pi@raspberrypi:~ $ sudo systemctl status reef-pi.service
reef-pi.service - raspberry pi based reef tank controller
Loaded: loaded (/lib/systemd/system/reef-pi.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2018-05-19 08:33:43 CDT; 18min ago
Main PID: 1132 (reef-pi)
CGroup: /system.slice/reef-pi.service
└─1132 /usr/bin/reef-pi -config /etc/reef-pi/config.yml
May 19 08:42:44 raspberrypi reef-pi[1132]: 2018/05/19 08:42:44 health check: Used memory: 19.5 Load5: 0.25
May 19 08:43:44 raspberrypi reef-pi[1132]: 2018/05/19 08:43:44 health check: Used memory: 19.51 Load5: 0.25
May 19 08:44:44 raspberrypi reef-pi[1132]: 2018/05/19 08:44:44 health check: Used memory: 19.54 Load5: 0.23
May 19 08:45:44 raspberrypi reef-pi[1132]: 2018/05/19 08:45:44 health check: Used memory: 19.53 Load5: 0.24
May 19 08:46:44 raspberrypi reef-pi[1132]: 2018/05/19 08:46:44 health check: Used memory: 19.57 Load5: 0.22
May 19 08:47:44 raspberrypi reef-pi[1132]: 2018/05/19 08:47:44 health check: Used memory: 19.57 Load5: 0.23
May 19 08:48:44 raspberrypi reef-pi[1132]: 2018/05/19 08:48:44 health check: Used memory: 19.57 Load5: 0.23
May 19 08:49:44 raspberrypi reef-pi[1132]: 2018/05/19 08:49:44 health check: Used memory: 19.57 Load5: 0.22
May 19 08:50:44 raspberrypi reef-pi[1132]: 2018/05/19 08:50:44 health check: Used memory: 19.56 Load5: 0.21
May 19 08:51:44 raspberrypi reef-pi[1132]: 2018/05/19 08:51:44 health check: Used memory: 19.55 Load5: 0.2
pi@raspberrypi:~ $

and the error log
pi@raspberrypi:~ $ sudo journalctl -fu reef-pi.service
-- Logs begin at Thu 2016-11-03 12:16:43 CDT. --
May 19 08:43:44 raspberrypi reef-pi[1132]: 2018/05/19 08:43:44 health check: Used memory: 19.51 Load5: 0.25
May 19 08:44:44 raspberrypi reef-pi[1132]: 2018/05/19 08:44:44 health check: Used memory: 19.54 Load5: 0.23
May 19 08:45:44 raspberrypi reef-pi[1132]: 2018/05/19 08:45:44 health check: Used memory: 19.53 Load5: 0.24
May 19 08:46:44 raspberrypi reef-pi[1132]: 2018/05/19 08:46:44 health check: Used memory: 19.57 Load5: 0.22
May 19 08:47:44 raspberrypi reef-pi[1132]: 2018/05/19 08:47:44 health check: Used memory: 19.57 Load5: 0.23
May 19 08:48:44 raspberrypi reef-pi[1132]: 2018/05/19 08:48:44 health check: Used memory: 19.57 Load5: 0.23
May 19 08:49:44 raspberrypi reef-pi[1132]: 2018/05/19 08:49:44 health check: Used memory: 19.57 Load5: 0.22
May 19 08:50:44 raspberrypi reef-pi[1132]: 2018/05/19 08:50:44 health check: Used memory: 19.56 Load5: 0.21
May 19 08:51:44 raspberrypi reef-pi[1132]: 2018/05/19 08:51:44 health check: Used memory: 19.55 Load5: 0.2
May 19 08:52:44 raspberrypi reef-pi[1132]: 2018/05/19 08:52:44 health check: Used memory: 19.61 Load5: 0.19
May 19 08:53:44 raspberrypi reef-pi[1132]: 2018/05/19 08:53:44 health check: Used memory: 19.64 Load5: 0.18
 

Erica-Renee

Valuable Member
View Badges
Joined
Oct 4, 2017
Messages
1,596
Reaction score
3,288
Location
lost
Rating - 0%
0   0   0
Well crud, got the raspberry pi 3b+ loaded and set up with the beta 2.0.0, and ran into problems with it. I add the outlets on the configuration tab, go to the equipment tab and add them there, then i get this
Screen Shot 2018-05-19 at 8.47.57 AM.png
I then did the stop, delete Db, start and tried again. Same problem as before. So I removed the program, by stop, apt-get uninstall reef-pi, went and installed the 1.5 version and everything did the same as before.

here is the "check system is running"
pi@raspberrypi:~ $ sudo systemctl status reef-pi.service
reef-pi.service - raspberry pi based reef tank controller
Loaded: loaded (/lib/systemd/system/reef-pi.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2018-05-19 08:33:43 CDT; 18min ago
Main PID: 1132 (reef-pi)
CGroup: /system.slice/reef-pi.service
└─1132 /usr/bin/reef-pi -config /etc/reef-pi/config.yml
May 19 08:42:44 raspberrypi reef-pi[1132]: 2018/05/19 08:42:44 health check: Used memory: 19.5 Load5: 0.25
May 19 08:43:44 raspberrypi reef-pi[1132]: 2018/05/19 08:43:44 health check: Used memory: 19.51 Load5: 0.25
May 19 08:44:44 raspberrypi reef-pi[1132]: 2018/05/19 08:44:44 health check: Used memory: 19.54 Load5: 0.23
May 19 08:45:44 raspberrypi reef-pi[1132]: 2018/05/19 08:45:44 health check: Used memory: 19.53 Load5: 0.24
May 19 08:46:44 raspberrypi reef-pi[1132]: 2018/05/19 08:46:44 health check: Used memory: 19.57 Load5: 0.22
May 19 08:47:44 raspberrypi reef-pi[1132]: 2018/05/19 08:47:44 health check: Used memory: 19.57 Load5: 0.23
May 19 08:48:44 raspberrypi reef-pi[1132]: 2018/05/19 08:48:44 health check: Used memory: 19.57 Load5: 0.23
May 19 08:49:44 raspberrypi reef-pi[1132]: 2018/05/19 08:49:44 health check: Used memory: 19.57 Load5: 0.22
May 19 08:50:44 raspberrypi reef-pi[1132]: 2018/05/19 08:50:44 health check: Used memory: 19.56 Load5: 0.21
May 19 08:51:44 raspberrypi reef-pi[1132]: 2018/05/19 08:51:44 health check: Used memory: 19.55 Load5: 0.2
pi@raspberrypi:~ $

and the error log
pi@raspberrypi:~ $ sudo journalctl -fu reef-pi.service
-- Logs begin at Thu 2016-11-03 12:16:43 CDT. --
May 19 08:43:44 raspberrypi reef-pi[1132]: 2018/05/19 08:43:44 health check: Used memory: 19.51 Load5: 0.25
May 19 08:44:44 raspberrypi reef-pi[1132]: 2018/05/19 08:44:44 health check: Used memory: 19.54 Load5: 0.23
May 19 08:45:44 raspberrypi reef-pi[1132]: 2018/05/19 08:45:44 health check: Used memory: 19.53 Load5: 0.24
May 19 08:46:44 raspberrypi reef-pi[1132]: 2018/05/19 08:46:44 health check: Used memory: 19.57 Load5: 0.22
May 19 08:47:44 raspberrypi reef-pi[1132]: 2018/05/19 08:47:44 health check: Used memory: 19.57 Load5: 0.23
May 19 08:48:44 raspberrypi reef-pi[1132]: 2018/05/19 08:48:44 health check: Used memory: 19.57 Load5: 0.23
May 19 08:49:44 raspberrypi reef-pi[1132]: 2018/05/19 08:49:44 health check: Used memory: 19.57 Load5: 0.22
May 19 08:50:44 raspberrypi reef-pi[1132]: 2018/05/19 08:50:44 health check: Used memory: 19.56 Load5: 0.21
May 19 08:51:44 raspberrypi reef-pi[1132]: 2018/05/19 08:51:44 health check: Used memory: 19.55 Load5: 0.2
May 19 08:52:44 raspberrypi reef-pi[1132]: 2018/05/19 08:52:44 health check: Used memory: 19.61 Load5: 0.19
May 19 08:53:44 raspberrypi reef-pi[1132]: 2018/05/19 08:53:44 health check: Used memory: 19.64 Load5: 0.18


What user name and password are you using... it might have reverted back to the reef-pi username and password and your browser is trying to use a user created one..
Refreshing browser, clear cache and history say last 24 hours chrome will prob solve this. You can test this by trying to log in on say your phone or a different computer on the same network..... Sometimes i have to reset my switch
 
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
Throwing my hat into the ring here. Been reading through the thread and the website. Ordered all my parts and successfully assembled a temp probe and relay control. Also have Adafruit telemetry set up for remote viewing. Works beautifully. Have experience in statistical programming Qin R and Python but physical computing is new to me so the guides are quite helpful. I’m actually borrowing my roommates tank. Included a [crappy] picture. He has a tang and two clowns and a carpet nem...I know nothing about fish or reef keeping but I’m interested in the raspberry pi and DIY automation and happy to have an empirical application. Looking forward to learning all about reef keeping, programming and electronics. Thanks for the wealth of knowledge.

On related notes I tried the beta 2.0 release and it seems the telemetry data isn’t bing sent correctly to Adafruit, health data is sent so token is being read but temp probe data is missing. Downgraded to 1.5 and all works fine

368F427C-3D24-474B-AA1A-DA13A1168316.jpeg
the adafruit telemetry integration need to be revisited for 2.0 release. Theres a limit of maximum 10 feeds and data rate, thats just too little for 2.0 release , since we are supporting multiple ato, temperature and ph support. I'll take a call on this soon., i.e. get rid of adadfruit integration, or update the guides to reflect the limits (and that paid accounts will be better, since they dont have feed limits). Stay tuned. Currently the integration is broken due to naming convention (it still assumes only one ato and temp sensor). I use the adafruit integration less and less as reef-pi's build in charting capabilities has been significantly improved
 

CL Ingus

New Member
View Badges
Joined
May 19, 2018
Messages
7
Reaction score
4
Rating - 0%
0   0   0
@Ranjib

I assumed it was just a naming issue. Adafruit appealed as a simple and easy data view. If you're moving away from adafruit what solution do you recommend for off-network data view? Just remote into the reefpi page?
 
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

I assumed it was just a naming issue. Adafruit appealed as a simple and easy data view. If you're moving away from adafruit what solution do you recommend for off-network data view? Just remote into the reefpi page?
I have not really decided on this yet. I know the limitations and I have to come up with some usable solution (if I can). What I want to avoid is not making wrong api calls to adafruit ( once rate limited , we’ll simply hammer them without any useful result) . So either make it clear about data limit , or allow adjusting which data should be sent , or remove it. If we do end up deciding adafruit integration then only we have to think about some alternatives .

I personally not using the offline dashboard extensively since the in-app charts are implemented. I tend to not see the graphs when not at home . And when I am out for vacation I setup port forwarding with https and a 32 char password and access everything over standard internet , no remote
 

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