0

I have a simple iot web app built with bootstrap, PHP, MySQL and some JavaScript/JQuery hosted on a server. I have several NodeMCUs (each having unique id) and I'm sending temperature data via HTTP GET requests which communicates with PHP API and inserts data in the MySQL database. All is working perfectly. Now I want to show the connection status of all NodeMCUs. If a NodeMCU is connected to my Wi-Fi then I want to show "Online" on my web app and if NodeMCU gets disconnected from Wi-Fi then "Offline" should be printed on web app. How can I achieve this?

1
  • 1
    That has a lot more to do with what happens on the server than what happens on the NodeMCU. – timemage 2 days ago

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.