View Single Post
Unread 05-09-2012, 05:25 PM   #16
palmtreefrb
Full Fledged Farker

 
palmtreefrb's Avatar
 
Join Date: 01-22-11
Location: Buena Park, CA
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by fatdoggie View Post
I just got my WiFi Guru in late this afternoon. I haven't had time to hook it up to my BGE yet, but I did get it on the network and started poking around under the hood to see how it works and what I would need to do to get and Android app capable of doing some basic configuration and alarming.

Here is a link to the documentation I've compiled about the XML status and HTTP posts variables: http://db.tt/VFJgKrae

The Good:
  • The most important status items are available for read via XML over HTTP and all writes are done via HTTP posts. It's about as simple an interface as I would have reasonably expected to hope for
  • All POSTs can be done to the "/" URI, so in theory, you can write any (all?) variables in one go without having to worry about what vars belong to what page.
  • Once the WiFi was set up correctly, I had no problems connecting to my WPA2 network and accessing from any of my devices. The simple UI probably even works OK with very old web browsers (I saw explicit support for IE6 in the javascript)

The Not Quite So Good:
  • The GUI is unsecured for both reads and writes, so be careful about putting it on the internet on standard ports!
  • The CPU seems to be VERY low powered - It takes a while to spit out the HTML and small image for the main page (the XML for status.xml is fast though). Between the speed and some of the comments in the code, I'd guess this little guy is running on a PIC or similar embedded microcontroller and not a bigger ARM based system. This means adding lots of internal features later on probably can't be done (HTTPS and auth, for example would be tough).

All in all, I'm pretty happy with the overall design of the system and the CPU is plenty fast enough to feed the raw status XML to a mobile, desktop, or web based app that can provide enhanced logging/graphing and control if desired.
Yes, it would have been nice if the service returned jsonp for cross domain implementations, ie client side ajax jquery. So the only choice is through a proxy, local web service or a gui application. I have been looking at xamarin for creating an Andriod and iOS application. I can do the Andriod now as I don't have a mac for iOS. Using xamarin the code base would be the same and easier developing for both platforms.

Oh, and by the way. Doesn't look like you have been too lazy lately
palmtreefrb is offline   Reply With Quote