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
Its checked. What are the limited capabilities? Is there any reason it wouldn't graph?
For things like lights, user expects to see future values (like how a diurnal profile will be over the course of entire day), in that case we have to compute all that values upfront, which we dont do right now, the intensity values are only generated during the time its required to set pwm values.
 

Phildago

Well-Known Member
View Badges
Joined
Oct 11, 2019
Messages
854
Reaction score
933
Location
Broad Channel
Rating - 0%
0   0   0
For things like lights, user expects to see future values (like how a diurnal profile will be over the course of entire day), in that case we have to compute all that values upfront, which we dont do right now, the intensity values are only generated during the time its required to set pwm values.
Okay, that's fine with me then. Is there a way that my database could be missing something that is required to plot these graphs? And if so how would I go about diagnosing and fixing the issue?
 

marekd1

Active Member
View Badges
Joined
Dec 24, 2019
Messages
133
Reaction score
200
Rating - 0%
0   0   0
I use these

Amazon product

I have heat shrink and silicon on some, and flexseal coating on some others -

NOTE - only the flex sea liquid is non-toxic.. you can just get a can and dip them.. Simple and effective


Salt water will eventually cause reaction or find its way through. Now I place the probe in a tiny clear plastic bag and make make sure top is above water line. Since I started doing this did not have to replace any temp probes for at least 4 years.
 

GaryE

Well-Known Member
View Badges
Joined
Mar 12, 2020
Messages
992
Reaction score
1,385
Location
Coatesville, Indiana
Rating - 0%
0   0   0
I started my build about a week ago and tonight got it working enough to control 3 lights and monitor temperature. Planning on adding a pH probe, conductivity probe and once finished will be connecting my power strip.

It's a pretty standard build, not using any funky parts or anything. Even have the same case you posted in the first post.

There are a couple small but significant differences though. First, rather than using the TRS connector for my temp, I used another type of audio connector. A mini XLR (link below), there are 4 conductors and you can plug and unplug without the need to power down the system first.

For my power, I got a 12 outlet 48" power strip from Harbor Freight for 22 bucks.. I'm currently in the process of hacking in some relays. It's a lot of labor, but I work cheap... ;)

Thanks for a great addition to my growing money pit!!!!



Amazon product
 
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
Salt water will eventually cause reaction or find its way through. Now I place the probe in a tiny clear plastic bag and make make sure top is above water line. Since I started doing this did not have to replace any temp probes for at least 4 years.
my canakit and the original adafruit sensors are all working fine (4 years??) . I had one batch from amazon that went rusty super fast. I tried the silicone route once,, it was a messy business :)
 
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
Can anyone familiar with Prometheus/Grafana tell me if its possible to make a graph that functions like the ATO Usage graph in reef-pi?

sum_over_time(ato_ato_usage[$__interval]) with min step 1h gets close to what I want, but the current hour isnt graphed like it is in reef-pi. Ive been at this for a while and cant figure it out so any help is much appreciated
my builds are in a flux due to home transfer , as a result i dont have a handy ato setup with telemetry stack to tinker with the promql.
Good news is I'll be shipping equipment state metrics in next release, that should provide another viable alternative.
 
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

Michael Lane

Well-Known Member
View Badges
Joined
Aug 11, 2018
Messages
677
Reaction score
1,123
Rating - 0%
0   0   0
The Shelly devices look really interesting. Their product pages show a debug port, and they expose a web api (with documentation)! I just ordered a couple of them and can't wait to take a look inside and try them out. The Shelly 1PM looks interesting too since it has power monitoring.
 
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
The Shelly devices look really interesting. Their product pages show a debug port, and they expose a web api (with documentation)! I just ordered a couple of them and can't wait to take a look inside and try them out. The Shelly 1PM looks interesting too since it has power monitoring.
Yes, from the feature perspective they are outstanding. We get to control default NO/NC state, power on delay and a whole lot of other nifty features. They are also surprisingly small. It has to be time tested.. but im positive.

On that note,,, im wondering if I should add Emerson Sensi Wifi Smart Thermostat. I am controlling it with some script (becuase its in my house and has an API :)), and the HAL work makes it easy to include new driver...but it does not feel right to be included in reef-pi :-/
 

Zaphod

New Member
View Badges
Joined
Feb 19, 2020
Messages
3
Reaction score
21
Rating - 0%
0   0   0
Yes, from the feature perspective they are outstanding. We get to control default NO/NC state, power on delay and a whole lot of other nifty features. They are also surprisingly small. It has to be time tested.. but im positive.

On that note,,, im wondering if I should add Emerson Sensi Wifi Smart Thermostat. I am controlling it with some script (becuase its in my house and has an API :)), and the HAL work makes it easy to include new driver...but it does not feel right to be included in reef-pi :-/

I guess you could have the Sensi crank the house heat up if the tank heaters fail ;)
 

skywurz

Community Member
View Badges
Joined
Dec 15, 2019
Messages
96
Reaction score
68
Location
Bay Area CA
Rating - 0%
0   0   0
Nope. Not aware of. What version of reef-pi you are running? Any details on the setup will help. If we can reproduce it easily, that will speed up the bug fix, assuming it’s a software bug and not hardware or configuration induced issue
Sorry for the delay.

Im on 3.3
Im using analog float switches with pullup resistors. And some moisture probes with pull up and pull downs. All sensors work fine if i have just 1 added.

Also this morning i awoke to my ato malfunctioning. The disable and alert after 120 seconds didn't work.
 

skywurz

Community Member
View Badges
Joined
Dec 15, 2019
Messages
96
Reaction score
68
Location
Bay Area CA
Rating - 0%
0   0   0
Here is a screenshot
ATO Alert Bad.jpg
 

Alaa

Community Member
View Badges
Joined
Nov 28, 2018
Messages
74
Reaction score
80
Rating - 0%
0   0   0
Hi
@Ranjib and others thanks for all you work and continuous effort to support reef pi, is there any plans to include logic functions in macros as i think it will add endless capabilities making macros more powerful.
 

skywurz

Community Member
View Badges
Joined
Dec 15, 2019
Messages
96
Reaction score
68
Location
Bay Area CA
Rating - 0%
0   0   0
Thats not good. Let me test it out and report back.
Thank you!
I nuked my database and setup fresh on 3.3 because i was having ATO issues such as the whole module freezing once i got 3 - 4 units added.
If you need a copy of my database or logs let me know.
 

Badfish2too

Community Member
View Badges
Joined
Nov 12, 2018
Messages
83
Reaction score
66
Rating - 0%
0   0   0
I have been trying to look through old posts, but since I upgraded to 3.3 just now, after I add my ph driver I cant access connectors. It just keeps TypeError: Cannot read property 'name' of undefined I clear out the .db but it just does it again. Sometimes crashing. and losing the remote connection..Anyone else?
 
Last edited:
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 been trying to look through old posts, but since I upgraded to 3.3 just now, after I add my ph driver I cant access connectors. It just keeps TypeError: Cannot read property 'name' of undefined I clear out the .db but it just does it again. Sometimes crashing. and losing the remote connection..Anyone else?
the connector issue is a UI only issue that happens when you upgrade from 2.0 version without deleting database or if you delete a driver without deleting connector/associated equipment first. None the less, in all cases things should always reset if you delete the database and start over. Remote connection loss might be just due to the fact that reef-pi is not running, or else its something unrelated. Stop reef-pi, delete database, and start reef-pi again and if you encounter any error that way.. let us know
 
Back
Top