Lee's Feature Complete PDE
Re: Lee's Feature Complete PDE
Nice. I wish I had space for fun toys like that
Current setup:
60g 24" custom cube (fish and softies right now)
AI Sol Blue, Ecotech MP-10wES
Coralife skimmer
100% customer controller, transitioning to ReefAngel
60g 24" custom cube (fish and softies right now)
AI Sol Blue, Ecotech MP-10wES
Coralife skimmer
100% customer controller, transitioning to ReefAngel
Re: Lee's Feature Complete PDE
Latest version published. Lots of new stuff.
WiFiAlerts
Dosing by Volume
Log Dosing volume to portal
Virtual Outlets
WiFiAlerts
Dosing by Volume
Log Dosing volume to portal
Virtual Outlets
Re: Lee's Feature Complete PDE
Lee,
I love your INO code. I have stole and learned so much from it. I really appreciate all of the assistance you have giving me working through getting WifiAlert working.
I am courious why you added the delays
skimmerAlert.SetDelay(3600);
atoAlert.SetDelay(3600);
Did you receive frequent alerts because these are float switches and the delays minimized the number of alerts you received? I am having that problem with the float switch that is submerged in my RO container that is used to alert me when the container is empty. It texts me every few minutes. If I add the SetDelay(3600) will it reduce the text frequency to 1 text message per hour?
I love your INO code. I have stole and learned so much from it. I really appreciate all of the assistance you have giving me working through getting WifiAlert working.
I am courious why you added the delays
skimmerAlert.SetDelay(3600);
atoAlert.SetDelay(3600);
Did you receive frequent alerts because these are float switches and the delays minimized the number of alerts you received? I am having that problem with the float switch that is submerged in my RO container that is used to alert me when the container is empty. It texts me every few minutes. If I add the SetDelay(3600) will it reduce the text frequency to 1 text message per hour?
Re: Lee's Feature Complete PDE
Exactly, that alert type will only send once an hour.mudcat1 wrote:Lee,
I love your INO code. I have stole and learned so much from it. I really appreciate all of the assistance you have giving me working through getting WifiAlert working.
I am courious why you added the delays
skimmerAlert.SetDelay(3600);
atoAlert.SetDelay(3600);
Did you receive frequent alerts because these are float switches and the delays minimized the number of alerts you received? I am having that problem with the float switch that is submerged in my RO container that is used to alert me when the container is empty. It texts me every few minutes. If I add the SetDelay(3600) will it reduce the text frequency to 1 text message per hour?
If skimmer is full, I don't need an alert either every 15 minutes and if the sump is low on water, I can turn off skimmer and run return till I get home or can have my wife open the shutoff valve I probably left closed. It's gravity based... I want to add a check to make sure it's draining at an expected level measured by the water expansion.
Re: Lee's Feature Complete PDE
Some more features. Some memory location flags (ie Vacation / AutoFeeder) flags are now represented by virtual outlets. They still need to be in memory but now I can change it in either the memory directly or through the outlet. Dosing routines have been fixed a bit and I can now update dosage volume or time and the result is calculated.
Re: Lee's Feature Complete PDE
Ok. new feature some might be interested. I use the Water Level sensor to monitor my ATO reservoir. I use a gravity feed ATO so it's not something I can easily monitor if something isn't working right. Usually by the time I know of a problem, it's because the return pump has shutdown because the water level dropped too low. So I'm now calculating the ATO reservoir level every 6 hours. If the rate of loss per day is not greater than 15% then send me an alert. I *should* have a rate between 20-25% since my container goes 4-5 days. If a 6 hour period goes by and the rate has not moved by that much then there is a problem.
I also added a counter for the number of times my feeder is activated. Trying to tune an automated feeding schedule and I had an issue previously where it probably ran a few dozen times on me before I caught it. Now I'm paranoid.
I also added a counter for the number of times my feeder is activated. Trying to tune an automated feeding schedule and I had an issue previously where it probably ran a few dozen times on me before I caught it. Now I'm paranoid.
Re: Lee's Feature Complete PDE
lnevo wrote:Latest version published. Lots of new stuff.
WiFiAlerts
Dosing by Volume
Log Dosing volume to portal
Virtual Outlets
I'm sure I am missing something simple here but where exactly is your code published ? Cant seem to find it.
Re: Lee's Feature Complete PDE
Your just updating that everytime, got it, Thankslnevo wrote:At the beginning of the thread. 2nd post
Re: Lee's Feature Complete PDE
Just added daily mode change inside my custom rf mode. So now my speed will follow my tide wave form, but each day i should get a different wave form applied on top.
-
- Posts: 58
- Joined: Sun May 12, 2013 2:21 pm
Re: Lee's Feature Complete PDE
Can you post the latest screen grabs of your custom main screens? I think it would help me understand the code more.
Re: Lee's Feature Complete PDE
Sure, here you go!
Took these a while ago and never got around to it!
Took these a while ago and never got around to it!
-
- Posts: 58
- Joined: Sun May 12, 2013 2:21 pm
Re: Lee's Feature Complete PDE
Lee,
Thanks for the pics. That actually helps a lot. I had one quick question on your code. It appears that you have three relays in your draw relay function. Am I misinterpreting the code?
Thanks for the pics. That actually helps a lot. I had one quick question on your code. It appears that you have three relays in your draw relay function. Am I misinterpreting the code?
Code: Select all
// Draw Relays
byte TempRelay = ReefAngel.Relay.RelayData;
TempRelay &= ReefAngel.Relay.RelayMaskOff;
TempRelay |= ReefAngel.Relay.RelayMaskOn;
ReefAngel.LCD.DrawOutletBox(x, y, TempRelay);
y+=12;
TempRelay = ReefAngel.Relay.RelayDataE[0];
TempRelay &= ReefAngel.Relay.RelayMaskOffE[0];
TempRelay |= ReefAngel.Relay.RelayMaskOnE[0];
ReefAngel.LCD.DrawOutletBox(x, y, TempRelay);
y+=123;
TempRelay = ReefAngel.Relay.RelayDataE[1];
TempRelay &= ReefAngel.Relay.RelayMaskOffE[1];
TempRelay |= ReefAngel.Relay.RelayMaskOnE[1];
ReefAngel.LCD.DrawOutletBox(x, y, TempRelay);
}
Re: Lee's Feature Complete PDE
Yes, I took those shots a few months ago before I added the additional relays..I moved the date line to the banner section and added a 3rd relay bar to the drawing. Good eyes!
If you looked close enough, the date on the controller is 4/29.
If you looked close enough, the date on the controller is 4/29.
-
- Posts: 58
- Joined: Sun May 12, 2013 2:21 pm
Re: Lee's Feature Complete PDE
Wow, you have a lot of power going to your tank!
Re: Lee's Feature Complete PDE
The third really doesn't exist. You reference any outlet you want, whether it is there or not. I use those outlets to interact with my RA and trigger certain functions.
Re: Lee's Feature Complete PDE
Ok, I completely nailed the evaporation calculation routine. The original code worked, but was not very great. This one is it. I need to stop playing with my RA now and work on some other tank maintenance.... like that dreaded re-aquascaping...and more testing so I can get my dosers going finally.
Re: Lee's Feature Complete PDE
So in part of my last few updates I added a sub-mode to my tide simulation to allow it to switch daily the wave pattern that is applied. I think the overall affect is pretty cool. I like the daily switch a lot, it's like getting a different weather pattern each day
- Attachments
-
- Reef Angel Web Chart RFS.jpg (32.79 KiB) Viewed 6001 times
Re: Lee's Feature Complete PDE
got a few questions on this custom code. i read through your tutorial link and at the end it says
Also remember, if you are inside your own function, the controller will not be processing any of the functions
inside loop(). So the heaters/fans will not turn on/off with changes in temperatures. The lights will not turn
on/off on their schedule. The ATO will not turn on/off. The controller will not respond to WIFI requests. (To
respond to the WIFI requests, you will just need to call pingSerial() inside your code).
not sure im understanding this, is it saying if you do this code your heaters not going to turn on when your temp hits the low setting and turn off when hits high setting?
the other question can you make a menu option to toggle between wave patterns manully in the pwm actinic and daylight ports?
Also remember, if you are inside your own function, the controller will not be processing any of the functions
inside loop(). So the heaters/fans will not turn on/off with changes in temperatures. The lights will not turn
on/off on their schedule. The ATO will not turn on/off. The controller will not respond to WIFI requests. (To
respond to the WIFI requests, you will just need to call pingSerial() inside your code).
not sure im understanding this, is it saying if you do this code your heaters not going to turn on when your temp hits the low setting and turn off when hits high setting?
the other question can you make a menu option to toggle between wave patterns manully in the pwm actinic and daylight ports?
Re: Lee's Feature Complete PDE
First off, you can have your own functions. If you loop inside your own function though you will not be processing other things. As long as your own function does its thing and comes back loop will still be processing.
Im not sure which tutorial your referring, i haven't written any. I don't have Jaebo pumps but i toggle my Vortech modes through a menu item with the joystick so you can use that as an example.
pingSerial is no longer needed in your code with the current libraries.
Im not sure which tutorial your referring, i haven't written any. I don't have Jaebo pumps but i toggle my Vortech modes through a menu item with the joystick so you can use that as an example.
pingSerial is no longer needed in your code with the current libraries.
Re: Lee's Feature Complete PDE
Please!jjdezek wrote:the other question can you make a menu option to toggle between wave patterns manully in the pwm actinic and daylight ports?
Barry
Current tank info: 150g mixed reef
"Some of the worst mistakes of my life were hair cuts" -Jim Morrison
Current tank info: 150g mixed reef
"Some of the worst mistakes of my life were hair cuts" -Jim Morrison
Re: Lee's Feature Complete PDE
Its not so straightforward. It all depends on the rest of the code you are using. I suggest you start a new thread and post your full code and we can help you to put something together.
Re: Lee's Feature Complete PDE
Added BioHazard mode and ElseMode to my Custom random rotation pool. Also tweaked some of the alert messages to add some data. Need to update my screens to show what my custom parameters are doing.
Re: Lee's Feature Complete PDE
Lee, what size UPS are you using, and have you tested it to see how long you can run your return on it?
Re: Lee's Feature Complete PDE
It's an 850VA UPS. Unfortunately it's not a true sine wave. The LCD says it will run things in my power outage mode which is my RA and my return pump for 70 minutes or so, but my return pump only gets about 10-15 minutes before it gives up. It doesn't like the signal unfortunately. So at some point I will replace the UPS or who knows, maybe the return pump will come out first
Re: Lee's Feature Complete PDE
Thanks for finding that out for me. So do you think if you changed to one of those dc pumps, you might get the claimed 70 minutes?
Re: Lee's Feature Complete PDE
Not sure. Possibly. Maybe someone more electronically incline could chime in on that.
On another note, I've added a routine to keep track of maintenance tasks. Some it knows when I've done. Water change, refilled ato, emptied skimmate container, fed fish. Some i will have to manually reset. Gac, gfo, cal, alk. Working on the web interface to reset the manual ones. I'll add alerts later..
On another note, I've added a routine to keep track of maintenance tasks. Some it knows when I've done. Water change, refilled ato, emptied skimmate container, fed fish. Some i will have to manually reset. Gac, gfo, cal, alk. Working on the web interface to reset the manual ones. I'll add alerts later..
Re: Lee's Feature Complete PDE
The UPS reading is just an estimate.
Does your pump give up before the UPS is drained? Is it what you are saying?
If you go DC pump, you won't need to worry about true sine or not.
The AC voltage needs to be turned back into DC again anyway.
A little less efficient, because you are technically wasting energy to convert into AC from battery and then back into DC, but would work
Does your pump give up before the UPS is drained? Is it what you are saying?
If you go DC pump, you won't need to worry about true sine or not.
The AC voltage needs to be turned back into DC again anyway.
A little less efficient, because you are technically wasting energy to convert into AC from battery and then back into DC, but would work
Roberto.
Re: Lee's Feature Complete PDE
No the ups still has juice...the pump gives up after a but. It'll turn back on if i reset the relay. Good to know about the DC pump though. That might be a cheaper route than replacing the UPS
Re: Lee's Feature Complete PDE
So, today was the day I finally re-aquascaped my tank. II had about 35 gallons of water ready to go, abou twice my usual. I started by setting up my water change setup, and drained the water directly into a rubbermaid, about 18 gallons... Added heater and powerhead and transferred everything into it. Everything transferred back after giving the tank a good cleansing. Ran an extra powerhead with a filter sock on the output for a while as well. I scraped off all the extra epoxy off all the rocks. And finally after getting everything situated and the water cleared up, I changed my carbon and did another water change.
I did have a couple of hitchhikers in the buckets, my firefish and blue hippo tang who was buried in one of the rocks and I realized about 5-10 minutes later. Both made it back and are doing wonderful. Think the fish are really enjoying the new scape. I have to say, it's so much brighter now, I feel like I just upgraded my LEDs. And now with enough surface area, I have all frags mounted and I feel like I finally have a reef tank. Now hopefully everything keeps growing well. I've set my lights on an acclimation schedule so everyone has time to adjust to their new locations.
The ReefAngel managed everything like a champ. Without it, there was no way I could have pulled this off. It did take all day, but all the automation really paid off. Pics to follow...
I did have a couple of hitchhikers in the buckets, my firefish and blue hippo tang who was buried in one of the rocks and I realized about 5-10 minutes later. Both made it back and are doing wonderful. Think the fish are really enjoying the new scape. I have to say, it's so much brighter now, I feel like I just upgraded my LEDs. And now with enough surface area, I have all frags mounted and I feel like I finally have a reef tank. Now hopefully everything keeps growing well. I've set my lights on an acclimation schedule so everyone has time to adjust to their new locations.
The ReefAngel managed everything like a champ. Without it, there was no way I could have pulled this off. It did take all day, but all the automation really paid off. Pics to follow...