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

@Ranjib

How difficult would it be to add colors to the on and off state for the outlets?
Not difficult at all. What color you prefer? I am horrible at UI/UX designs.. hence I always try to get the simple things out first, and then take lots of feedback to improve it.
 
The NO/NC option could work, however I think for it to be really useful it would need to be on a per outlet basis, but understandable if that is a major task.
However, I still am not sure that that would resolve the issue. As I am seeing it on my system, if an outlet is set to off in the timer the pin is set to 0.
upload_2017-10-10_21-22-36.png

If it is switched off (the button would say off after being clicked) the pin is set to 1.
upload_2017-10-10_21-23-12.png
Right , thats expected. As I mentioned, reef-pi assumes the relay is normally closed. So, setting 0 means switch off, and 1 means switch on. Were you expecting different behavior?
 
Right , thats expected. As I mentioned, reef-pi assumes the relay is normally closed. So, setting 0 means switch off, and 1 means switch on. Were you expecting different behavior?
It seems like the offs are opposite of each other. Timer off is 0, equipment off is 1
 
Not difficult at all. What color you prefer? I am horrible at UI/UX designs.. hence I always try to get the simple things out first, and then take lots of feedback to improve it.

Is this possible?

Red background, black font = off

Green background, white font = on
 
It seems like the offs are opposite of each other. Timer off is 0, equipment off is 1
If this is the case, then its a bug.! really bad bug and have to be fixed as soon as possible. ..
 
Would this also explain why I am having the issue, I previously described with the temperature control?
I was wondering about that too. I currently have my temp settings at 77 & 79. Current tank temp is 79.1 and heater still has power applied to it.
I guess you could also switch the heater/fans to NO circuits and they would perform normally. But then the buttons would be backwards.
 
Couple of update on the software side,
- I have added support for NC/NO configuration for every outlet. Which means, users can select a checkbox (named 'reverse') to indicate a relay is normal open or normal closed while declaring individual outlets. If not selected, reef-pi will treat the outlet as normally closed and set the GPIO pin to high state to switch it on, low to switch it off. Selecting reverse will do the opposite https://github.com/reef-pi/reef-pi/pull/216
- I have added some code in the UI side to show different colors (I went with red or green outlined buttons, to keep them in sync with reef-pi theme in general) based on the equipment state.

a couple of performance enhancements also went in ...
 
Couple of update on the software side,
- I have added support for NC/NO configuration for every outlet. Which means, users can select a checkbox (named 'reverse') to indicate a relay is normal open or normal closed while declaring individual outlets. If not selected, reef-pi will treat the outlet as normally closed and set the GPIO pin to high state to switch it on, low to switch it off. Selecting reverse will do the opposite https://github.com/reef-pi/reef-pi/pull/216
- I have added some code in the UI side to show different colors (I went with red or green outlined buttons, to keep them in sync with reef-pi theme in general) based on the equipment state.

a couple of performance enhancements also went in ...
thanks Ranjib,

I will update tomorrow and will let you know!! you are awesome!
 
Couple of update on the software side,
- I have added support for NC/NO configuration for every outlet. Which means, users can select a checkbox (named 'reverse') to indicate a relay is normal open or normal closed while declaring individual outlets. If not selected, reef-pi will treat the outlet as normally closed and set the GPIO pin to high state to switch it on, low to switch it off. Selecting reverse will do the opposite https://github.com/reef-pi/reef-pi/pull/216
- I have added some code in the UI side to show different colors (I went with red or green outlined buttons, to keep them in sync with reef-pi theme in general) based on the equipment state.

a couple of performance enhancements also went in ...
That is awesome!
So question then...how does one go about updating to these features between a new release?
 
thanks Ranjib,

I will update tomorrow and will let you know!! you are awesome!
Hey, I have not cut a release yet.. I 'll be doing some more development before cutting the next release... I'll let you all know
if you are building from master (I'll be stoked if you do so :-)), then you dont need any release, you can pretty much install it as and when its available in the repo
 
Oh, yea...that whole reading the instructions thing.

Programming is definitely not my forte. I am fighting with the Go updating right now (I got 1.4.3 installed)
I'll try to play some more tomorrow.
:-) I'll see if I can find a way to publish nightly builds, most popular software does that..
 
WHOA :) This is freaking awesome. Do you plan to use reef-pi or you have your own code ? None the less,.,. this is sweet.
Question: 3d printing materials (abs or pla) is safe to use with 110v AC receptacles?
Thanks man! I'm using reef-pi for sure. I don't have your talent for coding. Anything beyond php and I'm lost lol. I don't have a 3D printer, but it would be awesome to custom design an enclosure and print it at home. One day Ill have one, but my fishes are where my money go for now haha.
 
That's awesome mate! I literally just ordered a similar box (but larger to fit my 16 outlets) so I can finally get a move on with my build. Unfortunately it won't be here until mid November.


I plan on having all 16 of my outlets wired to one of those cables that then goes to the wall. I'm pretty sure that the cables are rated the same as the ones in the wall (that's from what I can find in Aus at least), so it would be rated to 10A and all of my equipment together comes in just under 8 Amps so it should be ok. I'd say your draw from 8 outlets will be less than that so it will be fine.

If I'm wrong though I'd certainly appreciate being told so before my enclosure gets here :p
Thank you! It's been fun putting together. I bought the case here off of amazon. I thought about not having a screen and using the space for outlets, but couldn't really think of what I would need that many for.
 
As an Amazon Associate we earn from qualifying purchases.
That looks awesome.
From you 5V adapters, is one of those powering the pi/screen and the other powering the relays?
Please let me know if you have any issues activating all of you relays simultaneously while using the 2 different supplies.
Thanks you! Yes that is how it is powered. So far in my testing I haven't had any issues powering all 8 outlets. The adapter that's powering the relay is 5v 1Amp.
 

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