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

How to debug? #7

Closed AdmiralRaccoon closed 3 years ago

AdmiralRaccoon commented 3 years ago

Hello, this sounds like a stupid question, but how do I debug if arpscan is working at all? I read how people posted some debug log output herm but I can´t find anything in the HA Logs, except a warning that the arpscan_tracker integration hasn´t been tested. Though there aren´t any device_tracker.mac_adress entities available

Thank you, Philipp

cyberjunky commented 3 years ago

@AdmiralRaccoon Hi.

I have updated the readme file. Add below -or last part of it- to your config and restart home assistant.

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

It can be two things, you are not running Home Assistant OS, but some other OS, and didn't install the arp-scan command. Or you have to specify another/the correct network interface. Try to find out the name and specify it with the options.

AdmiralRaccoon commented 3 years ago

Ah, thank you, now it´s working. It was the wrong interface I selected.