Serial Communication Via HTTP get

Moderators: Voyager, BertB, rtenklooster, Stuntteam, grovkillen, TD-er

Post Reply
Message
Author
Alan_37
Normal user
Posts: 11
Joined: 30 Apr 2017, 00:04

Serial Communication Via HTTP get

#1 Post by Alan_37 » 05 Mar 2019, 23:43

Hi

trying to find a plugin on something that does this very simple task,
I need to print to serial via HTTP command for example : HTTP://<ESP IP address>/control?cmd=TX232,message to send here

Then if a reply is received, will be displayed on the page that is all very simple.

this will allow the esp to communicate to other rs232 devices using Labview, for example, is that possible.
I know there is an rs232 server option but that uses Telnet I need HTTP.

Thanks in Advance.

TD-er
Normal user
Posts: 1201
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Serial Communication Via HTTP get

#2 Post by TD-er » 06 Mar 2019, 12:01

For now, there is not a single plugin that could do something like that, to give a reply via the web interface. (or just via HTTP)

But I can see that it would make sense to give out the reply of a command as a reply to a GET request.
And also a command for sending stuff to a serial port.

In the past I was thinking about adding support for VISA to let sensors used on ESPeasy to integrate with tools like LabView.
But it looks like you're actually planning to use ESPeasy as a bridge to equipment that only has a serial port, regardless of VISA capability on that other equipment.
Am I right in that assumption?

Alan_37
Normal user
Posts: 11
Joined: 30 Apr 2017, 00:04

Re: Serial Communication Via HTTP get

#3 Post by Alan_37 » 06 Mar 2019, 13:26

Hi TD-er ,

Yes that is one application for it, also have a microcontroller that accepts rs232 commands
and would like to control it via esp easy ,

This plugin would be a very handy tool, and it should not be complicated to code .

just receive data from GET -> output on serial -> listen to serial 250ms timeout -> if reply received send it to GET reply .

Very very simple plugin

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest