Page 1 of 1

How can webserver send data to ESP32?

Posted: Fri Nov 09, 2018 10:00 am
by francinnov
Hello,

I have an Arduino uno which communicates via UART with an ESP32 (WROOM-32) board. The ESP32 sends any update coming from the Arduino via POST request to my webserver.

From my webserver, I would like to send data to my ESP32 to update the Arduino UNO actions.

I'm not a specialist about HTTP protocol.
In a first approach, I wanted to make my webserver sends a POST request to my ESP32 which would store, in a variable, the data received.
  • First question : Is it possible to send POST request to an ESP32 from a webserver ?
  • Second question : Do you have any other idea, how to send data from my webserver to my ESP32 board ?
Thank you very much,

Re: How can webserver send data to ESP32?

Posted: Fri Nov 09, 2018 10:15 am
by WiFive
Websocket or Mqtt

Re: How can webserver send data to ESP32?

Posted: Fri Nov 09, 2018 10:35 am
by chegewara
Also if its not important to change UNO params in real time you can pool every minute, hour or so webserver and get response with new data for UNO.

Re: How can webserver send data to ESP32?

Posted: Fri Nov 09, 2018 10:51 am
by francinnov
Thank you both of you for your answers !