Page 1 of 1

Trying to understand how to without a device

Posted: Thu Oct 16, 2014 1:45 pm
by g6gang
I am in the 'what controller' do I buy mode and really interested in the Reef Angel. But it is not clear how to do certain things and if I need any extras modules. So keeping in mind basic package (ph probe, temp probe)

Can I write some code to show on the head unit:

- Todays Hi / Lo / Avg Temp
- Todays Hi / Lo / Avg PH
- 7 day Hi / Lo / Avg Temp (x #days for that matter)
- 7 day Hi / Lo / Avg PH

Also how can I log daily/hourly readings for PH/Temp? Does the head unit have enough memory to store x hrs of PH readings or do i need to have a computer hooked up all the time or frequently? This part is really confusing me. Part of me feels like I need to buy the WiFi module if I want to do any real logging over an extended period of time

Where can i find the 'programmers guide' to this?

Re: Trying to understand how to without a device

Posted: Thu Oct 16, 2014 2:29 pm
by rimai
Yes, you can write code to do exactly what you are saying.
There are 2 chips of eeprom memory that you can use to store stuff, but you would have to code it too.
I think the easiest is to just use the chart in the portal. You would need the wifi attachment though.

Re: Trying to understand how to without a device

Posted: Thu Oct 16, 2014 2:48 pm
by g6gang
Awesome

Besides sample code I see here, where do I find a general programmers guide to describe syntax, apis , etc?

Trying to understand how to without a device

Posted: Thu Oct 16, 2014 6:34 pm
by rimai
This is the api for the internal webserver:
http://forum.reefangel.com/viewtopic.php?f=7&t=1541
The syntax of the code is just like C++.
You can get a doxygen dump from our libraries in here:
http://www.easte.net/ra/html