Page 1 of 1

best way to implement a IoT server on ESP32 ?

Posted: Tue May 01, 2018 5:15 pm
by filchr
Hey there. First post and a little newby, so please show understanding.
I choose ESP32 to be the basis of my thesis : I want to build an IoT system that will be MONITORED and CONTROLLED by ESP32, which will SEND FEEDBACK and ACCEPT COMMANDS respectively from an Linux Apache MySQL PHP server.

So far I've implemented just a simple C server on my ESP32 that responses to telnet. And having done that, I am scared in the idea of building the whole server in C . Is there another language (maybe higher level) that is more suitable for my application and is supported by esp32?
What is the way to go here and what are my options ? Any recommendations?

thanks in advance !

Re: best way to implement a IoT server on ESP32 ?

Posted: Wed May 02, 2018 9:54 pm
by WiFive
There is a reason everyone is using mqtt

Re: best way to implement a IoT server on ESP32 ?

Posted: Thu May 10, 2018 5:49 pm
by filchr
Thank you very much. One line of yours corresponds to at least one day of mine.

So, what you may suggest is.. building an MQTT client on my ESP32 (using mongoose networking library) and an MQTT server on my remote machine (maybe Mosquitto ?)

That sound fine. But I also want to have a website for my system, implement a login-account policy for my clients and hold a database for them (so, generally having a scalable HTTP server).

How can the MQTT data be accesible and usable by my HTTP server ?


again sorry for any misunderstandings of mine