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

I can't get this to work for the life of me, I have a pi3b+, 32gig class 10 sd card with raspian flashed on it with etcher, I connect to a tv with hdmi, do all the setup, wifi and updates and raspberry pi works great. I download the dashboard latest version, https://github.com/reef-pi/reef-pi/releases/download/1.5/reef-pi-1.5-pi3.deb, and reboot pi, I enter the ip address into a browser and log in reef-pi/reef-pi and the dashboard appears, I go to configuration and try to change the password, press update then reload and get error. None of the buttons on the bottom of the page work, they are red and all give a terminated"} error. Then when I refresh my browser I get the login page but can't log in anymore. I have reflashed the card atleast 10 times, Am I supposed to download any other releases, any help would be appreciated.
Please dont flush the card. Its likely a simple username/ password issue. Lets walk through how you are updating username/password and I am sure we'll be able to address this.

I'll repeat, do not reimage your SD card, it only reduces the lifespan of SD cards, and you can always reef-pi by just removing the database, and restarting it
Code:
sudo rm -rf /var/lib/reef-pi/reef-pi.db
sudo systemctl start reef-pi.service
can you try this, go to your browser, enter "reef-pi" as username and password. Does this work? If so, lets start working from here, and reset your password, share the screenshots for reference,
 
Time to dip my toe into this water. I have been part of the BETA team for DA for a few years. I was one of the first people to use their Archon (linux based) controllers. As many may know they are no longer in business. Unfortunately that means no support. Last night, my system went down and would not recover. the web server is down, the buss is down, and it will no longer connect to my wifi. I sort of knew this day would come soon and have been doing my best to peruse and keep up with the ReefPi development here. I guess time to kick that into overdrive because I feel vulnerable not having my system on a full control system. I don't want to go the apex route at this time either.

So that means I get to build a little Reefpi here. Currently I have 12 powered devices for my tank. realistically I dont see a need for more than 16 outlets so I am planning a build for that (or alt least expand to it). I am not skilled with solder yet so hopefully we can make it work.

Goals:
  • Easy to assemble
  • neat
  • Safe

Must have features:
  • Power control to up to 16 devices
  • ATO (have float switch setup and Aqualifter currently)
  • Temp
Initial buy/build list


For now, I think that will work to get me back under temperature control. As I progress, I know i want to bring my PWM controlled Jebao WP25s back under the controller. Previously on the Archon, I had then running in an alternating 7 second program to give a really good ebb and flow that the stand alone controllers cannot do. Since it is just two of them, I think I can do this on the two PWM io pins. That said I also have a wp10 that I controlled as well on a separate osculating 3 second program. So maybe I need a PWM board. It is my understanding that the PWM wavemaker/pump control has not made it in yet so I can hold off on this.

I wish I had the programming knowledge as you but if interested, I can provide some of the linux code from the archon if it helps further the progress here.


at the end, a Quick Question. I have an extra Reefkeeper temperature probe. Can I cut the end off it for use with Reefpi?


Welcome to the Project.. This to me is more then just about making my Aquarium easier. But have learned a lot as well. Brushed up on my Soldering along the way.

@Ranjib Is amazing.. I really do not see how he manages to have a Life and answer Everyone in this forum , improving his Code and still being sane..
 
As an Amazon Associate we earn from qualifying purchases.
Welcome to the Project.. This to me is more then just about making my Aquarium easier. But have learned a lot as well. Brushed up on my Soldering along the way.

@Ranjib Is amazing.. I really do not see how he manages to have a Life and answer Everyone in this forum , improving his Code and still being sane..
Funny story, I was supposed to be in hawaai now, for vacation. Due to hurricane Lane, trip got canceled. Hence, afternoon beer + infinity war + reef-pi documentation at home :-)

I feel worried about all the folks who are in Hawaai though. Power will be gone for weeks in some places. And I bet this would inflict a lot of property damage :-(
 
Funny story, I was supposed to be in hawaai now, for vacation. Due to hurricane Lane, trip got canceled. Hence, afternoon beer + infinity war + reef-pi documentation at home :)

I feel worried about all the folks who are in Hawaai though. Power will be gone for weeks in some places. And I bet this would inflict a lot of property damage :-(


I had the Weather Channel folks come up with that hurricane just so you could finish the documentation. You can thank me later!!! :D
 
Thank you for the replies folks.

I plan to use one of the american DJ boxes as they are quite neat and clean. Just need to work that out. Initially I need to get the system back up for ATO and temp control. The temp probe looks very similar to that but they also have a PH probe style that is 2 wires. I will give it a shot. Do you calibrate the temp probes when you hook them up?

as for soldering, not sure yet if I am ready for that. May just get a quick setup done to get the temp and ATO back and then move closer to the rest with the DJ box and components
 
Please dont flush the card. Its likely a simple username/ password issue. Lets walk through how you are updating username/password and I am sure we'll be able to address this.

I'll repeat, do not reimage your SD card, it only reduces the lifespan of SD cards, and you can always reef-pi by just removing the database, and restarting it
Code:
sudo rm -rf /var/lib/reef-pi/reef-pi.db
sudo systemctl start reef-pi.service
can you try this, go to your browser, enter "reef-pi" as username and password. Does this work? If so, lets start working from here, and reset your password, share the screenshots for reference,
Already reflashed it, configured it, turned on I2C, SPI, SSH, 1-wire, wifi in the raspberry pi configuration page, ready to install reef-pi.
 
Already reflashed it, configured it, turned on I2C, SPI, SSH, 1-wire, wifi in the raspberry pi configuration page, ready to install reef-pi.
so if I understand correctly, things get bad after you reset password?
Also, why not try out 2.0.0-alpha-0 instead of 1.5 release?
 
I guess I need to spend a month reading through this thread, but my biggest hang up to doing this project is the programming side. I am just getting into some Arduino programming and really going slow at it. How hard is it going to be to learn how to properly set up and tweak the Raspberry Pi system? I would be doing this to learn and have an extensive knowledge of electronics, but my computer programming is at a kindergarten level, at best. I was soldering electrical components in the garage with my dad when I was 10 years old so the assembly and component knowledge is strong.
 
I guess I need to spend a month reading through this thread, but my biggest hang up to doing this project is the programming side. I am just getting into some Arduino programming and really going slow at it. How hard is it going to be to learn how to properly set up and tweak the Raspberry Pi system? I would be doing this to learn and have an extensive knowledge of electronics, but my computer programming is at a kindergarten level, at best. I was soldering electrical components in the garage with my dad when I was 10 years old so the assembly and component knowledge is strong.
You have to run few commands in terminal, if thats what you mean. There is no actual programming (using some programming language like say javascript or python) involved in the build process. Some terminal based commands and file editing at most.
 
Ok got this
pi.PNG
 
I guess I need to spend a month reading through this thread, but my biggest hang up to doing this project is the programming side. I am just getting into some Arduino programming and really going slow at it. How hard is it going to be to learn how to properly set up and tweak the Raspberry Pi system? I would be doing this to learn and have an extensive knowledge of electronics, but my computer programming is at a kindergarten level, at best. I was soldering electrical components in the garage with my dad when I was 10 years old so the assembly and component knowledge is strong.


OH MY!!! DaveMorris this is definately something we can do together. from everything I have skimmed and read, I think if we were able to handle Eric and his ramblings and code, we should be able to set this thing up. I just bought my Pi rom amazon and am already laoding Rasbian onto a micro SD card. then ill use what i have at the house to create a small 4 channel power controller this weekend and just pop the Pi in when it arrives monday.
 
Ok got this
pi.PNG
what browser you are using ? looks like the css things are not working. Does a hard browser refresh changes the look ? This means reef-pi is working
 
what browser you are using ? looks like the css things are not working. Does a hard browser refresh changes the look ? This means reef-pi is working
Using google chrome, refresh looks the same, not sure what a hard refresh is.
 
total 40k
drwxr -xr-x 4 root root 4.0k aug24 15:34.
drwxr -xr-x 44 root root 4.0k aug24 15:34..
drwxr -xr-x 2 root root 4.0k aug24 15:34 assets
drwxr -xr-x 2 root root 4.0k aug19 21:15 images
-rw-------- 1 root root 32k aug24 17:00 reef-pi.db
one last check
Code:
ls -alh /var/lib/reef-pi/assets/
 
one last check
Code:
ls -alh /var/lib/reef-pi/assets/
total 1.4M
drwxr-xr-x 2 root root 4.0K aug 24 15:34.
drwxr-xr-x 4 root root 4.0K aug 24 15:34..
-rw-r--r-- 1 root root 3.7K aug 19 21:15 favico.ico
-rw-r--r-- 1 root root 304 aug 19 21:15 home.html
-rw-r--r-- 1 root root 1.4M aug 19 21:15 ui.js
 

IF YOU HAD TO TAKE A REEFING EXAM, WOULD YOU PASS?

  • Yes!

    Votes: 32 45.7%
  • Not yet, but I have one that I want to buy in mind!

    Votes: 9 12.9%
  • No.

    Votes: 26 37.1%
  • Other (please explain).

    Votes: 3 4.3%
Back
Top