It only seems to affect my Samsung S9+ och my wife’s Samsung S9 as far as I can see and it only started happening after we upgraded to Android Pie. I initially thought it was a DHCP issue as the issue resolved itself after changing the static IP addresses for the two devices. I forgot to update the nmap hosts though and after changing them today, the issue has reappeared. The logs reports nmap not responding in time but nothing else.
I’m having this same exact issue with my Note 8. Did you ever find a fix? I’m on lan from my pie to Netgear router. Using bluetooth and Nmap with static (reserved) IPs. My wife has an iphone X that does not seem to be affected.
I’ve tried everything from factory resetting/updating firmware on my router to resetting all network settings on the phone.
When my PI (running HASSIO) is up, the drops are random and frequent. After stopping the server, no drops at all.
BOZG!!! I think I may have found a solution bud. It’s been hours and still going strong without a drop (fingers crossed). I saw on another post someone changing the NMAP port and this seemed to work for our WiFi disconnect issue. Just add this to your config.yaml and reset.Try it out and let me know if it worked for you too.
indent preformatted text by 4 spaces
Same here. I went from a old Linksys E3000 to the Netgear Nighthawk R6700. This is when NMAP started giving me guff. Really early to say it’s 100% fixed, but so far so good. Hope it holds and helps you too.
No more WiFi disconnects but now I’ve noticed that nmap is unable to get Mac addresses for my devices (which seems to be a Docker issue). Must have missed it previously as my devices were already in known_devices from when the Netgear tracker worked.
Darn! Yeah, same here with the WiFi issues disappearing, but keeps setting my wifes iphone x as away (anywhere from 1-10mis). My Note 8 is solid purple (home) now with no drops. I tried setting the consider_home: 600, and it helps, but doesn’t fix the issue.
I’m wondering if my device mac addresses are also not being picked up by Hassio. How did you discover this? Where did you go to check? Thanks for the advice and updates.
It shows up in my logs in Portainer that I use for managing my Docker containers. I presume that info is pulled from the logs in Home Assistant in some way though it doesn’t show up in HA for me by default anyway. You could also try removing your device from known_devices.yaml to see if nmap re-adds it. As far as I can see, nmap won’t add a device if it can’t find its mac.
Have you tried setting home_interval to see if that works better than consider_home?
Hi Optimus, it was straightforward. I created an additional limited user in the Unifi Controler that has read-only permissions. This user is used by hassio. The following page explains how to set up Presence Detection (device tracking): https://www.home-assistant.io/components/unifi/#presence-detection
Hey Shampain! Thank you for sharing. I know it’s been a while, but still struggling with with this stupid nmap and the constant wifi drops on my Note 8. We were between places, so didn’t bother getting HASSIO up at the rental. Plugged in the Pi a couple days ago and bam… “disconnected”. I’m ditching NMAP and going to your setup. Has it been giving you any trouble? Thanks again for sharing your findings.