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

burningbaal

Active Member
View Badges
Joined
Aug 13, 2019
Messages
232
Reaction score
252
Location
Near Seattle
Rating - 0%
0   0   0
okay...reversible macros... @Ranjib
My ato gets a bit absurd if I leave it active all the time (I have an off the shelf ATO plugged into my ADJ strip), so I have it on a timer so it activates every hour for 30 seconds (the pump usually runs for 5-15 seconds of that; until the optical sensor gets wet).
But if the ATO timer powers on the ATO while the return off, it can, under certain conditions, mean the ATO tube is submerged and pulls a siphon because the ATO always turns on the pump for a second or two when it gains power.
So I have a macro called 'return off' that seems like it should be reversible, but I can't quite work out the logic.
I have it do this:
1. turn off the return pump outlet
2. turn off the ATO timer
3. turn off the ATO outlet (in case it was on when the macro started)

But this, when run in reverse, leaves the ATO outlet on (until the timer runs again and turns it off), which isn't really ideal. Is there a way to make sure the outlet is always off on any execution (forward or reverse) of a macro?
 
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
anyone else having issues with the dashboard not showing the graphs or remembering what was there? in config it shows the rows and columns but not what was suppose to be there. I did a fresh install of everything on a sd card to make sure it wasnt something I did. any ideas?
3.1 has a bug that i am working on to finish, i have a fix halfway done, but due to some circumstances have not been able to ship it till now..
 

That Crusso Kid

10K Club member
View Badges
Joined
Oct 21, 2018
Messages
14,898
Reaction score
76,043
Location
SW, FL, USA
Rating - 0%
0   0   0
I wanted to, but got busy with other things. Its a wifi based control system from my preliminary investigation. I like the light, but its current control system makes it least desired, so having a reef-pi integration will really help a lot of people. But i dont know when I;ll get to work on it, im currently tied up with all sorts of house purchasing work..its very involved and stress full process, to say the least :-/

Family and house first, as always!

Sending good vibes.
 

marekd1

Active Member
View Badges
Joined
Dec 24, 2019
Messages
133
Reaction score
199
Rating - 0%
0   0   0
Trying to play with Macros but not much luck. Not sure if this type of logic is supported yet .

Check if lights are ON (PWM output or item identified under Lights tab)
If On then turn On equipment x
If Lights Off then turn Off equipment x

Any guidance on how to make this work ?
 
Last edited:

fulltang

Active Member
View Badges
Joined
Dec 12, 2018
Messages
192
Reaction score
176
Rating - 0%
0   0   0
Just use zero and a temperature sensor and pair it with a hs105 smart plug. that should suffice your need.
For the emergency situation, I'll suggest using staright portable power banks (e.g. duracell) in conjunction with 5v usb driven air stone or submersible pump or both. They'll give you anywhere in between 5-24 hours of backup, depending upon which power bank you are using. I am assuming temperature (heating in particular), is not needed that time. I live very close (as you guessed) and your case is the exact reason i expedite the power consumption related benchmarking. I am moving out of bay area to pleasant hill and I would be more prone to these issues. Expect more IM (incident management) related features to land in reef-pi project.

@Ranjib Got my pi all set up with temperature probes. I'm trying to pair it with my HS105 that you suggested, but I noticed that isn't actually in the drop down list of selectable plugs. Should I select the HS103 or do I need to return this one for the actual 103?

edit: Nevermind got it sorted!
 
Last edited:

fulltang

Active Member
View Badges
Joined
Dec 12, 2018
Messages
192
Reaction score
176
Rating - 0%
0   0   0
Here's my quick and dirty minimalist reef-pi in its temporary enclosure, a good match for a simple tank! Gonna test it out with my battery bank soon.

Extremely stoked to have historical air/water temps.

IMG_20200126_182556.jpg IMG_20200126_215928.jpg IMG_20200126_215950.jpg
 
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
Is there a way to reset the graph scale without deleting and re-making a probe (pH) ?

I got my ph probe calibrated but it still has the raw value scale in the 1000s....makes it hard to see variations now that it's reading 8.35 lol. Now I don't want to delete the probe and make a new one because I don't have any more calibration packets....and I'm assuming once probe is deleted the calibration goes with it.
No easy solution yet, unfortunately. We have to add some feature to address this type of issues. pH calibration. temperature unit change both has this common requirement , or even removing some anomolous data. Its in my mind, but I have not yet come up with a decent user experience that i can translate to software components.

Theres a hard but possible workaround that we have introduced in 3.x series, using the reef-pi db command. You can get a json equivalent of the data , edit it and re-upload it. It works for everything thats inside in reef-pi, its intended for such troubleshooting work and should fix even the dashboard related issues (as mentioned in above posts), bugs that appear from due to data differences.

I 'll try to update the docs with example usage
 
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's my quick and dirty minimalist reef-pi in its temporary enclosure, a good match for a simple tank! Gonna test it out with my battery bank soon.

Extremely stoked to have historical air/water temps.

IMG_20200126_182556.jpg IMG_20200126_215928.jpg IMG_20200126_215950.jpg
This is awesome. I love frugal setup. I had a build running in a tupper wire for few months :-), it was awesome.
 
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
Y
@Ranjib Got my pi all set up with temperature probes. I'm trying to pair it with my HS105 that you suggested, but I noticed that isn't actually in the drop down list of selectable plugs. Should I select the HS103 or do I need to return this one for the actual 103?

edit: Nevermind got it sorted!
:-/, we have to update the ui or docs to let users know that hs105 is also supported, its exactly like hs103
 

DirtDiggler2823

If I can't break it, it doesn't exist
View Badges
Joined
Jul 31, 2018
Messages
1,667
Reaction score
2,075
Location
Gambrills
Rating - 0%
0   0   0
Picked up a Pi 4 last week & had the time to set up Reef Pi on it today. Just wanted to share that it does work- I know I've seen some questions in the past, not sure how long ago though.

Any advantages to using this over a pi3b?
 
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

DirtDiggler2823

If I can't break it, it doesn't exist
View Badges
Joined
Jul 31, 2018
Messages
1,667
Reaction score
2,075
Location
Gambrills
Rating - 0%
0   0   0
more powerful, if you are running dual dekstop.. it might be better suited

My pi3b is only running reef-pi. I'd love to tie a USB camera into it, and maybe that would be where I would go with a pi4
 

Schreiber

Leviathan
View Badges
Joined
Jun 28, 2016
Messages
475
Reaction score
594
Location
Knoxville
Rating - 0%
0   0   0
Any advantages to using this over a pi3b?

Realistically, most people would be better suited by the 3B+. The 4 is way more powerful than Reef-Pi alone needs, plus it only has mini HDMI, so you're stuck buying an adapter like you would with the Zero W. I'd always recommend the 3B+ for ease of use, Zero W for price. Pi 4 is kinda the worst of both worlds, unless you're trying to run multiple things other than Reef-Pi on there.
 

burningbaal

Active Member
View Badges
Joined
Aug 13, 2019
Messages
232
Reaction score
252
Location
Near Seattle
Rating - 0%
0   0   0
FYI, I spoke some with the maker of the ReeFi light, which seems to be a stinking-awesome light. They run a ton of channels (I think 10?) of dimmable LED in a very fancy controller that can run moon cycles, etc. It's super awesome as it uses individual reflectors instead of lenses/diffusers.

Anyways, I was asking him about if they have considered making an option to have an external controller with a 10-pin connector instead of including parts for wifi/computation/etc. It turns out most of that's on the same board as the driver, so it isn't very viable and would evade 100% of the protections they build in.

However, they have a tcp api. So, does anyone have #reefpi using a tcp interface? especially as a macro? I figure I might want a 'major maintenance' macro that turns down pumps/etc, but also dims the lights so I don't burn corals while the water level is down. Thoughts?
 

brandon clow

Active Member
View Badges
Joined
Oct 22, 2017
Messages
121
Reaction score
151
Rating - 0%
0   0   0
I finally had a moment to start messing with the other pwm profiles via the api. Here is a 15 minute interval spanning 09:00:00 to 20:00:00 on the blue channel. I am excited to integrate this into some wave maker functions next. Excellent work reef-pi team!

Also, has anyone ran the sine profile? I need to actually test it some on my ldd's but is this what is expected (in pic LEDSinev1, Note the "Unknown Profile: sine") I am expecting this would work except the gui doesn't know what it is, or perhaps I am wrong.

LEDTestv2.PNG LEDSinev1.PNG
 
Last edited:
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
FYI, I spoke some with the maker of the ReeFi light, which seems to be a stinking-awesome light. They run a ton of channels (I think 10?) of dimmable LED in a very fancy controller that can run moon cycles, etc. It's super awesome as it uses individual reflectors instead of lenses/diffusers.

Anyways, I was asking him about if they have considered making an option to have an external controller with a 10-pin connector instead of including parts for wifi/computation/etc. It turns out most of that's on the same board as the driver, so it isn't very viable and would evade 100% of the protections they build in.

However, they have a tcp api. So, does anyone have #reefpi using a tcp interface? especially as a macro? I figure I might want a 'major maintenance' macro that turns down pumps/etc, but also dims the lights so I don't burn corals while the water level is down. Thoughts?
If they have api, it will be pretty easy to rollup a network based driver for them which exposes the channels as jacks.
 
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 finally had a moment to start messing with the other pwm profiles via the api. Here is a 15 minute interval spanning 09:00:00 to 20:00:00 on the blue channel. I am excited to integrate this into some wave maker functions next. Excellent work reef-pi team!

Also, has anyone ran the sine profile? I need to actually test it some on my ldd's but is this what is expected (in pic LEDSinev1, Note the "Unknown Profile: sine") I am expecting this would work except the gui doesn't know what it is, or perhaps I am wrong.

LEDTestv2.PNG LEDSinev1.PNG
You are right, the GUI wont be able to show components for the sine profile, but the backend should work just fine.
 
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
You are right, the GUI wont be able to show components for the sine profile, but the backend should work just fine.
And if you have grafana or adafruit.io , you can use that to visualize the output, as individual channel intensity is emitted as metric on every update
 

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