Search found 5 matches

by Francis91
Monday 24 February 2025 12:31
Forum: Suggestions
Topic: Standardization of signal level
Replies: 1
Views: 2661

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;
}
by Francis91
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 ...
by Francis91
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 ...