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 »

Colin;

Did you enter username_DNSName.myreefangel.com

Like Roberto's example rimai_home.myreefangel.com from here http://forum.reefangel.com/viewtopic.ph ... DNS#p40874
AlanM
Posts: 263
Joined: Wed Jan 01, 2014 7:26 am

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

Post by AlanM »

BTW, Colin. I'd like to take a crack at getting your cloud/lightning code into the RA_PWM class if that's OK with everyone. It would likely be something like ReefAngel.PWM.SetCloud[x] = y. Where you could set the cloud parameters for channel X to Y. I hadn't looked in detail at the arguments that your code takes.

What do you think about adding it to the libraries? Seems like something that all the "advanced" schmancy new lighting controllers (bluefish, storm x, etc) all include.
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 »

AlanM wrote:
Sacohen wrote:Thanks AlanM.
I may want to pick your brain about the D120 LED mod.
I saw you did a lot of testing on that
I only have a d120 over my fuge, so I stopped messing with it, but it worked well. Basically take the two dimming wires that go to the pot and run 0-10V on them in the right direction. 8) The arduino hardware in the relay box seems to be not as fragile as whatever the Apex has because the Apex folks freaked out when I said at 0V it put a teensy amount of current back in the other direction to dim all the way, but Roberto seemed to think it was no big deal.

I owe Roberto a bunch of usage notes for the dev code since a few of us have made some changes that people will really like if they decide to use them. Some of the stuff is under the hood and should just work without changes to the INO, but some would be fun for people to play with (new light and pump profiles).

Everyone with a non-Plus version of the ReefAngel is going to be missing out on increasingly more fun stuff.
Thanks.

I may switch over the the new 2014 knockoff model if I can't get the guy I bought the nes I have to repair one of mine or replace it with a newer model because they don't make the model I got anymore.
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 »

cosmith71 wrote:OK, so I got the 1.1.1 libraries loaded. Everything is good so far with my old code.

DDNS seems to be working for the portal. How do I get it to work with the Reef Angel Status app? It tells me "Unknown Host: http://cosmith71_120.reefangel.com:2000/r99

--Colin
It could not have propagated through the DNS servers yet. I don't recall the TTL value (how frequent the DNS records get updated) that Roberto is using. It may take up to 24 hours for it to be ready and in use with all DNS servers.
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 »

AlanM wrote:The new feature.txt doesn't come with the Libraries update even if you get the Dev version. You should get it from the separate Features zip file Roberto posted a few posts up.

Mine lives at C:\Username\My Documents\Arduino\update\feature.txt

You'd replace that file with the one downloaded in the .zip.
I don't have an update folder in any version of the libraries I have. DO I just create the folder and put it in there?
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 »

binder wrote:
cosmith71 wrote:OK, so I got the 1.1.1 libraries loaded. Everything is good so far with my old code.

DDNS seems to be working for the portal. How do I get it to work with the Reef Angel Status app? It tells me "Unknown Host: http://cosmith71_120.reefangel.com:2000/r99

--Colin
It could not have propagated through the DNS servers yet. I don't recall the TTL value (how frequent the DNS records get updated) that Roberto is using. It may take up to 24 hours for it to be ready and in use with all DNS servers.
I was wondering about that. Patience isn't always my strong suit. :D

--Colin
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 »

AlanM wrote:BTW, Colin. I'd like to take a crack at getting your cloud/lightning code into the RA_PWM class if that's OK with everyone. It would likely be something like ReefAngel.PWM.SetCloud[x] = y. Where you could set the cloud parameters for channel X to Y. I hadn't looked in detail at the arguments that your code takes.

What do you think about adding it to the libraries? Seems like something that all the "advanced" schmancy new lighting controllers (bluefish, storm x, etc) all include.
Lee had mentioned it but hadn't done any work yet. I thought I'd give it a try as a learning experience, but I'm thinking it would take me forever and still may be beyond my level right now. So, go for it!

--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 »

binder wrote:
cosmith71 wrote:OK, so I got the 1.1.1 libraries loaded. Everything is good so far with my old code.

DDNS seems to be working for the portal. How do I get it to work with the Reef Angel Status app? It tells me "Unknown Host: http://cosmith71_120.reefangel.com:2000/r99

--Colin
It could not have propagated through the DNS servers yet. I don't recall the TTL value (how frequent the DNS records get updated) that Roberto is using. It may take up to 24 hours for it to be ready and in use with all DNS servers.
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?
cosmith71 wrote: It could not have propagated through the DNS servers yet. I don't recall the TTL value (how frequent the DNS records get updated) that Roberto is using. It may take up to 24 hours for it to be ready and in use with all DNS servers.
I was wondering about that. Patience isn't always my strong suit. :D

--Colin[/quote]
Same with me :)
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

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

Post by rimai »

I can confirm that both entries for Colin and Steve are in the DNS server.
So, we've got 3 so far :)
Roberto.
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 »

Colin, i noticed you had .reefangel.com but the examples are .myreefangel.com not sure if you already saw that or not.
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.
Post Reply