Request: Updated web banner

Requests for new functions or software apps
Post Reply
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Request: Updated web banner

Post by rimai »

I'll have that info included in the XML data
Roberto.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Request: Updated web banner

Post by rimai »

I created the Style 3 web banner.
http://www.reefangel.com/status/image_s ... x?id=rimai
To have the new data showing up, you have to append the string you send to the reefangel.com server with the following:
relaydata1 through relaydata8 - value that contains the status of the relays for the expansion boxes
r11n through r18n - names for the expansion relay box #1
.
.
.
r81n through r88n - names for the expansion relay box #8
Roberto.
alexwbush
Posts: 327
Joined: Tue Mar 22, 2011 12:45 am
Location: San Diego, CA

Re: Request: Updated web banner

Post by alexwbush »

yesssss!! :D
binder
Posts: 2871
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Request: Updated web banner

Post by binder »

rimai wrote:I created the Style 3 web banner.
http://www.reefangel.com/status/image_s ... x?id=rimai
To have the new data showing up, you have to append the string you send to the reefangel.com server with the following:
relaydata1 through relaydata8 - value that contains the status of the relays for the expansion boxes
r11n through r18n - names for the expansion relay box #1
.
.
.
r81n through r88n - names for the expansion relay box #8
Very cool. Just to let everybody know, this will probably not be inside RAGen for a little while. You can still add it in to the PDE after it is generated by RAGen, but the ability for RAGen to include it automatically for you will be available yet.
alexwbush
Posts: 327
Joined: Tue Mar 22, 2011 12:45 am
Location: San Diego, CA

Re: Request: Updated web banner

Post by alexwbush »

How do I make it so that I can actually see the status of the expansion relays? I am using the client and I included these codes to test out relay 14:

Code: Select all

#define Vortech            14

Code: Select all

ReefAngel.Relay.On(Vortech);
It does turn on the pump, but I don't see the banner.
binder
Posts: 2871
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Request: Updated web banner

Post by binder »

alexwbush wrote:How do I make it so that I can actually see the status of the expansion relays? I am using the client and I included these codes to test out relay 14:

Code: Select all

#define Vortech            14

Code: Select all

ReefAngel.Relay.On(Vortech);
It does turn on the pump, but I don't see the banner.
The dev libraries already include statements for the expansion relays in ReefAngel_Globals.h. The one for you is:

Code: Select all

#define Box1_Port4      14
So you didn't need to create your own, but it won't hurt anything at all. Just letting you know. :)

curt
alexwbush
Posts: 327
Joined: Tue Mar 22, 2011 12:45 am
Location: San Diego, CA

Re: Request: Updated web banner

Post by alexwbush »

good to know, thanks Curt! I'll keep an eye out for an easier way to broadcast the info from the relays.
Post Reply