
giffyd
Canada
Asked
— Edited
Hi,
Is their a way to control the EZ-Robot via web services? They're some references to a web server in the forums and in the marketing material but I'd like to know where I can find out some more specific information.
Can the EZR connect to a wifi network and host it's own webserver (with or without a host computer) and then other computers control the EZR via web services.
Thanks,
Martin
Ez-b has the ability to be connected to http server so the ez-b can be connected to one computer and is capable of being controlled via another computer connection, most op for using embedded computing in this application.
Can you please confirm if I can do the following?
Host/Server Computer:
Remote computer:
Is this possible?
See HTTP Server Tutorial
Yup
You can do all of those things. And you can also connect via TCP as a webservice to the console.
Look at this tutorial and watch the video for client server on this page: https://synthiam.com/Tutorials/Help.aspx?id=171
That will explain a bit about the console server.
As for the HTTP connection, the above response covers that
Hello everyone,
Does anyone know the syntax for a http command to EZB throught web server. For now the only thing I got is to have a shortcut on my iphone to connect directly with proper identification so I just have to open the bookmark to be logged in. However I'd like to do something as below :
http://IP_Address:port/login?password="""""&command such as set(1.D8, on)
Any clue ?
You can start with this: https://synthiam.com/Tutorials/Help.aspx?id=48
And when you connect to it, there is a Script Interface option in the menu. You will see it when you connect to the HTTP via web browser. There are instructions within that Script Interface to send EZ-Script commands over HTTP.
Off the top of my head I forget what the syntax is, but you have it close. It's something just like you posted...
I have them written down at home, I'll post them when I get home.
Replace IPAddress for the IP and PORT for the port. Also change admin to the username you choose.
Script commands
Replace command for the EZ-Script command i.e. Set(D0, On) or Servo(D5,78)
Movement Panel
Replace direction for the direction i.e. forward, reverse, left, right, stop.
Many thanks! That was really helpfull!