Espresense - distance update delay

Config of Espresense: Default
ESPresense Version: v3.1.1
ESP: ESP-WROOM-32 (link)

Situation:
At initial, my iphone or watch close the ESP32 around 0.2m. Then walk away it to 1m just in 1 second.
But the response show that the distance still keep in 0.2m, 0.2xm, 0.2xm, 0.3m…1m (it takes around 8-20s to adjust it and finally it get the correct distance)

Observation:

  1. The rssi(-32) > rssi@1m(-65) (e.g ) when my device near the ESP around 0.2m
  2. The rssi(-65) ~= rssi@1m(-65) (e.g ) when my device move away from the ESP around 1m (change it significantly )
  3. The raw(0.9~1.9) when my device near the ESP around 1m (change it significantly but unstable)

Conclusion/ Question/ Problem:
RSSI or raw can reflect the latest status of my device (although I don’t know what is “raw”, i think it likely similar to distance but it is unstable). And It is strange that why “distance” can not reflect the current status and it needs time to change it slowly (0.2 → 0.2x, 0.3 → 0.3x → …-> 1). Suppose the formula of distance is base on rssi.

Anyone have such problem or anything I need to config it?

The following are the log of my device

0:19:52
{"id":"irk:____","disc":"071897c6e5","idType":200,"rssi@1m":-65,"rssi":-34,"raw":0.13,"distance":0.15,"speed":-0.00,"mac":"430e33182fc7","interval":492}
{"id":"irk:____","disc":"071897c6e5","idType":200,"rssi@1m":-65,"rssi":-41,"raw":0.21,"distance":0.15,"speed":0.00,"mac":"430e33182fc7","interval":491}
{"id":"irk:____","disc":"071897c6e5","idType":200,"rssi@1m":-65,"rssi":-52,"raw":0.43,"distance":0.15,"speed":0.01,"mac":"430e33182fc7","interval":491}
10:19:54
{"id":"irk:____","disc":"071897c6e5","idType":200,"rssi@1m":-65,"rssi":-72,"raw":1.58,"distance":0.16,"speed":0.06,"mac":"430e33182fc7","interval":491}
{"id":"irk:____","disc":"071897c6e5","idType":200,"rssi@1m":-65,"rssi":-72,"raw":1.58,"distance":0.20,"speed":0.09,"mac":"430e33182fc7","interval":491}
{"id":"irk:____","disc":"071897c6e5","idType":200,"rssi@1m":-65,"rssi":-69,"raw":1.30,"distance":0.26,"speed":0.06,"mac":"430e33182fc7","interval":489}
{"id":"irk:____","disc":"071897c6e5","idType":200,"rssi@1m":-65,"rssi":-70,"raw":1.39,"distance":0.28,"speed":0.06,"mac":"430e33182fc7","interval":492}
{"id":"irk:____","disc":"071897c6e5","idType":200,"rssi@1m":-65,"rssi":-66,"raw":1.07,"distance":0.36,"speed":0.06,"mac":"430e33182fc7","interval":490}
{"id":"irk:____","disc":"071897c6e5","idType":200,"rssi@1m":-65,"rssi":-64,"raw":0.94,"distance":0.37,"speed":0.04,"mac":"430e33182fc7","interval":491}
{"id":"irk:____","disc":"071897c6e5","idType":200,"rssi@1m":-65,"rssi":-64,"raw":0.94,"distance":0.37,"speed":0.04,"mac":"430e33182fc7","interval":491}
{"id":"irk:____","disc":"071897c6e5","idType":200,"rssi@1m":-65,"rssi":-63,"raw":0.88,"distance":0.40,"speed":0.03,"mac":"430e33182fc7","interval":493}
{"id":"irk:____","disc":"071897c6e5","idType":200,"rssi@1m":-65,"rssi":-66,"raw":1.07,"distance":0.52,"speed":0.04,"mac":"430e33182fc7","interval":492}
{"id":"irk:____","disc":"071897c6e5","idType":200,"rssi@1m":-65,"rssi":-68,"raw":1.22,"distance":0.53,"speed":0.04,"mac":"430e33182fc7","interval":492}
{"id":"irk:____","disc":"071897c6e5","idType":200,"rssi@1m":-65,"rssi":-78,"raw":2.35,"distance":0.61,"speed":0.07,"mac":"430e33182fc7","interval":494}
{"id":"irk:____","disc":"071897c6e5","idType":200,"rssi@1m":-65,"rssi":-74,"raw":1.81,"distance":0.70,"speed":0.09,"mac":"430e33182fc7","interval":497}
{"id":"irk:____","disc":"071897c6e5","idType":200,"rssi@1m":-65,"rssi":-74,"raw":1.81,"distance":0.81,"speed":0.06,"mac":"430e33182fc7","interval":495}
{"id":"irk:____","disc":"071897c6e5","idType":200,"rssi@1m":-65,"rssi":-69,"raw":1.30,"distance":0.85,"speed":0.03,"mac":"430e33182fc7","interval":496}
{"id":"irk:____","disc":"071897c6e5","idType":200,"rssi@1m":-65,"rssi":-69,"raw":1.30,"distance":0.90,"speed":0.02,"mac":"430e33182fc7","interval":498}
10:20:13
{"id":"irk:____","disc":"071897c6e5","idType":200,"rssi@1m":-65,"rssi":-75,"raw":1.93,"distance":1.00,"speed":0.05,"mac":"430e33182fc7","interval":496}

I had similar experiences as i tried espresense for room detection, the distance always rised or descended slowly. I think it always calculated an average of the actual distance and the distance before a few moments, as far as i know there is no way to change this in the options.

1 Like

Thanks your reply, Mike.
I saw this library from some youtube video that shows it quite powerful and sensitive (distance)…If the final outcome likes the my description, then I will very disappointed with it. And don’t know why those youtuber still introduce ESPresense to people. I hope that something wrong in my configuration.

Any idea … the normal option with appleid:241 has a long delay… Im trying the option with irk… but it’s not working.