Skip to content

Mikrotik: Continue tracking device over dhcp lease table if wireless adaptor not installed#7690

Merged
balloob merged 1 commit into
home-assistant:devfrom
LvivEchoes:feature/mikrotik-device-tracker-without-wireless-module
May 22, 2017
Merged

Mikrotik: Continue tracking device over dhcp lease table if wireless adaptor not installed#7690
balloob merged 1 commit into
home-assistant:devfrom
LvivEchoes:feature/mikrotik-device-tracker-without-wireless-module

Conversation

@LvivEchoes
Copy link
Copy Markdown
Contributor

Description:

If user would like to track mikrotik device without wireless interface installed, dhcp lease table will use as presence detector source.

Additional info: Dhcp leases/arp table/etc are not 100% right approach for using them as presence detector. If you going to use this approach anyway, please decrease dhcp lease time as much as possible. For home purposes, i would recommend to set it between 5 and 10 minutes. Also don't use static leases for devices, which you like to work with.

Related issue (if applicable): fixes #7604

Checklist:

If the code communicates with devices, web services, or third-party tools:

  • Local tests with tox run successfully. Your PR cannot be merged unless tests pass

@mention-bot
Copy link
Copy Markdown

@LvivEchoes, thanks for your PR! By analyzing the history of the files in this pull request, we identified @fabaff to be a potential reviewer.

@LvivEchoes LvivEchoes changed the title Mikrotik: Continue tracking device over dhcp lease table if wireless adapter not installed Mikrotik: Continue tracking device over dhcp lease table if wireless adaptor not installed May 21, 2017
Copy link
Copy Markdown
Member

@balloob balloob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great 🐬

@balloob balloob merged commit 99ea1e3 into home-assistant:dev May 22, 2017
@balloob balloob mentioned this pull request Jun 2, 2017
@home-assistant home-assistant locked and limited conversation to collaborators Sep 4, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

known_devices.yaml not updated with Mikrotik Hex V3 and an external access point.

5 participants