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!

Sears didn't miss e-commerce – Eddie Lampert stripped it [video]

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

Show HN: Let your coding agents set up your test coverage

https://blog.codacy.com/introducing-codacy-skills-part-3-let-your-agent-set-up-test-coverage
1•ARayOutOfBounds•1m ago•0 comments

Tool to explore what skills employers ask for based on 1M+ job postings

https://corvi.careers/skills-explorer/
1•sp1982•2m ago•0 comments

Fewer contrails would be good for the climate

https://www.economist.com/leaders/2026/08/20/fewer-contrails-would-be-good-for-the-climate
1•Gander5739•3m ago•0 comments

Pursuit of AGI

https://cognitus.grrn.io
1•grrnteam•6m ago•1 comments

Satd (Full Bitcoin Node in Rust): Guided Code Tour

https://epochbtc.github.io/satd/tour.html
1•epochbtc•6m ago•0 comments

More than 150 Polymarket wallets may have traded on military secrets

https://www.msn.com/en-gb/money/economy/ar-AA2azznW
3•bcaulfield•7m ago•0 comments

Better Batteries

https://matklad.github.io/2026/08/20/better-batteries.html
1•surprisetalk•7m ago•0 comments

Surprise Treasury Move Can't Mask America's Record Debt Problem

https://www.bloomberg.com/news/newsletters/2026-08-20/surprise-treasury-buyback-can-t-mask-americ...
3•petethomas•9m ago•0 comments

Iceland cuts store losses by 80% with AI-powered theft detection

https://www.retailgazette.co.uk/blog/2026/08/iceland-cuts-store-losses-by-80-with-ai-powered-thef...
2•theanonymousone•10m ago•0 comments

Views on the Dollar Shortage Controversy

https://www.aeaweb.org/research/great-dollar-shortage-debate
1•wslh•11m ago•0 comments

Citizen Devs: Everyone is an engineer now

https://www.massdriver.cloud/blogs/the-citizen-developer
2•metal13•12m ago•0 comments

Ask HN: How did you write code on restricted hardware?

1•diselody•12m ago•1 comments

Go updates may delight diehard gophers but displease AI overlords

https://www.theregister.com/devops/2026/08/20/go-updates-may-delight-diehard-gophers-but-displeas...
1•joebuckwilliams•13m ago•0 comments

Code as an Artifact

https://pradeeproark.com/posts/code-as-an-artifact-means-to-an-end/
2•pradeeproark•13m ago•0 comments

Opus 5 Is Trash

1•no-user•13m ago•2 comments

Show HN: DumpSort – drop screenshots/PDFs, get a named zip (browser-only)

https://dumpsort.vercel.app
2•davidlifschitz•14m ago•0 comments

U.S. Workers Are Paying More for Healthcare, and Next Year Will Be Worse

https://www.wsj.com/health/healthcare/u-s-workers-are-paying-more-for-healthcare-and-next-year-wi...
3•tcp_handshaker•15m ago•0 comments

Software's Differentiated Sell-Off

https://www.a16z.news/p/charts-of-the-week-softwares-selective
1•gmays•15m ago•0 comments

The Hajji Baba Club

https://www.hajjibaba.org/
2•gregsadetsky•18m ago•0 comments

Discriminating stress from cognitive load using a wearable EDA device (2010)

https://pubmed.ncbi.nlm.nih.gov/19906598/
1•wslh•19m ago•0 comments

Meta launches new vibe-coding platform, Pocket, in the US

https://www.neowin.net/news/meta-launches-new-vibe-coding-platform-pocket-in-the-us/
2•bundie•21m ago•2 comments

US July gaming hardware spending dropped to near-2020 out-of-stock lows

https://www.eurogamer.net/circana-july-2026-hardware-software-sales
2•haunter•24m ago•0 comments

The Threat of AI to Media Archives

https://ebird.org/news/threat-of-ai-to-archives
2•steptwo•25m ago•0 comments

You Will Go To Mars (a picture story book)

https://www.youwillgotomars.com/
1•rtills•25m ago•0 comments

Robots are asking for tips. But who gets the money?

https://www.bbc.com/future/article/20260818-do-you-have-to-tip-the-robots
2•rmason•26m ago•1 comments

How to Destroy AI Scam Phone Calls (Short Video)

https://www.youtube.com/shorts/aa0v-24EFy0
1•rmason•29m ago•0 comments

Early-life stress leaves a 'scar' inside brain cells

https://medicine.washu.edu/news/how-early-life-stress-leaves-a-scar-inside-brain-cells/
2•gmays•29m ago•0 comments

Single-User Inference Card

https://markohaberl.substack.com/p/single-user-inference-card
2•mhaberl•31m ago•0 comments

The Jason Arday delusion: Scapegoating is punitive and crass

https://unherd.com/2026/08/the-jason-arday-delusion/
2•cahlingl•32m ago•0 comments