nyo16

nyo16 / unifi_api

Public

Elixir client for UniFi Dream Machine APIs — Network (v10.1.84) & Protect (v6.2.88). Sites, devices, clients, networks, firewall, cameras, sensors & more.

13
0
100% credibility
Found Mar 15, 2026 at 13 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Elixir
AI Summary

A helper library that connects programs to UniFi Dream Machine controllers to manage networks, devices, clients, firewalls, hotspots, and Protect cameras.

How It Works

1
🏠 You run a home or small office network

You have UniFi routers, switches, access points, and security cameras that you want to monitor and manage easily.

2
🔍 You find a simple helper tool

This tool lets you connect to your UniFi system from your own programs to check status and make changes.

3
🔗 You link it to your UniFi controller

You provide your controller's web address and a secure access code so it can communicate safely.

4
Everything connects perfectly

You instantly see lists of your sites, connected devices, clients, WiFi networks, and all your cameras with their statuses.

5
📊 You build custom views and actions

You create reports for device health, client counts, camera snapshots, firewall rules, or even automate restarts and alerts.

🎉 Your network runs smoothly on autopilot

Now you have full oversight and control, with dashboards, exports, and automations keeping everything secure and efficient.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 13 to 13 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is unifi_api?

unifi_api is an Elixir client for UniFi Dream Machine APIs, handling Network (v10.1.84) for sites, devices, clients, networks, firewalls, hotspots, ACLs, and DNS, plus Protect (v6.2.88) for cameras, sensors, lights, and NVRs. It solves the pain of raw HTTP calls to UniFi controllers by providing a clean interface to list, create, update, delete resources, grab camera snapshots as JPEG binaries, and control PTZ cameras. Among elixir github projects and elixir github api clients, it stands out for Dream Machine owners automating network ops in Elixir apps.

Why is it gaining traction?

Lazy streams auto-paginate large lists like devices or clients without loading everything into memory, filters use UniFi's native syntax for wireless-only queries, and IEX formatters print color-coded tables for quick inspection. Recipes for CSV exports, JSON dashboards, voucher codes, and polling client counts hook devs building monitoring tools. As an elixir client script for unifi api on github elixir trending, its Req-based HTTP and env-config setup beats manual Finagle requests.

Who should use this?

Elixir backend engineers integrating UniFi into Phoenix dashboards or Oban jobs for client tracking and firewall tweaks. DevOps teams scripting device adoptions, hotspot vouchers, or camera snapshots in homelabs. Network admins using elixir github ash or ecto for elixir langchain-style automation around unifi access api github endpoints.

Verdict

Grab it if you're in the Elixir ecosystem with a UDM—docs and recipes make it production-ready despite 13 stars and 1.0% credibility score. Early maturity means test it on non-critical sites first, but Apache 2.0 and hex-ready deps lower the risk.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.