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 ?
Standardization of signal level
Moderators: leecollings, remb0
-
- Posts: 5
- Joined: Friday 26 August 2022 14:16
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Standardization of signal level
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;
}
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;
}
Who is online
Users browsing this forum: No registered users and 1 guest