frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Golang UniFi Network and Protect API CLI and Client

https://github.com/ClifHouck/unified
4•cliffy•1y ago
Ubiquiti recently added HTTPS REST APIs to their Network and Protect applications. While exploring what was available, I came across a pair of interesting endpoints that promised to stream Protect events like detections, motions, doorbell rings, etc. over a Websocket connection.

My UniFi doorbell works great, but I frequently miss the sound of the doorbell because the main chime is far from my workstation, plus I prefer to mostly silence my phone while I'm working. Physical UniFi Chimes are available, but are usually out of stock, and their price seems to keep going up! So my initial motivation was to write enough of a client to enable a doorbell application which would play a sound whenever a "ring" event was emitted by Protect's API.

A few dozen commits later, I found I had built a half decent client and CLI command utility for talking to the Network and Protect APIs. So I'm pleased to announce the initial v0.1.0 release of `unified`:

`unified` is a command line utility (and Golang client) for talking to UniFi Network and Protect APIs.

You can check out the code at: https://github.com/ClifHouck/unified

v0.1.0 supports the following:

UniFi Network API V1 is fully supported as of Network application version "9.1.120".

UniFi Protect API V1 is only partially supported, with the following endpoints supported:

- `/v1/meta/info`

- `/v1/subscribe/devices`: only partial type support.

- `/v1/subscribe/events`

- `/v1/cameras/`

- `/v1/cameras/{id}`

But I'm committed to working towards full Protect API V1 support.

I think there's a lot of potential for interesting uses of these APIs. Hopefully someone besides me finds this useful.

Disclaimer: This client is not in any way affiliated with Ubiquiti. I do not take any responsibility for any harm that may come to your device(s) by utilizing this client. Use at your own risk!

Making GPUs Fast: A Deep Dive into Training Performance (2025)

https://www.youtube.com/watch?v=pHqcHzxx6I8
1•sharma-arjun•2m ago•0 comments

USN-8717-1: Apache Tika vulnerability – Ubuntu security notices

https://ubuntu.com/security/notices/USN-8717-1
1•kyisaiah47•4m ago•0 comments

GitSpawn: Untrusted repos can execute code via AI coding agents

https://www.manifold.security/blog/ai-coding-agents-git-hijack
2•fourfire•18m ago•0 comments

Tracking Public Predictions with AI

https://mob.so/prescience
1•david_shi•21m ago•1 comments

The Rise and Fall of the Harper Rule

https://200.hc.com/stories/the-rise-and-fall-of-the-harper-rule/
1•ankitg12•21m ago•0 comments

Personal AI Router for Local Inference

https://www.nvidia.com/en-us/ai-on-rtx/personal-ai-router/
4•jonbaer•28m ago•0 comments

Dyson CameraJet ($500 Toothbrush)

https://www.dyson.com/discover/news/latest/introducing-camerajet
1•nycdatasci•28m ago•1 comments

To Ruby from Python

https://www.ruby-lang.org/en/documentation/ruby-from-other-languages/to-ruby-from-python/
2•thunderbong•34m ago•0 comments

Deploying blojsom 2.28 (2006) on a modern host, 2026

https://blojsom.audiodude.xyz/blojsom/blog/
1•audiodude•34m ago•1 comments

The Strange Brain of an F1 Driver

https://www.nytimes.com/2026/09/04/sports/f1-brains-drivers-racing.html
2•bookofjoe•35m ago•1 comments

New feature, agent owning maintenance plans

https://machinemind.cdtglobal.org/
1•igdiaz•37m ago•0 comments

Vietnam Ho Chi Minh City proposes curbs on gasoline, diesel vehicles from 2027

https://www.reuters.com/world/asia-pacific/vietnams-ho-chi-minh-city-proposes-curbs-gasoline-dies...
1•teleforce•37m ago•1 comments

AI-assisted writing is common because writing is hard

https://greyenlightenment.com/2026/08/24/ai-assisted-writing-is-common-because-writing-is-hard/
1•paulpauper•39m ago•1 comments

Claude Fable 5.1 vs. GPT-6 Astra, who wins on the 3D modeling?

https://github.com/PhiloLabs/fable51-worlds/tree/main
2•ameddserM•46m ago•2 comments

"Taste" Will Not Save You

https://molochinations.substack.com/p/taste-will-not-save-you
1•domhudson•46m ago•0 comments

The jobs apocalypse is postponed. An AI jobs boom is here

https://www.economist.com/finance-and-economics/2026/09/04/the-jobs-apocalypse-is-postponed-an-ai...
3•alephnerd•48m ago•0 comments

A Movie Can't Be Just Its Own Thing Anymore

https://www.theatlantic.com/culture/2026/09/onslaught-movie-review-a24-adam-wingard/688521/
1•paulpauper•49m ago•0 comments

Need advice on personal web project

https://www.what2do.me/
1•gnrlnoob•52m ago•2 comments

Hi, I'm a solo dev behind Twilock

https://apps.apple.com/us/app/twilock-screen-time-blocker/id6786474238
1•hussaintaheri•54m ago•0 comments

Show HN: Video Wall Live – View all your Ring cameras at once, on the big screen

https://ring.com/pages/appstore/video-wall-live
1•rabbimarshak•55m ago•0 comments

Shotdock – Wayland screenshot, recording, and window framing tool in Rust

https://github.com/sirrryasir/shotdock
2•sirrryasir•55m ago•1 comments

The Key to a Killer Résumé Is Your Perfect Scrambled Eggs

https://www.wsj.com/lifestyle/careers/go-ahead-put-your-most-eccentric-hobbies-on-your-resume-31e...
1•gmays•56m ago•0 comments

Android Studio’s device mirroring as a standalone app, no IDE required

https://github.com/rPlayAI/rplayhub-android
2•rPlayAI•1h ago•0 comments

Tiny Rust Layout Choices Freed 100 TB of DNS Cache Memory

https://talmondrlm.medium.com/the-argument-for-rust-on-arduino-am-i-crazy-641830273cd9
1•syumei•1h ago•1 comments

GPT-6 Astra: First Experience (high)

https://chatgpt.com/share/6a9b671d-b780-83ea-bd5d-b0ea39f7d9b3
2•nycdatasci•1h ago•1 comments

Mega Backdoor Roth ($72k/year contribution limit)

https://www.bogleheads.org/wiki/Mega-backdoor_Roth
3•nycdatasci•1h ago•0 comments

After OpenAI's Bots Went Rogue, Watchdogs Were Kept on a Short Leash

https://www.nytimes.com/2026/09/03/technology/openai-hugging-face-hack.html
1•whack•1h ago•0 comments

Hilarious House of Frightenstein[Nostalgia]

https://www.frightenstein.com/castcrew.html
1•rolph•1h ago•1 comments

John Brown and the question of righteous violence

https://thedispatch.com/article/john-brown-harpers-ferry-slavery/
2•cocacola1•1h ago•0 comments

Hegel-Rust OSS bug-finding

https://github.com/DRMacIver/hegel-rust-oss-bug-finding
1•wwilson•1h ago•0 comments