Question about SingleATOLow function

Related to the development libraries, released by Curt Binder
Post Reply
dedvalson
Posts: 140
Joined: Tue Oct 04, 2011 5:49 am

Question about SingleATOLow function

Post by dedvalson »

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
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Question about SingleATOLow function

Post by rimai »

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.
Post Reply