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

Ryan115

Well-Known Member
View Badges
Joined
Dec 28, 2010
Messages
586
Reaction score
1,085
Location
Mississippi
Rating - 0%
0   0   0
Using reef-pi & reef-pi. I tried deleting the cache with no results. I've just decided to format my SD card & start with a fresh Raspbian install.
On Chrome the hard refresh is Ctrl+F5

Ranjib, just updated to 0.9, are the message sensor thresholds configurable? For temp, are they a set distance outside the thresholds that we set?
 

Ryan115

Well-Known Member
View Badges
Joined
Dec 28, 2010
Messages
586
Reaction score
1,085
Location
Mississippi
Rating - 0%
0   0   0
So I'm putting together a list for Santa, and I want to include some components for upcoming tank enhancements.
Currently I do not have any dosing. Which modules support control from reef-pi (are they pwm or on/off)? I love the price point and generally postive reviews of the jebao, but I am not sure if it can be integrated into the system. Otherwise, has anyone run and DIY peristaltic?
Also, what are the planned sensor probes? Are they going to be planned to use Atlas probes/stamps?
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,843
Reaction score
17,056
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
On Chrome the hard refresh is Ctrl+F5

Ranjib, just updated to 0.9, are the message sensor thresholds configurable? For temp, are they a set distance outside the thresholds that we set?
Across ato, temperature and cpu/memory usage, all alert thresholds are configurable.
You have to enable alert/email notification from telemetry configuration though. There’s a way to rate limit (number of individual alerts per hour ) alerts as well
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,843
Reaction score
17,056
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
So I'm putting together a list for Santa, and I want to include some components for upcoming tank enhancements.
Currently I do not have any dosing. Which modules support control from reef-pi (are they pwm or on/off)? I love the price point and generally postive reviews of the jebao, but I am not sure if it can be integrated into the system. Otherwise, has anyone run and DIY peristaltic?
Also, what are the planned sensor probes? Are they going to be planned to use Atlas probes/stamps?
Brs dosing pumps are pretty sturdy, they do not require pwm, and are just timer based. I use cheap peristaltic pump from adafruit which I can control via 12v pwm. Reef-pi dosing module will be develop against that
 

Gareth elliott

Read, Tinker, Fail, Learn
View Badges
Joined
May 7, 2017
Messages
5,468
Reaction score
6,935
Location
NJ
Rating - 0%
0   0   0
You dont need a converter, raspberry pi already has 3.3v output pin 1 and 17

I wanted external power buttons for heater, ato, and pumps. So 4 pumps are one 4 channel relay, with dedicated supply module, ato and heater on a 2 channel relay to their own supply. Each supply has an on/off button. Again i made this more complicated than needed to be lol.

But allows for turning on and off equipment for maintenance or feeding. and for the pi to remain in the display housing and visible and hiding everything else in their own project boxes out of view. I didnt know the optical probe would work on 3.3 so could remove that chip and just have it attached to the 3.3v pin on the psm.
 

Gareth elliott

Read, Tinker, Fail, Learn
View Badges
Joined
May 7, 2017
Messages
5,468
Reaction score
6,935
Location
NJ
Rating - 0%
0   0   0
So I'm putting together a list for Santa, and I want to include some components for upcoming tank enhancements.
Currently I do not have any dosing. Which modules support control from reef-pi (are they pwm or on/off)? I love the price point and generally postive reviews of the jebao, but I am not sure if it can be integrated into the system. Otherwise, has anyone run and DIY peristaltic?
Also, what are the planned sensor probes? Are they going to be planned to use Atlas probes/stamps?

Jebao dosing pump does not support outside controllers. Controllable only through the unit itself.
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,843
Reaction score
17,056
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Jebao dosing pump does not support outside controllers. Controllable only through the unit itself.
I dont think they have to be supported. Controlling DC pumps are not something really state of the art . All we need is a 24v pwm , and that should do it. The risk here is if we mess up something , we are on our own (i.e. warranty is void). I dount they have anything that stop them from being controlled by external controller. I personally plan to test with the koralia 12v dc pumps.
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,843
Reaction score
17,056
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
I wanted external power buttons for heater, ato, and pumps. So 4 pumps are one 4 channel relay, with dedicated supply module, ato and heater on a 2 channel relay to their own supply. Each supply has an on/off button. Again i made this more complicated than needed to be lol.

But allows for turning on and off equipment for maintenance or feeding. and for the pi to remain in the display housing and visible and hiding everything else in their own project boxes out of view. I didnt know the optical probe would work on 3.3 so could remove that chip and just have it attached to the 3.3v pin on the psm.

you mean mechanical switchs for them? You can either get a power strip with individual switch or wire up switches in your relay output. I use the standard on/off button from reef-pi equipment tab to switch on/off equipments during WC
 

dburg30

Community Member
View Badges
Joined
Oct 22, 2017
Messages
56
Reaction score
93
Rating - 0%
0   0   0
Hmm.. what the log is showing ? Have you wired up ds18b20 sensor? Lets do some diagnostics, I am sure we can fix this.
whats the output of these commands:
Code:
sudo ls /sys/bus/w1/devices
and
Code:
sudo lsmod

Code:
pi@raspberrypi:~ $ sudo ls /sys/bus/w1/devices
28-051780faabff  w1_bus_master1
pi@raspberrypi:~ $ sudo lsmod
Module                  Size  Used by
fuse                   99603  3
rfcomm                 37723  6
cmac                    3239  1
bnep                   12051  2
hci_uart               20020  1
btbcm                   7916  1 hci_uart
bluetooth             365780  29 hci_uart,bnep,btbcm,rfcomm
evdev                  12423  6
joydev                  9988  0
spidev                  7373  0
brcmfmac              292632  0
brcmutil                9863  1 brcmfmac
cfg80211              544545  1 brcmfmac
snd_bcm2835            24427  1
snd_pcm                98501  1 snd_bcm2835
rfkill                 20851  6 bluetooth,cfg80211
snd_timer              23968  1 snd_pcm
snd                    70032  5 snd_timer,snd_bcm2835,snd_pcm
spi_bcm2835             7596  0
w1_therm                6401  0
i2c_bcm2835             7167  1
rpi_ft5406              4847  0
bcm2835_gpiomem         3940  0
w1_gpio                 4818  0
wire                   32619  2 w1_gpio,w1_therm
cn                      5889  1 wire
uio_pdrv_genirq         3923  0
fixed                   3285  0
rpi_backlight           2632  0
uio                    10204  1 uio_pdrv_genirq
i2c_dev                 6913  2
ip_tables              13161  0
x_tables               20578  1 ip_tables
ipv6                  408900  72
pi@raspberrypi:~ $ ^C

And I've used some other code that read it.. So it seems to be working..

Code:
pi@raspberrypi:/sys/bus/w1/devices/28-051780faabff $ cd /sys/bus/w1/devices
pi@raspberrypi:/sys/bus/w1/devices $ cd 28-051780faabff
pi@raspberrypi:/sys/bus/w1/devices/28-051780faabff $ cat w1_slave
24 01 4b 46 7f ff 0c 10 48 : crc=48 YES
24 01 4b 46 7f ff 0c 10 48 t=18250
pi@raspberrypi:/sys/bus/w1/devices/28-051780faabff $
 
Last edited:
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,843
Reaction score
17,056
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Code:
pi@raspberrypi:~ $ sudo ls /sys/bus/w1/devices
28-051780faabff  w1_bus_master1
pi@raspberrypi:~ $ sudo lsmod
Module                  Size  Used by
fuse                   99603  3
rfcomm                 37723  6
cmac                    3239  1
bnep                   12051  2
hci_uart               20020  1
btbcm                   7916  1 hci_uart
bluetooth             365780  29 hci_uart,bnep,btbcm,rfcomm
evdev                  12423  6
joydev                  9988  0
spidev                  7373  0
brcmfmac              292632  0
brcmutil                9863  1 brcmfmac
cfg80211              544545  1 brcmfmac
snd_bcm2835            24427  1
snd_pcm                98501  1 snd_bcm2835
rfkill                 20851  6 bluetooth,cfg80211
snd_timer              23968  1 snd_pcm
snd                    70032  5 snd_timer,snd_bcm2835,snd_pcm
spi_bcm2835             7596  0
w1_therm                6401  0
i2c_bcm2835             7167  1
rpi_ft5406              4847  0
bcm2835_gpiomem         3940  0
w1_gpio                 4818  0
wire                   32619  2 w1_gpio,w1_therm
cn                      5889  1 wire
uio_pdrv_genirq         3923  0
fixed                   3285  0
rpi_backlight           2632  0
uio                    10204  1 uio_pdrv_genirq
i2c_dev                 6913  2
ip_tables              13161  0
x_tables               20578  1 ip_tables
ipv6                  408900  72
pi@raspberrypi:~ $ ^C

And I've used some other code that read it.. So it seems to be working..

Code:
pi@raspberrypi:/sys/bus/w1/devices/28-051780faabff $ cd /sys/bus/w1/devices
pi@raspberrypi:/sys/bus/w1/devices $ cd 28-051780faabff
pi@raspberrypi:/sys/bus/w1/devices/28-051780faabff $ cat w1_slave
24 01 4b 46 7f ff 0c 10 48 : crc=48 YES
24 01 4b 46 7f ff 0c 10 48 t=18250
pi@raspberrypi:/sys/bus/w1/devices/28-051780faabff $
Temperature probe is working fine. Something on reef-pi end is not correct. Make sure devmode is not enabled. Can you share your temperature tab screen shot, and if you have any log for reef-pi. If your temeperature check interval is set to 1 minute, reef-pi should log after every 1 minute regarding temperature probe reading
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,843
Reaction score
17,056
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Ive noticed that since the upgrade my ato isnt working. I can manaully operate it but it isnt working automatically. How can i check this?
You have to check the log. What’s the settings for ato ? Can you share a screenshot? If your ato is set to check at 1 min interval, reef-pi will log ato details (sensor status and equipment/pump action ) after every minute
 

dburg30

Community Member
View Badges
Joined
Oct 22, 2017
Messages
56
Reaction score
93
Rating - 0%
0   0   0
Temperature probe is working fine. Something on reef-pi end is not correct. Make sure devmode is not enabled. Can you share your temperature tab screen shot, and if you have any log for reef-pi. If your temeperature check interval is set to 1 minute, reef-pi should log after every 1 minute regarding temperature probe reading
Devmode is not enabled. Once you click the enable button on the temp page and click update, should it update immediately, or could it take a minute after clicking update?
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,843
Reaction score
17,056
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Devmode is not enabled. Once you click the enable button on the temp page and click update, should it update immediately, or could it take a minute after clicking update?
it will take a minute
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,843
Reaction score
17,056
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Yea, it's not applying the settings.. I click enable and then update and it just sits there.....
Can you share the reef-pi log ? I just double checked couple of my controllers running 0.9, both of them is working as expected, and restarts their ato sub-system when i click update on ui
Code:
Nov 19 15:30:18 raspberrypi reef-pi[26986]: 2017/11/19 15:30:18 Stopping ATO sub-system
Nov 19 15:30:18 raspberrypi reef-pi[26986]: 2017/11/19 15:30:18 Starting ATO sub system
 

dburg30

Community Member
View Badges
Joined
Oct 22, 2017
Messages
56
Reaction score
93
Rating - 0%
0   0   0
Can you share the reef-pi log ? I just double checked couple of my controllers running 0.9, both of them is working as expected, and restarts their ato sub-system when i click update on ui
Code:
Nov 19 15:30:18 raspberrypi reef-pi[26986]: 2017/11/19 15:30:18 Stopping ATO sub-system
Nov 19 15:30:18 raspberrypi reef-pi[26986]: 2017/11/19 15:30:18 Starting ATO sub system

Where do I find the log, and is there anything else I need to set up for temp probe or it should just work?
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,843
Reaction score
17,056
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
ssh into your raspberry pi and type this in a terminal:
Code:
sudo journalctl -fu reef-pi.service

You dont need anything special for temperature probe. If you want pm me your gmail/google id and we can do a quick hangout/video chat to fix this
 
Back
Top