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

Ryan115

Well-Known Member
View Badges
Joined
Dec 28, 2010
Messages
586
Reaction score
1,085
Location
Mississippi
Rating - 0%
0   0   0
Perfect, thank you. I am back up and running in 0.1.1
I think the problem with the config file was that I had deleted it when trying to manually remove everything.
I tried to restore it from the files in git, but then could not find the .db
I was missing the --purge when trying to remove.
 
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 found a couple of bugs in master during testing in raspberry pi, fixing those right now, ill cut the 0.2 release tonight. Th see are minor releases so while some pain is expected I want them to be usable otherwise
 

Brad Cox

Active Member
View Badges
Joined
Mar 18, 2017
Messages
346
Reaction score
399
Rating - 0%
0   0   0
I found a couple of bugs in master during testing in raspberry pi, fixing those right now, ill cut the 0.2 release tonight. Th see are minor releases so while some pain is expected I want them to be usable otherwise
Thanks!! I cant wait to get home tomorrow to test them out! My ato is ready and just needs to be wired up!
 

Ryan115

Well-Known Member
View Badges
Joined
Dec 28, 2010
Messages
586
Reaction score
1,085
Location
Mississippi
Rating - 0%
0   0   0
Sorry for responding so late, but I wanted to tell you that I am a biologist by education, and software engineer by profession. I didnt know anything about electronics 3 years back. I learned it entirely from adafruit.com tutorials, and arduino forums. Very similar to reef keeping. I still dont know much, and I also dont spend whole lotta time other than reading through things during my daily commute,. I would say start taking bay steps, get a raspberry pi, and make an LED blink :) . Its as fascinating as the first critter we see during new tank cycling. I 'll be happy to answer/assist in anything I can
Looking back over the thread I found this...
Ranjib, I am also a biologist by education and early career (there seem to be quite a few of us). It has slowly been migrating towards system design/engineering over the past decade, mostly dealing with underwater cameras and computer systems.
I am just now getting into programming beyond batch scripts in windows and arduino coding.
 

Ryan115

Well-Known Member
View Badges
Joined
Dec 28, 2010
Messages
586
Reaction score
1,085
Location
Mississippi
Rating - 0%
0   0   0
Playing around with 0.2 this morning (what time zone are you in by the way, to post the new release at ~0200CDT?)
All I have connected right now is a DS18B20 to pin7/GPIO4. I am using that as the first telemetry test, which is working & logging!!!
I am noticing the temp enable pin having persistence issues.
Is there anywhere within reef-pi to view temp? All I am seeing is system temp of the 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
Playing around with 0.2 this morning (what time zone are you in by the way, to post the new release at ~0200CDT?)
All I have connected right now is a DS18B20 to pin7/GPIO4. I am using that as the first telemetry test, which is working & logging!!!
I am noticing the temp enable pin having persistence issues.
Is there anywhere within reef-pi to view temp? All I am seeing is system temp of the pi.
I just cut the 0.2 release yesterday, you were fast in testing , even before the release announcement :-)
Unfortunately there is no place inside reef-pi to see the current temperature. I'll address this in 0.3, along side bringing back the charting capabilities , stay tuned, ill keep you posted. I 'all look into the enable pin issue. Do you seen temperature trend in adafruit ?
I'm in silicon valley, that's UTC -7 hours. Like right now is 9 am
 
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
Hello friends, if its not obvious from earlier post, 0.2 release is here. It has numerous UI bug fixes,particularly around ato sub system. This is minor release due to came module enhancements. Yes, the oldest and very first module is back core reef-pi ui after almost 10 months. When configured camera module will take photos at periodic interval. The ui will show the latest photo capture. It also allows users to take on-demand photos. Raspberry pi has normal as well as noir camera available (20$) so you can't take night photos as well as day time photos. This will provide a solid base for uploading image or sending it via email in near future.
Release builds can be found in usual place : https://github.com/reef-pi/reef-pi/releases/tag/0.2
Happy reefing
 

Ryan115

Well-Known Member
View Badges
Joined
Dec 28, 2010
Messages
586
Reaction score
1,085
Location
Mississippi
Rating - 0%
0   0   0
I just cut the 0.2 release yesterday, you were fast in testing , even before the release announcement :)
Unfortunately there is no place inside reef-pi to see the current temperature. I'll address this in 0.3, along side bringing back the charting capabilities , stay tuned, ill keep you posted. I 'all look into the enable pin issue. Do you seen temperature trend in adafruit ?
I'm in silicon valley, that's UTC -7 hours. Like right now is 9 am
Temperature is showing in adafruit, so not sure if it is just a display issue. Makes more sense on the time then, still sending updates at midnight though. Thanks for the commitment.
Let me know what I can help with. I am trying to take notes as I go. If needed I can work on a quick guide to get a headless system running, starting with SSH and and configuring remotely.
 
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
Temperature is showing in adafruit, so not sure if it is just a display issue. Makes more sense on the time then, still sending updates at midnight though. Thanks for the commitment.
Let me know what I can help with. I am trying to take notes as I go. If needed I can work on a quick guide to get a headless system running, starting with SSH and and configuring remotely.
It will be awesome if you can contribute to the temperature controller documentation: https://reef-pi.github.io/build-guides/temperature/
The code is here: https://github.com/reef-pi/website/blob/master/content/build-guides/temperature.md
You can send a github pull request, or just the raw text as PM or this thread, anything would be fine.
 
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
Temperature is showing in adafruit, so not sure if it is just a display issue. Makes more sense on the time then, still sending updates at midnight though. Thanks for the commitment.
Let me know what I can help with. I am trying to take notes as I go. If needed I can work on a quick guide to get a headless system running, starting with SSH and and configuring remotely.
I found the bug. Just fixed it. https://github.com/reef-pi/reef-pi/pull/196
I'll add a couple of more changes in the temperature controller subsystem , tentatively UI showing latest temperature reading, and may be (if i get time) last 20 values... chart. If things go as planned, I'll cut a 0.2.1 release tonight
 
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
@Brad Cox sorry for the trouble. I'll help you debug this for sure. Can you share the log (sudo journalctl -fu reef-pi.service)

Specifically check the log while you press on/off . Does the button test changes (i.e. the UI toggle between on/off )
 

Brad Cox

Active Member
View Badges
Joined
Mar 18, 2017
Messages
346
Reaction score
399
Rating - 0%
0   0   0
@Brad Cox sorry for the trouble. I'll help you debug this for sure. Can you share the log (sudo journalctl -fu reef-pi.service)

Specifically check the log while you press on/off . Does the button test changes (i.e. the UI toggle between on/off )
Wow! In my log i have cannot find gpio pin 40. I have my ato set to pin 40 for the pump.

Is there a faster way to contact u?

IMG_1994.JPG
 

Brad Cox

Active Member
View Badges
Joined
Mar 18, 2017
Messages
346
Reaction score
399
Rating - 0%
0   0   0
Wow! In my log i have cannot find gpio pin 40. I have my ato set to pin 40 for the pump.

Is there a faster way to contact u?

IMG_1994.JPG
I think i got it. I was putting in pin 40 instead of gpio21.

Same thing for the sensor. After i fixed that it works.

Except my relay dont close yet.
I have a high level trigger relay and i think i need a low level one correct?
 
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 think i got it. I was putting in pin 40 instead of gpio21.

Same thing for the sensor. After i fixed that it works.

Except my relay dont close yet.
I have a high level trigger relay and i think i need a low level one correct?
Can you post a pic of your relay? Most relays can be used in both configuration. In early version of reef-pi this was configurable but since most relay can be configured in both ways, I removed it, to simplify things, and resort to a common behavior that relays will be closed by default and pulled up explicitly to switch on.
Im glad you find out the GPIO pin issue. This is a common issue, something I have mentioned quiet a few time, that the pin numbers represent GPIO pin number, not serial numbers
 

Brad Cox

Active Member
View Badges
Joined
Mar 18, 2017
Messages
346
Reaction score
399
Rating - 0%
0   0   0
Can you post a pic of your relay? Most relays can be used in both configuration. In early version of reef-pi this was configurable but since most relay can be configured in both ways, I removed it, to simplify things, and resort to a common behavior that relays will be closed by default and pulled up explicitly to switch on.
Im glad you find out the GPIO pin issue. This is a common issue, something I have mentioned quiet a few time, that the pin numbers represent GPIO pin number, not serial numbers
Yea this one is fixed. I cant change it.

IMG_1995.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
Bummer. I'll bring back the high state config. Meanwhile, you can still use the equipments tab right?Its just the buttons means opposite , when you click off, it should turn on equipment and when you click on, it should turn off. Am I right on this?
 
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
Is there pH monitoring functionality in this yet?
Not yet. The code for ph monitoring is in prototype phase, (developed by a local reefer). I plan to integrate it after 1.0 release (unless someone else chime in). But it is definitely something I would like to be in reef-pi
 

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: 1 33.3%
  • Nah, I'll keep mine a secret...(Don't be like that, share with the class!)

    Votes: 2 66.7%
Back
Top
Home
Post thread…
Market
What's new