So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By Glebiys
#76181 Hi! There are many ESP8266s scattered around the world. There is a main server (php / js), which is located in the data center (OVH). ESP must create a reliable connection to the main server and exchange data (relay management / firmware update / charting and other things). 3 days in a row I read all sorts of options for implementing this idea, I now read about the socket (UDP / TCP) technology, which ESP should initiate a connection to the main server and exchange data. The question is, am I on the right track? Can I use a socket to communicate between the ESP and the server? MQTT does not suit me. Perhaps someone has implemented similar tasks and knows good libraries on the socket for esp8266? Thank you!