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

b4tn

Valuable Member
View Badges
Joined
Jun 17, 2015
Messages
1,679
Reaction score
2,227
Location
Columbia MD
Rating - 0%
0   0   0
LOL, I gave up reading the whole thing. I now search the thread only when I come up with a question. I have a folder on my desktop at work called reef-pi and I have it filled with shortcuts to individual posts with the information I need to go back to when I get all my parts in order.
 
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
LOL, I gave up reading the whole thing. I now search the thread only when I come up with a question. I have a folder on my desktop at work called reef-pi and I have it filled with shortcuts to individual posts with the information I need to go back to when I get all my parts in order.
Can you share that with me :-)
I had thought of doing that, but I ran out of time :-( . I was interested in many things, including
- All the build images
- All the known builds
- Any extension work that can be used across other builds (HATs, tricks, 3 printed parts etc)
- Common and major failure modes and issues.

I also tried to do some of this programmatically, but r2r does not have any API (in fact i also considered a semi-automatic journal where reef-pi will upload weekly stats as r2r post in a build thread) to analyze a thread, and I am not sure scraping it using a crawler (such as mechanize) would be against rule (or ethically wrong).
But again.. theres a lot of good reusable information that needs to be extracted and condensed from this thread. May be we can use some community help and make sub=threads driven by volunteers.
 

philshel

Active Member
View Badges
Joined
Jul 24, 2010
Messages
365
Reaction score
375
Rating - 0%
0   0   0
Can you share that with me :)
I had thought of doing that, but I ran out of time :-( . I was interested in many things, including
- All the build images
- All the known builds
- Any extension work that can be used across other builds (HATs, tricks, 3 printed parts etc)
- Common and major failure modes and issues.

I also tried to do some of this programmatically, but r2r does not have any API (in fact i also considered a semi-automatic journal where reef-pi will upload weekly stats as r2r post in a build thread) to analyze a thread, and I am not sure scraping it using a crawler (such as mechanize) would be against rule (or ethically wrong).
But again.. theres a lot of good reusable information that needs to be extracted and condensed from this thread. May be we can use some community help and make sub=threads driven by volunteers.

@Ranjib I wonder if you expected this to become so popular and/or go this far? It might be getting to a point where you need to take this project to it's own site and have all the control you need to keep everything organized. I've been around long enough that reading the whole tread was doable, but I still find myself trying to find something I remember reading months ago and it can be pretty difficult. reef-pi may have outgrown R2R.
 
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 wonder if you expected this to become so popular and/or go this far? It might be getting to a point where you need to take this project to its own site and have all the control you need to keep everything organized. I've been around long enough that reading the whole thread was doable, but I still find myself trying to find something I remember reading months ago and it can be pretty difficult. reef-pi may have outgrown R2R.
Running a forum site is a lot of work :-). We can do a google group or something. But then there's another aspect to it, which is staying close to the cause, I don't want reef-pi to be a tech-centric thing. Its focus is to ease reef keeping, and having the discussion here helps with that cause. We have an opportunity to learn the best reef keeping habits and address the most common challenges here by being with the community.
That said, I'll link the important posts in this thread to reef-pi website as a separate blog. I don't think it will be hard to just create dedicated threads and builds, we can group them with #reefpi tag. If the original authors are not interested in it, I'll take permission from them and start those. We can sticky those links in the very first page of this thread. There are a lot of other tricks we can do to address most of the current challenges, here in r2r, where the community lives.
 

DirtDiggler2823

If I can't break it, it doesn't exist
View Badges
Joined
Jul 31, 2018
Messages
1,667
Reaction score
2,075
Location
Gambrills
Rating - 0%
0   0   0
Running a forum site is a lot of work :). We can do a google group or something. But then there's another aspect to it, which is staying close to the cause, I don't want reef-pi to be a tech-centric thing. Its focus is to ease reef keeping, and having the discussion here helps with that cause. We have an opportunity to learn the best reef keeping habits and address the most common challenges here by being with the community.
That said, I'll link the important posts in this thread to reef-pi website as a separate blog. I don't think it will be hard to just create dedicated threads and builds, we can group them with #reefpi tag. If the original authors are not interested in it, I'll take permission from them and start those. We can sticky those links in the very first page of this thread. There are a lot of other tricks we can do to address most of the current challenges, here in r2r, where the community lives.

Agreed
 

philshel

Active Member
View Badges
Joined
Jul 24, 2010
Messages
365
Reaction score
375
Rating - 0%
0   0   0
Running a forum site is a lot of work :). We can do a google group or something. But then there's another aspect to it, which is staying close to the cause, I don't want reef-pi to be a tech-centric thing. Its focus is to ease reef keeping, and having the discussion here helps with that cause. We have an opportunity to learn the best reef keeping habits and address the most common challenges here by being with the community.
That said, I'll link the important posts in this thread to reef-pi website as a separate blog. I don't think it will be hard to just create dedicated threads and builds, we can group them with #reefpi tag. If the original authors are not interested in it, I'll take permission from them and start those. We can sticky those links in the very first page of this thread. There are a lot of other tricks we can do to address most of the current challenges, here in r2r, where the community lives.

Whatever you think is best. I once again wonder if you just hate to sleep?
 

ScottBrew

Active Member
View Badges
Joined
Oct 17, 2018
Messages
385
Reaction score
865
Location
Dunedin Florida
Rating - 0%
0   0   0
Ranjib, I want to thank you for the (obviously) countless hours invested in this awesome project! I'd also like to thank everyone who has contributed to furthering the capabilities of the reef-pi systems! The information is scattered over numerous websites and I had to hunt a bit to get a tentative grasp of how it all works, but it's all quite impressive. Parts have been trickling in all week from Amazon. I had to steal the Raspberry-pi from the bedroom movie server the other night to load Raspbian and the reef-pi software until I got the new pi. Hooked up a couple relays and made the lights blink on and off. it will take me a few more days to get everything assembled and tested. Again, thank you, my hat is off to you!
 
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 want to thank you for the (obviously) countless hours invested in this awesome project! I'd also like to thank everyone who has contributed to furthering the capabilities of the reef-pi systems! The information is scattered over numerous websites and I had to hunt a bit to get a tentative grasp of how it all works, but it's all quite impressive. Parts have been trickling in all week from Amazon. I had to steal the Raspberry-pi from the bedroom movie server the other night to load Raspbian and the reef-pi software until I got the new pi. Hooked up a couple relays and made the lights blink on and off. it will take me a few more days to get everything assembled and tested. Again, thank you, my hat is off to you!
Thank you for the kind words. Your appreciation is one of the thing that keeps us motivated :-)
 
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 want to thank you for the (obviously) countless hours invested in this awesome project! I'd also like to thank everyone who has contributed to furthering the capabilities of the reef-pi systems! The information is scattered over numerous websites and I had to hunt a bit to get a tentative grasp of how it all works, but it's all quite impressive. Parts have been trickling in all week from Amazon. I had to steal the Raspberry-pi from the bedroom movie server the other night to load Raspbian and the reef-pi software until I got the new pi. Hooked up a couple relays and made the lights blink on and off. it will take me a few more days to get everything assembled and tested. Again, thank you, my hat is off to you!
And a warm welcome to reef2reef :-)
 

b4tn

Valuable Member
View Badges
Joined
Jun 17, 2015
Messages
1,679
Reaction score
2,227
Location
Columbia MD
Rating - 0%
0   0   0
Can you share that with me :)
I had thought of doing that, but I ran out of time :-( . I was interested in many things, including
- All the build images
- All the known builds
- Any extension work that can be used across other builds (HATs, tricks, 3 printed parts etc)
- Common and major failure modes and issues.

I also tried to do some of this programmatically, but r2r does not have any API (in fact i also considered a semi-automatic journal where reef-pi will upload weekly stats as r2r post in a build thread) to analyze a thread, and I am not sure scraping it using a crawler (such as mechanize) would be against rule (or ethically wrong).
But again.. theres a lot of good reusable information that needs to be extracted and condensed from this thread. May be we can use some community help and make sub=threads driven by volunteers.

I dont have much of what you are looking for but these are the links I have saved. Since I have not started building yet I have not dove into the software aspect yet.

Adafruit Motor lesson
https://learn.adafruit.com/adafruit-raspberry-pi-lesson-9-controlling-a-dc-motor?view=all

Doser diagram
https://www.reef2reef.com/threads/r...-on-raspberry-pi.289256/page-304#post-5069096

Using a float a mechanical float switch
https://www.reef2reef.com/threads/r...-on-raspberry-pi.289256/page-194#post-4559560

PH probe circuit
https://www.reef2reef.com/threads/r...troller-based-on-raspberry-pi.289256/page-183

PH EZO datasheet
https://www.atlas-scientific.com/_files/_datasheets/_circuit/pH_EZO_datasheet.pdf

WYKAT HAT info
https://www.reef2reef.com/threads/r...-on-raspberry-pi.289256/page-292#post-5016755
 

ScottBrew

Active Member
View Badges
Joined
Oct 17, 2018
Messages
385
Reaction score
865
Location
Dunedin Florida
Rating - 0%
0   0   0
The parts that have arrived already. I was a bit disappointed by the 8 channel relay having a missed solder joint though.

IMG_20181018_101746.jpg


20181015_214308.jpg
 

b4tn

Valuable Member
View Badges
Joined
Jun 17, 2015
Messages
1,679
Reaction score
2,227
Location
Columbia MD
Rating - 0%
0   0   0
Is there any specifics on what GPIO pins are reserved for what and why? From what I gather GPIO 2 and 3 are reserved for I2C (in my case PH) but what I cant seem to find is which other GPIO pins are free for all and which pins are reserved specific for PWM, temp, ATO, etc.
 

Flotto

Community Member
View Badges
Joined
Nov 28, 2017
Messages
27
Reaction score
65
Rating - 0%
0   0   0
Hi guys,

I just updated my reef-pi installation to 2.0.0-rc1 on a Pi-0 and now I can't set up the temperature module anymore. Could someone please take a look?

Output from sudo journalctl -fu reef-pi.service:
Oct 18 19:09:55 FlottoPi0 reef-pi[1957]: 2018/10/18 19:09:55 ERROR: Failed to list
Oct 18 19:09:55 FlottoPi0 reef-pi[1957]: 2018/10/18 19:09:55 ERROR: GET /api/tcs json: cannot unmarshal array into Go value of type temperature.TC
Oct 18 19:10:08 FlottoPi0 reef-pi[1957]: 2018/10/18 19:10:08 Reading temperature from device: 28-03173188afff
Oct 18 19:10:11 FlottoPi0 reef-pi[1957]: 2018/10/18 19:10:11 temperature sub-system: sensor Trigon value: 26.25

Output from 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 Thu 2018-10-18 19:04:19 CEST; 14min ago
Main PID: 1957 (reef-pi)
CGroup: /system.slice/reef-pi.service
└─1957 /usr/bin/reef-pi daemon -config /etc/reef-pi/config.yml
Oct 18 19:18:49 FlottoPi0 reef-pi[1957]: 2018/10/18 19:18:49 lighting-subsystem: Setting PWM value: 0 at channel: 2
Oct 18 19:18:49 FlottoPi0 reef-pi[1957]: 2018/10/18 19:18:49 Lighting sub-system: diurnal profile: after end time. Value: 0
Oct 18 19:18:49 FlottoPi0 reef-pi[1957]: 2018/10/18 19:18:49 lighting-subsystem: Setting PWM value: 0 at channel: 6
Oct 18 19:18:49 FlottoPi0 reef-pi[1957]: 2018/10/18 19:18:49 lighting-subsystem: Setting PWM value: 38 at channel: 7
Oct 18 19:18:49 FlottoPi0 reef-pi[1957]: 2018/10/18 19:18:49 lighting-subsystem: Setting PWM value: 14 at channel: 8
Oct 18 19:18:49 FlottoPi0 reef-pi[1957]: 2018/10/18 19:18:49 Lighting sub-system: diurnal profile: after end time. Value: 0
Oct 18 19:18:49 FlottoPi0 reef-pi[1957]: 2018/10/18 19:18:49 lighting-subsystem: Setting PWM value: 0 at channel: 10
Oct 18 19:18:49 FlottoPi0 reef-pi[1957]: 2018/10/18 19:18:49 lighting-subsystem: Setting PWM value: 33 at channel: 11
Oct 18 19:18:55 FlottoPi0 reef-pi[1957]: 2018/10/18 19:18:55 Reading temperature from device: 28-03173188afff
Oct 18 19:18:56 FlottoPi0 reef-pi[1957]: 2018/10/18 19:18:56 temperature sub-system: sensor Trigon value: 26.25
 
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
The parts that have arrived already. I was a bit disappointed by the 8 channel relay having a missed solder joint though.

IMG_20181018_101746.jpg


20181015_214308.jpg
Exciting. On the plus side I’m glad you noticed the un-soldered pin. Should be easy to fix
 
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
Is there any specifics on what GPIO pins are reserved for what and why? From what I gather GPIO 2 and 3 are reserved for I2C (in my case PH) but what I cant seem to find is which other GPIO pins are free for all and which pins are reserved specific for PWM, temp, ATO, etc.
We have a page in general guides , which has a recommended pin map at the bottom
https://reef-pi.github.io/general-guides/electronics/
But it’s outdated for 2.0 release , I’ll have to update it before 2.0 release

In general we use i2c pins for pca9685 and ph sensor, gpio 4 for temperature sensor and gpio 18/19 for pi based pwm (probably not required if you are using pca9685). Rest all the gpio (including spi and uart) is up for grab to be used across relay (outlet) and ato (inlet)
 
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 guys,

I just updated my reef-pi installation to 2.0.0-rc1 on a Pi-0 and now I can't set up the temperature module anymore. Could someone please take a look?

Output from sudo journalctl -fu reef-pi.service:
Oct 18 19:09:55 FlottoPi0 reef-pi[1957]: 2018/10/18 19:09:55 ERROR: Failed to list
Oct 18 19:09:55 FlottoPi0 reef-pi[1957]: 2018/10/18 19:09:55 ERROR: GET /api/tcs json: cannot unmarshal array into Go value of type temperature.TC
Oct 18 19:10:08 FlottoPi0 reef-pi[1957]: 2018/10/18 19:10:08 Reading temperature from device: 28-03173188afff
Oct 18 19:10:11 FlottoPi0 reef-pi[1957]: 2018/10/18 19:10:11 temperature sub-system: sensor Trigon value: 26.25

Output from 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 Thu 2018-10-18 19:04:19 CEST; 14min ago
Main PID: 1957 (reef-pi)
CGroup: /system.slice/reef-pi.service
└─1957 /usr/bin/reef-pi daemon -config /etc/reef-pi/config.yml
Oct 18 19:18:49 FlottoPi0 reef-pi[1957]: 2018/10/18 19:18:49 lighting-subsystem: Setting PWM value: 0 at channel: 2
Oct 18 19:18:49 FlottoPi0 reef-pi[1957]: 2018/10/18 19:18:49 Lighting sub-system: diurnal profile: after end time. Value: 0
Oct 18 19:18:49 FlottoPi0 reef-pi[1957]: 2018/10/18 19:18:49 lighting-subsystem: Setting PWM value: 0 at channel: 6
Oct 18 19:18:49 FlottoPi0 reef-pi[1957]: 2018/10/18 19:18:49 lighting-subsystem: Setting PWM value: 38 at channel: 7
Oct 18 19:18:49 FlottoPi0 reef-pi[1957]: 2018/10/18 19:18:49 lighting-subsystem: Setting PWM value: 14 at channel: 8
Oct 18 19:18:49 FlottoPi0 reef-pi[1957]: 2018/10/18 19:18:49 Lighting sub-system: diurnal profile: after end time. Value: 0
Oct 18 19:18:49 FlottoPi0 reef-pi[1957]: 2018/10/18 19:18:49 lighting-subsystem: Setting PWM value: 0 at channel: 10
Oct 18 19:18:49 FlottoPi0 reef-pi[1957]: 2018/10/18 19:18:49 lighting-subsystem: Setting PWM value: 33 at channel: 11
Oct 18 19:18:55 FlottoPi0 reef-pi[1957]: 2018/10/18 19:18:55 Reading temperature from device: 28-03173188afff
Oct 18 19:18:56 FlottoPi0 reef-pi[1957]: 2018/10/18 19:18:56 temperature sub-system: sensor Trigon value: 26.25
Which version you were running before ? If you are upgrading from 1.0 , you ll have to delete the database and start over configuring everything
 

Flotto

Community Member
View Badges
Joined
Nov 28, 2017
Messages
27
Reaction score
65
Rating - 0%
0   0   0
Which version you were running before ? If you are upgrading from 1.0 , you ll have to delete the database and start over configuring everything

I upgraded from 1.5 which was running stable since its been released.
 

TOP 10 Trending Threads

WHAT AMOUNT OF LIVE ROCK AND SAND SHOULD BE PRIORITIZED FOR OPTIMAL BIODIVERSITY/FILTRATION?

  • 100% live rock + bagged sand

    Votes: 37 27.4%
  • 100% dry rock + 100% live sand

    Votes: 46 34.1%
  • 50/50 live/dry rock, 50/50 live/bagged sand

    Votes: 30 22.2%
  • 75% live rock, 25% live sand

    Votes: 12 8.9%
  • 25% live rock, 75% live sand

    Votes: 10 7.4%
Back
Top