Page 1 of 1

Standardization of signal level

Posted: Monday 06 May 2024 14:12
by fantom
At this point, each device is sending out signal strength in any way it wants, and we don't know what that means.
It probably started with the fact that it was from 0-11 (12 meant no data).
Different devices send different numbers there and calculate them differently.
Having different devices, it shows different values ​​and it is not clear what they mean.
This is completely unclear information.

This should be standardized to RSSI (dBm) or Quality (%) or something else.

What do you think about it ?

Re: Standardization of signal level

Posted: Monday 24 February 2025 12:31
by Francis91
Hi,
I had the same problem, and solved it (with ESPHome) using the formula from ESPEasy Code :

int GetRSSI_quality() {
long rssi = WiFi.RSSI();

if (-50 < rssi) { return 10; }

if (rssi <= -98) { return 0; }
rssi = rssi + 97; // Range 0..47 => 1..9
return (rssi / 5) + 1;
}