frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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•11mo 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!

Blue Origin's New Glenn rocket is grounded after failed satellite launch

https://apnews.com/article/blue-origin-new-glenn-rocket-launch-9498c077799420170960680a04e52f84
1•mpweiher•1m ago•0 comments

The levels of Mong Kok: one of Hong Kong's labyrinthine camera malls

https://www.dpreview.com/articles/7475558634/inside-hong-kongs-labyrinthine-camera-malls
1•PaulHoule•2m ago•0 comments

LLM Position Bias Benchmark: Swapped-Order Pairwise Judging

https://github.com/lechmazur/position_bias
1•zone411•3m ago•0 comments

Indeed paid plans notify employers when an employee applies to different jobs

https://old.reddit.com/r/antiwork/comments/1sru8d6/til_indeed_can_be_paid_to_notify_employers_when/
2•thisislife2•3m ago•2 comments

AI as a Fascist Artifact

https://tante.cc/2026/04/21/ai-as-a-fascist-artifact/
1•vladyslavfox•3m ago•0 comments

New cancer cluster feared in N.J. neighborhood

https://www.nj.com/news/2026/04/new-cancer-cluster-feared-in-nj-neighborhood.html
1•johntfella•3m ago•0 comments

FBI: Catching a Cuban Spy

https://www.fbi.gov/news/podcasts/inside-the-fbi-podcast-catching-a-cuban-spy
1•737min•4m ago•0 comments

Approaches to Tenancy in Postgres

https://planetscale.com/blog/approaches-to-tenancy-in-postgres
1•0xKelsey•5m ago•0 comments

Mesh3d Experiments

https://mesh3d.gallery/experiments
1•memalign•5m ago•0 comments

Impacts of updates in open-source databases

https://www.percona.com/blog/impacts-of-updates-in-open-source-databases/
1•0xKelsey•5m ago•0 comments

Content Scraping Issue: Risks and Dangers of Artificial Intelligence

https://sites.google.com/view/amenintare-gemini/
1•marinescu•10m ago•0 comments

Anthropic's Mythos Model Is Being Accessed by Unauthorized Users

https://www.bloomberg.com/news/articles/2026-04-21/anthropic-s-mythos-model-is-being-accessed-by-...
2•mfiguiere•13m ago•1 comments

The Birth Certificate for AI Agents

https://dnsid.ai
1•cdrnsf•15m ago•0 comments

Yojam: A macOS default-browser shim that routes URLs through a rule engine

https://github.com/fluffypony/yojam
2•birdculture•19m ago•0 comments

Embedded 191,922 Met artworks to find hidden twins across 4k years

https://jmp1062.github.io/met-weirdest-art/
1•jperryjperry•21m ago•1 comments

Show HN: CLI-use – turn any MCP server into a CLI in one command

1•justvugg•24m ago•0 comments

Tenstorrent's Large Compute Cluster, Generates Video Faster Than Real Time

https://www.eetimes.com/tenstorrent-previews-large-compute-cluster-generates-video-faster-than-re...
1•montyanderson•25m ago•0 comments

A Boy That Cried Mythos: Verification Is Collapsing Trust in Anthropic

https://www.flyingpenguin.com/the-boy-that-cried-mythos-verification-is-collapsing-trust-in-anthr...
2•MBCook•26m ago•0 comments

Objectively Measured Daytime Napping Pattern&All-Cause Mortality in Older Adults

https://jamanetwork.com/journals/jamanetworkopen/fullarticle/2847953
2•bookofjoe•27m ago•0 comments

Edster – An open-source local AI agent with swarm mode and a web UI

https://github.com/unrealumanga/Nedster
2•unrealumanga•28m ago•0 comments

Parrot is a C++ library for fused array operations using CUDA/Thrust

https://github.com/NVlabs/parrot
1•tosh•29m ago•0 comments

What America Has Lost in the War with Iran

https://www.americanprogress.org/article/what-america-has-lost-in-the-war-with-iran/
3•KnuthIsGod•29m ago•0 comments

Might be the most Hollywood style launch video I've seen

https://twitter.com/photon_hq/status/2046656633749860430
2•juliec216•30m ago•0 comments

Terence Tao: On the importance of partial progress (2012)

https://terrytao.wordpress.com/career-advice/on-the-importance-of-partial-progress/
1•vinipolicena•31m ago•0 comments

TSRX – TypeScript Language Extension for Declarative UI

https://tsrx.dev/
1•bpierre•32m ago•0 comments

MCPorter – Call MCPs from TypeScript or as CLI

https://github.com/steipete/mcporter
1•dinakars777•41m ago•1 comments

WireGuard for Windows Reaches v1.0

https://lists.zx2c4.com/pipermail/wireguard/2026-April/009580.html
4•zx2c4•44m ago•0 comments

Why WooCommerce Needs an AI Store Manager, Not Another Chatbot?

https://heysarva.com
1•aishwaryashthe•45m ago•0 comments

Canadians pay more than 3.50x than Poles on matched BTC card route

https://augea.io/reports/retail-crypto-cost-benchmark-2026-q2
2•pharrisson•47m ago•0 comments

Fontspots: Eurostile

https://typesetinthefuture.com/2014/11/29/fontspots-eurostile/
2•_vaporwave_•48m ago•0 comments