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

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

  1. Ranjib

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

    Joined:
    Apr 16, 2016
    Messages:
    4,822
    Likes Received:
    7,365
    Location:
    Foster City, Bay Area
    I think this will work for you. Kessil's connector are different hence I had to take that complicated route. May be theres a simpler way to do it,
     
    njtiger aquariums likes this.

  2. Ranjib

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

    Joined:
    Apr 16, 2016
    Messages:
    4,822
    Likes Received:
    7,365
    Location:
    Foster City, Bay Area
    IMG_0950.JPG
     
  3. Ranjib

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

    Joined:
    Apr 16, 2016
    Messages:
    4,822
    Likes Received:
    7,365
    Location:
    Foster City, Bay Area
    I finished pain job for one of the final pico reef controller housing. It sky blue, all in one (prime + paint) for wood. Golden braces and screws looks nice against the sky blue paint. Here are some pics:
    Housing after paint, without electronics mounted in it
    IMG_1029.JPG IMG_1028.JPG IMG_1032 (1).JPG IMG_1033.JPG


    IMG_1029.JPG IMG_1028.JPG IMG_1032 (1).JPG IMG_1033.JPG

    Electronics, display and electrical sockets/switch mounted

    IMG_1040.JPG IMG_1039.JPG IMG_1043.JPG IMG_1045.JPG

    IMG_1041.JPG
     
    njtiger aquariums likes this.
  4. Aaron Smith

    Aaron Smith Active Member R2R Supporter

    Joined:
    Apr 9, 2017
    Messages:
    249
    Likes Received:
    262
    Location:
    Oregon
    Bought my parts, be here this weekend. This thread prompted my first comment!
     
    njtiger aquariums and Ranjib like this.
  5. Ranjib

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

    Joined:
    Apr 16, 2016
    Messages:
    4,822
    Likes Received:
    7,365
    Location:
    Foster City, Bay Area
    @Aaron Smith Let me know if you need any help. I am still working on the assembly guide :-/ . Hopefully this weekend
     
    njtiger aquariums likes this.
  6. Aaron Smith

    Aaron Smith Active Member R2R Supporter

    Joined:
    Apr 9, 2017
    Messages:
    249
    Likes Received:
    262
    Location:
    Oregon
    Great thanks! I am comfortable with assembly, (with direction) but have no clue about the ui or programming. I found the code stuff via your links but am reading up on how to implement once I get the pi running. Parts are due in tomorrow. This is my first venture with pi!
     
    njtiger aquariums likes this.
  7. Ranjib

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

    Joined:
    Apr 16, 2016
    Messages:
    4,822
    Likes Received:
    7,365
    Location:
    Foster City, Bay Area
    You should not need any programming or UI staff, other than editing some configuration files in the raspberry pi. I am strong in programming I can address if you encounter any bug, I need help with electronics,
     
    njtiger aquariums likes this.
  8. Aaron Smith

    Aaron Smith Active Member R2R Supporter

    Joined:
    Apr 9, 2017
    Messages:
    249
    Likes Received:
    262
    Location:
    Oregon
    Pi up and running. After install of reefpi it says running but when I try to access it the local host rejects me. I am sure it's something not configured right on my Raspbian install? Any suggestions?
     
    njtiger aquariums likes this.
  9. Ranjib

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

    Joined:
    Apr 16, 2016
    Messages:
    4,822
    Likes Received:
    7,365
    Location:
    Foster City, Bay Area
    What configuration you are using ? Your configuration is in /etc/reef-pi/confirmed g.yml file, can you share that ? Also output of 'ip a s' command, to check what network interface pi is using. Are you accessing the dashboard from other device , like computer or phone or from the pi's display itself ?
     
    njtiger aquariums likes this.
  10. Aaron Smith

    Aaron Smith Active Member R2R Supporter

    Joined:
    Apr 9, 2017
    Messages:
    249
    Likes Received:
    262
    Location:
    Oregon
    Will check it out when I get home. I am having difficulty finding the reefpi files in the pi structure.

    Thanks for baring with me. I am a pi noon!
     
    njtiger aquariums likes this.
  11. Aaron Smith

    Aaron Smith Active Member R2R Supporter

    Joined:
    Apr 9, 2017
    Messages:
    249
    Likes Received:
    262
    Location:
    Oregon
    *noob
     
    njtiger aquariums likes this.
  12. Ranjib

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

    Joined:
    Apr 16, 2016
    Messages:
    4,822
    Likes Received:
    7,365
    Location:
    Foster City, Bay Area
    No worries. Thank you for testing it out, happy to help
     
    njtiger aquariums likes this.
  13. Aaron Smith

    Aaron Smith Active Member R2R Supporter

    Joined:
    Apr 9, 2017
    Messages:
    249
    Likes Received:
    262
    Location:
    Oregon
    Doing a program search in the terminal shows reef-pi is installed. The config.yml file won't allow me to save any changes. It states can't open file to write. I have the pi hooked to a monitor and am trying to access reef-pi direct from the pi, not from a remote device.
     
    njtiger aquariums likes this.
  14. Aaron Smith

    Aaron Smith Active Member R2R Supporter

    Joined:
    Apr 9, 2017
    Messages:
    249
    Likes Received:
    262
    Location:
    Oregon
    Ok figured out how to change values in the terminal. What lines do I need to reconfig? I think I'm getting there. The good thing is this process is being tested by someone who's never tempted any programming! I was up till 2 playing with trying to get this going!
     
    njtiger aquariums likes this.
  15. Ranjib

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

    Joined:
    Apr 16, 2016
    Messages:
    4,822
    Likes Received:
    7,365
    Location:
    Foster City, Bay Area
    you have to be root. Try `sudo gedit /etc/reef-pi/config.yml`
     
    njtiger aquariums likes this.
  16. Ranjib

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

    Joined:
    Apr 16, 2016
    Messages:
    4,822
    Likes Received:
    7,365
    Location:
    Foster City, Bay Area
    `dpkg -l | grep reef ` will show if reef-pi is installed.
    `sudo systemctl status reef-pi.service` will tell if reef-pi programming is running or not. Let me know if you want to do a quick hangout, and we can fix the glitches
     
    njtiger aquariums likes this.
  17. Aaron Smith

    Aaron Smith Active Member R2R Supporter

    Joined:
    Apr 9, 2017
    Messages:
    249
    Likes Received:
    262
    Location:
    Oregon
    [​IMG]
     
    njtiger aquariums likes this.
  18. Ranjib

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

    Joined:
    Apr 16, 2016
    Messages:
    4,822
    Likes Received:
    7,365
    Location:
    Foster City, Bay Area
    yup, its running. Is the raspberry pi connected to internet via wifi ? If so, change the config from `interface: eth0` to `interface: wlan0` , also change the address from `address: "localhost:8080"` to `address: "0.0.0.0:8080"` . And restart reef-pi service `sudo systemctl restart reef-pi.service` . You have to be root for all the things (sudo )
     
    njtiger aquariums likes this.
  19. Ranjib

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

    Joined:
    Apr 16, 2016
    Messages:
    4,822
    Likes Received:
    7,365
    Location:
    Foster City, Bay Area
    `dpkg -l | grep reef`, theres a space in betwee dpkg and -l :) .
     
    njtiger aquariums likes this.
  20. Aaron Smith

    Aaron Smith Active Member R2R Supporter

    Joined:
    Apr 9, 2017
    Messages:
    249
    Likes Received:
    262
    Location:
    Oregon
    Figured I'd leave those lines in the pic so you could see that I have no clue!

    This is super fun though! I am an electrician by trade so wiring and building is no big deal but programming is foreign to me.
     
    njtiger aquariums likes this.
Draft saved Draft deleted

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
Loading...