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!
Schedule Feed Mode?
Re: Schedule Feed Mode?
Code: Select all
if (hour()=18 && minute()=30 && second()=0) ReefAngel.FeedingModeStart();
http://ipaddress:2000/mf
Roberto.
-
- Posts: 97
- Joined: Wed Jul 06, 2011 6:45 am
Re: Schedule Feed Mode?
Sweet! Love it!rimai wrote:And to initiate through http:Code: Select all
if (hour()=18 && minute()=30 && second()=0) ReefAngel.FeedingModeStart();
http://ipaddress:2000/mf
I'll probably do it via http so I can control it with crontab.
Thanks!
Re: Schedule Feed Mode?
The controller will respond with a for success or on failure. Just if you want to do any error checking.
Code: Select all
<M>OK</M>
Code: Select all
<M>ERR</M>