Sign inSign up

scottibyte/unifi-client-manager

By scottibyte

•Updated 4 months ago

The Unifi Client Manager is for managing the addresses granted to the clients on your Unifi Gateway.

Image
Networking
Monitoring & observability
0

1.2K

scottibyte/unifi-client-manager repository overview

⁠UniFi Client Reservation Manager

A modern web-based management utility for UniFi Network environments that provides advanced visibility into clients, DHCP reservations, stale devices, and offline systems.

Designed for administrators who need significantly more visibility and cleanup capability than the default UniFi client interface provides.


⁠Features

  • Real-time UniFi client inventory
  • Online/offline client tracking
  • DHCP reservation management
  • Toggle fixed IP reservations
  • Forget/remove UniFi clients
  • Identify stale offline devices
  • Identify stale reservations
  • Offline aging indicators
  • Search and filtering
  • Wired/Wi-Fi identification
  • Uplink port visibility
  • Network/VLAN visibility
  • CSV export support
  • Keyboard navigation
  • Dark modern responsive interface
  • Lightweight Node.js + Docker deployment

⁠Screenshots

UniFi Client Reservation Manager


⁠Deployment Instructions

Create a working directory:

mkdir unifi-client-manager
cd unifi-client-manager

Create the environment file:

nano .env

Paste the following into the .env file:

UNIFI_BASE_URL=https://192.168.1.1
UNIFI_USERNAME=admin
UNIFI_PASSWORD=password
UNIFI_SITE=default
PORT=3000
POLL_INTERVAL_MS=15000
VERIFY_SSL=false

Save the file.

Create the Docker Compose file:

nano docker-compose.yml

Paste the following into docker-compose.yml:

services:
  unifi-client-manager:
    image: scottibyte/unifi-client-manager:latest
    container_name: unifi-client-manager
    restart: unless-stopped

    ports:
      - "3000:3000"

    env_file:
      - .env

Save the file.

Start the container:

docker compose up -d

Verify the container is running:

docker ps

View logs if needed:

docker logs -f unifi-client-manager

⁠Accessing the Application

Open your browser:

http://YOUR_SERVER_IP:3000

Example:

http://192.168.1.50:3000

⁠Environment Variables

VariableDescription
UNIFI_BASE_URLURL of your UniFi controller or gateway
UNIFI_USERNAMEUniFi username
UNIFI_PASSWORDUniFi password
UNIFI_SITEUniFi site name
PORTWeb UI port
POLL_INTERVAL_MSClient refresh interval
VERIFY_SSLVerify SSL certificates (true or false)

⁠Updating the Container

Pull the latest image:

docker pull scottibyte/unifi-client-manager:latest

Restart the container:

docker compose down
docker compose up -d

⁠Stopping the Container

docker compose down

⁠API Endpoints

EndpointPurpose
/api/healthHealth status
/api/clientsFull client list
/api/export/reservations.csvExport reservations
/api/debug/raw-clientsDebug sample clients

⁠Why This Utility Exists

The default UniFi client interface becomes difficult to manage in larger environments with:

  • stale offline clients
  • outdated DHCP reservations
  • IoT device sprawl
  • VLAN-heavy deployments
  • hundreds of devices

This utility provides a fast operational view specifically designed for cleanup, auditing, and reservation management.


⁠Security

Credentials are supplied through Docker environment variables and are not embedded into the container image.

For production deployments, consider:

  • reverse proxy authentication
  • Cloudflare Tunnel
  • VPN-only access
  • internal-only exposure
  • SSL termination

This container works well behind:

  • NGINX Proxy Manager
  • Traefik
  • Caddy
  • SWAG
  • Cloudflare Tunnel

  • UniFi Statistics Dashboard
  • UniFi Reservation Cleanup Utilities
  • ScottiBYTE Incus Dashboard

⁠UniFi Client Reservation Manager

⁠Current Version

1.1.0

⁠Changelog

⁠1.1.0
  • Added click-to-copy support
  • Added keyboard navigation
  • Fixed clipboard support over HTTP
  • Added persistent row highlighting
  • Removed broken UniFi deep-link buttons
⁠1.0.0
  • Initial release

⁠Community Support

Need help with Unifi Client Manager, Docker deployment, Incus profile management, container creation, or ScottiBYTE utilities?

Join the ScottiBYTE Rocket.Chat community:

Join ScottiBYTE Rocket.Chat⁠

New users can start in #general. From there, you can find other ScottiBYTE project channels and community discussions.

For bugs and feature requests, please continue to use GitHub Issues. For quick questions and community discussion, use Rocket.Chat.

Tag summary

Content type

Image

Digest

sha256:ef1451030…

Size

57.5 MB

Last updated

4 months ago

docker pull scottibyte/unifi-client-manager