Issues I've seen in the current Dev Library.

Related to the development libraries, released by Curt Binder
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

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

Post by Sacohen »

Thanks Roberto. I'll try to be patient.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

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

Post by rimai »

See if you can ping your domain name:
ping rimai_home.myreefangel.com
Roberto.
binder
Posts: 2871
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

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

Post 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. :|
User avatar
cosmith71
Posts: 1437
Joined: Fri Mar 29, 2013 3:51 pm
Location: Oklahoma City

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

Post 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
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

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

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

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

Post by rimai »

not mine... yours.... lol
That domain is not existent. I just used it as example :)
Roberto.
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

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

Post 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>
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

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

Post 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.
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

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

Post 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.
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

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

Post 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.
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

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

Post by lnevo »

How about long pulse / short pulse etc when chosen manually?
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

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

Post by Sacohen »

It's in NTM after feeding right now.
I'll double check them later, but I think they were fine.
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

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

Post 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.
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

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

Post 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.
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

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

Post 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.
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

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

Post 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...
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

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

Post by Sacohen »

It's all modes when changed thru the Internal Memory.
I'll try some Wizard code and let you know.
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

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

Post 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.
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

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

Post by lnevo »

Ok. Thanks. I'll see if any issue I can find. Alan, how about you are you seeing similar?
AlanM
Posts: 263
Joined: Wed Jan 01, 2014 7:26 am

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

Post 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.
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

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

Post 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.
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

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

Post 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.
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

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

Post 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 :)
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

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

Post by lnevo »

And with that said, Roberto has merged the request :) You can re-download the official dev version :)
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

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

Post by lnevo »

Here's all my pwm channels graphed. Looks pretty good to me :)

http://forum.reefangel.com/status/chart ... lter=pwme5
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

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

Post 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?
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

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

Post by lnevo »

It s a sine wave, but the two pumps slow down and speed up before they switch direction
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

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

Post by lnevo »

And its one pump on while other is off.
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

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

Post by Sacohen »

Ok.
AlanM
Posts: 263
Joined: Wed Jan 01, 2014 7:26 am

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

Post by AlanM »

Think of Gyre like long pulse with rounded corners.
Post Reply