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

Urtoo

Well-Known Member
View Badges
Joined
Jul 1, 2019
Messages
688
Reaction score
865
Rating - 0%
0   0   0
Ok, instead of troubleshooting the HTTPS, I simply reloaded the database to scratch and rebuilt. Its great for me to do, this way I can solidify my knowledge of this setup.
2nd time rebuilding went a lot smoother.
The only thing I am having an issue with is setting up Telemetry. "Please set a valid password." I have verified the password is good logging into my gmail account, something is amiss on my interface saving the password. Googling that now.
In about 2 hours, I will be working on adding the PWM module from ML for the Mars aqua box, but installing it into the SB Reef light basic. Pictures will be uploaded on my work then,
 

Urtoo

Well-Known Member
View Badges
Joined
Jul 1, 2019
Messages
688
Reaction score
865
Rating - 0%
0   0   0
To correct the telemetry issue, I needed to enable a settig in my Gmail account:
1577134044921.png

Receiving texts like a fiend now.
 

Urtoo

Well-Known Member
View Badges
Joined
Jul 1, 2019
Messages
688
Reaction score
865
Rating - 0%
0   0   0
Noticed that the HS300 does not show status when it changes. Is there a way to enable this so i can see the change on the dashboard or equipment pane?
 

marekd1

Active Member
View Badges
Joined
Dec 24, 2019
Messages
133
Reaction score
199
Rating - 0%
0   0   0
Hello,

I am looking for a guide on how to hookup the Reef-Pi to Node Red. Can someone point me to the right direction please.

Thanks you in advance.
 

Alaa

Community Member
View Badges
Joined
Nov 28, 2018
Messages
74
Reaction score
80
Rating - 0%
0   0   0
Hi, i need help figuring how to power @Michael Lane Hat to work with 2 sets of 8 (5V) relay switch
i will be providing separate power to the relay boards and using VCC signal from reef pi (or Hat in this case).
the first set is easy as i will use the 8 GPIO breakout pins and the positive line with them
the second set will be connected to the other GPIO pins connected through ULN2803, this is originally designed to receive 12 V for 12V relays, i have seen others saying to connect 5 volt instead of the 12v to power the ULN2803
i need clarification to this step
do i connect positive and negative to the 12V or since ill be powering the relays from a separate power source i can use the VCC from the first breakout set to signal the second relays
I'm upgrading my original setup to use ML HAT and it was designed to work with separate power supply for the relays as i feel it will keep the load low on reef pi. in the original setup i connected 2 5V from Pi to VCC of relay board and it worked great

thanks for your help
 

Urtoo

Well-Known Member
View Badges
Joined
Jul 1, 2019
Messages
688
Reaction score
865
Rating - 0%
0   0   0
i need clarification to this step
do i connect positive and negative to the 12V or since ill be powering the relays from a separate power source i can use the VCC from the first breakout set to signal the second relays
thanks for your help
Can you make a drawing showing what you are asking?
I am confused on the wording.
 

marekd1

Active Member
View Badges
Joined
Dec 24, 2019
Messages
133
Reaction score
199
Rating - 0%
0   0   0
Hi, i need help figuring how to power @Michael Lane Hat to work with 2 sets of 8 (5V) relay switch
i will be providing separate power to the relay boards and using VCC signal from reef pi (or Hat in this case).
the first set is easy as i will use the 8 GPIO breakout pins and the positive line with them
the second set will be connected to the other GPIO pins connected through ULN2803, this is originally designed to receive 12 V for 12V relays, i have seen others saying to connect 5 volt instead of the 12v to power the ULN2803
i need clarification to this step
do i connect positive and negative to the 12V or since ill be powering the relays from a separate power source i can use the VCC from the first breakout set to signal the second relays
I'm upgrading my original setup to use ML HAT and it was designed to work with separate power supply for the relays as i feel it will keep the load low on reef pi. in the original setup i connected 2 5V from Pi to VCC of relay board and it worked great

thanks for your help

If you want to control devices (i.e. relay boards at higher voltage) you will need to power the ULN2803 at the same voltage as the control voltage. So in short the ULN2803 needs to be at 12V. You will need to connect the grounds from both power sources together. So 12V GDN and 5V GDN need to be connected together.

Both 12V devices can share the same power source

hope this helps
 

raketemensch

Ape That Likes Fish
View Badges
Joined
Oct 13, 2019
Messages
378
Reaction score
466
Location
Northwest CT
Rating - 0%
0   0   0
@Michael Lane Do you have a thread where you'd prefer people ask questions rather than this beast?

Does the goby hat *require* its own power source? I'm not clear on that, I know it *can* use one, but am not sure if it's necessary.

I wired up a temp probe this morning, enabled temperature in 3.0, rebooted, but the Sesnor list remains empty, so I wanted to make sure I wasn't missing something. I plugged in the hat, wired up a ds18b20 (all colors to like wires) and plugged the probe into the hat.
 

marekd1

Active Member
View Badges
Joined
Dec 24, 2019
Messages
133
Reaction score
199
Rating - 0%
0   0   0
@Michael Lane Do you have a thread where you'd prefer people ask questions rather than this beast?

Does the goby hat *require* its own power source? I'm not clear on that, I know it *can* use one, but am not sure if it's necessary.

I wired up a temp probe this morning, enabled temperature in 3.0, rebooted, but the Sesnor list remains empty, so I wanted to make sure I wasn't missing something. I plugged in the hat, wired up a ds18b20 (all colors to like wires) and plugged the probe into the hat.


Make sure the DS18b20 is properly connected

1577299775854.png


1577299817660.png
 

AbjectMaelstroM

Valuable Member
View Badges
Joined
Jul 21, 2019
Messages
1,535
Reaction score
1,709
Location
RVA
Rating - 100%
1   0   0
Yup, I just looked at the FAQ, and it clearly states:



I'll have to experiment to find the right colors with these probes. Glad I didn't solder yet :]

Yeah that's the only downside to these probes. There is pretty much no standard they conform to, at least color wise. Basically, you're rolling the dice if you've got it wired up right.

Best bet is to use a vendor for which color codes are known from other diy-ers.

Also, it's not limited to temp sensors. My optical/no contact sensors are two completely different colors and no documentation lol. Makes things fun with 4 wires.
 

Des Westcott

Well-Known Member
View Badges
Joined
May 29, 2018
Messages
646
Reaction score
1,025
Location
Durban - South Africa
Rating - 0%
0   0   0
Hi, i need help figuring how to power @Michael Lane Hat to work with 2 sets of 8 (5V) relay switch
i will be providing separate power to the relay boards and using VCC signal from reef pi (or Hat in this case).
the first set is easy as i will use the 8 GPIO breakout pins and the positive line with them
the second set will be connected to the other GPIO pins connected through ULN2803, this is originally designed to receive 12 V for 12V relays, i have seen others saying to connect 5 volt instead of the 12v to power the ULN2803
i need clarification to this step
do i connect positive and negative to the 12V or since ill be powering the relays from a separate power source i can use the VCC from the first breakout set to signal the second relays
I'm upgrading my original setup to use ML HAT and it was designed to work with separate power supply for the relays as i feel it will keep the load low on reef pi. in the original setup i connected 2 5V from Pi to VCC of relay board and it worked great

thanks for your help


I run one of @Michael Lane Reef-Pi Hats and had exactly the same question as you

1577304984509.png

As per the image above, you can see that there are the 5V GPIO pins labeled IO21 to IO5 or "Power 1". These are made to run 5V relays directly off the RPi. Below are the pins labeled IO8 to IO23 or "Power 2". These are meant to run 12V relays powered through 12V supplied by the "12V Power" port and the ULN2803A.

What I am doing is running 8 x 5V relays through the ULN2803A by supplying 5V to the "12V Power" port. Then I run 8 x 5V relays directly off the GPIO pins. Below is the picture Michael sent me when I asked him the same questions.

1577305487201.png
 

Des Westcott

Well-Known Member
View Badges
Joined
May 29, 2018
Messages
646
Reaction score
1,025
Location
Durban - South Africa
Rating - 0%
0   0   0
Yup, I just looked at the FAQ, and it clearly states:



I'll have to experiment to find the right colors with these probes. Glad I didn't solder yet :]
If you go by the pin layout @Michael Lane supplies above and match that to the manufacturer's details, I have not had a problem yet. But no. Colours do not correspond.
 

burningbaal

Active Member
View Badges
Joined
Aug 13, 2019
Messages
232
Reaction score
252
Location
Near Seattle
Rating - 0%
0   0   0
OK, I was stupid and bricked my sd card, so I'm resetting everything with reef-pi 3 now. I got through the walkthrough to apt-get upgrade and do the config for pwm-2chan and i2c and 1 wire and SLI, etc. I dkpg the deb file and when I go to the url on my other computer, it just shows a white page. error in the reef-pi logs (it does say it's running) includes:
Initializing DB for timers bucket
Dec 25 12:56:48 reefpikjm reef-pi[1453]: 2019/12/25 12:56:48 Successfully started subsystem: timers
Dec 25 12:56:48 reefpikjm reef-pi[1453]: 2019/12/25 12:56:48 reef-pi is up and running
Dec 25 12:56:48 reefpikjm reef-pi[1453]: 2019/12/25 12:56:48 ERROR: Failed to load credentials. Error Item 'credentials' does not exist in bucket 'reef-pi'
Dec 25 12:56:48 reefpikjm reef-pi[1453]: 2019/12/25 12:56:48 ERROR: health checker. Failed to load usage. Error: Item 'health_stats' does not exist in bucket 'reef-pi'
Dec 25 12:56:48 reefpikjm reef-pi[1453]: 2019/12/25 12:56:48 Starting health checker
Dec 25 12:56:48 reefpikjm reef-pi[1453]: 2019/12/25 12:56:48 Starting http server at: 0.0.0.0:80
Dec 25 12:56:48 reefpikjm reef-pi[1453]: Methods: [GET]
Dec 25 12:56:48 reefpikjm reef-pi[1453]: 2019/12/25 12:56:48 API Doc path: /api/settings
Dec 25 12:57:48 reefpikjm reef-pi[1453]: 2019/12/25 12:57:48 health check: Used memory: 21.9 Load5: 0.56
Dec 25 12:58:48 reefpikjm reef-pi[1453]: 2019/12/25 12:58:48 health check: Used memory: 22.08 Load5: 0.55

FYI, I installed teamviewer and I'm super stoked about being able to (essentially) RDP into it from anywhere!
 

burningbaal

Active Member
View Badges
Joined
Aug 13, 2019
Messages
232
Reaction score
252
Location
Near Seattle
Rating - 0%
0   0   0
hmmm....so it works when I type in the ip in my laptop's browser, but not by hostname. I don't get a rejection, just a white page. html I'm getting by hostname:

Code:
<html><head></head><body></body></html>
 

raketemensch

Ape That Likes Fish
View Badges
Joined
Oct 13, 2019
Messages
378
Reaction score
466
Location
Northwest CT
Rating - 0%
0   0   0
Three probes up and running -- more than I need, probably, but still:

1) Main tank
2) Main tank backup
3) Sump

That was pretty easy in the end. I do have to find the right silicone before I can drop them in the tank, though.

I also did a calibration to 32F via an insulated mug, water and a ton of ice cubes, with lots of stirring and 4 minutes of letting the temp stabilize.

Thanks for the help, everyone!
 
Last edited:

raketemensch

Ape That Likes Fish
View Badges
Joined
Oct 13, 2019
Messages
378
Reaction score
466
Location
Northwest CT
Rating - 0%
0   0   0
I'm a little confused about how the ATO works on the goby board.

I've got an ATO set up already using a float switch and a 5v relay, so I have everything I need to hook it up to the reef-pi, but I'm unsure about the wiring. It seems like normally you would set up the float switch as an inlet and then set an outlet to the rely, but on this board there are two "ATO" labeled JST plugs.

Has anyone stumbled onto a guide for setting this up? The ATO is working well right now, but it would be awesome to hook it up to the pi so I can see how often/when it triggers, as I'm trying to adjust things to better stabilize my salinity.
 

AbjectMaelstroM

Valuable Member
View Badges
Joined
Jul 21, 2019
Messages
1,535
Reaction score
1,709
Location
RVA
Rating - 100%
1   0   0
I'm a little confused about how the ATO works on the goby board.

I've got an ATO set up already using a float switch and a 5v relay, so I have everything I need to hook it up to the reef-pi, but I'm unsure about the wiring. It seems like normally you would set up the float switch as an inlet and then set an outlet to the rely, but on this board there are two "ATO" labeled JST plugs.

Has anyone stumbled onto a guide for setting this up? The ATO is working well right now, but it would be awesome to hook it up to the pi so I can see how often/when it triggers, as I'm trying to adjust things to better stabilize my salinity.

Didn't follow any guide other than basic ATO guide from Ranjib on ReefPi. It's really easy with the hat.

Wire up a "low-level" float switch, optical, no-contact sensor to the ATO plug on thr HAT. In ReefPi, create an inlet tied to one of the GPIOs (18,27). Go into ATO tab, select the inlet you created and use it to trigger an outlet (power bar) to activate the ATO pump. This runs until the "low" level sensor is tripped which turns off the outlet for the ATO pump.

Hope that makes sense. I got a bottle of 17 year Balvenie Doublebarrel for Xmas so I'm doing some quality assurance testing now... You know, just to be safe. I might be of more help tomorrow, but until then hopefully someone else can chime in as well.
 

raketemensch

Ape That Likes Fish
View Badges
Joined
Oct 13, 2019
Messages
378
Reaction score
466
Location
Northwest CT
Rating - 0%
0   0   0
Wire up a "low-level" float switch, optical, no-contact sensor to the ATO plug on thr HAT.

Where it falls apart for me is that the ATO plug is 4 wires, the float switch is two. I wasn't sure if the other two wires were related to the relay circuit.

In ReefPi, create an inlet tied to one of the GPIOs (18,27). Go into ATO tab, select the inlet you created and use it to trigger an outlet (power bar) to activate the ATO pump. This runs until the "low" level sensor is tripped which turns off the outlet for the ATO pump.

So in this case you are setting up the relay as a separate power bar/outlet, that makes sense to me, although it confuses me even more about why the ATO would need 4 wires...

Hope that makes sense. I got a bottle of 17 year Balvenie Doublebarrel for Xmas so I'm doing some quality assurance testing now... You know, just to be safe. I might be of more help tomorrow, but until then hopefully someone else can chime in as well.

I'm into some homemade 4-year old corn whiskey myself, which probably isn't helping...
 

TOP 10 Trending Threads

WHAT AMOUNT OF LIVE ROCK AND SAND SHOULD BE PRIORITIZED FOR OPTIMAL BIODIVERSITY/FILTRATION?

  • 100% live rock + bagged sand

    Votes: 38 26.4%
  • 100% dry rock + 100% live sand

    Votes: 48 33.3%
  • 50/50 live/dry rock, 50/50 live/bagged sand

    Votes: 32 22.2%
  • 75% live rock, 25% live sand

    Votes: 15 10.4%
  • 25% live rock, 75% live sand

    Votes: 11 7.6%
Back
Top