XML question

Share you PDE file with our community
Post Reply
jpalmer
Posts: 31
Joined: Tue May 01, 2012 11:49 pm

XML question

Post by jpalmer »

Hello all,

I've been working on getting my new RA+ setup exactly the way I'd hoped.
However, I noticed that I don't seem to get the full XML output that other forum posts seem to suggest I'd have.

when I go to the /r99 URL, I see the following:

Code: Select all

<RA>
<T1>784</T1>
<T2>780</T2>
<T3>0</T3>
<PH>783</PH>
<R>232</R>
<RON>0</RON>
<ROFF>255</ROFF>
<ATOLOW>0</ATOLOW>
<ATOHIGH>0</ATOHIGH>
<EM>0</EM>
<REM>0</REM>
<PWMA>20</PWMA>
<PWMD>0</PWMD>
</RA>
However, I don't see any of the R0 through R8 values. What am I doing wrong?

you can view my .ino file on github https://github.com/palmerit/reefangel/b ... effs90.ino

I replaced my portal password with a placeholder, but other than that.. that is my current .ino file.
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: XML question

Post by rimai »

Those get enabled when you have a relay expansion box.
They represent the relay status of every one of the expansion boxes.
If you are not using it, the data just gets stripped out.
But, if you want to see them, simply go to RAGen under features tab and select the Relay Expansion.
Roberto.
jpalmer
Posts: 31
Joined: Tue May 01, 2012 11:49 pm

Re: XML question

Post by jpalmer »

Thanks for the info Roberto.

Would there happen to be a spec posted for the XML file? I've search but maybe I'm overlooking it.

I'm looking for something that describes what each of the fields means.

For instance:

Code: Select all

<R>232</R>
<RON>0</RON>
<ROFF>255</ROFF>
Most of the XML file is pretty self explanatory (temps, ph, etc) but it'd be nice if I could get an accurate description of each field.
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: XML question

Post by rimai »

Try this link:
http://groups.google.com/group/reefange ... 652e?pli=1
Let me know if it doesn't help.
Roberto.
Post Reply