Check UniFi device count from SSH
You can use our script to check the number of UniFi devices connected to your server.
First, you’ll need to get SSH access to your server: https://support.hostifi.net/en/articles/3437198-how-to-ssh-or-sftp-into-your-unifi-server
Log in via SSH, then use wget to download the script from GitHub:
wget https://raw.githubusercontent.com/HostiFi/python-unifi-device-counter/master/unifi-device-count.py
Run the script:
python unifi-device-count.py
It will output the UniFi device count to the terminal.
Alternatively, you can check UniFi device count from network.unifi.ui.com:
https://tran-technology.com/check-unifi-device-count-from-network-unifi-ui-com