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

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.. :)
 
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
 
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.
 
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.
 
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:
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 ?
 
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.
 
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
 
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/
 
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
 
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
 
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.
 
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.
 
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.
 

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