Page 2 of 6

Re: Issues I've seen in the current Dev Library.

Posted: Sat Sep 06, 2014 8:48 am
by Sacohen
Thanks Roberto. I'll try to be patient.

Re: Issues I've seen in the current Dev Library.

Posted: Sat Sep 06, 2014 8:57 am
by rimai
See if you can ping your domain name:
ping rimai_home.myreefangel.com

Re: Issues I've seen in the current Dev Library.

Posted: Sat Sep 06, 2014 9:01 am
by binder
Sacohen wrote: I'm having the same issue. The Portal just updated to my new IP address after I disabled my no-ip host, but the Android app is giving me an "Error 14: Unknown Host:sacohen_myreeftank.myreefangel.com:2000//r99".

If the Portal is seeing it then shouldn't the App see it?
Not always. The portal is using robertos DNS servers. Your app is using your DNS servers. the ReefAngel DNS servers will see the changes instantly. Your ISP/providers DNS servers will get the changes/updates whenever they get propagated. So, unfortunately, you will have to wait and keep checking when the changes propagate. :|

Re: Issues I've seen in the current Dev Library.

Posted: Sat Sep 06, 2014 9:02 am
by cosmith71
lnevo wrote:Colin, i noticed you had .reefangel.com but the examples are .myreefangel.com not sure if you already saw that or not.
I have that. I transcribed it wrong.

--Colin

Re: Issues I've seen in the current Dev Library.

Posted: Sat Sep 06, 2014 9:39 am
by Sacohen
Unable to ping rimai_home.myreefangel.com

C:\Users\Steve>ping rimai_home.myreefangel.com
Ping request could not find host rimai_home.myreefangel.com. Please check the na
me and try again.

Re: Issues I've seen in the current Dev Library.

Posted: Sat Sep 06, 2014 9:42 am
by rimai
not mine... yours.... lol
That domain is not existent. I just used it as example :)

Re: Issues I've seen in the current Dev Library.

Posted: Sat Sep 06, 2014 10:50 am
by Sacohen
Yes.

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\Steve>ping sacohen_myreeftank.myreefangel.com

Pinging sacohen_myreeftank.myreefangel.com [65.3.96.176] with 32 bytes of data:
Reply from 65.3.96.176: bytes=32 time=3ms TTL=64
Reply from 65.3.96.176: bytes=32 time=3ms TTL=64
Reply from 65.3.96.176: bytes=32 time=3ms TTL=64
Reply from 65.3.96.176: bytes=32 time=3ms TTL=64

Ping statistics for 65.3.96.176:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 3ms, Maximum = 3ms, Average = 3ms

C:\Users\Steve>

Re: Issues I've seen in the current Dev Library.

Posted: Sat Sep 06, 2014 11:20 am
by Sacohen
I've also noticed that my Jebao pumps don't seem to be right.

The WP-40 (Actinic/Anti-Sync) is at a constant 66% while the WP-25 (Daylight/Sync) is at 0.
I have the internal memory set to custom with a speed of 50 and a duration of 30.
The DCPump section does display this correctly, but it never changes.
If it happened to be on Constant Mode in the Random code it would be 50% on both channels.
Short and Long Pulse will alternate 50/0 between pumps with varying lengths depending upon short or long.

Else, Lagoon or ReefCrest will show varying percentages and opposite each other (Anti Sync).

After a reboot I had 0% on both channels, which I have never had.

Re: Issues I've seen in the current Dev Library.

Posted: Sat Sep 06, 2014 11:36 am
by Sacohen
Never Mind I think the Internal Memory of the Portal got set to Constant 0/0.
Not sure how. I never set it to that.

Re: Issues I've seen in the current Dev Library.

Posted: Sat Sep 06, 2014 11:44 am
by Sacohen
No something is not right.

Else mode works properly and it seems that Sine does too, but when I try Grye or Custom (which triggers the Random code Lee created) both pumps goe to 0 speed.

Re: Issues I've seen in the current Dev Library.

Posted: Sat Sep 06, 2014 3:22 pm
by lnevo
How about long pulse / short pulse etc when chosen manually?

Re: Issues I've seen in the current Dev Library.

Posted: Sat Sep 06, 2014 3:32 pm
by Sacohen
It's in NTM after feeding right now.
I'll double check them later, but I think they were fine.

Re: Issues I've seen in the current Dev Library.

Posted: Sat Sep 06, 2014 4:49 pm
by Sacohen
I was watching TV while waiting for NTM for finished and noticed that my moonlights were flashing.

https://www.youtube.com/watch?v=luKhY1D7fFI

I've never had this happen before. I don't know if it is the new code or what.

I looked at the Andriod app and the Portal and all the channels on the dimming module were at 50%, but I caught an update a little later and they were all at 0.

I tried rebooting and the same issues.

After NTM it went to Lagoonal Mode and the moonlights stayed on at 50% (no flashing).

I manually set it to Short Pulse and it is pulsing at 50%, but so are all channels on the dimming port.

The dimming pory seems to be following the Daylight Channel of the Relay. The same thing is happening in Long Pulse, but at a slower rate.

Re: Issues I've seen in the current Dev Library.

Posted: Sat Sep 06, 2014 4:57 pm
by Sacohen
I just checked and it's happening with all the wave modes.
Whatever percentage the Daylight Dimming Channel is at all the channels on the Dimming Module are at the same percentage.

Re: Issues I've seen in the current Dev Library.

Posted: Sat Sep 06, 2014 5:19 pm
by Sacohen
Just double checked and it does not happen with the old libraries and my old code for that set of libraries.

I was wondering if it had to do with the offset code, so I commented it out and it still happens, so it's not that.

Re: Issues I've seen in the current Dev Library.

Posted: Sat Sep 06, 2014 5:23 pm
by lnevo
But is it when in custom or all the modes? Can you try a wizard code i need to look at your ino again...

Re: Issues I've seen in the current Dev Library.

Posted: Sat Sep 06, 2014 5:33 pm
by Sacohen
It's all modes when changed thru the Internal Memory.
I'll try some Wizard code and let you know.

Re: Issues I've seen in the current Dev Library.

Posted: Sat Sep 06, 2014 5:57 pm
by Sacohen
Created a totally Wizard code (the only thing I went back in and added was my Portal Key) and Moonlights still flashed while the channels on the Dimming Module were still matching the Daylight Dimming port on the Relay.

Re: Issues I've seen in the current Dev Library.

Posted: Sat Sep 06, 2014 6:17 pm
by lnevo
Ok. Thanks. I'll see if any issue I can find. Alan, how about you are you seeing similar?

Re: Issues I've seen in the current Dev Library.

Posted: Sat Sep 06, 2014 7:07 pm
by AlanM
No. I don't see those issues, I don't have a 6 channel dimmer, though, and you don't have DC pumps, so maybe we would miss them. I'll look again at the reefangel .cpp stuff to see if somehow the pump settings are getting sent to all the lights or something for the expansion.

Re: Issues I've seen in the current Dev Library.

Posted: Sat Sep 06, 2014 7:18 pm
by lnevo
I've added the DCPump to my sketch and running my two unused ports as DCPumps. Let's see if I get similar issues.

Re: Issues I've seen in the current Dev Library.

Posted: Sat Sep 06, 2014 8:37 pm
by lnevo
Ok, I've definitely been able to reproduce it. I'm working on the issue now. It seems that the else got inside the hardware #ifdefs so it probably wasn't being seen on the current RA boards.

Yep, good values in Serial Monitor now. Going to remove the debug code and let it run. I'll verify shortly when I have positive results via the wifi. I'll have the code posted and a pull request ready to go :)

The error was only in the PWM expansion and not in the other code and not repeated in the sixteen channel.

Re: Issues I've seen in the current Dev Library.

Posted: Sat Sep 06, 2014 8:53 pm
by lnevo
OK, the r99 output looks great. It is no longer affecting the other channels on the PWM expansion and it is setting the antisync channel properly. Before it was getting 0 and every channel was getting the Sync speed. It was a misplaced else that got inside the wrong #define. I also added some braces, but I think they weren't needed, but they're in the current pull request and updated in the pumpoffset branch.

Enjoy :)

Re: Issues I've seen in the current Dev Library.

Posted: Sat Sep 06, 2014 9:01 pm
by lnevo
And with that said, Roberto has merged the request :) You can re-download the official dev version :)

Re: Issues I've seen in the current Dev Library.

Posted: Sat Sep 06, 2014 9:44 pm
by lnevo
Here's all my pwm channels graphed. Looks pretty good to me :)

http://forum.reefangel.com/status/chart ... lter=pwme5

Re: Issues I've seen in the current Dev Library.

Posted: Sun Sep 07, 2014 4:29 am
by Sacohen
Looks good.

Downloaded and replaced the libraries.
Uploaded my text code to the unit and looking at the Portal my pumps are running at 30% (like they should be at night), but the moonlights are at 86% (Like they should be running the MoonPhase).

Hopefully that's the last of the issues and Roberto can distribute this version so everyone can enjoy all the new features.

Off Topic: What is the pattern for the Gyre wave mode?

Re: Issues I've seen in the current Dev Library.

Posted: Sun Sep 07, 2014 4:38 am
by lnevo
It s a sine wave, but the two pumps slow down and speed up before they switch direction

Re: Issues I've seen in the current Dev Library.

Posted: Sun Sep 07, 2014 4:39 am
by lnevo
And its one pump on while other is off.

Re: Issues I've seen in the current Dev Library.

Posted: Sun Sep 07, 2014 5:06 am
by Sacohen
Ok.

Re: Issues I've seen in the current Dev Library.

Posted: Sun Sep 07, 2014 6:14 am
by AlanM
Think of Gyre like long pulse with rounded corners.