Page 1 of 1
how to name plugs on relay box?
Posted: Sun Mar 25, 2012 11:09 am
by deva
Hi all,
just got my RA controller...
I would like to rename a couple plugs on the relay box In RAgen. is this possible?
I would like to rename metal halides to LED whites an normal lights to LED blue.
or is that something I can do a app or the controller it self?
cheers
Re: how to name plugs on relay box?
Posted: Sun Mar 25, 2012 4:59 pm
by rossbryant1956
That depends on where you want the names to show up. I have renamed my relays in the client app, in the portal, and in the android app. I am pretty sure you can rename them in custom menu on the RA screen but I haven't tackled that yet.
Take a look at my sig block. Comes directly from my portal (although you do need the wireless add-on)
Don't worry, you'll get there. Let us know how we can help. Thx
Re: how to name plugs on relay box?
Posted: Fri Mar 30, 2012 12:22 pm
by deva
yes...that is what i want to do.
I would like to rename them on Ragen so a can make codes as well as portal and the iphone app.
found this thread:
http://www.reefangel.com/Support.Puttin ... ckets.ashx
was trying to use this code but change the "#define......"then name the socket.
but I get a error.
"class reefangel class has no member named 'LCD'
thoughts?
Re: how to name plugs on relay box?
Posted: Fri Mar 30, 2012 12:26 pm
by rimai
Just change them on the portal.
The smart phone apps can grab labels from the portal
Re: how to name plugs on relay box?
Posted: Fri Mar 30, 2012 12:43 pm
by deva
OK but don't have the wifi setup yet and unfortunately I can't use my iphone with the app b/c it's only the 3g ( second gen ) & the app only works on the 3gs and higher. a real bummer too
you have to have the wifi set up to run portal right?
Re: how to name plugs on relay box?
Posted: Fri Mar 30, 2012 12:50 pm
by deva
ok you do...answered my own question.
is there a way to change them on RAgen so I know what goes where?
Re: how to name plugs on relay box?
Posted: Fri Mar 30, 2012 8:55 pm
by rimai
RAGen doesn't uses names. It uses Port1 through Port8, but if you prefer to call it by names, you can do it too.
Just add :
Just change name and #, but that will not be shown anywhere else but the code.
That's meant just for reading the code a little easier, instead of Port1. That's all.
So, you can use the functions like this:
Code: Select all
ReefAngel.Relay.On(yoursocketname);
Instead of this: