Chat freely about anything...

User avatar
By rossoreed
#75081 Does anyone know what the scale is for RSSI in the ESP8266WiFi.h library?

The reason I ask is that I have a ESP8266 sited about 25mtrs from my router, and the RSSI is reported as being between -95db & -97db, yet my WiFi connection remains solid with no dropouts.
If the scale was 0 to -100 I would have assumed that the WiFi would be barely connected at -97db, and therefore data upload sketchy (if at all).
User avatar
By jankop
#75084 RSSI scale esp8266 is from -50 to -100 dBm
Conversion to percent in Wiring is
Code: Select allfloat RssI = WiFi.RSSI();
  RssI = isnan(RssI) ? -100.0 : RssI;
  RssI = min(max(2 * (RssI + 100.0), 0.0), 100.0);