Unifi Search Tool v1.3.2 - Download Here
Does your unifi controller have lots of sites? Do you frequently have equipment returned from those sites and you can't remember where it's adopted in the controller? Enter Unifi Search Tool.
-
Enter your username & password for your Unifi Controller
-
Enter your Unifi Controller domain/IP. You must include the proper http:// or https:// with the appropriate port number at the end, unless it runs on 80/443. (You will see this in the address bar of your browser when you open up your Unifi Controller.)
-
Enter the MAC Address of the device you're searching for
-
Click search
-
Profit
The tool will tell you which site in the controller that the device was adopted to. If it hasn't been adopted, the tool will tell you that the device could not be found.
These instructions are for those that would like to add in their own defaults so that they don't need to re-enter their credentials or controller URL each time the program is opened.
NOTE: If you choose to do this and credentials are stolen, I am not responsible. This is at your own risk.
-
Find the commented lines in each block of code that relates to the specific field you would like to change. It looks like this:
#user_input.setText('<your_username_here>') -
Un-comment the line, and modify the
<your_<>_here>to whatever you would like it to be. Save the file. -
Re-compile the code using the instructions listed in Build From Source
Requirements: PyQt5, pyinstaller, unifi-python-api
-
Download the Zip of the source files and extract it
-
Open up a terminal in the directory
-
Run
pyinstaller --onefile --windowed --icon=unifi-search.ico search-unifi-tool.pyin the terminal -
Go to the
distdirectory to find the .exe file
NOTE: If you omit the --onefile argument, it will provide the application and its subdirectories. The application will still function the same, everything will just be unpacked instead of in a single .exe file.
