kirichkov / home_assistant-ble

Companion application for home-assistant, sending bluetooth low energy detection
21 stars 4 forks source link

Correct out of range detection #3

Open kamaradclimber opened 7 years ago

kamaradclimber commented 7 years ago

At least with my nut tracker, out of range detection does not seem to work as expected.

Device might not be detected as disappeared even when out of range.

kirichkov commented 7 years ago

I've noticed myself that both my Mi Fit band and my nut tracker have been marked as 'home', when I expected at least once in a while to disappear. As it turns out, when restarting hass, the gem would crash, and never update the status, so they'd be persistently 'home'. Maybe something similar is happening to you?

6 should resolve this.

kirichkov commented 7 years ago

Have you found a solution for this? I'm still observing this issue with my nut tracker. My fitness band (Xiaomi Mi Band 1S) does disappear and reappear (marked as home and away), but the nut is never submitted as missing, only as being at home. It is set as "hide if away", so I changed it to rule this out as a reason.