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,843
Reaction score
17,058
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
That looks great, I will upgrade this weekend and start testing it out.
One comment to begin with, it looks as though the temperature and the heater/cooler tabs are somewhat redundant, and the 0-100 scale for temp seems as it will smooth out any moderate changes, can that range be changed?.
The works you put into this is astounding. Thank you!
absolutely, i'll add it in my todo list for next release
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,843
Reaction score
17,058
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
That looks great, I will upgrade this weekend and start testing it out.
One comment to begin with, it looks as though the temperature and the heater/cooler tabs are somewhat redundant, and the 0-100 scale for temp seems as it will smooth out any moderate changes, can that range be changed?.
The works you put into this is astounding. Thank you!
temperature chart shows only last few hours trend at minute level granularity. heater/cooler shows temperature at 1 hour granularity for last 24 hours, along side heater and cooler usage per hour.
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,843
Reaction score
17,058
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
That looks great, I will upgrade this weekend and start testing it out.
One comment to begin with, it looks as though the temperature and the heater/cooler tabs are somewhat redundant, and the 0-100 scale for temp seems as it will smooth out any moderate changes, can that range be changed?.
The works you put into this is astounding. Thank you!
Question: Whats should be the YAxis temperature range should be? Min/Max? or a specific range , like 70->80?
 

Ryan115

Well-Known Member
View Badges
Joined
Dec 28, 2010
Messages
586
Reaction score
1,085
Location
Mississippi
Rating - 0%
0   0   0
Question: Whats should be the YAxis temperature range should be? Min/Max? or a specific range , like 70->80?
I can see it working either way. Min/max gets up close and magnifies your small scale variability, 70/80 gets you overall trend, which is probably more important.
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,843
Reaction score
17,058
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
I can see it working either way. Min/max gets up close and magnifies your small scale variability, 70/80 gets you overall trend, which is probably more important.
Got it.

I am thinking of making the minutely chart min/max and the heater-cooler chart 70/80.
We can change the chart types as well... reef-pi uses rechart for charting , some examples of it can be found here
 

Somnifac

Active Member
View Badges
Joined
Oct 6, 2017
Messages
141
Reaction score
378
Rating - 0%
0   0   0
I would say that a min of 70 and a max of either 85 or 90 would be best. While 80 is getting above what I would want to have in my tank, it is not uncommon for it to briefly reach those temperatures in warmer climates.. A max of 80 would clip that off.
 

philshel

Active Member
View Badges
Joined
Jul 24, 2010
Messages
364
Reaction score
381
Rating - 0%
0   0   0
Hmm, OK just upgraded and what I get is a mostly blank page that has a header saying "Reef-Pi" a divider line and one blank navigation tab. I've purged 0.7 and the database twice, still get the same page. I'm sure I've screwed something up as I'm not a Linux guy.



Code:
pi@raspberrypi:~ $ sudo systemctl status reef-pi.service
● reef-pi.service - raspberry pi based reef tank controller
   Loaded: loaded (/lib/systemd/system/reef-pi.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2017-11-03 11:12:31 PDT; 7min ago
 Main PID: 330 (reef-pi)
   CGroup: /system.slice/reef-pi.service
           └─330 /usr/bin/reef-pi -config /etc/reef-pi/config.yml

Nov 03 11:16:39 raspberrypi reef-pi[330]: 2017/11/03 11:16:39 health check: Used memory: 13.82  Load5: 0.19
Nov 03 11:17:39 raspberrypi reef-pi[330]: 2017/11/03 11:17:39 Telemetry disabled. Skipping emitting 0.2 on system-load5
Nov 03 11:17:39 raspberrypi reef-pi[330]: 2017/11/03 11:17:39 Telemetry disabled. Skipping emitting 14.11 on system-mem-used
Nov 03 11:17:39 raspberrypi reef-pi[330]: 2017/11/03 11:17:39 health check: Used memory: 14.11  Load5: 0.2
Nov 03 11:18:39 raspberrypi reef-pi[330]: 2017/11/03 11:18:39 Telemetry disabled. Skipping emitting 0.19 on system-load5
Nov 03 11:18:39 raspberrypi reef-pi[330]: 2017/11/03 11:18:39 Telemetry disabled. Skipping emitting 14.22 on system-mem-used
Nov 03 11:18:39 raspberrypi reef-pi[330]: 2017/11/03 11:18:39 health check: Used memory: 14.22  Load5: 0.19
Nov 03 11:19:39 raspberrypi reef-pi[330]: 2017/11/03 11:19:39 Telemetry disabled. Skipping emitting 0.2 on system-load5
Nov 03 11:19:39 raspberrypi reef-pi[330]: 2017/11/03 11:19:39 Telemetry disabled. Skipping emitting 14.21 on system-mem-used
Nov 03 11:19:39 raspberrypi reef-pi[330]: 2017/11/03 11:19:39 health check: Used memory: 14.21  Load5: 0.2




Screenshot (1).png










 

Somnifac

Active Member
View Badges
Joined
Oct 6, 2017
Messages
141
Reaction score
378
Rating - 0%
0   0   0
Hmm, OK just upgraded and what I get is a mostly blank page that has a header saying "Reef-Pi" a divider line and one blank navigation tab. I've purged 0.7 and the database twice, still get the same page. I'm sure I've screwed something up as I'm not a Linux guy.



Code:
pi@raspberrypi:~ $ sudo systemctl status reef-pi.service
● reef-pi.service - raspberry pi based reef tank controller
   Loaded: loaded (/lib/systemd/system/reef-pi.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2017-11-03 11:12:31 PDT; 7min ago
 Main PID: 330 (reef-pi)
   CGroup: /system.slice/reef-pi.service
           └─330 /usr/bin/reef-pi -config /etc/reef-pi/config.yml

Nov 03 11:16:39 raspberrypi reef-pi[330]: 2017/11/03 11:16:39 health check: Used memory: 13.82  Load5: 0.19
Nov 03 11:17:39 raspberrypi reef-pi[330]: 2017/11/03 11:17:39 Telemetry disabled. Skipping emitting 0.2 on system-load5
Nov 03 11:17:39 raspberrypi reef-pi[330]: 2017/11/03 11:17:39 Telemetry disabled. Skipping emitting 14.11 on system-mem-used
Nov 03 11:17:39 raspberrypi reef-pi[330]: 2017/11/03 11:17:39 health check: Used memory: 14.11  Load5: 0.2
Nov 03 11:18:39 raspberrypi reef-pi[330]: 2017/11/03 11:18:39 Telemetry disabled. Skipping emitting 0.19 on system-load5
Nov 03 11:18:39 raspberrypi reef-pi[330]: 2017/11/03 11:18:39 Telemetry disabled. Skipping emitting 14.22 on system-mem-used
Nov 03 11:18:39 raspberrypi reef-pi[330]: 2017/11/03 11:18:39 health check: Used memory: 14.22  Load5: 0.19
Nov 03 11:19:39 raspberrypi reef-pi[330]: 2017/11/03 11:19:39 Telemetry disabled. Skipping emitting 0.2 on system-load5
Nov 03 11:19:39 raspberrypi reef-pi[330]: 2017/11/03 11:19:39 Telemetry disabled. Skipping emitting 14.21 on system-mem-used
Nov 03 11:19:39 raspberrypi reef-pi[330]: 2017/11/03 11:19:39 health check: Used memory: 14.21  Load5: 0.2

I've run into that when it was a cache issue. Usually a forced refresh will fix it. To really check if it's a cache issue, open an anonymous\incognito (whatever your browser calls is) and attempt to load the page.
 

philshel

Active Member
View Badges
Joined
Jul 24, 2010
Messages
364
Reaction score
381
Rating - 0%
0   0   0
I've run into that when it was a cache issue. Usually a forced refresh will fix it. To really check if it's a cache issue, open an anonymous\incognito (whatever your browser calls is) and attempt to load the page.

Ding, Ding, Ding, you when the prize. The login page comes up when in "incognito". Cache issue with the login page. Thanks!

Edit: The issue is all on my side I know, but now I can login but then it goes back to the blank page unless I'm "incognito". Something that has changed is not playing well with my chrome settings.
 
Last edited:
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,843
Reaction score
17,058
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Can i upgrade from .3 without changing any of my pins on the gpio?
Most likely not :0(
You have to delete the old data base and start afresh, the underlying data model has changed..
 

philshel

Active Member
View Badges
Joined
Jul 24, 2010
Messages
364
Reaction score
381
Rating - 0%
0   0   0
Have a quick question. I built the lighting circuit as described in the docs. Is there a way of testing the output prior to hooking up one of my Kessils? I tried measuring the voltage at the output but I'm not sure if that's right as I get the same 12v out no matter where I adjust the Reef-Pi slider to. Also, When I hit "update" I do not get any real confirmation that anything happened. Is that correct? I so glad you are a patient bunch!
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,843
Reaction score
17,058
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Have a quick question. I built the lighting circuit as described in the docs. Is there a way of testing the output prior to hooking up one of my Kessils? I tried measuring the voltage at the output but I'm not sure if that's right as I get the same 12v out no matter where I adjust the Reef-Pi slider to. Also, When I hit "update" I do not get any real confirmation that anything happened. Is that correct? I so glad you are a patient bunch!
Then its not working as expected.
You should always test it before hooking up. What equipment you are using ? Multimeter? Can you share your reef-pi settings? i.e. dev_mode is disabled, what pins in jack, wiring, etc.. a pic will be helpful as well
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,843
Reaction score
17,058
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Have a quick question. I built the lighting circuit as described in the docs. Is there a way of testing the output prior to hooking up one of my Kessils? I tried measuring the voltage at the output but I'm not sure if that's right as I get the same 12v out no matter where I adjust the Reef-Pi slider to. Also, When I hit "update" I do not get any real confirmation that anything happened. Is that correct? I so glad you are a patient bunch!
What mode you are using to setup the lighting ? manual or auto? Test the circuit in manual mode.
 

philshel

Active Member
View Badges
Joined
Jul 24, 2010
Messages
364
Reaction score
381
Rating - 0%
0   0   0
Then its not working as expected.
You should always test it before hooking up. What equipment you are using ? Multimeter? Can you share your reef-pi settings? i.e. dev_mode is disabled, what pins in jack, wiring, etc.. a pic will be helpful as well

Yeah, testing with a multimeter. Pretty much followed your docs to the letter. Created "jack" j1 assigned it pins 0,1. Under lighting created a control assigned it to j1. Two sliders appeared, set them to "reverse". Unchecked "dev". Updated and rebooted several times. Light widget shows up on the dashboard. I've tried to take a photo of the breadboard, not sure if it will help. The only thing I wasn't to sure of was the resister values as they are not marked on the diagram, searching the internet I believed that the 1ok went to the base of the transistor.

bb.jpg
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,843
Reaction score
17,058
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Yeah, testing with a multimeter. Pretty much followed your docs to the letter. Created "jack" j1 assigned it pins 0,1. Under lighting created a control assigned it to j1. Two sliders appeared, set them to "reverse". Unchecked "dev". Updated and rebooted several times. Light widget shows up on the dashboard. I've tried to take a photo of the breadboard, not sure if it will help. The only thing I wasn't to sure of was the resister values as they are not marked on the diagram, searching the internet I believed that the 1ok went to the base of the transistor.

bb.jpg
Awesome.Can you check your transistor wiring? Collector will be hooked to power, i.e. 12v and emitter to ground, base to pwm input. I think you have reversed it.
Also, check the pca9685 directly first, to ensure its indeed generating 0-5v output (or reverse), that way , you can know for sure if the issue if from pca9685 chip or the transistor circuit
 

philshel

Active Member
View Badges
Joined
Jul 24, 2010
Messages
364
Reaction score
381
Rating - 0%
0   0   0
Awesome.Can you check your transistor wiring? Collector will be hooked to power, i.e. 12v and emitter to ground, base to pwm input. I think you have reversed it.
Also, check the pca9685 directly first, to ensure its indeed generating 0-5v output (or reverse), that way , you can know for sure if the issue if from pca9685 chip or the transistor circuit

Checked the PWM, no matter where I set the sliders, I get 1.5-2v is all. I looked at the transistor several times unless I'm just stupid! Let me run it past you, looking at the flat of the the transistor, emitter is on the left, correct?
 
Last edited:
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,843
Reaction score
17,058
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Checked the PWM, no matter where I set the sliders, I get 1.5-2v is all. I looked at the transistor several times unless I'm just stupid! Let me run it past you, looking at the flat of the the transistor, emitter is on the left, correct?
Hang on. If the PCA9685 output itself is not working, then there is no point testing the transistor. Lets ensure that pca9685 board is generating 5v pwm as expected.
Can you share your reef-pi log, when you change the channel intensity ?
 

Creating a strong bulwark: Did you consider floor support for your reef tank?

  • I put a major focus on floor support.

    Votes: 26 40.0%
  • I put minimal focus on floor support.

    Votes: 15 23.1%
  • I put no focus on floor support.

    Votes: 22 33.8%
  • Other.

    Votes: 2 3.1%
Back
Top