No worries, if you take it very deliberately, step by step, it will work out.
No, the attenuation affects all devices. But it has no affect when the calculation comes out as 1m, which is why the first step is to use a 1m physical distance, then use ref_power to get the reading to 1m (we choose 1m because it is not affected by the attenuation setting, thus allowing us to isolate just the ref_power parameter).
When that’s done, physically move the device to a further distance, then adjust attenuation so that distance displays correctly.
Adjusting attenuation when the device reads 1m away will have no effect.
At all times you’re looking for the “repeatable minimum” distance, rather than an average.
IGNORE the measurements to other proxies while you are calibrating, as those measurements might be stale if that proxy is currently out of range.
Once you have your reference pair calibrated reasonably well, then test each proxy at 1m and a longer distance and if necessary, adjust the per-proxy offsets so they each read reasonable distances when the device is at a given distance from THAT proxy.
Leave it at 100m.
-
put your attenuation back to 3 (good values will be between 1 and 4, typically 2.6 to 3.6 in my experience. Never anything like 300).
-
get your ref_power sorted by testing the iphone and kitchen proxy at 1m separation. Save.
-
get your attenuation sorted by moving the phone away, and getting the reading to match the new physical separation. 5m or more is good for this.
If all your devices are the same hardware, this should now result in all proxies showing reasonable distances (eg 1m if the device is 1m from it, etc). Again, look out for stale values, you might be out of range of a given proxy.
Also, note that Shelly devices only send an update every 3 seconds at best, be patient ![:slightly_smiling_face: :slightly_smiling_face:](https://community.home-assistant.io/images/emoji/twitter/slightly_smiling_face.png?v=12)
But first calibrate your expectations. Within a few metres, don’t expect reliable sub-metre precision. And the longer the distance, the more the reading will vary.
Also if you are holding the phone you’ll get lots of variation, because of the hairy sack of water interfering with the signal ![:sweat_smile: :sweat_smile:](https://community.home-assistant.io/images/emoji/twitter/sweat_smile.png?v=12)