Page 1 of 1
Schedule Feed Mode?
Posted: Fri Oct 12, 2012 1:36 pm
by agentgreen
Is there a way in the code to schedule a feeding mode every day at say 6:30pm?
Or how do I send a feeding mode command via http?
Thanks!
Re: Schedule Feed Mode?
Posted: Fri Oct 12, 2012 1:39 pm
by rimai
Code: Select all
if (hour()=18 && minute()=30 && second()=0) ReefAngel.FeedingModeStart();
And to initiate through http:
http://ipaddress:2000/mf
Re: Schedule Feed Mode?
Posted: Fri Oct 12, 2012 1:42 pm
by agentgreen
Sweet! Love it!
I'll probably do it via http so I can control it with crontab.
Thanks!
Re: Schedule Feed Mode?
Posted: Sat Oct 13, 2012 6:22 am
by binder
The controller will respond with a
for success or
on failure. Just if you want to do any error checking.