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;
}
Search found 5 matches
- Monday 24 February 2025 12:31
- Forum: Suggestions
- Topic: Standardization of signal level
- Replies: 1
- Views: 2653
- Thursday 01 September 2022 15:34
- Forum: Suggestions
- Topic: [BUG][SOLVED] EnergyUsage should be double, not float
- Replies: 1
- Views: 282
- Thursday 01 September 2022 15:33
- Forum: Suggestions
- Topic: [DONE/SOLVED] Possibility to record small power consumption ?
- Replies: 1
- Views: 263
- Wednesday 31 August 2022 18:24
- Forum: Suggestions
- Topic: [BUG][SOLVED] EnergyUsage should be double, not float
- Replies: 1
- Views: 282
[BUG][SOLVED] EnergyUsage should be double, not float
Hi again !
I suspected a problem with lower values in power usage, but I've also seen a bug during the process.
In SQLHelper.cpp, line 5073 to 5076, all the values are in float, but energyUpToInterval and energyAfterInterval can become big (these are Wh).
I guess I'm not the only one with a value ...
I suspected a problem with lower values in power usage, but I've also seen a bug during the process.
In SQLHelper.cpp, line 5073 to 5076, all the values are in float, but energyUpToInterval and energyAfterInterval can become big (these are Wh).
I guess I'm not the only one with a value ...
- Wednesday 31 August 2022 10:30
- Forum: Suggestions
- Topic: [DONE/SOLVED] Possibility to record small power consumption ?
- Replies: 1
- Views: 263
[DONE/SOLVED] Possibility to record small power consumption ?
Hi,
I'm measuring power with my CurrentCost clamps (one Watt measure every 6 seconds).
I'm using the Dummy hardware with "Electric (instant + counter)", and counter is computed.
With small power (even some tens of Watts), the result in counter is either false (0) or inacurate.
In SQLHelper.cpp, I ...
I'm measuring power with my CurrentCost clamps (one Watt measure every 6 seconds).
I'm using the Dummy hardware with "Electric (instant + counter)", and counter is computed.
With small power (even some tens of Watts), the result in counter is either false (0) or inacurate.
In SQLHelper.cpp, I ...