Asked — Edited
Resolved Resolved by DJ Sures!

Execute Scripts Or Commands With Http Get Commands

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


ARC Pro

Upgrade to ARC Pro

With Synthiam ARC Pro, you're not just programming a robot; you're shaping the future of automation, one innovative idea at a time.

PRO
Belgium
#19  

dj

what type watch did you use.

#20  

Patrick, DJ used an Apple watch.

Alan

PRO
Belgium
#21  

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.

#22  

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!:D

It would really add up if you could use the Maker Channel bi directional!;)

#23  

Quote:

yes i know but withs one,there are a bunch .

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

#24  

Quote:

It would really add up if you could use the Maker Channel bi directional!

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