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

Can you gents please post a photo of the circuit you made that steps the gpio voltage up to the 12v for the adj block? I plan to make a dual circuit for this so I can add a 2nd one down the road for a total of 16 power circuit


Also have anyone done LED indicators for the channels?
 
Can you gents please post a photo of the circuit you made that steps the gpio voltage up to the 12v for the adj block? I plan to make a dual circuit for this so I can add a 2nd one down the road for a total of 16 power circuit


Also have anyone done LED indicators for the channels?
Check adafruit guides on how to use them, here is the brief rundown
1. Gpio will be connected to the input channels of uln2803
2. 12v positive on the common pin of uln2803
3. Each output channel of uln2803 will be connected to one data pin of the db9 connector (these are blue male header pins at the bottom row in photo )
4. Pi, 12v and uln2803 will be connected to the same ground
5. Db9 connectors ground pin will be connected to 12v positive as well (yup it’s opposite )
5280D66A-E95C-4C63-97E2-4E087AFC1F35.jpeg
 
Lots of tech jurgons , here are some coral photos :-)

One of my sps frag has turned into a mini colony
CEAD6BC5-2B08-4D2C-AB3C-0C9A2DB6D9B0.jpeg


And this micro goniopora is also encrusting a lot of real estate , after killing its neighbors,

94CDFE6A-C04C-46DE-8A2F-314EF41F0C95.jpeg



And finally , fts of one of my pico (I call it Bozeman )
1EAD2612-D17F-4099-A308-32E444184C67.jpeg
 
Thank you. Do you have pin layout from the db9? Ie... 1-8

Here is my box-o-saltwater.
9719620c52059e883ff9892be60bb1f3.jpg
ee470f91caee03872577f470a27ec2ae.jpg
Very nice tank.
I dont have a wiring diagram for the db9 connector, but this should give you a fare idea (photo taken from the amazon list, db9 connector)
61NaiY4I7UL._SX679_.jpg

GND is wired to 12v, and all other pins (8 of them) are connected to one output of the uln2803 each.
So, from uln2803 side, if you use this diagram, pin 1->8 GPIO, pin 9 GND, pin 10 12v , pin 11->18 db9 connector. 12v also goes to GND pin of db9 connector. Does that make sense now?

uln2803.jpg
 
Very nice tank.
I dont have a wiring diagram for the db9 connector, but this should give you a fare idea (photo taken from the amazon list, db9 connector)
61NaiY4I7UL._SX679_.jpg

GND is wired to 12v, and all other pins (8 of them) are connected to one output of the uln2803 each.
So, from uln2803 side, if you use this diagram, pin 1->8 GPIO, pin 9 GND, pin 10 12v , pin 11->18 db9 connector. 12v also goes to GND pin of db9 connector. Does that make sense now?

uln2803.jpg
Ok. I got that part. But outlets 1-8 of the ADJ bar. What pin#s do those equate to?


Does pin1 connect to outlet 1 or 8 or 5 in order of the bar?
 
Ok. I got that part. But outlets 1-8 of the ADJ bar. What pin#s do those equate to?


Does pin1 connect to outlet 1 or 8 or 5 in order of the bar?
I can't recall exactly, during the build, when I tested my setup I just named the pins as outlets O1->O8 and also put labels on the powerstrip (O1 -> O8). Since I always test each of the outlets individually (to check if wiring/relay etc working as expected) this has never been a problem (i.e. the mapping is setup during the test process)

Screen Shot 2018-08-26 at 5.21.18 PM.png
 
I'm curious as well :-/
I tried going headless but couldn't get it to work so I started fresh again, I reflashed the sd card with raspian stretch, and booted with hdmi, setup the wifi, I updated raspian and set the locale and turned on all the interfaces except the camera.
I downloaded and installed reef-pi-1.5-pi3.deb and this is what I got.
Capture 1.PNG Capture 2.PNG
Capture 4.PNG Capture 3.PNG
But I can't change the password.
I am using firefox.
Now I am going to upgrade to 2.0.0-alpha-0/reef-pi-2.0.0-alpha-0-pi3.deb
 
I tried going headless but couldn't get it to work so I started fresh again, I reflashed the sd card with raspian stretch, and booted with hdmi, setup the wifi, I updated raspian and set the locale and turned on all the interfaces except the camera.
I downloaded and installed reef-pi-1.5-pi3.deb and this is what I got.
Capture 1.PNG Capture 2.PNG
Capture 4.PNG Capture 3.PNG
But I can't change the password.
I am using firefox.
Now I am going to upgrade to 2.0.0-alpha-0/reef-pi-2.0.0-alpha-0-pi3.deb
So I downloaded and installed 2.0.0 from the pi interface and this is what I got
Capture 2.0.0-1.PNG
 
Ok, now I have formatted a different sd card and followed the same procedure but this time downloaded and installed 2.0.0-alpha-0/reef-pi-2.0.0-alpha-0-pi3.deb from the pi UI and got this.
Capture 2.0.0-1.PNG pi2.0.0-2.PNG
 
This is chrome and can't change the password.
pi-2-chrome.PNG pi-2-chrome.PNG pi-2-chrome3.PNG pi-2-chrome4.PNG

pi-2-chrome2.PNG
Can you explain a bit what do you mean by "not able change the password". I think you are able to change the password. Remeber reef-pi will never show the current password in the UI, it will remain as blank (this is a security measure). That does not mean you have not set the password or not able to set the password. I think your password set process is working as expected. You are confused due to the password field being blank (and thats by design).

Well , we know now that that UI issue is something with chrome+windows, check if updating chrome fix it. For the troubleshooting purpose lets continue to work with firefox. From the details you shared, I think 1.5 is working fine, including password reset. Remeber when you reset password, reload reef-pi (Configuration -> Admin -> Reload) and refresh your browser, that should take you to sign in page, and then enter your new password/username.

The second set of failures is coming from wrong password (reload reef-pi, then refresh your browser, and enter the last set password that you had saved via UI).
 
Can you explain a bit what do you mean by "not able change the password". I think you are able to change the password. Remeber reef-pi will never show the current password in the UI, it will remain as blank (this is a security measure). That does not mean you have not set the password or not able to set the password. I think your password set process is working as expected. You are confused due to the password field being blank (and thats by design).

Well , we know now that that UI issue is something with chrome+windows, check if updating chrome fix it. For the troubleshooting purpose lets continue to work with firefox. From the details you shared, I think 1.5 is working fine, including password reset. Remeber when you reset password, reload reef-pi (Configuration -> Admin -> Reload) and refresh your browser, that should take you to sign in page, and then enter your new password/username.

The second set of failures is coming from wrong password (reload reef-pi, then refresh your browser, and enter the last set password that you had saved via UI).
To summarize, I dont think you are hitting a bug with reef-pi, theres a chrome+windows UI issue, and some confusion around the password reset process. I'll make sure we have some UI text and documentation to make it clear.
 
To summarize, I dont think you are hitting a bug with reef-pi, theres a chrome+windows UI issue, and some confusion around the password reset process. I'll make sure we have some UI text and documentation to make it clear.
This is password Capture12.PNG
This is new password and update
Capture13.PNG Capture14.PNG
this is after reload Capture15.PNG
This is after browser refresh
Capture16.PNG
This is with the new password Capture17.PNG so yes it did save the new password.
What browser do you use for reef-pi?
 
This is password Capture12.PNG
This is new password and update
Capture13.PNG Capture14.PNG
this is after reload Capture15.PNG
This is after browser refresh
Capture16.PNG
This is with the new password Capture17.PNG so yes it did save the new password.
What browser do you use for reef-pi?

This is OK, reef-pi did what you expected it to do. Some of the error messages are confusing (like the 404 signal error is expected everytime you hit reload).
The last UI screenshot is reflecting reef-pi is running as expected (no error message, and the controller information at the bottom reflect right version, ip , time etc), but since its brand new, theres no data yet (usage or setup), hence no chart

I certainly think this is confusing, and a pain point, I'll make sure we address these two things before 2.0 public release:
- Don't show a confusing error message after reload, instead request user to refresh (or even better do automatic page reload after 3 seconds)
- Display help message next to password field, specifying current password is not shown, or left in blank due to security reasons. It's not a bug.


I use chrome ( version 68.0.3440.106 ) on macbook pro, and safari on my phone/tablet. I have tried firefox as well occasionally, to test reef-pi.
 

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