cyberjunky / home-assistant-arpscan_tracker

This component tracks devices using the arp-scan liinux command, it's very fast, and reasonably accurate.
MIT License
28 stars 4 forks source link

Not working in latest hassio and homeassistant #10

Closed ptbsare closed 2 years ago

ptbsare commented 2 years ago

It seems that hassio removed the arp-scan command. arp-scan zsh: command not found

ptbsare commented 2 years ago

hassio 6.6 kernel 5.10.75 ha core: 2021.11.2

cyberjunky commented 2 years ago

Hi @ptbsare strange, arp-scan is still in the Dockerfile here

https://github.com/home-assistant/docker/blob/master/Dockerfile

And it still works in my setup:

2021-11-25 10:15:48 DEBUG (SyncWorker_8) [custom_components.arpscan_tracker.device_tracker] Scanning...
2021-11-25 10:15:50 DEBUG (SyncWorker_8) [custom_components.arpscan_tracker.device_tracker] Scandata Interface: eth0, type: EN10MB, MAC: 00:1e:06:42:79:18, IPv4: 192.168.2.215
Starting arp-scan 1.9.7 with 256 hosts (https://github.com/royhills/arp-scan)
192.168.2.100 f0:c7:7f:8e:c5:19 Texas Instruments
...

Can you enable debug and check what is goin on?

logger:
  default: warn
  logs:
    custom_components.arpscan_tracker: debug

image image

ptbsare commented 2 years ago

Updating my config, upgrading HA and then restarting HA resolves the issue. Maybe it is related to my wrong configuration. Thanks.

cyberjunky commented 2 years ago

Possibly, thanks for the reply!