Hey guys, I'm trying to integrate RA support into reefnook dot com (not trying to promote here, I want to give context for why I'm asking the question, if this is offensive, mods please remove it)
I haven't done a deep dive of the docs, but I thought I would start here first. I don't actually have a RA on hand, but a user has granted me access for testing.
The controllers I've implemented so far have provided a simple rss of the current activity, ph levels, lights on/off, etc. Is there such a url for the reef angel?
If so, my job is super easy!
If not, point me in the right direction and I'll get to it
Online access of RA data
-
- Posts: 4
- Joined: Fri Jun 22, 2012 10:14 am
- Location: Nashville, TN
- Contact:
Re: Online access of RA data
2 ways you can get this done:
1- Pull stored data from the reefangel.com website:
http://forum.reefangel.com/status/param ... =reefangel
The id is the forum username that the user has in our forums
This assumes that the user has been sending data to the server to populate our Portal:
http://forum.reefangel.com/portal.php
2- Pull data directly from RA:
http://ipaddress:2000/sa
This assumes that you have access to the controller from the internet.
Let me know if this helps.
1- Pull stored data from the reefangel.com website:
http://forum.reefangel.com/status/param ... =reefangel
The id is the forum username that the user has in our forums
This assumes that the user has been sending data to the server to populate our Portal:
http://forum.reefangel.com/portal.php
2- Pull data directly from RA:
http://ipaddress:2000/sa
This assumes that you have access to the controller from the internet.
Let me know if this helps.
Roberto.
-
- Posts: 4
- Joined: Fri Jun 22, 2012 10:14 am
- Location: Nashville, TN
- Contact:
Re: Online access of RA data
Perfect, that gets me the data.
Here is an example xml file: (you'll have to replace the dots with .)
https://gist.github.com/edc56c191045eb2b504d
Some of this is easy to make sense of, some of it, not so much. Are there any docs explaining what some of the data the RA is spitting out means?
Here is an example xml file: (you'll have to replace the dots with .)
https://gist.github.com/edc56c191045eb2b504d
Some of this is easy to make sense of, some of it, not so much. Are there any docs explaining what some of the data the RA is spitting out means?
Re: Online access of RA data
Humm..
That xml data looks very strange.
Everything after </ATOHIGH> looks wrong.
And unfortunately we are lacking in the documentation department
But, here is a brief explanation:
<T1> = Temperature Probe 1
<T2> = Temperature Probe 2
<T3> = Temperature Probe 3
<PH> = pH
<R> = Main Relay Box Port Status
<RON> = Main Relay Box Port Mask On
<ROFF> = = Main Relay Box Port Maxk Off
<EM> = Enabled Expansion Modules
<REM> = Enabled Relay Expansion Boxes
<PWMA> = Dimming Port - Actinic Channel
<PWMD> = Dimming Port - Daylight Channel
<SAL> = Salinity
<ORP> = ORP
<PHE> = pH Expansion
<WL> = Water Level
The rest is stuff for the expansion module values, such as PWM Expansion module values, Vortech/Radion values, Aqua Illumination values and any other expansion module.
Does it help?
That xml data looks very strange.
Everything after </ATOHIGH> looks wrong.
And unfortunately we are lacking in the documentation department
But, here is a brief explanation:
<T1> = Temperature Probe 1
<T2> = Temperature Probe 2
<T3> = Temperature Probe 3
<PH> = pH
<R> = Main Relay Box Port Status
<RON> = Main Relay Box Port Mask On
<ROFF> = = Main Relay Box Port Maxk Off
<EM> = Enabled Expansion Modules
<REM> = Enabled Relay Expansion Boxes
<PWMA> = Dimming Port - Actinic Channel
<PWMD> = Dimming Port - Daylight Channel
<SAL> = Salinity
<ORP> = ORP
<PHE> = pH Expansion
<WL> = Water Level
The rest is stuff for the expansion module values, such as PWM Expansion module values, Vortech/Radion values, Aqua Illumination values and any other expansion module.
Does it help?
Roberto.
-
- Posts: 4
- Joined: Fri Jun 22, 2012 10:14 am
- Location: Nashville, TN
- Contact:
Re: Online access of RA data
Thanks for the help rimai. I think this gives me what I need to get a working version out there.
Re: Online access of RA data
If you can understand java, my android status app source code is on my github account with how I process all the xml data. Feel free to take a look at it.
-
- Posts: 4
- Joined: Fri Jun 22, 2012 10:14 am
- Location: Nashville, TN
- Contact:
Re: Online access of RA data
Curt! Perfect!
Thanks much!
Thanks much!