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!

Slower than an SD card under heavy load: iPhone 18 Pro Max's QLC storage tested

https://www.notebookcheck.net/Slower-than-an-SD-card-under-heavy-load-iPhone-18-Pro-Max-s-QLC-sto...
1•virgildotcodes•2m ago•0 comments

Infinitely Recursive of Game of Life

https://oimo.io/works/life/
1•helloplanets•2m ago•0 comments

Evaluating Long-Term Memory for AI Agents: AML Cycle 2 Is Now Open

https://twitter.com/AgentMemoryL/status/2101515447816663222
1•IreneAI•2m ago•0 comments

Perennial Technical Reads

https://parallelprogrammer.substack.com/p/a-reading-list-for-metalheads
1•signa11•4m ago•0 comments

Why Are People Cancelling?

https://bankstatementconverter.com/blog/posts/2026-09-21-why-are-people-canceling/
1•4pkjai•4m ago•0 comments

BYD car was easily hacked by cybersecurity expert

https://www.abc.net.au/news/2026-09-21/byd-hacked-by-cybersecurity-expert-vehicle-sabotage-survei...
1•Cadwhisker•7m ago•0 comments

A computer scientist-novelist reflects on AI and our understanding of maths

https://scroll.in/article/1095809/how-ai-could-influence-our-understanding-of-mathematics-a-compu...
1•adityaathalye•10m ago•1 comments

International Observe the Moon Night

https://en.wikipedia.org/wiki/International_Observe_the_Moon_Night
1•ButlerianJihad•10m ago•0 comments

iPhone 18 Pro Teardown: What Changed Inside? [video]

https://www.youtube.com/watch?v=oS_HMre7vk0
1•lisper•10m ago•0 comments

The big ideas and tiny details behind Amazon's new recyclable mailer (2019)

https://www.aboutamazon.com/news/sustainability/the-big-ideas-and-tiny-details-behind-amazons-new...
1•usaphp•10m ago•0 comments

Jev's Architecture Unmasked

https://archerhume.com/posts/jevs-architecture-unmasked/
1•nlpnerd•16m ago•0 comments

The Toxicity of Sports Media

https://medium.com/freedomofthought/the-toxicity-of-sports-media-ee6003e241ff
1•raynchad•17m ago•0 comments

Lightweight Markdown Viewer/Editor for Linux and Windows

https://marklite.app
1•mchilson•18m ago•0 comments

Kanye West: A Civil Rights Leader?

https://medium.com/freedomofthought/kanye-west-a-civil-rights-leader-48174114ef3b
1•raynchad•19m ago•0 comments

Elektron Machinedrum in the Browser

https://machinedrum-study.pages.dev/
1•risktopark•19m ago•0 comments

Less Typing, More Work

https://nicolasdular.com/blog/2026/09/20/less-typing-more-work/
3•tosh•25m ago•0 comments

Understanding the European Cyber Resilience Act (CRA)

https://openssf.org/cra-ebook/
3•tapanjk•25m ago•0 comments

Postgres 19: What's new in monitoring?

https://clickhouse.com/blog/postgres-19-monitoring-whats-new
2•saisrirampur•27m ago•0 comments

Find-jevable-code – audit a repo for Jev-replaceable decisions

https://altslate-labs.github.io/jevable-code/
2•ss_y2n•30m ago•0 comments

Grim Fandango Puzzle Document (1996) [pdf]

http://gameshelf.jmac.org/2008/11/13/GrimPuzzleDoc_small.pdf
11•kelseyfrog•32m ago•2 comments

OpenAI Degrading Their Models, Also for Paid Users

https://old.reddit.com/r/codex/comments/1wkwdfl/the_end_of_the_codex_era_ive_completely_lost/
5•theanonymousone•34m ago•0 comments

Bot-free self-hosted analytics with GoatCounter on NixOS

https://vincent.bernat.ch/en/blog/2026-goatcounter
3•zorrn•35m ago•0 comments

Bull Beats Out HPE for Next-Gen Lumi AI Supercomputer

https://www.nextplatform.com/hpc/2026/09/17/bull-beats-out-hpe-for-next-gen-lumi-ai-supercomputer...
1•rbanffy•35m ago•0 comments

We reviewed package-manager ambiguity in 10 public repos

https://www.zfinia.com/research/crosscheck-field-validation
2•Aussie155•38m ago•0 comments

A folding stepladder from fence timber

https://blog.oxplot.com/a-folding-stepladder-from-fence-timber/
2•oxplot•39m ago•0 comments

You could have built Jev

https://sgnt.ai/p/jev/
3•andsoitis•40m ago•0 comments

What Sun Got Wrong

https://bcantrill.dtrace.org/2026/09/20/what-sun-got-wrong/
5•tosh•41m ago•0 comments

How Notion handles concurrent editing with CRDTs

https://www.notion.com/blog/how-notion-handles-concurrent-editing-with-crdts
2•signa11•45m ago•0 comments

Faraday Learns to Reason

https://medium.com/@vektormemory/vektor-v1-9-4-real-tools-for-desk-chat-faraday-learns-to-reason-...
2•vektormemory•48m ago•0 comments

Far-left party wins Berlin election, pledging to nationalise housing

https://www.reuters.com/world/far-left-party-wins-berlin-election-pledging-nationalise-housing-20...
11•theanonymousone•51m ago•5 comments