best way to implement a IoT server on ESP32 ?

filchr
Posts: 7
Joined: Thu Apr 26, 2018 6:10 pm

best way to implement a IoT server on ESP32 ?

Postby filchr » Tue May 01, 2018 5:15 pm

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 !

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

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

Postby WiFive » Wed May 02, 2018 9:54 pm

There is a reason everyone is using mqtt

filchr
Posts: 7
Joined: Thu Apr 26, 2018 6:10 pm

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

Postby filchr » Thu May 10, 2018 5:49 pm

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

Who is online

Users browsing this forum: Bing [Bot] and 234 guests