Skip to content

Bash script to find UniFi AP by MAC address by accessing MongoDB

License

Notifications You must be signed in to change notification settings

averred/unifi-find-ap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

unifi-find-ap

Summary

Bash script to find UniFi AP by MAC address by accessing MongoDB

This script searches the UniFi AP by MAC address and returns site information. The MAC address must be supplied in colon-hexadecimal notation (01:23:45:67:78:9a).

Why?

Ever adopted a UniFi AP to a site and forgotten which site it's on? UniFi does not currently have an easy way to figure this out.

It would be handy if UniFi had a global search box that allowed you to search by MAC address but it doesn't... so this is my solution to solve the support desk woes.

Usage

$ unifi-find-ap <UniFi AP MAC>

About

Bash script to find UniFi AP by MAC address by accessing MongoDB

Topics

Resources

License

Stars

Watchers

Forks

Languages