Search found 69 matches

by chachew
Wed Mar 14, 2018 7:52 pm
Forum: Apps
Topic: Reef Angel Wizard Typo
Replies: 1
Views: 3459

Reef Angel Wizard Typo

In the first sentence.. "User settings can be stored within the code itself or inside the intenal memory of the controller."

intenal should be internal
by chachew
Wed Mar 14, 2018 7:50 pm
Forum: Standard
Topic: Dimming Kessil
Replies: 7
Views: 10610

Re: Dimming Kessil

rimai wrote:Not with PWM signal. Kessil lights actually use analog signal.
But if you do have analog signal on the dimming channels, yes, you can control it to dim the lights.
Oh ok. So the kessils can dim from the RA+ dimming ports with the RA+ kessil cable?
by chachew
Wed Mar 14, 2018 6:11 pm
Forum: Standard
Topic: Dimming Kessil
Replies: 7
Views: 10610

Re: Dimming Kessil

rimai wrote:Yes. But it uses both channels. One controls intensity and another color
Perfect. Exactly what I needed to know. So can you control the PWM as well? So to create a sunrise/sunset type effect?
by chachew
Wed Mar 14, 2018 5:05 pm
Forum: Standard
Topic: Dimming Kessil
Replies: 7
Views: 10610

Re: Dimming Kessil

rimai wrote:Yes, it will as long as your dimming signal is analog
So I just need to buy the RA kessil cable? And connect it to one of the dimming ports?
by chachew
Wed Mar 14, 2018 4:57 pm
Forum: Standard
Topic: Dimming Kessil
Replies: 7
Views: 10610

Dimming Kessil

I have a RA+, will the dimming ports work with the Kessil or do I need an expansion module?
by chachew
Wed Mar 14, 2018 8:37 am
Forum: Development Libraries
Topic: LCD no longer going to sleep.
Replies: 4
Views: 6208

Re: LCD no longer going to sleep.

rimai wrote:10 minutes if you have not changed.
OK, tried it again and i think it is working. Weird because i swore that it was sleeping after about 30 seconds before. Ill keep an eye on it and let you know if it acts weird. Thanks rimai!
by chachew
Tue Mar 13, 2018 10:15 pm
Forum: Development Libraries
Topic: LCD no longer going to sleep.
Replies: 4
Views: 6208

Re: LCD no longer going to sleep.

Have you changed internal memory values? Can you post your code? What is the timeout period for the screen? I just got out of bed to look at it and it was off but I haven't touched it in and hour. Could have sworn earlier when it was working that it turned off about about 30 seconds... I can give y...
by chachew
Tue Mar 13, 2018 9:28 pm
Forum: Development Libraries
Topic: LCD no longer going to sleep.
Replies: 4
Views: 6208

LCD no longer going to sleep.

I reloaded my RA Plus controller tonight to test the latest public build and everything went well. I was testing some general changes to the code and now the LCD screen is no longer going to sleep like it was before. It stays on forever. I uninstalled and reinstalled the RA arduino IDE and reloaded ...
by chachew
Wed Aug 06, 2014 8:55 am
Forum: Apps
Topic: Universal App
Replies: 236
Views: 268778

Re: Universal App

rimai wrote:We already have :)
http://forum.reefangel.com/status/label ... x?id=RA_ID
In any case, I also added the header to both pages. Let me know if it works.
Awesome! That's exactly what i need. Ill continue on with looking at things then. :D

Thanks, Roberto
by chachew
Wed Aug 06, 2014 7:58 am
Forum: Apps
Topic: Universal App
Replies: 236
Views: 268778

Re: Universal App

Does it need to be jsonp or just the json array work? Did you see the json output from the controller?? If jsonp is absolutely necessary, can we make it as a known static function, instead of an argument passed to the server embedded in the url? Roberto, i think it would be beneficial to have anoth...
by chachew
Wed Aug 06, 2014 7:03 am
Forum: Apps
Topic: Universal App
Replies: 236
Views: 268778

Re: Universal App

So i got some things working last night for locally connecting to the reefangel server. Took me a while to figure it out but i got the jsonp response that i needed. I had to modify the RA_Wifi.cpp and RA_Wifi.h files to get the correct jsonp wrapping and content-type. The json responses from the web...
by chachew
Tue Aug 05, 2014 1:05 pm
Forum: Apps
Topic: Universal App
Replies: 236
Views: 268778

Re: Universal App

Ultimately a JSONP response is what we will need I did some testing with the json output from the controller but i was running to problems because of the port forwarding. Port forwarding is considered cross-domain as well. Ill have to do some more testing at home with CORS and ports but im not sure ...
by chachew
Tue Aug 05, 2014 12:52 pm
Forum: Apps
Topic: Universal App
Replies: 236
Views: 268778

Re: Universal App

So i have been looking more into the webApp version of this application. The major problem i keep running into is Cross-domain access, which is denied. I can get around that with JSONP or CORS but the problem with CORS is probably all pages on reefangel.com have 'Access-Control-Allow-Origin' enabled...
by chachew
Sun Jul 13, 2014 8:05 pm
Forum: Apps
Topic: Universal App
Replies: 236
Views: 268778

Re: Universal App

Maybe it would be easiest to deliver as much data as possible in one json call? Kind of like r99? Also matt, there is a proxy.aspx that we could switch to instead of the controller directly but its just a little bit slower, but then at least its all through reefangel.com. I'd have to look at the sy...
by chachew
Sun Jul 13, 2014 8:16 am
Forum: Apps
Topic: Universal App
Replies: 236
Views: 268778

Re: Universal App

So i have identified the issues with the web app and why its not updating any information. You can see some of the information on another thread where i discussed the issues that i found. Basically comes down to problems with cross-domain calls to reefangel.com for XML data. I figured i should put t...
by chachew
Thu Feb 28, 2013 8:18 pm
Forum: How do I code ...
Topic: Custom Dosing
Replies: 32
Views: 16761

Re: Custom Dosing

AWESOME, this is working. Ill do some test runs over the next few days before it doses real chemicals. Thanks
by chachew
Thu Feb 28, 2013 8:03 pm
Forum: How do I code ...
Topic: Custom Dosing
Replies: 32
Views: 16761

Re: Custom Dosing

DERP ALERP!! i need == instead of =
by chachew
Thu Feb 28, 2013 7:58 pm
Forum: How do I code ...
Topic: Custom Dosing
Replies: 32
Views: 16761

Re: Custom Dosing

rimai wrote:Yeah... It won't work... :( Sorry
Try this:

Code: Select all

ReefAngel.Relay.Set(Port1,hour()=6 && minute()=0 && second()<30);

Code: Select all

NewCodeWithEXP2_26_13.cpp: In function 'void loop()':
NewCodeWithEXP2_26_13:77: error: lvalue required as left operand of assignment
I get this error on compile
by chachew
Thu Feb 28, 2013 7:36 pm
Forum: How do I code ...
Topic: Custom Dosing
Replies: 32
Views: 16761

Re: Custom Dosing

Ill try your code above Rimai, is that as reliable as the other function?
by chachew
Thu Feb 28, 2013 7:35 pm
Forum: How do I code ...
Topic: Custom Dosing
Replies: 32
Views: 16761

Re: Custom Dosing

I edited my above post for my findings. Is there no other way to have 3 dosing timers? :(
by chachew
Thu Feb 28, 2013 7:18 pm
Forum: How do I code ...
Topic: Custom Dosing
Replies: 32
Views: 16761

Re: Custom Dosing

Well i just tried it and it looks like it fails. The first doser fires as it should but the other two do not :(

EDIT: Actually i had something set wrong...it appears to be working but not exactly. The first relay to use the timer works flawlessly, the second and third relay turn on but NEVER turn off
by chachew
Thu Feb 28, 2013 6:47 pm
Forum: How do I code ...
Topic: Custom Dosing
Replies: 32
Views: 16761

Re: Custom Dosing

So since not more than 1 dosing pump will ever be running at the same time, then i can use the same timer for all three dosers correct?
by chachew
Thu Feb 28, 2013 5:53 pm
Forum: How do I code ...
Topic: Custom Dosing
Replies: 32
Views: 16761

Re: Custom Dosing

Yea without it it compiles perfectly. :(
by chachew
Thu Feb 28, 2013 4:48 pm
Forum: How do I code ...
Topic: Custom Dosing
Replies: 32
Views: 16761

Re: Custom Dosing

NewCodeWithEXP2_26_13.cpp.o: In function `loop': C:\Users\Matt\AppData\Local\Temp\build9212269777689315176.tmp/NewCodeWithEXP2_26_13.cpp:89: undefined reference to `ReefAngelClass::DosingPump(unsigned char, unsigned char, unsigned char, int)' I get this error when trying to upload: ReefAngel.Dosing...
by chachew
Thu Feb 28, 2013 7:01 am
Forum: How do I code ...
Topic: Custom Dosing
Replies: 32
Views: 16761

Re: Custom Dosing

So does this function work? I seem to always get an error when it tries to compile the code when this function is used

Code: Select all

void ReefAngel.DosingPump( byte DPRelay, byte DPTimer, byte OnHour, byte OnMinute, int RunTime )
by chachew
Wed Feb 27, 2013 4:40 pm
Forum: How do I code ...
Topic: Custom Dosing
Replies: 32
Views: 16761

Re: Custom Dosing

So will this work? ReefAngel.DosingPump(Box1_Port1, InternalMemory.read(100), InternalMemory.read(101), InternalMemory.read(102)); ReefAngel.DosingPump(Box1_Port2, InternalMemory.read(103), InternalMemory.read(104), InternalMemory.read(105)); ReefAngel.DosingPump(Box1_Port3, InternalMemory.read(106)...
by chachew
Wed Feb 27, 2013 4:12 pm
Forum: How do I code ...
Topic: Custom Dosing
Replies: 32
Views: 16761

Re: Custom Dosing

Awesome, ill try it here shortly. Thanks for the help
by chachew
Wed Feb 27, 2013 3:01 pm
Forum: How do I code ...
Topic: Custom Dosing
Replies: 32
Views: 16761

Re: Custom Dosing

So in my loop() section i would add: void ReefAngelClass::DosingPump(Box1_Port1, 6, 0, InternalMemory.read(100)); void ReefAngelClass::DosingPump(Box1_Port2, 7, 0, InternalMemory.read(101)); void ReefAngelClass::DosingPump(Box1_Port3, 8, 0, InternalMemory.read(102)); And then Add the seconds to each...
by chachew
Tue Feb 26, 2013 9:00 pm
Forum: How do I code ...
Topic: Custom Dosing
Replies: 32
Views: 16761

Re: Custom Dosing

Lnevo, i do have the wifi attachment. How do i know the memory location of specific ports? Also, the above function would go in the setup() or loop() section of the code?
by chachew
Tue Feb 26, 2013 8:05 pm
Forum: How do I code ...
Topic: Custom Dosing
Replies: 32
Views: 16761

Custom Dosing

Im needing to Dose Alk, Mag and Cal on three different pumps for various seconds per day. For Example: 6am - Pump(Box1_Port1) comes on for 12 seconds 7am - Pump(Box1_Port2) comes on for 9 seconds 8am - Pump(Box1_Port3) comes on for 2 seconds I would ideally like to have this in a custom menu that i ...