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

Discussion in 'Do It Yourself (DIY)' started by Ranjib, Feb 10, 2017.

  1. Tom Bishop

    Tom Bishop Active Member

    Joined:
    Jan 1, 2019
    Messages:
    223
    Likes Received:
    478
    Location:
    Missouri
    This is what I could find deals with current and historical stats, see above. I also saw an old post about the io feed consuming memory. Once I made the changes listed above my memory has been really flat.
     
    crusso1993 likes this.

  2. daveCB

    daveCB Member

    Joined:
    Nov 5, 2013
    Messages:
    30
    Likes Received:
    61
    Location:
    Mays Landing, NJ
    I think so. The 2.3 version only updated the lighting frequency issue.
     
    Ranjib likes this.
  3. Soulreefer

    Soulreefer Member

    Joined:
    Aug 16, 2018
    Messages:
    18
    Likes Received:
    35
    Location:
    Jakarta, Indonesia
    Hallow ranjib. Can Reef Pi be installed on Orange Pi?

    Thanks
     
    Tom Bishop likes this.
  4. Stephen Olner

    Stephen Olner Member

    Joined:
    Jun 10, 2017
    Messages:
    24
    Likes Received:
    23
    Location:
    Bartlesville, Oklahoma
    Sorry wasn’t trying to be vague as I don’t know the code or who has written it or what level of programming experience the developer has. I’ll go back to just reading the thread.
     
    Tom Bishop likes this.
  5. Tom Bishop

    Tom Bishop Active Member

    Joined:
    Jan 1, 2019
    Messages:
    223
    Likes Received:
    478
    Location:
    Missouri
    I'm sure Ranjib will chime in soon but I did a quick look up, it appears that orange pi can run a version of raspbian so it might be possible. I have not seen anyone recently posting about using one and not sure about the pinouts compared to a raspberry pi. Might be one of those try it out and post back on your findings. :)
     
    Ranjib and crusso1993 like this.
  6. Tom Bishop

    Tom Bishop Active Member

    Joined:
    Jan 1, 2019
    Messages:
    223
    Likes Received:
    478
    Location:
    Missouri
    Have you checked out the github page - https://github.com/reef-pi/reef-pi that is where the code base is located and contains additional information concerning the code base.
     
    Ranjib, crusso1993 and Michael Lane like this.
  7. Ranjib

    Ranjib Valuable Member R2R Supporter R2R Excellence Award Reef Squad Build Thread Contributor

    Joined:
    Apr 16, 2016
    Messages:
    5,880
    Likes Received:
    9,713
    Location:
    Palo Alto, Bay Area
    It’s a slow memory increase over the course of a month, it’s still not a level that should cause alarm (less than 50%). I’ll wait for another month before concluding this is a leak (and reload reef-pi) . Since reef-pi stores a month worth of usage data in memory this is not unexpected (memory utilization to grow slowly over a period of month)
     
  8. Ranjib

    Ranjib Valuable Member R2R Supporter R2R Excellence Award Reef Squad Build Thread Contributor

    Joined:
    Apr 16, 2016
    Messages:
    5,880
    Likes Received:
    9,713
    Location:
    Palo Alto, Bay Area
    I don’t know, reef-pi builds are for arm6/7 and it expects raspberry pi like gpio layout. If those two bits are same as pi in orange pi, then reef-pi should run just fine, else it may need some build or code changes
     
    crusso1993 and Tom Bishop like this.
  9. Ranjib

    Ranjib Valuable Member R2R Supporter R2R Excellence Award Reef Squad Build Thread Contributor

    Joined:
    Apr 16, 2016
    Messages:
    5,880
    Likes Received:
    9,713
    Location:
    Palo Alto, Bay Area
    The very first post in this thread and reef-pi website has repository details. It’s a standard github based open source project. It involved pretty standard stack of go based backend and react based front end. It’s very similar to professional software projects (or any good open source projects ) with full unit tests, integration tests, ci/cd pipeline and developer environment docs. Because it has all the standard bits, if you are new to any of this, it will be some learning. But at the same time you are learning fairly standard software development practices, which should be useful outside the scope of this project as well
     
    Michael Lane and crusso1993 like this.
  10. theatrus

    theatrus Well-Known Member R2R Supporter Build Thread Contributor

    Joined:
    Mar 26, 2016
    Messages:
    847
    Likes Received:
    1,691
    Location:
    Sacramento, CA area
    I expect a few things might differ or there are some hard baked assumptions about particular things (which I2C bus to use, etc). Worth trying and reporting back!
     
    Ranjib likes this.
  11. stefanm

    stefanm Active Member

    Joined:
    Oct 11, 2017
    Messages:
    159
    Likes Received:
    232
    @Ranjib, I'm having a hard time to get the macros to work, I basically would like to have one to shut off the chiller and all pumps for 10 minutes for feeding and another for the same equipment for 30 minutes for maintenance.

    Is there a bug? Or am I just doing it all wrong?
     
    Ranjib likes this.
  12. Bigtrout

    Bigtrout Active Member R2R Supporter R2R Excellence Award

    Joined:
    Dec 16, 2018
    Messages:
    448
    Likes Received:
    1,170
    Have a screenshot of your macro?
     
    Ranjib likes this.
  13. Tom Bishop

    Tom Bishop Active Member

    Joined:
    Jan 1, 2019
    Messages:
    223
    Likes Received:
    478
    Location:
    Missouri
    Here is my screenshot for my 5min feeding break, turns of my filter-

    Screenshot at 2019-03-13 19-21-45.png

    Yours probably looks similar but thought I would post.
     
    Ranjib and stefanm like this.
  14. crusso1993

    crusso1993 Valuable Member Partner Member 2019 Hospitality Award

    Joined:
    Oct 21, 2018
    Messages:
    1,436
    Likes Received:
    5,095
    Location:
    Chicago, IL, USA
    Happy Pi Day everyone!
     
  15. stefanm

    stefanm Active Member

    Joined:
    Oct 11, 2017
    Messages:
    159
    Likes Received:
    232
    Thanks got mine working, I had to add the temperature probe that controls the chiller, which is set to check every 90 seconds, works great I'll add another for maintenance maybe 20 minutes.

    IMG_20190314_174630.jpg
     
    Ranjib and crusso1993 like this.
  16. Ranjib

    Ranjib Valuable Member R2R Supporter R2R Excellence Award Reef Squad Build Thread Contributor

    Joined:
    Apr 16, 2016
    Messages:
    5,880
    Likes Received:
    9,713
    Location:
    Palo Alto, Bay Area
    Yay :)
     
    rushbattle, Tom Bishop and crusso1993 like this.
  17. kapnkush608

    kapnkush608 Member

    Joined:
    Jul 10, 2012
    Messages:
    54
    Likes Received:
    30
    Location:
    lamesville
    I'm building a reef pi dosing pump and I'm wondering if I can run a pi3 b+ without altering any steps, mainly concerning the power and using the lm2596 converter.
     
    Ranjib likes this.
  18. b4tn

    b4tn Valuable Member Build Thread Contributor

    Joined:
    Jun 17, 2015
    Messages:
    1,153
    Likes Received:
    1,598
    Location:
    Ellicott City MD
    I use the b+ With no issues.
     
    Ranjib likes this.
  19. Fernando Juarez

    Fernando Juarez New Member

    Joined:
    Friday
    Messages:
    1
    Likes Received:
    2
    Hello everyone, greetings from Guatemala. After looking for ideas to build a controller for aquariums, since I spend all week outside my house and only return on weekends, I needed a way to keep my reef controlled and monitored. Reef-pi is excellent. Congratulations to all those involved in the development, especially the creator Ranjib.

    I have two questions:

    1. Monitoring by IO does not work for me Adafruit gives me this error:

    Mar 15 11:39:21
    {"error":"request failed - failed to save data to feed acuarioato-ato-reading. undefined method `\u003e' for nil:NilClass"}
    Mar 15 11:39:19
    {"error":"request failed - failed to save data to feed acuarioato-ato-usage. undefined method `\u003e' for nil:NilClass"}
    Mar 15 11:39:20
    {"error":"not found - that is an invalid URL, please check the API documentation at https://io.adafruit.com/api/docs to make sure your URL is correct"}
    Mar 15 11:39:23
    {"error":"not found - that is an invalid URL, please check the API documentation at https://io.adafruit.com/api/docs to make sure your URL is correct"}
    Mar 15 11:39:21
    {"error":"not found - API documentation can be found at https://io.adafruit.com/api/docs"}
    Mar 15 11:39:23
    {"error":"not found - API documentation can be found at https://io.adafruit.com/api/docs"}
    upload_2019-3-15_11-42-22.png

    2. How could we modify the croon to create simulation of tides with the web maker, since the minimum that can be set is one minute, we would need for example:

    WAVE MAKER # 1 ON 5 sec
    WAVE MAKER # 2 OFF 5 sec
    next step
    WAVE MAKER # 1 OFF 5 sec
    WAVE MAKER # 2 ON 5 sec
    and start the cycle again
    This would be for a type of tide, could function as the controller of hydor



    Thank you for taking the time to read my message, success to all!
     
    Ranjib and crusso1993 like this.
  20. Ranjib

    Ranjib Valuable Member R2R Supporter R2R Excellence Award Reef Squad Build Thread Contributor

    Joined:
    Apr 16, 2016
    Messages:
    5,880
    Likes Received:
    9,713
    Location:
    Palo Alto, Bay Area
    Welcome to reef2reef.
    Can you tell us little bit about your setup? Share a screenshot of your adafruit feed. I think you have space or some special character in your equipment name or sensor names thats causing the adafruit issue.
    The timer thing for wave maker should be fairly straight forward. Setup one timer for each of the wavemekaer, set the seconds fields 5 seconds apart for each of them, here is an example
    Screen Shot 2019-03-16 at 4.04.35 PM.png
     
    crusso1993 and Michael Lane like this.
Draft saved Draft deleted

Share This Page

Loading...