Search found 19 matches

by melovictor
Mon Oct 19, 2015 6:32 am
Forum: For New Members
Topic: Selling everything
Replies: 4
Views: 7384

Re: Selling everything

Sold!

Sent from my SM-A700F using Tapatalk
by melovictor
Sat Oct 10, 2015 12:34 pm
Forum: For New Members
Topic: Selling everything
Replies: 4
Views: 7384

Selling everything

Hi all, Not sure whether or not I can sell my stuff here but let's give it a try. RA PLUS Controller /w Relay box (used) PH expansion w/ 2 probes (1 new 1 used) + high quality calibration fluid Salinity expansion (used) 2 X Temperature sensor (1 new 1 used) TTL cable, USB cable, DB9, and power adapt...
by melovictor
Fri Jun 06, 2014 12:45 am
Forum: Standard
Topic: Feeding mode and overheat timeout
Replies: 33
Views: 16622

Re: Feeding mode and overheat timeout

Ok, I've added the proposed code changes in the issue comments. Regards, Victor.
by melovictor
Thu Jun 05, 2014 10:24 pm
Forum: Standard
Topic: Feeding mode and overheat timeout
Replies: 33
Views: 16622

Re: Feeding mode and overheat timeout

I see... No problem I'll be adding it as well! Cheers, Victor
by melovictor
Thu Jun 05, 2014 12:38 pm
Forum: Standard
Topic: Feeding mode and overheat timeout
Replies: 33
Views: 16622

Re: Feeding mode and overheat timeout

Thanks Roberto! I found an IsLeakDetected() function but it doesn't read from the LeakFlag status. But from what I could understand it already does the job. So I guess we probably don't need a wrapper for LeakFlag. Is that right? As for the others isATOTimeOut(), isOverheat() and isBusLock() I'll de...
by melovictor
Thu Jun 05, 2014 12:38 pm
Forum: Standard
Topic: Feeding mode and overheat timeout
Replies: 33
Views: 16622

Re: Feeding mode and overheat timeout

Thanks Roberto! I found an IsLeakDetected() function but it doesn't read from the LeakFlag status. But from what I could understand it already does the job. So I guess we probably don't need a wrapper for LeakFlag. Is that right? As for the others isATOTimeOut(), isOverheat() and isBusLock() I'll de...
by melovictor
Thu Jun 05, 2014 12:38 pm
Forum: Standard
Topic: Feeding mode and overheat timeout
Replies: 33
Views: 16622

Re: Feeding mode and overheat timeout

Thanks Roberto! I found an IsLeakDetected() function but it doesn't read from the LeakFlag status. But from what I could understand it already does the job. So I guess we probably don't need a wrapper for LeakFlag. Is that right? As for the others isATOTimeOut(), isOverheat() and isBusLock() I'll de...
by melovictor
Thu Jun 05, 2014 11:55 am
Forum: Standard
Topic: Feeding mode and overheat timeout
Replies: 33
Views: 16622

Re: Feeding mode and overheat timeout

I got it! So I'll focus only on the alert flags. // Alert Flags bits #define ATOTimeOutFlag 0 #define OverheatFlag 1 #define BusLockFlag 2 #define LeakFlag 3 Something like: isATOTimeOut(), isOverheat(), isBusLock() and isLeakFlag(). I just check for any posible confict with these names. But all cle...
by melovictor
Thu Jun 05, 2014 11:33 am
Forum: Standard
Topic: Feeding mode and overheat timeout
Replies: 33
Views: 16622

Re: Feeding mode and overheat timeout

I've found the flags.... // Alert Flags bits #define ATOTimeOutFlag 0 #define OverheatFlag 1 #define BusLockFlag 2 #define LeakFlag 3 // Status Flag Bits #define LightsOnFlag 0 #define FeedingFlag 1 #define WaterChangeFlag 2 Whar do you think? Do we need wrappers for all of them? Where should I plac...
by melovictor
Thu Jun 05, 2014 10:48 am
Forum: Standard
Topic: Feeding mode and overheat timeout
Replies: 33
Views: 16622

Re: Feeding mode and overheat timeout

Looks good! I'd like to contribute with some coding. But I am not familiar with how everything is structured. Where to add those wrapper functions? which lib? Do you have a list of the all the flags that should be wrapped? Are they all in the same lib? Sorry if those are noobs questions but I need t...
by melovictor
Thu Jun 05, 2014 1:39 am
Forum: Standard
Topic: Feeding mode and overheat timeout
Replies: 33
Views: 16622

Re: Feeding mode and overheat timeout

That's cool. Please post the issue number here so we can follow as it develops :-) maybe even contribute!
by melovictor
Wed Jun 04, 2014 9:30 am
Forum: Standard
Topic: Feeding mode and overheat timeout
Replies: 33
Views: 16622

Re: Feeding mode and overheat timeout

Thanks guys! time_t overheatTimer=now(); void CustomOverheatClear(byte probe) { if(ReefAngel.Params.Temp[probe] >= InternalMemory.OverheatTemp_read()) overheatTimer=now(); if((now()-overheatTimer > 3600)&&(bitRead(ReefAngel.AlertFlags, OverheatFlag))) ReefAngel.OverheatClear(); } loop() { //...
by melovictor
Tue Jun 03, 2014 12:18 pm
Forum: Standard
Topic: Feeding mode and overheat timeout
Replies: 33
Views: 16622

Re: Feeding mode and overheat timeout

static time_t lastGoodTemp = now();
if(ReefAngel.Params.Temp[T1_PROBE] < InternalMemory.OverheatTemp_read()) lastGoodTemp=now();
if(now()-lastGoodTemp > 0 && now()-lastGoodTemp < 3600) ReefAngel.OverheatClear();

Does it look right? And safe?

Thanks!
by melovictor
Mon Jun 02, 2014 7:03 am
Forum: Standard
Topic: Feeding mode and overheat timeout
Replies: 33
Views: 16622

Re: Feeding mode and overheat timeout

Thanks a lot. I'll figure out a way to make safe use of it.
Regards,
Victor
by melovictor
Sun Jun 01, 2014 12:31 pm
Forum: Standard
Topic: Feeding mode and overheat timeout
Replies: 33
Views: 16622

Re: Feeding mode and overheat timeout

Does anyone know the code for clearing the overheat mode? thanks, Victor


Sent from my iPad using Tapatalk
by melovictor
Sat May 31, 2014 12:20 pm
Forum: Standard
Topic: Feeding mode and overheat timeout
Replies: 33
Views: 16622

Re: Feeding mode and overheat timeout

That works for me too! And no risk involved on that....
by melovictor
Sat May 31, 2014 10:43 am
Forum: Standard
Topic: Feeding mode and overheat timeout
Replies: 33
Views: 16622

Re: Feeding mode and overheat timeout

Thanks man!

But in case I travel? I'd like to setup it up in a way that overheat mode clears automatically after 1 or 2 hours if temperature is back to normality. Otherwise overheat would keep my lights off until I get back.

Is it posible?

Thanks again!
by melovictor
Sat May 31, 2014 10:30 am
Forum: Standard
Topic: Feeding mode and overheat timeout
Replies: 33
Views: 16622

Re: Feeding mode and overheat timeout

Nope...
by melovictor
Fri May 30, 2014 11:50 pm
Forum: Standard
Topic: Feeding mode and overheat timeout
Replies: 33
Views: 16622

Feeding mode and overheat timeout

Hi all, Two quick questions: 1. How can I change the feeding mode timeout? It is currently set to 900s(15min) if I am not wrong. But this is a default value. I'd like to change it to 5min but I don't know how. 2. Also I'd like to clear the overheat mode automatically after 1hour(and the temp is lowe...