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

This sounds similar to an issue I have with the one timer I have running, I had to tell it to turn off when I want it to turn on, and vice-versa. Mine are connected to the NC pins of the relay.
I think reef-pi expects things connect to NO on the relay, at least in the timer/temp section
Currently, when the timer is set to turn off, the GPIO is pulled low (0) so relay goes to default state (NC). When timer turns on, GPIO goes high (1) and connects the relay to the NO poll.
In the equipment tab I am interpreting whatever the button is showing to be the current state of the outlet. However these seems backwards from the timers. If the button says On and I click on it, it changes to Off, and the log shows that the pin was pulled high.
Hmm..if that is the case then the equipment on off button under equipments tab will work opposite as well, last time I checked that was not the case with his build
 
I have just cut 0.5 release of reef-pi, following are the highlights:
  • Confirmation dialog for all delete operations
  • Show details of timer jobs, equipment (outlet) on UI
  • Add telemetry validation, auto create feeds if they dont exist (should reduce the adafruit.io setup complexity)
  • Various bug fixes around camera controller & google drive base image upload (Experimental)
  • Doser module (Work In Progress)
Release URL:
https://github.com/reef-pi/reef-pi/releases/tag/0.5
 
Hmm..if that is the case then the equipment on off button under equipments tab will work opposite as well, last time I checked that was not the case with his build
Not sure if it is opposite, or the labeling is just opposite of what I am reading it as. But if the button says On before you click it, when you click the pin goes High. So I guess the button is telling you what will happen when you click it instead of current state, at least for NC relays, NO would be correct.

Would it be possible, without a large amount of work, to be able to configure each outlet as either NO or NC, and the logic just switches accordingly through equipment, timers, etc...?

I have just cut 0.5 release of reef-pi, following are the highlights:
  • Confirmation dialog for all delete operations
  • Show details of timer jobs, equipment (outlet) on UI
  • Add telemetry validation, auto create feeds if they dont exist (should reduce the adafruit.io setup complexity)
  • Various bug fixes around camera controller & google drive base image upload (Experimental)
  • Doser module (Work In Progress)
Release URL:
https://github.com/reef-pi/reef-pi/releases/tag/0.5
Just updated. I like the new features.
The only thing that was different is the light feeds. In 0.4 my lights were under Lights and 2 pins as channel-1 and channel-2. The feeds just had channel name.
With the update it became channel-1-channel-1 and channel-1-channel-2.
This wont be a big issue for anyone setting this up in the future though.
The auto create feed is awesome though. Do you know what will happen if people are setting up reef-pi before setting up io.adafruit?
Will it continue to try to create the feeds?

Thanks again, and awesome work.
 
I am now getting this blank error.
Feeds are going out to adafruit. I dont currently have anything set on the cooler pin, so it may have to do with that.
upload_2017-10-7_8-3-39.png


I have been working on calibrating my heaters, and it just moved over to the tank that is cycling, hence the 76deg tank.
 
This sounds similar to an issue I have with the one timer I have running, I had to tell it to turn off when I want it to turn on, and vice-versa. Mine are connected to the NC pins of the relay.
I think reef-pi expects things connect to NO on the relay, at least in the timer/temp section
Currently, when the timer is set to turn off, the GPIO is pulled low (0) so relay goes to default state (NC). When timer turns on, GPIO goes high (1) and connects the relay to the NO poll.
In the equipment tab I am interpreting whatever the button is showing to be the current state of the outlet. However these seems backwards from the timers. If the button says On and I click on it, it changes to Off, and the log shows that the pin was pulled high.
I just noticed I have the same issue. I have to set the timer to turn off, for it to turn on and vice-versa. under equipment tab, I can see the current state, if my fans are on, it says on here on the equipment tab.
 
Please refresh my memory on how to get the new load. This will be my first update with something actually working. Sorry to backtrack.

I love reading all the intelligent observations regarding electronics...so over my head. Though I know NC is normally closed and NO is normally open
 
Please refresh my memory on how to get the new load. This will be my first update with something actually working. Sorry to backtrack.

I love reading all the intelligent observations regarding electronics...so over my head. Though I know NC is normally closed and NO is normally open
This is how i updated mine, hopefully someone will correct it if i had done something wrong.
1. I stop reef-pi. (sudo systemctl stop reef-pi.service)
2. download the latest release for pi3 from the link Ranjib provided ( https://github.com/reef-pi/reef-pi/releases/tag/0.5)
3. unpack it after placing it in your desired folder, for me i have it in Documents (sudo dpkg -i /home/pi/Documents/reef-pi-0.5-pi3.deb)
4. restart reef-pi (sudo systemctl start reef-pi.service)
5. restart raspbian just to be sure and check if reef-pi is working (sudo systemctl status reef-pi.service)

hope this helps
 
Not sure if it is opposite, or the labeling is just opposite of what I am reading it as. But if the button says On before you click it, when you click the pin goes High. So I guess the button is telling you what will happen when you click it instead of current state, at least for NC relays, NO would be correct.

Would it be possible, without a large amount of work, to be able to configure each outlet as either NO or NC, and the logic just switches accordingly through equipment, timers, etc...?


Just updated. I like the new features.
The only thing that was different is the light feeds. In 0.4 my lights were under Lights and 2 pins as channel-1 and channel-2. The feeds just had channel name.
With the update it became channel-1-channel-1 and channel-1-channel-2.
This wont be a big issue for anyone setting this up in the future though.
The auto create feed is awesome though. Do you know what will happen if people are setting up reef-pi before setting up io.adafruit?
Will it continue to try to create the feeds?

Thanks again, and awesome work.
That light channel name is a bug. I'll fix it tonight.
Reef-pi will only try to create it at the startup or during creation of the light, and oinlky if telemetry is enabled
 
I am now getting this blank error.
Feeds are going out to adafruit. I dont currently have anything set on the cooler pin, so it may have to do with that.
upload_2017-10-7_8-3-39.png


I have been working on calibrating my heaters, and it just moved over to the tank that is cycling, hence the 76deg tank.
Let me look into this, sorry for the trouble :-(
 
This is how i updated mine, hopefully someone will correct it if i had done something wrong.
1. I stop reef-pi. (sudo systemctl stop reef-pi.service)
2. download the latest release for pi3 from the link Ranjib provided ( https://github.com/reef-pi/reef-pi/releases/tag/0.5)
3. unpack it after placing it in your desired folder, for me i have it in Documents (sudo dpkg -i /home/pi/Documents/reef-pi-0.5-pi3.deb)
4. restart reef-pi (sudo systemctl start reef-pi.service)
5. restart raspbian just to be sure and check if reef-pi is working (sudo systemctl status reef-pi.service)

hope this helps
Just for a note, restart of reef-pi or rebooting raspberry can be done from UI as well.
 
I would install Putty as well, on your other computer. I use it more often now than I do VNC, mostly for viewing logs and activity.
I'm a Network Engineer, so I live on Putty! :)

I have compiled a list of devices that I have on my 75g tank now that are using a 110 outlet:
Left LED Fixture, Right LED Fixture, 2 Bulb T5 Ballast, Reefbrite Tech Strip, Fuge Light, Cabinet Light, ATO, Left Wavemaker, Right Wavemaker, Return Pump, Protein Skimmer, 300W Heater, and Dosing Pump. I'd like a few spares, so I think I'll setup 16 outlets for use on Reef-Pi.

What relay board would you recommend?
 
I'm a Network Engineer, so I live on Putty! :)

I have compiled a list of devices that I have on my 75g tank now that are using a 110 outlet:
Left LED Fixture, Right LED Fixture, 2 Bulb T5 Ballast, Reefbrite Tech Strip, Fuge Light, Cabinet Light, ATO, Left Wavemaker, Right Wavemaker, Return Pump, Protein Skimmer, 300W Heater, and Dosing Pump. I'd like a few spares, so I think I'll setup 16 outlets for use on Reef-Pi.

What relay board would you recommend?
Putty ? I was hoping for tcpdump and wireshark :-) . hugs
 
I'm a Network Engineer, so I live on Putty! :)

I have compiled a list of devices that I have on my 75g tank now that are using a 110 outlet:
Left LED Fixture, Right LED Fixture, 2 Bulb T5 Ballast, Reefbrite Tech Strip, Fuge Light, Cabinet Light, ATO, Left Wavemaker, Right Wavemaker, Return Pump, Protein Skimmer, 300W Heater, and Dosing Pump. I'd like a few spares, so I think I'll setup 16 outlets for use on Reef-Pi.

What relay board would you recommend?
Sainsmart, someone just linked it couple of post before
Led lights are dimmable ? I have never worked with reefbrite
 
As an Amazon Associate we earn from qualifying purchases.
I would install Putty as well, on your other computer. I use it more often now than I do VNC, mostly for viewing logs and activity.
Sorry I'm still getting used to Tapatalk.
Ryan what all could be done with this controller?
I'm looking for controlling leds, salinity, pH, auto top off, feeder etc just basic normal stuff.
 
Sorry I'm still getting used to Tapatalk.
Ryan what all could be done with this controller?
I'm looking for controlling leds, salinity, pH, auto top off, feeder etc just basic normal stuff.
LED, feeder, ATO, temperature for the time being. pH & salinity not now, likely after Christmas or early next year
 
@Ranjib
What exactly the pi doing to your tank? How many controls you have personally?
Ima dig this whole thread again to have a better clarification.
Thanks
Enjoy your weekends
I have three tanks, two pico and one nano,
on the pico tanks, they do following: control 4 outlets/equipments (hob filter, return, heater, A80 light). HoB filter is on timer and reef-pi turns it on/off at night. A80 kessil control is by reef-pi (i have different kessil day light cycle for each of the tank, tuned for the type of corals they house), temperature sensor, telemtry (sending data to adafruit io), and i use the equipment tab to switch of things durinng water change
on the nano tank, its all what I have for pico , but two more outlets (skimmer and mp10). Skimmer is on timer, mp10 is turned off for two hours as well, by timer. Temperure is not only monitored, but also controller (heater and fan) by reef-pi. Finally , I am working on automating the two part dosing on my nano tank using reef-pi, as we speak (currently its in timer, but I am working on a full blown UI for dosing).. but that might not be fully chalked out before 1.0, given I need pH gating for safeguarding dosers...
 
@Ranjib
Thanks for the prompt reply.
Could we also change the wave patterns on the powerheads by by alternating On and off schedule to have diverse range patterns?
Using sc powerheads ofcourse. Or could we over ride the inbuilt patterns provided of the like of jebao, mp10/40/60 or the gyre?
 

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