I guess we could implement a minimum daylight period of say 12 hours and a max of say 15... Then when the distance between rise and set falls below that you just computationally add 1/2 that difference to set and subtract it from rise. Change the signs if its longer than 15... easy if loop- like 4 lines and were done.
That would enable world wide use of actual location and keep tanks alive.
Acclimation is more of a pain... I would guess that its better for people to do this manually (you only do it once after all). Else you need a programmable flag and then a time keeping element and then if it resets or looses power your kinda screwed. I would not advocate an acclimation feature just now.
If were going to do this, i.e. weather function... we should move this to the thread with the entire package published. So far as I can tell, its still bug free=- you have validated the port of the libraries and my handling on time and corrections to and fro from Unix to 2000 etc etc. My system has never had an issue with weather for a few months now. Although I am currently DOWN since one of my new fish decided to splash water all over hell and back and got it onto my dimming module board and shorted it out
![Twisted Evil :twisted:](./images/smilies/icon_twisted.gif)
![Twisted Evil :twisted:](./images/smilies/icon_twisted.gif)
![Mr. Green :mrgreen:](./images/smilies/icon_mrgreen.gif)
So... eventually I will get a new board but most of what needs to be done is pretty simple.
Kurt-
If you seriously interested in putting this weather package into the libraries I can spend a bit of time working with you. Maybe PM me and if lnevo gets roberto's lights he can help test it. I know that the Reef Angel South Africa distribuitor is using the weather package and likes it... so they would help too and have offered to do so if needed.
The code is relatively compact for what it is... I can walk you though it. I have it kinda naturally split up into functions so porting it *may* be palatable but I am unsure as I have little experience here and you obviously have a format you need to stick to. Let me know. I am confident that those using the RA+ would probably try it.
Only issue is there are many options that may need to be delt with... many could be stripped out and simply used to create two or three set up configurations. Then hard coded from something like the wizard. That would be best... but is yet more work.