Port Labels on Screen and in portal/uapp

Do you have a question on how to do something.
Ask in here.

Posts: 105
Joined: Wed Nov 18, 2015 9:16 pm
PostPosted: Thu Mar 16, 2017 12:43 pm
Hello all,

with the new changes with the webwizard I can no longer see the plug labels as i had them, now they are just 1-8 on the reef angel. and in the portal they are stuck with what the last ones i had in there are. ( i now have the newer wifi cloud attachment instead of the old wifi attachment). Any help to change the labels in both would be appreciated.

current code to define the port labels
Code: Select all
////// Place global variable code below here

 // Define Relay Ports by Name
#define Open        1
#define Skimmer     2
#define FugeLight   3
#define Heater      4
#define Open        5
#define Open        6
#define ATO         7
#define Open        8

////// Place global variable code above here

void setup()
    // This must be the first line
    ReefAngel.Init();  //Initialize controller
    ReefAngel.AddStandardMenu();  // Add Standard Menu
    ReefAngel.Use2014Screen();  // Let's use 2014 Screen
    // Define labels for 2014 LCD screen
    ReefAngel.CustomLabels[0]="OPEN"; //1
    ReefAngel.CustomLabels[1]="Skimmer"; //2
    ReefAngel.CustomLabels[2]="FugeLight"; //3
    ReefAngel.CustomLabels[3]="Heater"; //4
    ReefAngel.CustomLabels[4]="OPEN"; //5
    ReefAngel.CustomLabels[5]="OPEN"; //6
    ReefAngel.CustomLabels[6]="ATO"; //7
    ReefAngel.CustomLabels[7]="OPEN"; //8

Posts: 12493
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Thu Mar 16, 2017 2:48 pm
I already explained on the other thread:
There is no way of doing this on the web wizard yet.
The only way you can do this is using your code on the desktop Arduino with the current code you already have and not use the web wizard, but you won't be able to use the cloud server connection.
So, here are your 2 choices:
1. Use web wizard and don't have relay labels on RA screen but you can connect to the cloud server and use the web based uapp.
2. Use desktop Arduino to load your code on the previous released libraries and have the labels on RA screen but you won't be able to connect to the cloud server and not be able to use the cloud features of the web based uapp.

On both cases, you can still use the direct connection through port forwarding and still use the portal and uapp without the cloud features.
The labels on the portal can be changed easily on the settings page.
The labels on your code and the labels on the portal are 2 different things. RA cannot update labels from the portal and RA cannot download labels from the portal either.
You have to set them independently.

Posts: 105
Joined: Wed Nov 18, 2015 9:16 pm
PostPosted: Thu Mar 16, 2017 3:11 pm
Thanks Rimai. I guess I was just being dense and not fully following along. Thank you for the extended description of the issue

Return to How do I code ...

Who is online

Users browsing this forum: No registered users and 4 guests