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!

ArXiv receives multiyear commitments to support it as an independent nonprofit

https://blog.arxiv.org/2026/09/23/arxiv-receives-multiyear-investment/
1•JohnHammersley•52s ago•0 comments

ASML currently sells no chipmaking machines in Europe, executive says

https://nltimes.nl/2026/09/22/asml-currently-sells-chipmaking-machines-europe-executive-says
2•doener•4m ago•0 comments

AI leaders warn UN of security risks as systems grow more powerful

https://www.reuters.com/business/ai-leaders-brief-un-amid-warnings-technology-could-slip-beyond-h...
1•layer8•5m ago•0 comments

In-Process MCP for MySQL

https://villagesql.com/blog/mcp/
1•deesix•5m ago•1 comments

Researcher Found 76 Vulnerabilities in Managed PostgreSQL Security Extensions

https://mehmetince.net/part-2-6-breaking-the-superuser-guardrails-attacking-security-hardening-ex...
1•ozirus•5m ago•0 comments

Linux support is coming to Snapdragon X2 Series

https://www.qualcomm.com/news/onq/2026/09/snapdragon-summit-agentic-ai-pcs-linux
1•aaronday•8m ago•0 comments

Toyota is finally taking its best-seller electric

https://electrek.co/2026/09/23/toyota-best-selling-corolla-electric/
2•cisc•9m ago•0 comments

Getting the most out of Opus 5.5 in Claude and Claude Code / claude.dev

https://claude.dev/blog/getting-the-most-out-of-opus-5-5/
1•thisisfatih•13m ago•0 comments

A new world airport and its baggage

https://computer.rip/2026-09-20-denver-baggage.html
1•firloop•15m ago•0 comments

Wasmer Swift SDK: Run Node.js, Python and FFmpeg Sandboxes on iOS

https://wasmer.io/posts/wasmer-sdk-swift-ios-macos
1•syrusakbary•18m ago•0 comments

Open Source Opinions

https://stanceoftheday.com/
1•ydusf•19m ago•0 comments

FBI Hack Exposed FBI's Own Hacking Unit

https://www.404media.co/fbi-hack-exposed-fbis-own-hacking-unit-remote-operations-shinyhunters/
3•mikelgan•19m ago•0 comments

Google's Summer of Love

https://www.demandsphere.com/blog/googles-summer-of-love/
1•rgrieselhuber•19m ago•0 comments

Latent-GRPO and Continuous Reasoning Deep Dive

https://www.g-ftech.com/blog/latent-grpo-deep-dive
1•gfactor_ai•19m ago•0 comments

CB Rank (Person) 1000 Recommendation Your Startup on LinkedIn

https://startup-signal-oleh.restylefutu.chatgpt.site
1•Kizert•25m ago•0 comments

Open Analytics

https://getopen.so
1•handfuloflight•25m ago•0 comments

Show HN: Fjordfall – Take the long way down

https://fjordfall.fly.dev/
1•maddmann•27m ago•0 comments

Mercury 2.5 LLM hits 770 tokens per second

https://artificialanalysis.ai/models/mercury-2-5
2•Retro_Dev•30m ago•1 comments

Jevgpt – reinventing the wheel with another wheel

1•kunggaochicken•31m ago•0 comments

North Korea uses remote IT worker to clandestinely earn NZ currency

https://www.rnz.co.nz/news/world/1549255/north-korea-uses-remote-it-worker-to-clandestinely-earn-...
2•keithnz•33m ago•0 comments

The AI Hype Index: AI Loves Cheating

https://www.technologyreview.com/2026/09/23/1144940/ai-hype-index-ai-loves-cheating/
1•sbulaev•39m ago•0 comments

Show HN: The Mirror Act – a magic show that performs cognitive biases on you

https://themirroract.avestura.dev
1•avestura•40m ago•0 comments

Cortical thinning and hippocampal expansion linked to ADHD symptom trajectories

https://www.repository.cam.ac.uk/items/f7f1efa9-3b29-49e2-b765-60fe44526de6
1•wslh•41m ago•0 comments

I stress-tested LLM quantization by deliberately breaking models

https://github.com/gracejackson-sudo/quant-delta-predictor
1•GraceJackson07•41m ago•0 comments

We just shipped support for the ugliest part of HTTP: Vary – Cloudflare Blog

https://blog.cloudflare.com/vary-support/
2•thisisfatih•43m ago•0 comments

Opus 5.5 Scores 75.6% on Part Catalog Bench

https://partcatalogbench.adamjohnson.site
1•thomas_ma•49m ago•0 comments

Neuromancer in 3 Axioms

https://2600hz.substack.com/p/neuromancer-in-3-axioms
1•josh2600•49m ago•1 comments

Manage Firezone as code with Terraform

https://www.firezone.dev/blog/terraform-provider
1•jamilbk•50m ago•0 comments

The Bayeux Tapestry: Woven by the Victors

https://www.historytoday.com/archive/out-margins/bayeux-tapestry-woven-victors
2•prismatic•52m ago•0 comments

Where's the Beef?: The lab-grown-meat revolution that wasn't

https://harpers.org/archive/2026/09/wheres-the-beef-lab-grown-meat-erin-somers/
2•Hooke•52m ago•0 comments