I have been away since a few years but now picking up on a new project:
My electricity supplier has installed a new meter and it has a user data port named HAN, which uses a simple 115 kbps serial output of ASCII data every 10 seconds.
I want to use an ESP-07S device which is based on ESP-8266 and has an antenna connector for the WiFi so it can be pulled outside the enclosure.
Before I embark on doing everything from scratch I would like to check if there are some published projects here which do what I want:
Connect an ESP-8266 based board to the HAN data of the electricity meter
Connect by WiFi to my router
Read the data output every 10 seconds and decode the needed items
Post the extracted data items to a script on my web server
I don't know the proper sub-forum for this kind of discussion so testing this general electronics forum.
There are plenty of examples that show you how to connect an ESP8266 to you wifi network and either POST the results on a webserver or show the results on webserver hosted on the ESP. The HAN data can be received by the ESP at 115200bps (or most other baud rates) but how to interpret the incoming data will be a different matter.
I have realized that the task for the ESP should be limited as much as possible since it is better to put the processing code on a Linux server machine instead.
So what I will do is a simple media converter as follows:
Implement a TCP server on the ESP-07S to which clients can connect
When a client connects, open the serial port towards the HAN
Also set the data request signal towards the HAN interface ON
Then when data arrives from HAN just send it to the TCP client as-is
When the client disconnects then clear the data request signal and close the serial port towards the HAN interface.
This makes the ESP just act like an extension cable from the Linux machine towards the HAN interface of the electricity meter.
When I was here last a few years ago my project was a RS232/TCPIP converter to allow wireless connection to a data collection system and this now looks very much like that, albeit simpler because of the single direction of data.