Question about SingleATOLow function

Related to the development libraries, released by Curt Binder

Posts: 138
Joined: Tue Oct 04, 2011 5:49 am
PostPosted: Mon Aug 03, 2015 2:34 pm
Hi,

I was using SingleATOLow but my relay was kicking on and off with ripples in my sump.

I looked at the SingleATOLow code and found that it was as follows:

Code: Select all
void ReefAngelClass::SingleATOLow(byte Relay)
{
   SingleATO(true, Relay, InternalMemory.ATOExtendedTimeout_read(), InternalMemory.ATOHourInterval_read());
}


OK, so I need the ATOHourInterval to be set. But I can't find anywhere this can be adjusted. It isn't available from the Portal or the mobile app. So I just hardcoded it and used SingleATO directly.

But this made me wonder, why is are the ATOExtendedTimeout and ATOHourInterval in internal memory if there is no way to change them? Am I missing something?

Don

Posts: 11973
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Mon Aug 03, 2015 7:29 pm
You can change the timeout in the portal, but I think the interval can only be changed with the android or with direct web request.
Roberto.

Return to Development Libraries

Who is online

Users browsing this forum: No registered users and 2 guests