I have a Website that runs on Angular and Firebase. A NodeMCU ESP32 and a bunch of sensors communicate to the firebase Real-Time Database (RTDB) to send over data.
As part of the troubleshooting system, I would like to check if the NodeMCU is connected to WiFi. I have read up on the suggestion of trying to ping the device. So I printed out the IP address using:
cmd terminal, I then type:
ping ipaddress but I get nothing in return as it cannot find the device.
So how might I go about checking if the device is connected to WiFi?