Hi, sorry, but my system went down. I am using esp8266, and wanted to know how near to the wifi router it needs to be? My unit works right next to my router but not in the next room.
I don’t know about the ESP8266 but my ESP32 boards get a very low signal (And one of them can’t connect at all) using the board antenna. I am within 10ft of my router with two walls in between. I had to add an external antenna (Not for the faint of heart) to get any kind of reliable signal.
I can get signal with my ESP8266 all around my house (but it is a small house).
I think it will also depend on the ESP8266 board you’re using as well as on your router. Additionally, the walls might also interfere.
You can try to run the wifiscan sketch for the ESP8266 and check the signal strength: https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266WiFi/examples/WiFiScan/WiFiScan.ino
I hope this helps.