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

OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
I'm getting errors when reef-pi tries to connect to adafruit IO, it's trying to connect with IPv6, but I have that disabled. What can I do about that?
It’s a Linux thing. Disable ipv6 advertisements on router
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0

Kurtzisa

Community Member
View Badges
Joined
Mar 21, 2020
Messages
90
Reaction score
73
Location
Parma, Italy
Rating - 0%
0   0   0
Hello everybody,
the ReefPi project is great!
I would like to use the ADS1115 16 bit ADC i2c interface on Reef Pi, i'm a newby in raspberry world but sometimes i worked with Arduino.
Should i create drivers to use this ADC for temperature or PH monitoring? I have analog sensors at home like pt1000 and i wish i could use them.
 

robsworld78

Valuable Member
View Badges
Joined
Feb 14, 2020
Messages
1,029
Reaction score
1,293
Location
Edmonton, Canada
Rating - 0%
0   0   0
Has anyone hacked into an eheim auto feeder yet? I’m debating cracking mine open to try and make a reefpi auto feeder.

Here's some images I made up a while ago showing how to do it. You can use any logic level mosfet, the green line in 1st image goes to any I/O pin on the Pi. The blue line is what solders to the Eheim PCB.

To run in Reef-pi add an 'outlet' connector for that pin and setup the feeder as a piece of 'equipment'. Then setup a timer and set it to turn off after 1 second. This will be the same as you pressing the manual feed button for one second.

Base = Gate
Collector = Drain
Emitter = Source

Feeder_NPN.jpg

feeder1.jpg

feeder2.jpg
 

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
Here's some images I made up a while ago showing how to do it. You can use any logic level mosfet, the green line in 1st image goes to any I/O pin on the Pi. The blue line is what solders to the Eheim PCB.

To run in Reef-pi add an 'outlet' connector for that pin and setup the feeder as a piece of 'equipment'. Then setup a timer and set it to turn off after 1 second. This will be the same as you pressing the manual feed button for one second.

Base = Gate
Collector = Drain
Emitter = Source

Feeder_NPN.jpg

feeder1.jpg

feeder2.jpg

Nice.

This is what I hoped to accomplish with my Juwel feeder, but with that you can't turn off the feeding schedule, so my only work-around was to turn the unit on and off.

I can't find the post, but there was someone (from Europe I think) that posted about setting up a reef-pi for his setup (I think it was a freshwater setup) and he got an autofeeder to work as well. I think it was an Eheim and and he got reef-pi to activate the manual button.
 

b4tn

Valuable Member
View Badges
Joined
Jun 17, 2015
Messages
1,679
Reaction score
2,227
Location
Columbia MD
Rating - 0%
0   0   0
Here's some images I made up a while ago showing how to do it. You can use any logic level mosfet, the green line in 1st image goes to any I/O pin on the Pi. The blue line is what solders to the Eheim PCB.

To run in Reef-pi add an 'outlet' connector for that pin and setup the feeder as a piece of 'equipment'. Then setup a timer and set it to turn off after 1 second. This will be the same as you pressing the manual feed button for one second.

Base = Gate
Collector = Drain
Emitter = Source

Feeder_NPN.jpg

feeder1.jpg

feeder2.jpg

this is perfect! I already have the transistor in place powering some relays I don’t use any more so all I need to do is run the wires.
 

Matevz Savarin

Active Member
View Badges
Joined
Dec 5, 2018
Messages
209
Reaction score
163
Rating - 0%
0   0   0
Ranjib I have found it under home/pi not under var/lib/reef-pi..
This are commands I used for my and others future reference:

sudo systemctl stop reef-pi.service
sudo reef-pi db list ato
reef-pi db -output reef-pi.db show ato_usage 1 | jq . > usage.json

Then modify file under home/pi

cat usage.json | sudo reef-pi db update ato_usage 1
sudo systemctl start reef-pi.service




Capture.PNG
 
Last edited:

GaryE

Well-Known Member
View Badges
Joined
Mar 12, 2020
Messages
992
Reaction score
1,321
Location
Coatesville, Indiana
Rating - 0%
0   0   0
Getting quite a bit of these messages:


Mar 22 14:26:55
{"error":"not found - that is an invalid URL, please check the API documentation at https://io.adafruit.com/api/docs to make sure your URL is correct"}

Mar 22 14:29:56
{"error":"not found - that is an invalid URL, please check the API documentation at https://io.adafruit.com/api/docs to make sure your URL is correct"}

Mar 22 14:26:55
{"error":"not found - that is an invalid URL, please check the API documentation at https://io.adafruit.com/api/docs to make sure your URL is correct"}

Mar 22 14:26:55
{"error":"not found - that is an invalid URL, please check the API documentation at https://io.adafruit.com/api/docs to make sure your URL is correct"}

Mar 22 14:26:55
{"error":"not found - that is an invalid URL, please check the API documentation at https://io.adafruit.com/api/docs to make sure your URL is correct"}

Mar 22 14:26:55
{"error":"not found - that is an invalid URL, please check the API documentation at https://io.adafruit.com/api/docs to make sure your URL is correct"}

Mar 22 14:26:55
{"error":"not found - that is an invalid URL, please check the API documentation at https://io.adafruit.com/api/docs to make sure your URL is correct"}

Mar 22 14:26:55
{"error":"not found - that is an invalid URL, please check the API documentation at https://io.adafruit.com/api/docs to make sure your URL is correct"}
 

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,811
Rating - 0%
0   0   0
Getting quite a bit of these messages:


Mar 22 14:26:55
{"error":"not found - that is an invalid URL, please check the API documentation at https://io.adafruit.com/api/docs to make sure your URL is correct"}

Mar 22 14:29:56
{"error":"not found - that is an invalid URL, please check the API documentation at https://io.adafruit.com/api/docs to make sure your URL is correct"}

Mar 22 14:26:55
{"error":"not found - that is an invalid URL, please check the API documentation at https://io.adafruit.com/api/docs to make sure your URL is correct"}

Mar 22 14:26:55
{"error":"not found - that is an invalid URL, please check the API documentation at https://io.adafruit.com/api/docs to make sure your URL is correct"}

Mar 22 14:26:55
{"error":"not found - that is an invalid URL, please check the API documentation at https://io.adafruit.com/api/docs to make sure your URL is correct"}

Mar 22 14:26:55
{"error":"not found - that is an invalid URL, please check the API documentation at https://io.adafruit.com/api/docs to make sure your URL is correct"}

Mar 22 14:26:55
{"error":"not found - that is an invalid URL, please check the API documentation at https://io.adafruit.com/api/docs to make sure your URL is correct"}

Mar 22 14:26:55
{"error":"not found - that is an invalid URL, please check the API documentation at https://io.adafruit.com/api/docs to make sure your URL is correct"}
This is normal if you have alot of things set up in reef pi. You get 10 free feeds with a free adafruit io account and so many feeds per minute. If you go over this amount adafruit ignores the feeds and may not accept them.
As of this time there is no way to decide which feeds get sent as reef pi sets them up automatically. one thing you can do is not set up monitoring with small intervals which would cause you to exceed the number of feeds per minute.
 

Dave's Reef

Active Member
View Badges
Joined
Nov 4, 2018
Messages
102
Reaction score
148
Rating - 0%
0   0   0
Hello everyone. I have a question with the hs300. If power goes out it will not reconnect with reef-pi. I can still use my phone to operate it just fine. I locked the IP address on the hs300 but every time I power the PI off then back on it gives me a connector error in reef-pi when I try and turn the equipment on. I have to delete the whole thing working backwards if I dont first delete the equipment then the connectors then the driver it locks me out of the connectors screen and I get this error. Has anyone else had this issue and knows of a fix? Thanks for the help

20200322_202708.jpg
 

NeonRabbit221B

2500 Club Member
View Badges
Joined
Jun 21, 2019
Messages
3,037
Reaction score
5,408
Location
Richmond, Va
Rating - 0%
0   0   0
Question... Was working on getting my ph sensor working after combining my dosing reef-pi build with my first reef-pi build. I got it to work, calibrated it and connected my dosing setup and pca9685 when I wasn't able to set my dosing working. I found a missing connection in my soldering ( can't remember which one) , resoldered it and got the dosing setup working. Now my pH probe isn't found by i2cdetect.

I checked wiring and completely redid it twice... (5V to 5V, SDA to SDA, SCL to SCL and Gnd to Gnd) using the isolator board. It seems I have continuity between all connections (0 ohms) and when plugged in the standby blue led it always on, voltages across ground and 5V check out and my SDA and SCL were around 3.6V. Still can't see it on reef-pi or through console on i2cdetect... Any ides on what I should try?
 

Badfish2too

Community Member
View Badges
Joined
Nov 12, 2018
Messages
83
Reaction score
65
Rating - 0%
0   0   0
Question... Was working on getting my ph sensor working after combining my dosing reef-pi build with my first reef-pi build. I got it to work, calibrated it and connected my dosing setup and pca9685 when I wasn't able to set my dosing working. I found a missing connection in my soldering ( can't remember which one) , resoldered it and got the dosing setup working. Now my pH probe isn't found by i2cdetect.

I checked wiring and completely redid it twice... (5V to 5V, SDA to SDA, SCL to SCL and Gnd to Gnd) using the isolator board. It seems I have continuity between all connections (0 ohms) and when plugged in the standby blue led it always on, voltages across ground and 5V check out and my SDA and SCL were around 3.6V. Still can't see it on reef-pi or through console on i2cdetect... Any ides on what I should try?
What version are you running?
 

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,811
Rating - 0%
0   0   0
Question... Was working on getting my ph sensor working after combining my dosing reef-pi build with my first reef-pi build. I got it to work, calibrated it and connected my dosing setup and pca9685 when I wasn't able to set my dosing working. I found a missing connection in my soldering ( can't remember which one) , resoldered it and got the dosing setup working. Now my pH probe isn't found by i2cdetect.

I checked wiring and completely redid it twice... (5V to 5V, SDA to SDA, SCL to SCL and Gnd to Gnd) using the isolator board. It seems I have continuity between all connections (0 ohms) and when plugged in the standby blue led it always on, voltages across ground and 5V check out and my SDA and SCL were around 3.6V. Still can't see it on reef-pi or through console on i2cdetect... Any ides on what I should try?
What address is the pca board? And what address is the ph isolator board? If they are the same you may not see one on the bus.
Also try one thing at a time...disconnect the pca and try the ph board alone...does it show up? Do the same with the pca9685. Are you feeding the i2c thru the pca9685? Maybe something on the feed thru is messed up.
 

NeonRabbit221B

2500 Club Member
View Badges
Joined
Jun 21, 2019
Messages
3,037
Reaction score
5,408
Location
Richmond, Va
Rating - 0%
0   0   0
What version are you running?

3.3.1

What address is the pca board? And what address is the ph isolator board? If they are the same you may not see one on the bus.
Also try one thing at a time...disconnect the pca and try the ph board alone...does it show up? Do the same with the pca9685. Are you feeding the i2c thru the pca9685? Maybe something on the feed thru is messed up.
Disconnecting the PCA and dosing setup I do not see any address from the ph board.
 

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,811
Rating - 0%
0   0   0
3.3.1


Disconnecting the PCA and dosing setup I do not see any address from the ph board.
If its not showing in i2c detect that sounds like an external wiring issue or the ph board is not working correctly. Check over everything carefully...make sure an errant blob of solder didnt go somewhere it shouldnt have or something similar
 

NeonRabbit221B

2500 Club Member
View Badges
Joined
Jun 21, 2019
Messages
3,037
Reaction score
5,408
Location
Richmond, Va
Rating - 0%
0   0   0
So decided to check if my dosing system was still able to be detected on i2c and kabam the pH board can be detected now. Still can't get it showing up on reef-pi. I2c shows it at the address 0x70 which is 112 in decimal. Changed the address and rebooted but still nothing.
 

TOP 10 Trending Threads

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

  • 100% live rock + bagged sand

    Votes: 37 27.4%
  • 100% dry rock + 100% live sand

    Votes: 46 34.1%
  • 50/50 live/dry rock, 50/50 live/bagged sand

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

    Votes: 12 8.9%
  • 25% live rock, 75% live sand

    Votes: 10 7.4%

New Posts

Back
Top