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

MikeSpike

Community Member
View Badges
Joined
Jan 2, 2019
Messages
88
Reaction score
54
Rating - 0%
0   0   0
Thanks all. The DHCP error does relate to additional TP link power bar I used to run (for my RO in the shed). So I understand that one.
The issue I’m having is with my robo tank (wired) power bar. I think that is the TCP error in the screenshots.
 

biznatch

Community Member
View Badges
Joined
Nov 30, 2023
Messages
35
Reaction score
24
Location
CA
Rating - 0%
0   0   0
Thanks all. The DHCP error does relate to additional TP link power bar I used to run (for my RO in the shed). So I understand that one.
The issue I’m having is with my robo tank (wired) power bar. I think that is the TCP error in the screenshots.
TCP is only for network connections. The robotank wired power bar connects to the GPIO pins using the serial cable. Are none of the plugs working on the powerbar? Do you hear the relay clicking when turning the ports on/off?
 

MikeSpike

Community Member
View Badges
Joined
Jan 2, 2019
Messages
88
Reaction score
54
Rating - 0%
0   0   0
Correct it’s connected via serial. All the sockets function normally for 23.5 hours a day. Just a couple of times a day it turns itself off (flooding my sump) with the errors I’ve shown above. It restarts probably less than a minute later.
 

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've been having a problem with my Adafruit IO feeds constantly giving me errors saying "invalid Key" or similar. But I have been getting data feeds from my Reef-Pi to Adafruit.

So last night I tried to re-install the Key in the hope of the problem going away. But I only seem to have made the problem worse.

Can someone point me to a tutorial / document showing all the steps required? Or is Adafruit a thing of the past and should I rather set up the Telemetry Server? (that will be another steep learning curve)
 

Lingwendil

Well-Known Member
View Badges
Joined
Jul 23, 2012
Messages
534
Reaction score
447
Location
Antioch, California
Rating - 0%
0   0   0
I cannot for the life f me get SSH to work to edit my config file, and in addition to that- when attempting to install reef-pi on a freshly installed image of raspberry pi os copy/paste of the code returns the error "no such file or directory"

is the info in the guide up to date? I've put several hours into this toniht and gotten nowere.
 

Kurtzisa

Community Member
View Badges
Joined
Mar 21, 2020
Messages
90
Reaction score
73
Location
Parma, Italy
Rating - 0%
0   0   0
ORP is less common, but works no problem. you can even measure it with a pH board when you connect an ORP probe to it and transform the „pH“ value back to the measured voltage.
Ok, and how i can do this? because i have an ORP probe... the main problem is the documentation of Reef-pi project, probably i missing a lot of interesting stuff
 

Kurtzisa

Community Member
View Badges
Joined
Mar 21, 2020
Messages
90
Reaction score
73
Location
Parma, Italy
Rating - 0%
0   0   0
Hi, which sensor are you using to monitor your sump level? I've tryed the DFRobot SEN0205
but I'm having problems since the probes are not waterproof and when the return pump turn off the sensor will be fully underwater...
capacitor switch

i have found this, and it works perfectly! after 2 years its works perfectly
 

Sral

Valuable Member
View Badges
Joined
May 2, 2022
Messages
1,015
Reaction score
943
Location
Germany
Rating - 0%
0   0   0
Ok, and how i can do this? because i have an ORP probe... the main problem is the documentation of Reef-pi project, probably i missing a lot of interesting stuff
You connect the ORP probe to a pH-board and hook that up to ReefPi as usual. For testing purposes you can also exchange the pH probe currently connected to your pH board with the ORP probe.

You install everything just like for the pH, but in the settings for this board on the pH tab you enter the tranform formula: (v-7.0)*59.16
That transforms the natively returned "pH value" back to the actually measured voltage on the board, as measuring pH is basically just a very fine voltage measurement. ORP is the same, just with a different probe. None of that is noted in the documentation though ^^

One caveat that I just noticed though: if you also want to measure pH, you will likely have two identical boards on the I2C BUS. That means you need to make sure that both boards have different adresses. Easiest might be to have one Atlas and one Robo-Tank pH board. You can also try 2 robo-tank pH boards, but have to connect only one first and change that ones address with the ssh console.
 

Lingwendil

Well-Known Member
View Badges
Joined
Jul 23, 2012
Messages
534
Reaction score
447
Location
Antioch, California
Rating - 0%
0   0   0
So, i followed the install and setup guide here- but after looking it over again, it appears that it refers to a very old version of Reef-pi- and specifically the version for a Pi Zero-

In order to reinstall with a current version that is meant specifically for my Raspberry Pi 3B, do I open a terminal and simply adjust the script to point to the current version file, and then install over the top of the existing version, or do I need to uninstall first?

such as this?

"wget -c https://github.com/reef-pi/reef-pi/releases/download/6.0/reef-pi-6.0-pi3.deb

sudo dpkg -i reef-pi-4.3-pi0.deb"
 

InactiveAcct

Well-Known Member
View Badges
Joined
Dec 2, 2019
Messages
520
Reaction score
501
Rating - 0%
0   0   0
@Ranjib by any chance are internal pull up/down resistors used on ATO (GPIO17)?
I am wanting to set this up with a floatswitch that I have now.
My circuit is below, I dont think I need anything other than a current limiting resistor with the switch, and then possibly the pull down.
Correct?
Thanks.
reef-pi_ATO_schem.jpg
Thanks for asking my question for today 6+ years ago
 

Schreiber

Leviathan
View Badges
Joined
Jun 28, 2016
Messages
475
Reaction score
594
Location
Knoxville
Rating - 0%
0   0   0
Hi everyone, adding dosing pump to my pi4 with Leviathan 1.0 hat build and having issues getting dosing pump to turn on. Trying to check my ReefPi config without any hardware attached. I feel like I should be measuring 3.3V between ground (Pin 39) and GPIO18 (pin 12) when I calibrate the dosing pump but I’m getting 0. Assuming this is the reason my pump isn’t running. If anyone has suggestions or sees config errors please let me know, thank you!

IMG_7804.jpeg
IMG_7805.jpeg
IMG_7806.jpeg

IMG_7807.jpeg
IMG_7808.jpeg
Hey there Dan! Just happened to see this today. I haven't been on R2R much lately, sorry!

Configuration looks good at first glance. Yeah, you should be getting ~3.3V between those pins. It sounds like GPIO 18 isn't firing. Have you tried setting it up as an equipment relay control to see if you can get that GPIO to turn on at all?

I've had some Raspberry Pis throughout the years that will randomly have a pin go bad on them. Not something that happens every day, but it's common enough to where I'd check that for sure.
 

Schreiber

Leviathan
View Badges
Joined
Jun 28, 2016
Messages
475
Reaction score
594
Location
Knoxville
Rating - 0%
0   0   0
So, i followed the install and setup guide here- but after looking it over again, it appears that it refers to a very old version of Reef-pi- and specifically the version for a Pi Zero-

In order to reinstall with a current version that is meant specifically for my Raspberry Pi 3B, do I open a terminal and simply adjust the script to point to the current version file, and then install over the top of the existing version, or do I need to uninstall first?

such as this?

"wget -c https://github.com/reef-pi/reef-pi/releases/download/6.0/reef-pi-6.0-pi3.deb

sudo dpkg -i reef-pi-4.3-pi0.deb"
What version are you currently on?

I seem to remember needing to uninstall & re-install at some point, but haven't had to in years. If my memory serves correctly, I think any version of Reef Pi 2.0 or higher is fine to just dpkg the new install over without uninstalling.

As to the modifications for 0 to 3, yep, just change that part of the text (including the sudo dpkg, you still have pi0 in your example.)
 

Lingwendil

Well-Known Member
View Badges
Joined
Jul 23, 2012
Messages
534
Reaction score
447
Location
Antioch, California
Rating - 0%
0   0   0
What version are you currently on?

I seem to remember needing to uninstall & re-install at some point, but haven't had to in years. If my memory serves correctly, I think any version of Reef Pi 2.0 or higher is fine to just dpkg the new install over without uninstalling.

As to the modifications for 0 to 3, yep, just change that part of the text (including the sudo dpkg, you still have pi0 in your example.)
I'm on version 4.3. I installed exactly as the Adafruit guide, which has code for a pi0 4.3.
 

InactiveAcct

Well-Known Member
View Badges
Joined
Dec 2, 2019
Messages
520
Reaction score
501
Rating - 0%
0   0   0
Hey there Dan! Just happened to see this today. I haven't been on R2R much lately, sorry!

Configuration looks good at first glance. Yeah, you should be getting ~3.3V between those pins. It sounds like GPIO 18 isn't firing. Have you tried setting it up as an equipment relay control to see if you can get that GPIO to turn on at all?

I've had some Raspberry Pis throughout the years that will randomly have a pin go bad on them. Not something that happens every day, but it's common enough to where I'd check that for sure.
Hey @Schreiber welcome back! I’m pretty convinced it’s something going on with the software or I’m not smart enough to use it haha

I still could not get reef-pi to work with it after much, much consternation and ended up writing my own app for dosing ‍which has been working great.
 

Kurtzisa

Community Member
View Badges
Joined
Mar 21, 2020
Messages
90
Reaction score
73
Location
Parma, Italy
Rating - 0%
0   0   0
You connect the ORP probe to a pH-board and hook that up to ReefPi as usual. For testing purposes you can also exchange the pH probe currently connected to your pH board with the ORP probe.

You install everything just like for the pH, but in the settings for this board on the pH tab you enter the tranform formula: (v-7.0)*59.16
That transforms the natively returned "pH value" back to the actually measured voltage on the board, as measuring pH is basically just a very fine voltage measurement. ORP is the same, just with a different probe. None of that is noted in the documentation though ^^

One caveat that I just noticed though: if you also want to measure pH, you will likely have two identical boards on the I2C BUS. That means you need to make sure that both boards have different adresses. Easiest might be to have one Atlas and one Robo-Tank pH board. You can also try 2 robo-tank pH boards, but have to connect only one first and change that ones address with the ssh console.
Thankyou! finally my two ph probe and ORP work perfetly!
 

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
I am having endless problems with my Reef-Pi installation including, but not limited to -
- Temperature probes randomly disappearing - I replaced all 3 yesterday and the problem persists - maybe even worse than before. Big issue is if a heater or something stays on.
- I cannot get Adafruit integration working - I keep getting told "invalid AIO key" and similar stuff.
- pH will not work - tried a new probe and still nothing.

I constantly have 50-80 errors in the "Error" tab. Clear them and more appear immediately - mostly from the AIO stuff.

My current system was set up early 2021 on a Rpi4. So the SD card is +- 3 years old. Could that be my problem? Would installing a small (128GB) SSD be a better call?

I am fast approaching the point where the constant admin of checking everything is OK is getting to be a bit of a pain. Would a fresh install help my problems?

Could I safely export the database and restore on the fresh setup? Or is there a chance I could migrate a problem?
 

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 27.3%
  • 100% dry rock + 100% live sand

    Votes: 47 33.8%
  • 50/50 live/dry rock, 50/50 live/bagged sand

    Votes: 30 21.6%
  • 75% live rock, 25% live sand

    Votes: 14 10.1%
  • 25% live rock, 75% live sand

    Votes: 10 7.2%
Back
Top