Serial Communication Via HTTP get

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Alan_37
Normal user
Posts: 18
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
Core team member
Posts: 8643
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: 18
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

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

Re: Serial Communication Via HTTP get

#4 Post by Alan_37 » 03 Oct 2019, 23:17

Hi

Is there any chance we can ever see this HTTP to serial bridge plugin in Esp Easy
I really need this function :cry:

Thanks

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Serial Communication Via HTTP get

#5 Post by TD-er » 04 Oct 2019, 11:37

Well, currently I don't have the time to make it.
But if someone would make a pull request for it, I would be happy to have a look at it.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 30 guests