
I think this is possible and has been discussed, but I can not find it. Is there a format to execute scripts or commands using an application that can send HTTP GET or POST commands but not be using a web browser, either with the HTTP Server or HTTP Server (custom).
I don't think I can do it with the HTTP Custom because it uses AJAX and I don't know how I would format a request (and unfortunately, the documentation is fairly minimal) but I thought someone was already doing this with the simple HTTP server, embedding the user name and hte request in the URL of the GET.
I also know I can do this with Telnet using the TCP Clients object, and I may use that for my solution, but it is a little more limiting.
I'll explain my goal in case it provides any other thought.
I want to be able to drive my robot from my Android phone or an Android Wear smartwatch. I don't want to use the mobile interface, I want to have an embedded computer running ARC performing a number of tasks, the remote interface just to give additional commands.
I have two applications that can easily send HTTP Get or Post requests and allow me to build custom interfaces. Anymote smart remote, and Tasker. With a Tasker plugin I can also send Telnet requests, and I may wind up going in that direction if I am wrong that this can't be done with one of the web servers, but that isn't really the direction I wanted to go. (I think I could also do it using Eventghost to receive the HTTP requests and then send telnet requests to ARC, and I am sure I could write a plugin or do something with the SDK once my C# skills are up to speed, but I could swear this is existing functionality and I just can't find the right nomenclature for the command).
Alan
Ironically: http://blogs.microsoft.com/blog/2016/02/24/microsoft-to-acquire-xamarin-and-empower-more-developers-to-build-apps-on-any-device/
Maybe this means the cost will go down. Or the bugs go up?
How is that for timing? Alan
dj
what type watch did you use.
Patrick, DJ used an Apple watch.
Alan
yes i know but withs one,there are a bunch .
ps i found the config off jeremie adventure bot,how he did it. will post a pic soon.
I would love too see any IFTTT related plugin for ARC...just got me a FitBit so my robot will know if I slept well, and worked out!
It would really add up if you could use the Maker Channel bi directional!
Apple Watches are all the same. Only difference is the band and finish. Android Wear watches there is some difference in features between brands , although not as much as in the phones.
Alan
I agree, and it shouldn't be too hard. I think it would be possible to cobble something together with Eventghost and not need to write a plugin. Going to look into it the next couple of evenings when my wife is working late so I will be home alone for a while.
Going to start learning C# this weekend I think.
Alan