I’m still not sure I’m seeing anything different than you. First, I’m using MQTT Explorer on my Windows desktop to look at the messages being sent to the mosquito broker and capture the data in the MQTT messages.
As each room detector powers up, I see about 6-9 messages generated by apple:1005:9-24 before I see the first from apple:watch3-4. I only have apple:watch3-4 defined in HA though MQTT Explorer sees all ids. After that I see about 10- 20% of the messages coming from apple:1005:9-24 with 80-90% coming from apple:watch3-4. This is why I just track apple:watch3-4 messages.
Is the “switch” or change in id’s you are talking about? I don’t think this is a switch, but the fact the watch is broadcasting both. My iPhone actually is broadcasting 4 ids including my covid tracker and room assistant app both broadcasting their own id. This is why I don’t think the watch is switching, just broadcasting two ids at different intervals.
The problem I’m having is that I could be in my living room sitting right next to the room sensor and about 5-6 meters from the office sensor but I’m detected in the office causing my office lights to come on. Then a second or two later I’m back in the living room causing the office lights to go out and this happens more than once. I normally don’t have a problem if I’m in the office at my desk, but as I type this, my office lights have blinked twice thinking I had left and come back.
Again when I look at the data, for some reason, ESPresense is not always generating the correct distance. When I’m in the living room, more than 5 meters from the office, 8 meters from the sensor, there are times when it thinks I’m 1.6 meters from the office sensor. This is why the lights blink on from my automation.
I think the problem is either in the ESPresense code or my calibration setting from [email protected] As I don’t know anything about bluethooth and how it works, I’m only guessing. I just can’t help thinking I’m just a couple of tweaks away from getting this to work flawlessly if I just knew what to tune and how much.