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

AshwinRavi

Active Member
View Badges
Joined
May 23, 2017
Messages
374
Reaction score
519
Location
Pittsburgh, PA
Rating - 0%
0   0   0
Instead of editing the config file directly, you can also update them by:
  1. Click the Raspberry Pi icon in the upper left.
  2. Go to Preferences>Raspberry Pi Configuration
  3. On the Interfaces tab enable the necessary items
To install reef-pi:
  1. On the raspberry pi, navigate to and download the latest release https://github.com/reef-pi/reef-pi/releases
  2. Copy the .deb out of the downloads folder to your desired location, I moved mine into Documents.
  3. Open Terminal and type
Code:
sudo dpkg -i /home/pi/Documents/reef-pi-0.3-pi3.deb
thank you, that worked like a charm. I am sure i will be bugging you all for a while since i am moving to the next step.. :)
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
thank you, that worked like a charm. I am sure i will be bugging you all for a while since i am moving to the next step.. :)
Thank you @Ryan115 . I'll update the guide tonight
 
OP
OP
Ranjib

Ranjib

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

Brad Cox

Active Member
View Badges
Joined
Mar 18, 2017
Messages
346
Reaction score
399
Rating - 0%
0   0   0

AshwinRavi

Active Member
View Badges
Joined
May 23, 2017
Messages
374
Reaction score
519
Location
Pittsburgh, PA
Rating - 0%
0   0   0

AshwinRavi

Active Member
View Badges
Joined
May 23, 2017
Messages
374
Reaction score
519
Location
Pittsburgh, PA
Rating - 0%
0   0   0
Just did a little playing around this evening, hooked up the DS18B20 thermometer controller and I can see the temperature trend on the reef-pi.
Might be a silly question, is there a place this data gets stored from everyday, if yes, how do I access it. Also on the live screen, I can't see a trend of more than 20 minutes, is that the way the app is set or am I missing something.
thanks in advance everyone.
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Just did a little playing around this evening, hooked up the DS18B20 thermometer controller and I can see the temperature trend on the reef-pi.
Might be a silly question, is there a place this data gets stored from everyday, if yes, how do I access it. Also on the live screen, I can't see a trend of more than 20 minutes, is that the way the app is set or am I missing something.
thanks in advance everyone.
If telemetry is enabled, then the data will be sent to adafruit.io where you can see trend of day/week/month. On the controller itself, I have set it to store last 20 values. ..so if your monitoring frequency is 1 min, you'll see last 20 min's trend, if the monitoring frequency is 5 min, you'll see last two hours trend.. these numbers (past 20 values) are obtained arbitrarily, we can definitely have more or less data if need be, or just make it configurable , etc.
 

AshwinRavi

Active Member
View Badges
Joined
May 23, 2017
Messages
374
Reaction score
519
Location
Pittsburgh, PA
Rating - 0%
0   0   0
If telemetry is enabled, then the data will be sent to adafruit.io where you can see trend of day/week/month. On the controller itself, I have set it to store last 20 values. ..so if your monitoring frequency is 1 min, you'll see last 20 min's trend, if the monitoring frequency is 5 min, you'll see last two hours trend.. these numbers (past 20 values) are obtained arbitrarily, we can definitely have more or less data if need be, or just make it configurable , etc.

Just got it to work, thanks. Currently, my temperature probe is updating every minute on Adafruit dashboard, my temperature is a whole 1.5 to 2 degrees off, any idea why this would be?
My reasoning for saying the temperature probe DS18B20 is off, I have checked the tank temperature using an analog and digital temperature probe and they both read at 78 to 78.1F, the probe reads steadily between 79 and 80, hence I believe there is something with the way I wired or probe itself.
 
Last edited:
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Just got it to work, thanks. Currently, my temperature probe is updating every minute on Adafruit dashboard, my temperature is a whole 1.5 to 2 degrees off, any idea why this would be?
My reasoning for saying the temperature probe DS18B20 is off, I have checked the tank temperature using an analog and digital temperature probe and they both read at 78 to 78.1F, the probe reads steadily between 79 and 80, hence I believe there is something with the way I wired or probe itself.
Should not be related to wiring. Can you share a photo of the circuit.
Ds18b20 uses one wire protocol, so there is not much in circuit. Also , who is the probe vendor ? Canakit ?
 

AshwinRavi

Active Member
View Badges
Joined
May 23, 2017
Messages
374
Reaction score
519
Location
Pittsburgh, PA
Rating - 0%
0   0   0
Should not be related to wiring. Can you share a photo of the circuit.
Ds18b20 uses one wire protocol, so there is not much in circuit. Also , who is the probe vendor ? Canakit ?
53785cd4dcf870e60bac193d4e09760b.jpg


f2b9ee0c91ffb243b2ebdbd7376a06ac.jpg


I bought the probe from Amazon, do you think, "temperature controller is running in dev mode, skipping sensor reading" is the issue?
if yes, please let me know what I am doing wrong.
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
53785cd4dcf870e60bac193d4e09760b.jpg


f2b9ee0c91ffb243b2ebdbd7376a06ac.jpg


I bought the probe from Amazon, do you think, "temperature controller is running in dev mode, skipping sensor reading" is the issue?
if yes, please let me know what I am doing wrong.
Devmode is on. This is fake temperature. Go to systems page , unchecked devmode. Update, and reload
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
53785cd4dcf870e60bac193d4e09760b.jpg


f2b9ee0c91ffb243b2ebdbd7376a06ac.jpg


I bought the probe from Amazon, do you think, "temperature controller is running in dev mode, skipping sensor reading" is the issue?
if yes, please let me know what I am doing wrong.
Yeah that is the issue. Devmode is used to develop reef-pi on systems other than raspberry pi,so all hardware features are mocked out. Please unchecked it from the systems tab and reload reef-pi. Also, check if the temperature probe is detected correctly (unrelated to your issue, but still relevant) by
Code:
ls /sys/bus/w1/devices/
 

AshwinRavi

Active Member
View Badges
Joined
May 23, 2017
Messages
374
Reaction score
519
Location
Pittsburgh, PA
Rating - 0%
0   0   0
Yeah that is the issue. Devmode is used to develop reef-pi on systems other than raspberry pi,so all hardware features are mocked out. Please unchecked it from the systems tab and reload reef-pi. Also, check if the temperature probe is detected correctly (unrelated to your issue, but still relevant) by
Code:
ls /sys/bus/w1/devices/
just checked, I have the probe listed
efa9d3763a2cf9887c3aaaec02a58166.jpg
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
just checked, I have the probe listed
efa9d3763a2cf9887c3aaaec02a58166.jpg
Reef pi is not running due to some error. Can you restart it and share the logs ?
Code:
sudo systemctl restart reef-pi.service
If it still does not start , remove the database, and restart , then uncheck dev mode as well as all other module you are not using, then reload
 

Ryan115

Well-Known Member
View Badges
Joined
Dec 28, 2010
Messages
586
Reaction score
1,085
Location
Mississippi
Rating - 0%
0   0   0
Reef pi is not running due to some error. Can you restart it and share the logs ?
Code:
sudo systemctl restart reef-pi.service
If it still does not start , remove the database, and restart , then uncheck dev mode as well as all other module you are not using, then reload

I just tried to update to 0.3 and I am also getting the same failure codes.
Reloading 0.2.1 on top and everything is running fine.

AshwinRavi, if you want to check your temp sensor in the mean time
Code:
cd /sys/bus/w1/devices
ls
cd 28-xxxx (change this to match what serial number pops up)
cat w1_slave
That should give you a t=XX.xxx, which is your temp in deg C.
 

AshwinRavi

Active Member
View Badges
Joined
May 23, 2017
Messages
374
Reaction score
519
Location
Pittsburgh, PA
Rating - 0%
0   0   0
I just tried to update to 0.3 and I am also getting the same failure codes.
Reloading 0.2.1 on top and everything is running fine.

AshwinRavi, if you want to check your temp sensor in the mean time
Code:
cd /sys/bus/w1/devices
ls
cd 28-xxxx (change this to match what serial number pops up)
cat w1_slave
That should give you a t=XX.xxx, which is your temp in deg C.
thanks, yes, i tried that and I get Temp in deg C.
 

AshwinRavi

Active Member
View Badges
Joined
May 23, 2017
Messages
374
Reaction score
519
Location
Pittsburgh, PA
Rating - 0%
0   0   0
just unchecked everything but Temperature in system window, and reloaded the page. now, i have Temp readings and its accurate. I held it against an ice cube to check and make sure it wasn't the fake reading i was seeing before.

Any idea what was causing this? Ideally i would like to go back and start controlling more using reef-pi, my next project was to get a power controller added using relays.
 

TOP 10 Trending Threads

DO YOU THINK TECHNOLOGICAL ADVANCEMENTS ARE MORE HELPFUL OR HURTFUL TO REEFING?

  • More helpful.

    Votes: 48 42.1%
  • More hurtful.

    Votes: 5 4.4%
  • I think it depends mostly on the technology.

    Votes: 45 39.5%
  • I think it dependsmostly on the reefer behind the technology.

    Votes: 34 29.8%
Back
Top
Home
Post thread…
Market
What's new