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,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
I would love salinity monitoring:D
No salinity monitoring yet. Neither it is slated for 2.0 release. The next release will add multiple temperature and ato sensor suppor, ph probe, programmability etc.

I punted on EC (salinity) and ORP , due to their less critical usage :-/ . I believe if ATO is working properly, salinity wont be altered significantly. Adding support for EC/ORP wont be very hard (infact the code is fairly similar to ph, which I am working on right now), but the probes cost and I failed to see the impact. If you have a case in mind, please do share,
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
@Ranjib let me know if I missed anything
The current feature list is:
  • Power control (with manual control or schedule based)
  • Light control (each with 4095 steps of dimming, and more strings than you would ever need)
  • Temperature sensor with Heater/Cooler control
  • Auto Top Off - can enable "on time" limit and frequency while still based on a level sensor
  • Dosing pumps - can control more than you would ever need (upto 992 shared between dosing and lights)
  • Camera control
  • Connected LCD for at tank control
  • Remote telemetry for automated alerts
  • Remote connections for control and monitoring away from the house
  • Maintenance and service reminders
The are a few more planned releases for this year
  • Additional sensors (pH and possibly others)
  • Multiple Temperature Sensors
  • Multiple Water level sensors
  • Leak Detectors
Basically you can pick any or all of the features and design your system and BOM to match.
If there are other features that you are interested in, please bring them forward.
Spot on :-)
 

denierlexiese

Active Member
View Badges
Joined
Jul 7, 2017
Messages
106
Reaction score
68
Rating - 0%
0   0   0
The only value ORP has ever had for me is it will tell you most times when a fish died. It will spike out from normal values. I bet also if an autofeeder accidentally dumped a lot of food it would probably show that too. The good thing about ORP is they don't need to be calibrated and last forever.

i think ph probes need to be calibrated every 2-3 months, and also break over time.
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
The only value ORP has ever had for me is it will tell you most times when a fish died. It will spike out from normal values. I bet also if an autofeeder accidentally dumped a lot of food it would probably show that too. The good thing about ORP is they don't need to be calibrated and last forever.

i think ph probes need to be calibrated every 2-3 months, and also break over time.
As per atlas scientific documentation, the probe I am using requires only 1 calibration for the first two years, then after every 6 months. This is assuming they are used in fish tank. For harsher conditions (like chemical plant, where strong acids are involved), it can be as frequent as once a month
 

jcmental

Active Member
View Badges
Joined
Jan 25, 2018
Messages
114
Reaction score
137
Rating - 0%
0   0   0
No salinity monitoring yet. Neither it is slated for 2.0 release. The next release will add multiple temperature and ato sensor suppor, ph probe, programmability etc.
I have a question, you set the light times to 2 hours, If I set a light to 15% then 2 hours later 30% does it slowly ramp up / down to the next % or just jump to the next percent 2 hours later.
Also is there a way of telling the UI that you want the lights to come on between say 11:00 to 21:00 and it only showing the bars for that but an hour apart instead of two.
I understand that you've done 24 hours so when you put 0% in the light is off on some models of lights but on others we need to use a relay to switch them on and off. so don't need the 24 hour light bar to show. :-)
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
I have a question, you set the light times to 2 hours, If I set a light to 15% then 2 hours later 30% does it slowly ramp up / down to the next % or just jump to the next percent 2 hours later.
Also is there a way of telling the UI that you want the lights to come on between say 11:00 to 21:00 and it only showing the bars for that but an hour apart instead of two.
I understand that you've done 24 hours so when you put 0% in the light is off on some models of lights but on others we need to use a relay to switch them on and off. so don't need the 24 hour light bar to show. :)
reef-pi will linearly interpolate the difference, and update intensity every minute, so yeah, a slow ramp up. In this case almost 15/120 per minute (rounded off) which is after every 12 minute updating the intensity by 1%
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
it will be nice to support something like bezier or b-spline style interpolation in future :)
 

ThorEp

Community Member
View Badges
Joined
Aug 11, 2017
Messages
44
Reaction score
17
Location
Kvelde, Norway
Rating - 0%
0   0   0
No salinity monitoring yet. Neither it is slated for 2.0 release. The next release will add multiple temperature and ato sensor suppor, ph probe, programmability etc.

I punted on EC (salinity) and ORP , due to their less critical usage :-/ . I believe if ATO is working properly, salinity wont be altered significantly. Adding support for EC/ORP wont be very hard (infact the code is fairly similar to ph, which I am working on right now), but the probes cost and I failed to see the impact. If you have a case in mind, please do share,

Yeah a agree with you!:) I have tried searching the forums..will jeabo sw be supported? Or Maxspect Razor lights? I dont know if these can be controlled..
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Yeah a agree with you!:) I have tried searching the forums..will jeabo sw be supported? Or Maxspect Razor lights? I dont know if these can be controlled..
I have no idea. If they allow external control then I don’t see any reason for reef-pi to not support. I think we won’t wven need any code change , some additional circuit for that equipment specific signal may be required
 

Gareth elliott

Read, Tinker, Fail, Learn
View Badges
Joined
May 7, 2017
Messages
5,470
Reaction score
6,903
Location
NJ
Rating - 0%
0   0   0
Looking at what is supported by reef angel(most similar to reef-pi, open hardware but audrino based); i dont see why a dc circulation pump would not be controllable with reef-pi. Mind you while waiting for wavemaker on this i went with currents loop system for my pump upgrade so probably wont need the wavemaker function unless i want more control, like nighttime flow change.
 

Jean-Pierre Renaud

Community Member
View Badges
Joined
Feb 7, 2018
Messages
49
Reaction score
39
Location
Blainville
Rating - 0%
0   0   0
Question about ATO,

i am using float switches , i have them wired from GPIO 16 and ground but it's doing nothing when i move them,
i set the correct pin in config and changed interval to 15 sec, do i need something special to use float switches ?
Thanks
 
OP
OP
Ranjib

Ranjib

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

i am using float switches , i have them wired from GPIO 16 and ground but it's doing nothing when i move them,
i set the correct pin in config and changed interval to 15 sec, do i need something special to use float switches ?
Thanks
What the log says ? Can you share a screen shot of what you have configure (pump/equipment )
 

Jean-Pierre Renaud

Community Member
View Badges
Joined
Feb 7, 2018
Messages
49
Reaction score
39
Location
Blainville
Rating - 0%
0   0   0
What the log says ? Can you share a screen shot of what you have configure (pump/equipment )

This is the config
upload_2018-2-16_22-43-3.png
 

Jean-Pierre Renaud

Community Member
View Badges
Joined
Feb 7, 2018
Messages
49
Reaction score
39
Location
Blainville
Rating - 0%
0   0   0
here is the log

-- Logs begin at Thu 2016-11-03 13:16:43 EDT. --
Feb 16 22:47:51 REEF_PI reef-pi[402]: 2018/02/16 22:47:51 ATO sensor value: 0
Feb 16 22:47:51 REEF_PI reef-pi[402]: 2018/02/16 22:47:51 Telemetry disabled. Skipping emitting 0 on ato
Feb 16 22:48:06 REEF_PI reef-pi[402]: 2018/02/16 22:48:06 ATO sensor value: 0
Feb 16 22:48:06 REEF_PI reef-pi[402]: 2018/02/16 22:48:06 Telemetry disabled. Skipping emitting 0 on ato
Feb 16 22:48:07 REEF_PI reef-pi[402]: 2018/02/16 22:48:07 Telemetry disabled. Skipping emitting 0.25 on system-load5
Feb 16 22:48:07 REEF_PI reef-pi[402]: 2018/02/16 22:48:07 Reading temperature from device: /sys/bus/w1/devices/28-0317016fc9ff/w1_slave
Feb 16 22:48:07 REEF_PI reef-pi[402]: 2018/02/16 22:48:07 Telemetry disabled. Skipping emitting 12.88 on system-mem-used
Feb 16 22:48:07 REEF_PI reef-pi[402]: 2018/02/16 22:48:07 health check: Used memory: 12.88 Load5: 0.25
Feb 16 22:48:08 REEF_PI reef-pi[402]: 2018/02/16 22:48:08 Temperature sensor value: 75.76
Feb 16 22:48:08 REEF_PI reef-pi[402]: 2018/02/16 22:48:08 Telemetry disabled. Skipping emitting 75.76 on temperature
 

Jean-Pierre Renaud

Community Member
View Badges
Joined
Feb 7, 2018
Messages
49
Reaction score
39
Location
Blainville
Rating - 0%
0   0   0
i think my problem is the float switch wiring, all i did is connect one wire to gnd and one wire to GPIO 12,

do you have to use 3.3v on one wire ?

the floats only have 2 wires, i thought grounding a GPIO pin was sending message to the PI
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
here is the log

-- Logs begin at Thu 2016-11-03 13:16:43 EDT. --
Feb 16 22:47:51 REEF_PI reef-pi[402]: 2018/02/16 22:47:51 ATO sensor value: 0
Feb 16 22:47:51 REEF_PI reef-pi[402]: 2018/02/16 22:47:51 Telemetry disabled. Skipping emitting 0 on ato
Feb 16 22:48:06 REEF_PI reef-pi[402]: 2018/02/16 22:48:06 ATO sensor value: 0
Feb 16 22:48:06 REEF_PI reef-pi[402]: 2018/02/16 22:48:06 Telemetry disabled. Skipping emitting 0 on ato
Feb 16 22:48:07 REEF_PI reef-pi[402]: 2018/02/16 22:48:07 Telemetry disabled. Skipping emitting 0.25 on system-load5
Feb 16 22:48:07 REEF_PI reef-pi[402]: 2018/02/16 22:48:07 Reading temperature from device: /sys/bus/w1/devices/28-0317016fc9ff/w1_slave
Feb 16 22:48:07 REEF_PI reef-pi[402]: 2018/02/16 22:48:07 Telemetry disabled. Skipping emitting 12.88 on system-mem-used
Feb 16 22:48:07 REEF_PI reef-pi[402]: 2018/02/16 22:48:07 health check: Used memory: 12.88 Load5: 0.25
Feb 16 22:48:08 REEF_PI reef-pi[402]: 2018/02/16 22:48:08 Temperature sensor value: 75.76
Feb 16 22:48:08 REEF_PI reef-pi[402]: 2018/02/16 22:48:08 Telemetry disabled. Skipping emitting 75.76 on temperature
Things look correctly configured to me. How you have wired your ato? Can you share an image of the build, let’s cross check that.
On the pi, you can see the gpio state as

Code:
cat /sys/class/gpio/gpio12/value

This value should be different (1 or 0) , based on whether the probe is inside water or outside, can you verify this?
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
i think my problem is the float switch wiring, all i did is connect one wire to gnd and one wire to GPIO 12,

do you have to use 3.3v on one wire ?

the floats only have 2 wires, i thought grounding a GPIO pin was sending message to the PI
There are actually couple of ways to do this. We can configure the gpio to pull up, or pull down.

Is it possible for you to change the wiring to put one end in 3 volt, and the other in gpio ?
 

TOP 10 Trending Threads

WHAT AMOUNT OF LIVE ROCK AND SAND SHOULD BE PRIORITIZED FOR OPTIMAL BIODIVERSITY/FILTRATION?

  • 100% live rock + bagged sand

    Votes: 38 27.3%
  • 100% dry rock + 100% live sand

    Votes: 47 33.8%
  • 50/50 live/dry rock, 50/50 live/bagged sand

    Votes: 30 21.6%
  • 75% live rock, 25% live sand

    Votes: 14 10.1%
  • 25% live rock, 75% live sand

    Votes: 10 7.2%
Back
Top