dalehumby / ESPHome-Apple-Watch-detection

ESPHome BLE Apple Watch presence detection
MIT License
332 stars 17 forks source link

Multiple watches, example? #20

Open martinrosenauer opened 2 years ago

martinrosenauer commented 2 years ago

Hi @dalehumby

First of all - great work! Thanks!

Can you possibly provide an example of a setup with multiple watches (different generations) and multiple ESPs (in different rooms) giving me binary_sensors.presence for each person in HA?

I would very much like to use this for tracking wether my wife, the kids or myself are at home or not.

Thanks!

ArnoS146 commented 2 years ago

Hi @martinrosenauer

I'm trying to do the same thing. Did you mange to get this working?

stofakiller commented 2 years ago

I detects all watches, eg here from my surroundings (3 diff watches) [D][ble_adv:077]: Found Apple Watch (mac 57:EC:5A:F5:5C:98) rssi -51 [D][sensor:125]: 'Jan Apple Watch bil RSSI': Sending state -70.86550 dBm with 0 decimals of accuracy [D][sensor:125]: 'room_presence_debounce': Sending state 1.00000 with 1 decimals of accuracy [D][script:020]: Script 'presence_timeout' restarting (mode: restart) [D][ble_adv:077]: Found Apple Watch (mac 6C:CC:63:A9:B6:41) rssi -75 [D][sensor:125]: 'Jan Apple Watch bil RSSI': Sending state -72.10585 dBm with 0 decimals of accuracy [D][sensor:125]: 'room_presence_debounce': Sending state 1.00000 with 1 decimals of accuracy [D][script:020]: Script 'presence_timeout' restarting (mode: restart) [D][ble_adv:077]: Found Apple Watch (mac 7B:75:FF:8B:75:79) rssi -88 [D][sensor:125]: 'Jan Apple Watch bil RSSI': Sending state -76.87409 dBm with 0 decimals of accuracy [D][sensor:125]: 'room_presence_debounce': Sending state 1.00000 with 1 decimals of accuracy [D][script:020]: Script 'presence_timeout' restarting (mode: restart)

But they all report as one watch back to HA

townsmcp commented 2 years ago

@stofakiller for the 3 watches, are they all Apple Watches and are they all different models of Watch? Ie Watch 4, 5 and 6?

ArnoS146 commented 2 years ago

In my case both are different models one a series 5 and one a series 6. I would want to be able to identify which one is in the room if not both. As this will tell me who it is in a way. Any ideas on how to get that done?

stofakiller commented 2 years ago

@stofakiller for the 3 watches, are they all Apple Watches and are they all different models of Watch? Ie Watch 4, 5 and 6?

Some are my neighbors, so i dont know, but i think the code finds all possible watches...

stofakiller commented 2 years ago

In my case both are different models one a series 5 and one a series 6. I would want to be able to identify which one is in the room if not both. As this will tell me who it is in a way. Any ideas on how to get that done?

So far i cant find anything usefull in the data from the watch, i found out to change the code to my phone, so i think i'll try to make it track both my phone and my watch at the same time...

ripvega commented 1 year ago

So far i cant find anything usefull in the data from the watch, i found out to change the code to my phone, so i think i'll try to make it track both my phone and my watch at the same time...

It's been a while, but have you done this?

ArnoS146 commented 1 year ago

So far i cant find anything usefull in the data from the watch, i found out to change the code to my phone, so i think i'll try to make it track both my phone and my watch at the same time...

It's been a while, but have you done this?

I have given up on it for the time being. Without being able identify the exact device it won't work for my use case.

ripvega commented 1 year ago

Same here. It works really well but I need something that only works with specific devices.

I've tried ESPresence and others but the overhead is too high.

I need a single-device solution, which this is, but it is not detecting unique devices yet.

On Wed, 23 Aug 2023 at 16:54, ArnoS146 @.***> wrote:

So far i cant find anything usefull in the data from the watch, i found out to change the code to my phone, so i think i'll try to make it track both my phone and my watch at the same time...

It's been a while, but have you done this?

I have given up on it for the time being. Without being able identify the exact device it won't work for my use case.

— Reply to this email directly, view it on GitHub https://github.com/dalehumby/ESPHome-Apple-Watch-detection/issues/20#issuecomment-1690216660, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKGVQWZO3NBH4VEEPJV5YC3XWYRU5ANCNFSM5RI2MTQA . You are receiving this because you commented.Message ID: @.***>