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 should add to my above post that i've updated factories.go to include my driver directory, and placed it in it's own directory in /gospace/pkg/dep/sources/https---github.com-reef--pi-drivers/ and did a make clean and make start-dev...but still no joy.
you can develop your driver code in someplace inside the reef-pi repo itself (not in reef-pi/driver), and wire it up in here . Once its tested with your physical setup, copy the driver code in reef-pi/drivers, unit test it and raise a PR against reef-pi/drivers. You can refer to your pr branc of reef-pi/drivers that has your code in reef-pi controller repo under Gopkg.toml . Currently it points to master, change it to your remote branch and test again. Let me know if you need any help
 
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 should add to my above post that i've updated factories.go to include my driver directory, and placed it in it's own directory in /gospace/pkg/dep/sources/https---github.com-reef--pi-drivers/ and did a make clean and make start-dev...but still no joy.
Did the existing hs1xxx driver worked?
 
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 should add to my above post that i've updated factories.go to include my driver directory, and placed it in it's own directory in /gospace/pkg/dep/sources/https---github.com-reef--pi-drivers/ and did a make clean and make start-dev...but still no joy.
You have to update the Gopkg.toml and run dep ensure -update github.com/reef-pi/drivers etc.. dont take that route right now. Just keep the code inside reef-pi controller repo and hook it up in the factory as i mentioned before
 

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
We have to cross check if the culprit is reef-pi or something else running on pi. Assuming its reef-pi, I am noticing 20% memory usage increase in past 10 days. Is that assessment correct? Can you share some details around what all you have configured on the reef-pi? I can then reproduce and fix the issue. I am specifically looking at timer, lights, ato, temp controller, ph etc.

It's been almost 24 hours, and my resources are getting chewed up. I'm not running a lot from this box, but since the pH probe went online, it's been a problem. Anything else I can provide to help with this?

23 hours.JPG


fuge light.JPG


temp.JPG


ATO.JPG


pH mem.JPG
 

dmolavi

Well-Known Member
View Badges
Joined
Jan 3, 2015
Messages
509
Reaction score
640
Location
United States
Rating - 0%
0   0   0
you can develop your driver code in someplace inside the reef-pi repo itself (not in reef-pi/driver), and wire it up in here . Once its tested with your physical setup, copy the driver code in reef-pi/drivers, unit test it and raise a PR against reef-pi/drivers. You can refer to your pr branc of reef-pi/drivers that has your code in reef-pi controller repo under Gopkg.toml . Currently it points to master, change it to your remote branch and test again. Let me know if you need any help

I added it to my factories.go....so i need to push to my clone and point to that? Before i test w/ my physical setup?
 
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 added it to my factories.go....so i need to push to my clone and point to that? Before i test w/ my physical setup?
No... this should be enough to test it at your end
 

dmolavi

Well-Known Member
View Badges
Joined
Jan 3, 2015
Messages
509
Reaction score
640
Location
United States
Rating - 0%
0   0   0
No... this should be enough to test it at your end

do i need to do an import here?

Edit: basically, i've got my foo.go and foo_hal.go files. Where do I need to put them, and what import change do i make to factories.go? I added the case to the switch statement, still no luck...

Edit 2: i'm missing something basic here. i changed the 'hs1xx' to 'hs1xx123' but didn't change the json file and it still got added, even after a fresh make start-dev. do i need to do something else to get the factories.go changes to kick in?
 
Last edited:

AquaRaider44

#Reef4Life
View Badges
Joined
Apr 19, 2019
Messages
526
Reaction score
820
Location
Brevard County
Rating - 0%
0   0   0
Anyone using MarsAqua or other similar black box lights with success please let me know how long you run the lights for on each color and what intensity you use. I have a mixed reef tank with a little of everything.
 

asting

Active Member
View Badges
Joined
Nov 8, 2016
Messages
168
Reaction score
124
Rating - 0%
0   0   0
Anyone using MarsAqua or other similar black box lights with success please let me know how long you run the lights for on each color and what intensity you use. I have a mixed reef tank with a little of everything.
That is going to depend on a multitude of factors including depth, coral placement, number of lights, how the lights are mounted (including distance from the surface).
 

asting

Active Member
View Badges
Joined
Nov 8, 2016
Messages
168
Reaction score
124
Rating - 0%
0   0   0
Apologies if this has been answered, or addressed, but has anyone used the cheap 2 in 1 salinity and ph probes to connect to the raspberry pi? I already have an inkbird and smart outlets i use for power, so i'm just hoping to be able to log and monitor ph, temperature, and salinity. for $70 for salinity and PH, it seems like a pretty cool setup if it were possible to tear into and read values.

Here's the type of monitor i'm talking about.
https://www.ebay.com/itm/Aquarium-E...553595?hash=item25a74bd07b:g:34gAAOSwKrhVaqTW
 

Ryan115

Well-Known Member
View Badges
Joined
Dec 28, 2010
Messages
586
Reaction score
1,085
Location
Mississippi
Rating - 0%
0   0   0
Anyone using MarsAqua or other similar black box lights with success please let me know how long you run the lights for on each color and what intensity you use. I have a mixed reef tank with a little of everything.
I am using an SB Reef Lights basic 32" over a 90g. It is mounted ~8" above the water line.
Here is my light cycle
upload_2019-6-16_17-51-8.png
 

AquaRaider44

#Reef4Life
View Badges
Joined
Apr 19, 2019
Messages
526
Reaction score
820
Location
Brevard County
Rating - 0%
0   0   0
@Ranjib Hello, how do I update to 3.0.0-pre-alpha-2 or install this version? I have never done a Reef-Pi update before and am on 2.3. Thank you!
Updated followed the guide and your post as well as @Michael Lane 's help. Wish I knew that deleting the database deleted all the settings. I thought it heald the old temperature data and stuff like that. I am all back up and running!
 

rushbattle

Valuable Member
View Badges
Joined
Oct 19, 2016
Messages
1,347
Reaction score
1,628
Location
Equality
Rating - 0%
0   0   0
Updated followed the guide and your post as well as @Michael Lane 's help. Wish I knew that deleting the database deleted all the settings. I thought it heald the old temperature data and stuff like that. I am all back up and running!
To be fair to @Ranjib I think he does say that in a number of places. I have seen some folks that were considering making some changes that allowed the data to translate to the updated reef-pi, but haven't seen any mention of a completed change that allowed that.
 

AquaRaider44

#Reef4Life
View Badges
Joined
Apr 19, 2019
Messages
526
Reaction score
820
Location
Brevard County
Rating - 0%
0   0   0
To be fair to @Ranjib I think he does say that in a number of places. I have seen some folks that were considering making some changes that allowed the data to translate to the updated reef-pi, but haven't seen any mention of a completed change that allowed that.
Yep, it is probably my fault. I should probably read more/better.
 
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
Apologies if this has been answered, or addressed, but has anyone used the cheap 2 in 1 salinity and ph probes to connect to the raspberry pi? I already have an inkbird and smart outlets i use for power, so i'm just hoping to be able to log and monitor ph, temperature, and salinity. for $70 for salinity and PH, it seems like a pretty cool setup if it were possible to tear into and read values.

Here's the type of monitor i'm talking about.
https://www.ebay.com/itm/Aquarium-E...553595?hash=item25a74bd07b:g:34gAAOSwKrhVaqTW
Nope, you can give it a shot and let us know if they are reliable.
 

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,811
Rating - 0%
0   0   0
Yep, it is probably my fault. I should probably read more/better.

Its all good now, you are back up and running. Once I have all my settings where i want them, I make a copy of the reef pi database file and keep it just in case tinkering around causes me to need it. It saves having to re do all the settings again
 

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,811
Rating - 0%
0   0   0
Apologies if this has been answered, or addressed, but has anyone used the cheap 2 in 1 salinity and ph probes to connect to the raspberry pi? I already have an inkbird and smart outlets i use for power, so i'm just hoping to be able to log and monitor ph, temperature, and salinity. for $70 for salinity and PH, it seems like a pretty cool setup if it were possible to tear into and read values.

Here's the type of monitor i'm talking about.
https://www.ebay.com/itm/Aquarium-E...553595?hash=item25a74bd07b:g:34gAAOSwKrhVaqTW

I was where you are now a while ago. I had an inkbird itc-1000 i used for a temp controller and some etekcity smart outlets for my setup. Then I read about reef-pi and built my own controller. I am much happier with the control and monitoring of my tank since I did that.

Make a reef pi!!!
 

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.1%
  • 100% dry rock + 100% live sand

    Votes: 47 33.6%
  • 50/50 live/dry rock, 50/50 live/bagged sand

    Votes: 31 22.1%
  • 75% live rock, 25% live sand

    Votes: 14 10.0%
  • 25% live rock, 75% live sand

    Votes: 10 7.1%
Back
Top