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!

It's Time to Change the Math Calculus

https://www.forbes.com/sites/lindadarlinghammond/2025/06/28/its-time-to-change-the-math-calculus-...
1•andrewstetsenko•1m ago•0 comments

Proton protocols: The next chapter of WireGuard at Proton VPN

https://protonvpn.com/blog/protun-technical
1•karlzt•1m ago•0 comments

Show HN: See why Google and AI ignore your site and how to fix it

https://beseen.so
1•alexcloudstar•1m ago•0 comments

Liquid Network Pauses After $320M Bitcoin Withdrawal

https://coinmarketcap.com/community/post/379112837/
1•joeymabia1•2m ago•0 comments

Huawei, Xiaomi launch new foldable smartphones ahead of Apple event

https://www.reuters.com/technology/huawei-launches-new-foldable-smartphone-competition-with-xiaom...
1•geox•2m ago•0 comments

Europe's biggest mobile operators in talks for satellite-to-mobile venture

https://www.reuters.com/business/media-telecom/europes-biggest-mobile-operators-talks-satellite-t...
1•giuliomagnifico•3m ago•0 comments

Volkswagen to cut 100,000 jobs by end of decade

https://www.dw.com/en/volkswagen-to-cut-100000-jobs-by-end-of-decade/a-78896123
2•Betelbuddy•3m ago•0 comments

VMtree is a fast and easy way to provision self-hosted ephemeral VMs

https://github.com/kkovacs/vmtree
2•indigodaddy•3m ago•0 comments

€33M Raised in Final Edition of French Streamers' Charity Event

https://www.rtl.fr/actu/sciences-tech/zevent-2026-pres-de-33-millions-d-euros-recoltes-pour-l-ult...
2•LelouBil•4m ago•0 comments

Show HN: Possess, a TUI to browse and transfer coding sessions

https://github.com/steven-p-walsh/Possess
2•swalsh•4m ago•0 comments

What We Can Learn from Claude's Fable 5.1 System Prompt Changes

https://www.dbreunig.com/2026/09/07/what-we-can-learn-from-claude-s-fable-5-1-system-prompt.html
2•dbreunig•5m ago•0 comments

Why Labor's Share of Wealth Is Shrinking

https://www.nytimes.com/2026/09/07/opinion/labor-capitol-workers-income.html
2•marojejian•5m ago•1 comments

The Artificial Analysis Intelligence Index v4.3

https://artificialanalysis.ai/articles/artificial-analysis-intelligence-index-v4-3
2•wertyk•6m ago•0 comments

TrenchBoot DRTM Launch of Xen on Intel Sapphire Rapids

https://www.youtube.com/watch?v=GfOf6EYTClU
2•mkopec•11m ago•1 comments

Arabizi

https://en.wikipedia.org/wiki/Arabizi
2•simonebrunozzi•11m ago•0 comments

Arguments in Favor of AI Fair Use

https://kevinkelly.substack.com/p/arguments-in-favor-of-ai-fair-use
3•thm•11m ago•0 comments

One place to build, run and govern your company's AI agents

https://github.com/vstorm-co/agenticos
1•outageroom•12m ago•0 comments

I've operated petabyte-scale ClickHouse clusters for 5 years

https://www.tinybird.co/blog/what-i-learned-operating-clickhouse
1•adastral•12m ago•0 comments

After IndexNow: 6 Launch Channels Indie Founders Skip, and How to Hit Them

https://capytoolkit.com/blog/guides/after-indexnow-6-launch-channels-indie-founders-skip-weekend/
1•ChillyCapy•13m ago•0 comments

Getting started with the Mantis harness to find and fix bugs

https://cloud.google.com/blog/products/identity-security/getting-started-with-the-mantis-harness-...
2•joshcsimmons•15m ago•0 comments

GPT-6 Astra and the Fourth Exponential

https://taekim.substack.com/p/gpt-6-astra-and-the-fourth-exponential
2•thm•17m ago•0 comments

Halide – a language for fast, portable computation on images and tensors

https://halide-lang.org/
2•peter_d_sherman•18m ago•1 comments

A look at Anthropic's Labs team

https://www.businessinsider.com/anthropic-labs-team-ai-innovation-ipo-2026-9
3•utiiiD•20m ago•0 comments

10 Brutally Honest Predictions on the Future of AI

https://www.honest-broker.com/p/10-brutally-honest-predictions-on
3•FinnLobsien•20m ago•1 comments

Steve Jobs, Closed Macs, and Me: A Guest Post

https://pogueman.substack.com/p/steve-jobs-closed-macs-and-me-a-guest
3•rbanffy•21m ago•0 comments

We are giving Big Tech what they want: the blunder of under-16 social media bans

https://policyreview.info/articles/news/we-are-giving-big-tech-what-they-want-strategic-blunder-u...
5•DeepLogin•22m ago•0 comments

Show HN: Snag, a small HTTP regression test runner

https://github.com/ShortyPing/snag
2•ShortPing•23m ago•0 comments

No constitutional right to clean water, federal court finds

https://www.usatoday.com/story/news/nation/2026/09/07/court-constitution-right-clean-water/916494...
7•measurablefunc•24m ago•0 comments

Fleet: Every GPU Deserves a Rating

https://webgpu-kernels-fleet.hf.space/
2•sroussey•27m ago•0 comments

Server says "200 OK". It's lying

https://silens.no/
2•robertgref•27m ago•1 comments