PDA

View Full Version : Api


nuclearheli
10/17/2011, 07:43 AM
I am interested in finding out if there is an API for the Apex, or at the very least detailed programming information available. I want to build a complete Android based control system for the Apex with all the features and functionality available. In order to complete this project I will be purchasing a second complete apex system with all the available modules, a cost I am willing to incur, in order to fully test an debug my program. I really want the lower level functionality so I can build a proper control system, a system that I intend to use to track and trend many of the parameters in the Apex, and also make an Aquarium maintenance system. Like I said, a complete system.

pcbroch
10/17/2011, 10:34 AM
Control is limited using the telnet port, but the latest version of the firmware exposes pretty much all the functionality through the web interface, and status through the XML pages.

All your app needs to do is "talk" html, no?

nuclearheli
10/17/2011, 11:03 AM
All your app needs to do is "talk" html, no?

Yes it does but it is much more efficient to call lower level routines, setting and accessing data in that way is much easier for application programmers. There is no documentation regardless.

RussM
10/17/2011, 11:54 AM
There is no published API AFAIK, nor do I expect that there will ever be.

The various XML outputs are fairly easy to interpret and work with. Telnet commands are limited to status and outlet control (auto/on/off). The real power to control the Apex by a third-party product is via http. Those who have interfaced mobile apps and such with the Apex have used the time-honored tradition of reverse engineering thru study of the existing web pages. Curt *might* answer detailed questions about behind the scenes stuff.

Really, you need to inquire directly to Neptune regarding this.

wwanthony
10/17/2011, 11:56 AM
There is nothing formal. Most of the guys on this site that have built custom implementations have reverse engineered how the Apex web interface interacts with the Apex base module.

Sorry Russ...did not see your post.

nuclearheli
10/17/2011, 12:05 PM
There is no published API AFAIK, nor do I expect that there will ever be.

The various XML outputs are fairly easy to interpret and work with. Telnet commands are limited to status and outlet control (auto/on/off). The real power to control the Apex by a third-party product is via http. Those who have interfaced mobile apps and such with the Apex have used the time-honored tradition of reverse engineering thru study of the existing web pages. Curt *might* answer detailed questions about behind the scenes stuff.

Really, you need to inquire directly to Neptune regarding this.

I thought I would ask anyway, contacting Neptune directly will be my next step. Thanks