Lee's Feature Complete PDE

Share you PDE file with our community
User avatar
Posts: 5416
Joined: Fri Jul 20, 2012 9:42 am
PostPosted: Mon Oct 27, 2014 10:58 am
BioHazard mode was one of the attempts to replicate Else mode. It works pretty good.

The custom waves uses the RA modes instead of the Vortech built in functions. It also goes through a random mode each day if set to use the random mode.
User avatar
Posts: 187
Joined: Wed Apr 10, 2013 2:48 pm
Location: Athens, Ga
PostPosted: Mon Oct 27, 2014 3:58 pm
lnevo wrote:BioHazard mode was one of the attempts to replicate Else mode. It works pretty good.

The custom waves uses the RA modes instead of the Vortech built in functions. It also goes through a random mode each day if set to use the random mode.


I want to redo the code I have programmed on my RA+ and want to borrow heavily on your code. I am in awe with you have done with your RA.
Image
User avatar
Posts: 187
Joined: Wed Apr 10, 2013 2:48 pm
Location: Athens, Ga
PostPosted: Mon Oct 27, 2014 4:01 pm
lnevo wrote:BioHazard mode was one of the attempts to replicate Else mode. It works pretty good.

The custom waves uses the RA modes instead of the Vortech built in functions. It also goes through a random mode each day if set to use the random mode.


Many thanks for the answers. I want to redo the code I have programmed on my RA+ and want to borrow heavily on your code. I am in awe with you have done with your RA.
Image
User avatar
Posts: 5416
Joined: Fri Jul 20, 2012 9:42 am
PostPosted: Sun Feb 01, 2015 8:14 pm
Wow, I haven't updated the code in this thread since January of 2013... I've certainly made a few tweaks here in there, but pretty incredible that I've been able to use the same code base for soooo long. Thanks to using memory for just about everything, I've been able to toggle and modify most every routine without needing new code. It's really only been minor tweaks for all this time. Anyway, page 1 is updated but in summary here are some features I've added this past go around

RF FeedingMode speed - override the vortech feeding mode and set a custom speed during feeding mode.
Acclimation code for dimming - Enahnced the acclimation so it can adjust the dimming % in addition to photoperiod.
Adjust alk manually (thanks AlanM) - Added a function I got from AlanM that lets you input the current alk measurement and dose the appropriate amount to get to your target amount.
Daily email report - Send an alert 2x a day since I rarely check on things so obsessively anymore
Light modes (select in memory which wavetype for lighting) - choose slope/parabola/sigmoid/slowramp
East/West offset dimming - Self explanatory I hope
Filll in gap from 5%->0% with moonlights - Extend the dimming past lights out with the moonlights for a smoother sunset routing

Posts: 13
Joined: Sat Jun 15, 2013 3:21 pm
PostPosted: Tue Feb 10, 2015 4:48 am
Thanks for this great code Lee!
As a complete novis on ReefAngel its really valuable to check complex codes like this for reference. One question, what does the custom memory settings do?

//Jim
User avatar
Posts: 5416
Joined: Fri Jul 20, 2012 9:42 am
PostPosted: Tue Feb 10, 2015 5:19 am
The memory settings are basically persistent variables that let me change how things work on the fly without having to reupload a new program to the controller. In order to "save" them you have to assign them a memory location where it will be stored.

Posts: 327
Joined: Tue Mar 22, 2011 12:45 am
Location: San Diego, CA
PostPosted: Mon Feb 23, 2015 12:04 am
Adjust alk manually (thanks AlanM) - Added a function I got from AlanM that lets you input the current alk measurement and dose the appropriate amount to get to your target amount.
Daily email report - Send an alert 2x a day since I rarely check on things so obsessively anymore


Please expand. I'd like info on how to do these two :D
User avatar
Posts: 5416
Joined: Fri Jul 20, 2012 9:42 am
PostPosted: Mon Feb 23, 2015 7:32 am
Both of these are in their own isolated functions so it should be easy to carry over.

This thread details the daily reminder mail
viewtopic.php?p=45678#p45678

The adjustAlk was a function I got from AlanM but I have not tested it yet. It's all in theory, but look for void adjustAlk() in my code and let me know what questions you have. It would have to be adapted to your tank and dosing regimen.

Posts: 327
Joined: Tue Mar 22, 2011 12:45 am
Location: San Diego, CA
PostPosted: Mon Mar 02, 2015 7:33 pm
lnevo wrote:Both of these are in their own isolated functions so it should be easy to carry over.

This thread details the daily reminder mail
viewtopic.php?p=45678#p45678

The adjustAlk was a function I got from AlanM but I have not tested it yet. It's all in theory, but look for void adjustAlk() in my code and let me know what questions you have. It would have to be adapted to your tank and dosing regimen.


Thanks! I got the daily e-mails to work. Great tool... now working on:
1. Change time from 0600/1800
2. Change contents of e-mail to include other info
3. Change title of e-mail. I'm so used to those e-mails meaning something is wrong!

Also going to start working with dosing.
User avatar
Posts: 5416
Joined: Fri Jul 20, 2012 9:42 am
PostPosted: Mon Mar 02, 2015 7:38 pm
Can't change the title of the emajl unless roberto adds a parameter to the aspx script and then I'd have to add support in the class. Doable just needs work.

If you look at the function there is a 6 and a 12. The 12 is for every 12 hours and the 6 means start 6 hours from midnight. Feel free to change those numbers to your preference.

Other parameters should be easy to add just make sure the msg buffer will be large enough.
PreviousNext

Return to My PDE/INO file

Who is online

Users browsing this forum: No registered users and 2 guests

cron