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

ZoixDark

Community Member
View Badges
Joined
Dec 29, 2020
Messages
91
Reaction score
77
Location
New Hampshire
Rating - 0%
0   0   0
I looked (and i could be blind) to see if this would be a good project for me. I didn't see if there was a heart beat alert like the Apex. Is there a way to set up the reef-pi to get an alert if it loses internet connection to your phone/email/app?
 

Mikeneedsahobby

Well-Known Member
View Badges
Joined
Sep 16, 2018
Messages
516
Reaction score
916
Rating - 0%
0   0   0
I looked (and i could be blind) to see if this would be a good project for me. I didn't see if there was a heart beat alert like the Apex. Is there a way to set up the reef-pi to get an alert if it loses internet connection to your phone/email/app?
Yes. Through adafruit. If you send data there, you can have adafruit send you an email or alert if it doesn’t get an update on time.
 

Mikeneedsahobby

Well-Known Member
View Badges
Joined
Sep 16, 2018
Messages
516
Reaction score
916
Rating - 0%
0   0   0

It’s pretty easy to setup to send data. The heart beat alert is a bit burried in adafruit. I describe it in this post.

So the cats are doing good. The one that was starving when rescued is putting weight on well. So far they haven’t run off the trolls.... Reef-pi working perfect still.

Wood floor done. It looks good.
.
I keep reading about people having reef-pi failures. If others can have failures I probably could too. I think I want to be alerted if something is not right. Reef-pi has a built in email alert function but what if I have a high level failure; Like power goes out at my house. I think I want something watching the reef-pi and will let me know if it isn't there. Luckily there is an adafruit.io telemetry function in reef-pi that does just that. Tonight I am going to try to get it to work.

First I am heading over to adafruit.io to see if I can sign up for an account. ....

so that was painless. I have an account, now what... I think I'll search on ranjib's tutorials. .. yep he has a tutorial. ! : )

So on the adafruit site. click on the "IO" thing on top. then view aio key. put this stuff in the reef-pi config/telemetry area. Press update and reload.

check for feeds on the adafruit site. It works!

so now create a dashboard on adafruit. There is no tutorial here. I just clicked stuff until I got stuff. You can do it too! I ended using a line chart for every feed.

I didn't easily see how to send and email from adafruit if it doesn't see the reef-pi. I will keep looking.

okay, so it appears triggers in adafruit.io can send email if something is outside a limit. I could use this for too hot or too cold. but I still don't know how to get an email if adafruit isn't given new data. i'll keep looking.

okay finally found it. I clicked on feeds and then the CPU usage feed. On the right is something called notifications. I clicked this and it was easy to setup an email if no update is received after 10 minutes. ... now I'm going to shut reef-pi off and see if I get
an email... wish me luck.

It worked!!!
IMG_1585.jpg
 

ZoixDark

Community Member
View Badges
Joined
Dec 29, 2020
Messages
91
Reaction score
77
Location
New Hampshire
Rating - 0%
0   0   0

It’s pretty easy to setup to send data. The heart beat alert is a bit burried in adafruit. I describe it in this post.
Awesome. Bookmarked.
 
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 looking to update to 4.1 from 4.0, how does the update work from the UI?

Is the process documented somewhere?
type 4.1 in the text box and hit update (under admin section). Refresh after 10-15s. If version does not change, do a reboot/reload.
 

Boostable

Active Member
View Badges
Joined
May 17, 2011
Messages
227
Reaction score
136
Location
Lake Mary, FL
Rating - 0%
0   0   0
Morning... Can someone please point me in the right direction. Two questions, where can I find out what "telemetry feeds" are being sent out of the system and is it logged in the system somewhere? /var/log or something? Thanks, Boost...
 

Boostable

Active Member
View Badges
Joined
May 17, 2011
Messages
227
Reaction score
136
Location
Lake Mary, FL
Rating - 0%
0   0   0
Kinda found some of what I am looking for.. in /var/log/syslog all the activity is logged. but would like to know how I can determine all the available feeds from pi.

Also, noticed this in the log..
ph sub-system: ERROR: Failed to read probe: pH Tank . Error: strconv.ParseFloat: parsing "7.816\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80": invalid syntax

Anything to be worried about?
 

drbogger

Active Member
View Badges
Joined
Apr 24, 2019
Messages
165
Reaction score
126
Location
Ballston Spa, New York
Rating - 0%
0   0   0
I'm having an issue using Inlets / ATO / Float Switches.

I have a float switch wired to GPIO 5, which is configured correctly.
1 wire on the float switch is wired to 3.3v, the other end is wired to the GPIO Pins, through a 220 ohm resistor.

I can't get the ATO to trigger for anything!
I even tried applying 3.3v and GND directly to GPIO Pin 5, while monitoring the output, which will not turn on.

Just because I know your gonna ask, the frequency on the ATO page is set to 2 seconds.
I tried reversing the inlet as well, and in that case, the output will turn on immediately, but will not turn off.

Any ideas what could be going on?
 

zab34

Active Member
View Badges
Joined
Jan 23, 2012
Messages
354
Reaction score
72
Location
Orlando
Rating - 0%
0   0   0
@Michael Lane

Hi.

Just looking for a little guidance here. Recently installed the marsaqua led board in my fixture. When hooked up to the reefpi, I am able to dim the fixture with no issues. But when I get down to zero, neither circuit turns off it still looks the same as about 5-10%. Any thoughts?
 

drbogger

Active Member
View Badges
Joined
Apr 24, 2019
Messages
165
Reaction score
126
Location
Ballston Spa, New York
Rating - 0%
0   0   0
@Michael Lane

Hi.

Just looking for a little guidance here. Recently installed the marsaqua led board in my fixture. When hooked up to the reefpi, I am able to dim the fixture with no issues. But when I get down to zero, neither circuit turns off it still looks the same as about 5-10%. Any thoughts?
I had the same issue. Never did figure out what the problem was. I just ended up ditching that setup.
 

drbogger

Active Member
View Badges
Joined
Apr 24, 2019
Messages
165
Reaction score
126
Location
Ballston Spa, New York
Rating - 0%
0   0   0
I got my issue above resolved. I needed to add pulldown resistors.

---------------------
-- New Issue --
---------------------

Okay, I am trying to automatically refill my ATO Reservoir using 2 float switches.
Lets call them "Float-Low" and "Float-High", for low level and high level sensors.

- In ATO Menu, Float-High is set to OneShot, controls a Solenoid Valve, and is disabled by default.
- Float-Low is set to Enable, and is set to trigger a macro called "Refill Reservoir".
- The Macro called "Refill Reservoir" has only 1 action in it, which is "ATO > Float-High > Turn On"

The idea is when "Float-Low" is triggered, it will turn on a Solenoid Valve to refill the Reservoir until it reaches the "Float-High" sensor.

However, when I try to do this, it does not work, and it causes the entire system to hang.

What am I doing wrong?
 

zab34

Active Member
View Badges
Joined
Jan 23, 2012
Messages
354
Reaction score
72
Location
Orlando
Rating - 0%
0   0   0
I had the same issue. Never did figure out what the problem was. I just ended up ditching that setup.
My thought is just to pair the pwm controls with an on/off timer at the beginning and end.
But there has to be another way.
 
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 got my issue above resolved. I needed to add pulldown resistors.

---------------------
-- New Issue --
---------------------

Okay, I am trying to automatically refill my ATO Reservoir using 2 float switches.
Lets call them "Float-Low" and "Float-High", for low level and high level sensors.

- In ATO Menu, Float-High is set to OneShot, controls a Solenoid Valve, and is disabled by default.
- Float-Low is set to Enable, and is set to trigger a macro called "Refill Reservoir".
- The Macro called "Refill Reservoir" has only 1 action in it, which is "ATO > Float-High > Turn On"

The idea is when "Float-Low" is triggered, it will turn on a Solenoid Valve to refill the Reservoir until it reaches the "Float-High" sensor.

However, when I try to do this, it does not work, and it causes the entire system to hang.

What am I doing wrong?
Hmm,, the full system hang is little weird. Can you share some details. Logs will be very useful
When water level crosses the low float , it will run the macro in reverse mode. Something to remember.
What is the check frequency of float low and how long generally it takes to fill up water ?
 

drbogger

Active Member
View Badges
Joined
Apr 24, 2019
Messages
165
Reaction score
126
Location
Ballston Spa, New York
Rating - 0%
0   0   0
Hmm,, the full system hang is little weird. Can you share some details. Logs will be very useful
When water level crosses the low float , it will run the macro in reverse mode. Something to remember.
What is the check frequency of float low and how long generally it takes to fill up water ?

- The check frequency is 120 seconds.

- I tried the macro in reverse, and forward mode.

- it takes about an hour to fill, but it won't start filling unless the macro turns on the other ATO sensor (which it never does).

- how do I get the logs?

- the macro works fine if I run it manually or by using a timer. Seems to be just the ATO controller causing the issue.

- It's not a full system hang, the UI will still load, but it won't let me edit the ATO settings until I delete the Macro & ATO entirely, then I have to reload reef-pi twice (yes, twice).

The macro just never runs. It just hangs until I delete it.
 

Des Westcott

Well-Known Member
View Badges
Joined
May 29, 2018
Messages
646
Reaction score
1,025
Location
Durban - South Africa
Rating - 0%
0   0   0
I got my issue above resolved. I needed to add pulldown resistors.

---------------------
-- New Issue --
---------------------

Okay, I am trying to automatically refill my ATO Reservoir using 2 float switches.
Lets call them "Float-Low" and "Float-High", for low level and high level sensors.

- In ATO Menu, Float-High is set to OneShot, controls a Solenoid Valve, and is disabled by default.
- Float-Low is set to Enable, and is set to trigger a macro called "Refill Reservoir".
- The Macro called "Refill Reservoir" has only 1 action in it, which is "ATO > Float-High > Turn On"

The idea is when "Float-Low" is triggered, it will turn on a Solenoid Valve to refill the Reservoir until it reaches the "Float-High" sensor.

However, when I try to do this, it does not work, and it causes the entire system to hang.

What am I doing wrong?
I have not been able to get an ATO to trigger a Macro. I think this is what you are seeing and thinking the system is hanging
 

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 26.6%
  • 100% dry rock + 100% live sand

    Votes: 48 33.6%
  • 50/50 live/dry rock, 50/50 live/bagged sand

    Votes: 32 22.4%
  • 75% live rock, 25% live sand

    Votes: 15 10.5%
  • 25% live rock, 75% live sand

    Votes: 10 7.0%
Free Phyto Promo
Spend $39+ → free 16oz Phyto · Use code FREEPHYTO at checkout · $16.99 value · Densest 6-species blend · Free shipping on every order · 100% live arrival guaranteed Spend $39+ → free 16oz Phyto · Use code FREEPHYTO at checkout · $16.99 value · Densest 6-species blend · Free shipping on every order · 100% live arrival guaranteed
Shop Now Code: FREEPHYTO
Back
Top