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

Harvard Caps A's as Selective Colleges Attack Grade Inflation

https://www.nytimes.com/2026/05/20/us/harvard-grade-inflation.html
1•galleywest200•41s ago•0 comments

Show HN: Catio - AWS Diagrams and Architecture Copilot

https://www.catio.tech/
1•sirmilesdu•1m ago•0 comments

A Cattle Ranch Is Doing What the Ivy League Can't

https://www.nytimes.com/2026/05/20/opinion/deep-springs-college-ivy-league-education.html
1•7402•1m ago•1 comments

The Rise of the High-Range, Less Expensive E.V

https://www.nytimes.com/2026/04/27/upshot/cheap-electric-cars-gas-prices.html
1•mooreds•1m ago•0 comments

Transformer vs. Post-Transformer Debate: Kaiser, Kosowski, Jones, Lechner [video]

https://www.youtube.com/watch?v=hCjoMLuCuLQ
1•Cappybara12•1m ago•0 comments

Hormuz closure could trigger 'agrifood shock', price crisis within a year

https://www.reuters.com/world/middle-east/hormuz-closure-could-trigger-agrifood-shock-price-crisi...
1•mooreds•2m ago•0 comments

Server-side analytics catches AI crawlers and attackers JavaScript misses

https://radar.syswp.com.br/
1•aporce•2m ago•0 comments

Samsung Overtakes Apple for Top Smartphone Customer Satisfaction

https://www.macrumors.com/2026/05/20/samsung-overtakes-apple-for-customer-satisfaction/
1•ndr42•2m ago•0 comments

CEO Walks Back Comment About Replacing 'Lower-Value Human Capital' with AI

https://www.wsj.com/finance/banking/ceo-walks-back-comment-about-replacing-lower-value-human-capi...
1•Brajeshwar•4m ago•0 comments

"This paper is LLM reviewed" > "this paper is peer-reviewed"

https://www.youtube.com/watch?v=m1ddx427bHI
1•bicepjai•5m ago•1 comments

Dopamine disruption in mouse entorhinal cortex knock-in model of Alzheimer's dis

https://www.nature.com/articles/s41593-026-02260-w
1•bookofjoe•5m ago•0 comments

Erasing Existentials

https://wolfgirl.dev/blog/2026-05-20-erasing-existentials/
1•speckx•6m ago•0 comments

Ban Non-Compete Clauses

https://democracyjournal.org/magazine/80/ban-non-compete-clauses/
1•cainxinth•10m ago•1 comments

SilverBullet+ Release

https://community.silverbullet.md/t/silverbullet-release/4142
1•edward•10m ago•0 comments

Tor X FTC Quadratic Funding

https://internetfreedom.torproject.org
1•Cider9986•10m ago•0 comments

Sycophantic AI Decreases Prosocial Intentions and Promotes Dependence (2025)

https://arxiv.org/abs/2510.01395
1•mpweiher•10m ago•0 comments

Command A+: Making sovereign agentic capabilities available to all

https://cohere.com/blog/command-a-plus
1•tulpa•12m ago•1 comments

Show HN: Homecrew – Share agent skills across your team and keep them in sync

https://crew.logic.inc
2•sgk284•14m ago•0 comments

Apparently Google hates us now

https://twitter.com/pokemoncentral/status/2057123807404638250
24•zeitg3ist•15m ago•4 comments

Scalable Packed Layouts for Vector-Length-Agnostic ML Code Generation

https://arxiv.org/abs/2605.12445
2•matt_d•16m ago•0 comments

A prize-winning story published in Granta was (likely) written by AI

https://lithub.com/a-prize-winning-story-published-in-granta-was-very-likely-written-by-ai/
2•ilamont•16m ago•0 comments

Fifty Hours to Draw Some Lines

https://www.dougmacdowell.com/50-hours-to-draw-some-lines.html
3•dougdude3339•16m ago•0 comments

Show HN: Formae now supports Kubernetes, Helm, .tfvars and a public plugin hub

https://github.com/platform-engineering-labs/formae
6•discountelf•17m ago•0 comments

Policing AI Use in Writing

http://colabopad.blogspot.com/2026/05/policing-ai-use-in-writing.html
3•Edmond•17m ago•0 comments

OpenAI Is Preparing to File for an IPO Soon

https://www.wsj.com/tech/ai/openai-is-preparing-to-file-for-an-ipo-very-soon-0ec95af5
12•louiereederson•18m ago•1 comments

Ethereum plans to move from BLS signatures to post quantum secure signatures

https://hashcloak.com/blog/how-ethereum-plans-to-replace-bls-with-post-quantum-signatures
2•badcryptobitch•18m ago•0 comments

Meta lays off 8k employees

https://www.nytimes.com/2026/05/19/technology/meta-layoffs-ai.html
4•Murfalo•18m ago•0 comments

Thomas Massie loses seat after releasing Epstein files -but it's worse than that [video]

https://www.youtube.com/watch?v=ChHMyyRwAcs
4•Cider9986•19m ago•0 comments

Why is Outlook email search so bad?

https://twitter.com/el1s7/status/2057133248556187910
3•_el1s7•20m ago•0 comments

AI and the Future of Music

https://www.youtube.com/watch?v=pDB3yyQnWOQ
3•samdafi•21m ago•1 comments