Welcome to Synthiam!

The easiest way to program the most powerful robots. Use technologies by leading industry experts. ARC is a free-to-use robot programming software that makes servo automation, computer vision, autonomous navigation, and artificial intelligence easy.

Get Started
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 EZ-Builder, 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).



Upgrade to ARC Pro

Get access to the latest features and updates with ARC Early Access edition. You'll have everything that's needed to unleash your robot's potential!

AI Support Bot
Related Content
Based on your post activity, we found some content that may be interesting to you. Explore these other tutorials and community conversations.

what type watch did you use.
Patrick, DJ used an Apple watch.

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

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


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.



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.



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.



Have fun learning it! It is not nearly as hard as I expected it to be after hearing about C and C++. I am by no means a master, or even proficient in the language, but am having a blast with it. If you are looking for advice on learning materials I used lynda.com. It does have a monthly subscription but I have found it well worth it. They have an instructor named David Gassner, that has helped me understand many different concepts, in fact, I would say my JavaScript understanding has improved greatly because of how he explain object-oriented programming.

If you are looking for learning materials just let me know, I have quite a few.

Again, best of luck.
Thanks @mikebmac

I have a book to start, and some on-line resources I gathered a while ago. I'll touch base with you if I think I need more.


I found this old post from Rich about using the Eventghost HTTP server plugin to send Telnet commands to ARC: https://www.ez-robot.com/Community/Forum/Thread?threadId=5128

This could easily be adapted to use with the IFTTT Maker channel. One warning though, the eventghost HTTP plugin is not really designed to be exposed to the Internet. It has very little security built in and has not been well tested for vulnerabilities. Writing an asp.net web page to interact with the ARC SDK would probably be the better way to do this since you can use the built in Windows web server, which is a little better, and there are published best practices for securing it.

Here is another option for IFTTT integration. IFTTT has a Twitter channel that can both respond to and send tweets.

ARC can send and respond to tweets.

Use the Twitter channel as the link between ARC and any other IFTTT channel (or still use hte Maker channel for having EZ-Robot initiate requests, and Twitter to communicate requests back). ( I had missed that EZ-Robot can react to tweets until someone else asked in this thread: http://www.ez-robot.com/Tutorials/Help.aspx?id=170 )

Hey Alan, missed the one from five days ago...but will check it out now!
Also the tweet option seems to be very interesting, I was researching on some Twitterbots recently...which could give you different flavors of implementing chatbots!

Lets see where this is taking us...I think also your research into Android wear is superawesome!

Lets try to keep the topic updated...;)
So after reading this it made we wonder what would be the benefit of using the Telnet client over the HTTP server build into ARC? I am pretty new to this so forgive me if this is a stupid question... *eek*

I was able to connect IFTTT and also 3ds max (all Autodesk software is available free for students for 3 years at the moment, try it it is awesome!) to ARC using the HTTP server!

I was using the IFTTT DO button to move a servo which worked well, @Alan helped me to straighten things out with port forwarding my router!;)

Also I was able to trigger events with the Maker Channel, so this is sort of the two way connection we were looking for right?

IFTTT is kind of limited there are more interesting things out there which are good open source IFTTT alternatives, but right now I am back to just constructing my robot physically, which is a lot of fun!

Talk to you guys soon:D
Thanks for the tip on how to do this in IFTTT !

I was able to duplicate your findings using Maker on IFTTT on simple commands like the Servo(d11,90) that didn't rely a return value like SayEZB("My voltage is" + GetVoltage() )

For the more complicated commands I created a script in EZB Script Manager and invoked it through IFTTT using ControlCommand ...It even worked on a complex action like DJ's battery level script.

IFTTT......."Script Manager", ScriptStart, "battery level")

EZB script...
SayEZB("I have " +round( ( ( getvoltage() - 7 ) / 1.2 ) * 100, 1 ) + " percent battery remaining")

I think there have been some updates to IFTTT and I'm now getting "Applet skipped" messages

Is it still working for you?


Just wondering if you were able to determine why all of a sudden Ifttt is exibiting errors when communicating with ARC? Thanks much....Rick
Hello Rick,
I haven't seen those messages again and I use IFTTT fairly often

But, the actual response times vary quite a bit... sometimes within a few seconds, sometimes over a minute on the same applet