Hi,
So I decided to move from a Python venv install to docker-compose on my Raspberry Pi 4 so help with updates and generally make life easier. I made the switch by coping the config to the docker location stopping the venv and starting the docker. This worked straight away including zwave (I use a separate MariaDB for logging so no issue there).
However the one thing that doesn’t work very well at all is the nmap_tracker integration it seems to be much slower and doesn’t pick up devices. It was working for months without many issues on the venv.
I noticed that I can getting the following error in the logs:
Logger: homeassistant.components.device_tracker
Source: components/device_tracker/legacy.py:320
Integration: Device tracker (documentation, issues)
First occurred: 12:15:22 AM (369 occurrences)
Last logged: 9:27:22 AM
Updating device list from legacy took longer than the scheduled scan interval 0:01:30
Once this started appearing the nmap_tracker no longer reports the devices at home. I already reduced the scan interval down from 60 to 90 seconds and reduced the range from 192.168.1.100-200 from 254.
Had anyone else seen this issue in docker? I have network_mode: host
so this shouldn’t be a problem.
I should add I have disabled docker and restarted the venv and the nmap_tracker works straight away.
Thanks,
Richard