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,848
Reaction score
17,081
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
It is not calling to send message.

Jan 30 20:26:41 raspberrypi reef-pi[25088]: 2019/01/30 20:26:41 ato sub-system: sensor ATO value: 1
Jan 30 20:26:41 raspberrypi reef-pi[25088]: 2019/01/30 20:26:41 Setting GPIO Pin: 5 State: 0
Jan 30 20:26:46 raspberrypi reef-pi[25088]: 2019/01/30 20:26:46 ato sub-system: sensor ATO value: 0
Jan 30 20:26:46 raspberrypi reef-pi[25088]: 2019/01/30 20:26:46 Setting GPIO Pin: 5 State: 1
Jan 30 20:26:51 raspberrypi reef-pi[25088]: 2019/01/30 20:26:51 ato sub-system: sensor ATO value: 0
Jan 30 20:26:51 raspberrypi reef-pi[25088]: 2019/01/30 20:26:51 Setting GPIO Pin: 5 State: 1
Jan 30 20:26:56 raspberrypi reef-pi[25088]: 2019/01/30 20:26:56 ato sub-system: sensor ATO value: 0
Jan 30 20:26:56 raspberrypi reef-pi[25088]: 2019/01/30 20:26:56 Setting GPIO Pin: 5 State: 1
Jan 30 20:27:01 raspberrypi reef-pi[25088]: 2019/01/30 20:27:01 ato sub-system: sensor ATO value: 0
Jan 30 20:27:01 raspberrypi reef-pi[25088]: 2019/01/30 20:27:01 Setting GPIO Pin: 5 State: 1
Jan 30 20:27:06 raspberrypi reef-pi[25088]: 2019/01/30 20:27:06 ato sub-system: sensor ATO value: 0
Jan 30 20:27:06 raspberrypi reef-pi[25088]: 2019/01/30 20:27:06 Setting GPIO Pin: 5 State: 1
Jan 30 20:27:11 raspberrypi reef-pi[25088]: 2019/01/30 20:27:11 ato sub-system: sensor ATO value: 0
Jan 30 20:27:11 raspberrypi reef-pi[25088]: 2019/01/30 20:27:11 Setting GPIO Pin: 5 State: 1
Jan 30 20:27:16 raspberrypi reef-pi[25088]: 2019/01/30 20:27:16 ato sub-system: sensor ATO value: 0
Jan 30 20:27:16 raspberrypi reef-pi[25088]: 2019/01/30 20:27:16 Setting GPIO Pin: 5 State: 1
Jan 30 20:27:21 raspberrypi reef-pi[25088]: 2019/01/30 20:27:21 ato sub-system: sensor ATO value: 0
Jan 30 20:27:21 raspberrypi reef-pi[25088]: 2019/01/30 20:27:21 Setting GPIO Pin: 5 State: 1
Jan 30 20:27:26 raspberrypi reef-pi[25088]: 2019/01/30 20:27:26 ato sub-system: sensor ATO value: 0
Jan 30 20:27:26 raspberrypi reef-pi[25088]: 2019/01/30 20:27:26 Setting GPIO Pin: 5 State: 1
Jan 30 20:27:31 raspberrypi reef-pi[25088]: 2019/01/30 20:27:31 ato sub-system: sensor ATO value: 0
Jan 30 20:27:31 raspberrypi reef-pi[25088]: 2019/01/30 20:27:31 Setting GPIO Pin: 5 State: 1
Jan 30 20:27:36 raspberrypi reef-pi[25088]: 2019/01/30 20:27:36 ato sub-system: sensor ATO value: 0
Jan 30 20:27:36 raspberrypi reef-pi[25088]: 2019/01/30 20:27:36 Setting GPIO Pin: 5 State: 1
Jan 30 20:27:39 raspberrypi reef-pi[25088]: 2019/01/30 20:27:39 Reading temperature from device: 28-01131e872049
Jan 30 20:27:39 raspberrypi reef-pi[25088]: 2019/01/30 20:27:39 Reading temperature from device: 28-0213169a87aa
Jan 30 20:27:39 raspberrypi reef-pi[25088]: 2019/01/30 20:27:39 health check: Used memory: 14.45 Load5: 0.02
Jan 30 20:27:40 raspberrypi reef-pi[25088]: 2019/01/30 20:27:40 temperature sub-system: sensor Sump-Temp value: 77.45
Jan 30 20:27:40 raspberrypi reef-pi[25088]: 2019/01/30 20:27:40 temperature sub-system: sensor Tank-Temp value: 77.5616
Jan 30 20:27:40 raspberrypi reef-pi[25088]: 2019/01/30 20:27:40 temperature subsystem: Current temperature is within range switching off heater/cooler
Jan 30 20:27:40 raspberrypi reef-pi[25088]: 2019/01/30 20:27:40 Setting GPIO Pin: 6 State: 0
Jan 30 20:27:41 raspberrypi reef-pi[25088]: 2019/01/30 20:27:41 ato sub-system: sensor ATO value: 0
Jan 30 20:27:41 raspberrypi reef-pi[25088]: 2019/01/30 20:27:41 Setting GPIO Pin: 5 State: 1
Jan 30 20:27:46 raspberrypi reef-pi[25088]: 2019/01/30 20:27:46 ato sub-system: sensor ATO value: 0
Jan 30 20:27:46 raspberrypi reef-pi[25088]: 2019/01/30 20:27:46 Setting GPIO Pin: 5 State: 1
Jan 30 20:27:51 raspberrypi reef-pi[25088]: 2019/01/30 20:27:51 ato sub-system: sensor ATO value: 0
Jan 30 20:27:51 raspberrypi reef-pi[25088]: 2019/01/30 20:27:51 Setting GPIO Pin: 5 State: 1

upload_2019-1-30_20-38-34.png
Can you check you have alert enabled in your telemetry configuration? Remember you have to reload reef-pi if you change telemetry configuration, for it to take effect.
 

KGTD

New Member
View Badges
Joined
Dec 16, 2018
Messages
3
Reaction score
8
Rating - 0%
0   0   0
Hey Ranjib, quick question for you. The American DJ SR P8 - are those relays normally-open or normally-closed? I am thinking about putting a CO2 solenoid on there and I want the solenoid output to default to off.
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,848
Reaction score
17,081
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Hey Ranjib, quick question for you. The American DJ SR P8 - are those relays normally-open or normally-closed? I am thinking about putting a CO2 solenoid on there and I want the solenoid output to default to off.
Normally open, i.e. if pi is powered down, the outlets will be turned off.
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,848
Reaction score
17,081
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Hey Ranjib, quick question for you. The American DJ SR P8 - are those relays normally-open or normally-closed? I am thinking about putting a CO2 solenoid on there and I want the solenoid output to default to off.
Welcome to reef2reef :)
 

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,826
Rating - 0%
0   0   0
Normally open, i.e. if pi is powered down, the outlets will be turned off.
Looks like a fellow freshwater planted convert possibly. Welcome! Start a build thread when you build!

Freshwater planted pi, frog pi, turtle pi...if someone controls a grow tent with this will that be reefer pi?
 

dmolavi

Well-Known Member
View Badges
Joined
Jan 3, 2015
Messages
509
Reaction score
646
Location
United States
Rating - 0%
0   0   0
Looks like a fellow freshwater planted convert possibly. Welcome! Start a build thread when you build!

Freshwater planted pi, frog pi, turtle pi...if someone controls a grow tent with this will that be reefer pi?

Port OS-X to it...Apple Pi....nom nom nom
 

pickupman66

5000 Club Member
View Badges
Joined
Aug 10, 2010
Messages
6,032
Reaction score
1,166
Location
Winchester, TN
Rating - 0%
0   0   0
Can you check you have alert enabled in your telemetry configuration? Remember you have to reload reef-pi if you change telemetry configuration, for it to take effect.
yes. Telemetry is been enabled for quite some time. The only change I've made recently was a password update to it. It properly sends a test message. I have verified that functionality.
 

b4tn

Valuable Member
View Badges
Joined
Jun 17, 2015
Messages
1,673
Reaction score
2,244
Location
Columbia MD
Rating - 0%
0   0   0
@Ranjib, what is this error that updates every minute? My Adafruit.IO is currently turned off but it still shows up. The error is always there but the time changes to the current time. If I clear it it comes back but does not seem to affect anything.

Jan 31 09:53:30
{"error":"not found - API documentation can be found at https://io.adafruit.com/api/docs"}
 

crusso1993

7500 Club Member
View Badges
Joined
Oct 21, 2018
Messages
8,671
Reaction score
44,651
Location
SW, FL, USA
Rating - 0%
0   0   0
Looks like a fellow freshwater planted convert possibly. Welcome! Start a build thread when you build!

Freshwater planted pi, frog pi, turtle pi...if someone controls a grow tent with this will that be reefer pi?

"reefer pi"... absolutely!
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,848
Reaction score
17,081
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
@Ranjib, what is this error that updates every minute? My Adafruit.IO is currently turned off but it still shows up. The error is always there but the time changes to the current time. If I clear it it comes back but does not seem to affect anything.

Jan 31 09:53:30
{"error":"not found - API documentation can be found at https://io.adafruit.com/api/docs"}
Something is trying to send an adafruit metric to a feed that does not exist. Clear them, and see if it reappears after reboot.
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,848
Reaction score
17,081
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Something is trying to send an adafruit metric to a feed that does not exist. Clear them, and see if it reappears after reboot.
Oops, sorry I didn’t read through . If it’s reappearing even if telemetry is disabled , then it’s a bug. I have to track down exactly which component is doing that. You have three of these errors? Which component you have three ? Like temperature or ato ?
 

KGTD

New Member
View Badges
Joined
Dec 16, 2018
Messages
3
Reaction score
8
Rating - 0%
0   0   0
Looks like a fellow freshwater planted convert possibly. Welcome! Start a build thread when you build!

Freshwater planted pi, frog pi, turtle pi...if someone controls a grow tent with this will that be reefer pi?
Yup! Thanks for the welcome all. This is a great project and community. I will definitely share my build soon :)
 

crusso1993

7500 Club Member
View Badges
Joined
Oct 21, 2018
Messages
8,671
Reaction score
44,651
Location
SW, FL, USA
Rating - 0%
0   0   0
Yup! Thanks for the welcome all. This is a great project and community. I will definitely share my build soon :)

Welcome aboard! Looking forward to seeing your build.
 

b4tn

Valuable Member
View Badges
Joined
Jun 17, 2015
Messages
1,673
Reaction score
2,244
Location
Columbia MD
Rating - 0%
0   0   0
Oops, sorry I didn’t read through . If it’s reappearing even if telemetry is disabled , then it’s a bug. I have to track down exactly which component is doing that. You have three of these errors? Which component you have three ? Like temperature or ato ?

I have two temp probes and one ATO. The ATO is set to check every 10 sec, one temp probe is set to check every 30 seconds, and one set to check every 60 seconds. The error appears to update every 60 seconds.
 

b4tn

Valuable Member
View Badges
Joined
Jun 17, 2015
Messages
1,673
Reaction score
2,244
Location
Columbia MD
Rating - 0%
0   0   0
I have a light adjustment question. When the lights are in Auto mode do you need to set the minimum and maximum in the top bar? Or do you just adjust the individual sliders? for instance I was wondering if you set min to 0 and max to 50 in the top bar then the slider only gives you 50% max when its set to 100.
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,848
Reaction score
17,081
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
I have a light adjustment question. When the lights are in Auto mode do you need to set the minimum and maximum in the top bar? Or do you just adjust the individual sliders? for instance I was wondering if you set min to 0 and max to 50 in the top bar then the slider only gives you 50% max when its set to 100.
You dont have to set the min/max values, they default to 0 and 100. When applied, they are always per channel. you dont have to adjust individual slider. reef-pi will make sure the values are applied only when they are above min and reset to max when they go above max. if you have adafruit.io enabled, you should be able to see this in action
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,848
Reaction score
17,081
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
I have a light adjustment question. When the lights are in Auto mode do you need to set the minimum and maximum in the top bar? Or do you just adjust the individual sliders? for instance I was wondering if you set min to 0 and max to 50 in the top bar then the slider only gives you 50% max when its set to 100.
Nope. The sleder is not 50% of the max, its 50% of the 100, its always representing the entire range (0-100), min/max threshold are applied after calculating the values from slider against the entire range (100). Let me know if its clear now,
 

Ryan115

Well-Known Member
View Badges
Joined
Dec 28, 2010
Messages
586
Reaction score
1,085
Location
Mississippi
Rating - 0%
0   0   0
So basically I can ignore minimum and max threshold? If I set one of the sliders to be 75% it will be 75% of 100% regardless of what’s in the threshold?
I believe that it will try to put in the 75%, but it will be capped at whatever the threshold is that you set.
So if you capped at 60, it would stop there.

My lights are not able to dim to 0 (they go full brightness), so I set my min to 1. Now if one of the sliders is set to 0 it will still only go down to 1.
 

bishoptf

Valuable Member
View Badges
Joined
Jan 1, 2019
Messages
1,349
Reaction score
1,724
Location
Missouri
Rating - 0%
0   0   0
I believe that it will try to put in the 75%, but it will be capped at whatever the threshold is that you set.
So if you capped at 60, it would stop there.

My lights are not able to dim to 0 (they go full brightness), so I set my min to 1. Now if one of the sliders is set to 0 it will still only go down to 1.

I have my min set to 10, so even though the pwm auto setting ramps up, they do not come on until the value gets to 10, same with the shutoff, when it hits 10 my lights shut off. I have my min and max to 10 and 60, since I do not want my valuse to go below or above those values.

I think Ranjib has mentioned that he intends to have more flexibility in a future version, I would like the ability to stay at my top number longer than an hour but shorter than two.
 
Last edited:
Back
Top