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!

Digitizing super 8 film yourself

https://nibblestew.blogspot.com/2026/08/digitizing-super-8-film-yourself.html
1•JNRowe•50s ago•0 comments

For coding agents, optimize cost per successful task, not cost per token

https://medium.com/@mia.efoxtech/the-wrong-way-to-compare-gpt-5-6-and-claude-for-coding-c6f99275643b
1•AnneWodell•6m ago•0 comments

Chinese censorship is leaking into answers from American AI

https://www.wsj.com/tech/ai/chinese-censorship-is-leaking-into-answers-from-american-ai-62abeca5
2•dash2•7m ago•0 comments

Drug Discovery Has No Magic Wands

https://deepphenotype.substack.com/p/drug-discovery-has-no-magic-wands
1•ogundipeore•7m ago•0 comments

A digestion of the proof of Sendov's conjecture

https://terrytao.wordpress.com/2026/08/12/a-digestion-of-the-proof-of-sendovs-conjecture/
1•pykello•10m ago•0 comments

Can Students Sue Cambridge? [video]

https://www.youtube.com/watch?v=s6qREgFluLs
1•nomilk•11m ago•0 comments

The beginning of a process-builder API

https://lwn.net/Articles/1086330/
1•pykello•12m ago•0 comments

ColdFront: Transparent Pg and Iceberg Tiering

https://github.com/pgEdge/coldfront
1•oopsy-dopsy•14m ago•1 comments

DHH: Linux adoption among programmers is about to go parabolic

https://twitter.com/dhh/status/2087586011224084808
1•durdn•14m ago•0 comments

Show HN: Save Repo – An Apple Shortcut for Updating GitHub Files from iPhone

https://github.com/turancannb02/save-repo
1•turancanb02•14m ago•0 comments

Netflix Has Peaked

https://daringfireball.net/linked/2026/08/11/netflix-has-peaked?trk=feed_main-feed-card_feed-arti...
3•scott01•17m ago•3 comments

GPT-5.6, Gemini 3.6 Flash, Grok 4.5, Kimi K3, GLM-5.2 compared

https://medium.com/@CometAPI_/the-july-2026-model-wave-gpt-5-6-gemini-3-6-flash-grok-4-5-kimi-k3-...
2•WavyPeng•18m ago•0 comments

llambda.lisp: Bare-Metal, Multi-Threaded, AVX2-Accelerated LLM inf eng in CL

http://funcall.blogspot.com/2026/07/llambdalisp.html
2•andsoitis•23m ago•0 comments

AIPass – AI agents with persistent identity, memory, and email

https://github.com/AIOSAI/AIPass
3•AIOSAI•24m ago•0 comments

General Catalyst leads $1.1B round into 2-month-old River AI

https://techcrunch.com/2026/08/11/general-catalyst-leads-1-1b-round-into-2-month-old-river-ai/
2•doppp•26m ago•0 comments

Midjourney's First Acquisition

https://updates.midjourney.com/midjourneys-first-acquisition/
3•swyx•31m ago•1 comments

Secret-scan: find leaked secrets in your repo – one zero-dependency Python file

https://github.com/ninthlife-tools/secret-scan
2•ninthlife•34m ago•0 comments

Aperture – Proxy Auto-Tracking

https://www.npmjs.com/package/aperture-store
2•oyeappu•37m ago•0 comments

Pixel 11, Pixel 11 Pro and Pixel 11 Pro XL

https://blog.google/products-and-platforms/devices/pixel/google-pixel-11-pro-xl/
2•tosh•38m ago•0 comments

Clojure's Deadly Sin

https://clojure-goes-fast.com/blog/clojures-deadly-sin/
3•xylon•38m ago•0 comments

Apple in Talks to Pay Publishers for News Content to Power Siri AI

https://www.macrumors.com/2026/08/12/apple-siri-ai-publisher-talks/
2•mgh2•42m ago•0 comments

Silurian Hypothesis

https://en.wikipedia.org/wiki/Silurian_hypothesis
3•evo_9•44m ago•0 comments

The Appwrite CLI is now written in Go

https://appwrite.io/blog/post/rewriting-the-appwrite-cli-in-go
4•chiragagg5k•48m ago•0 comments

Watermarks-remover: Strip multi-vendor AI provenance marks

https://github.com/guillaumemeyer/watermarks-remover
3•thunderbong•48m ago•0 comments

Astronomers discover a new kind of cosmic object – a black hole 'star'

https://www.theguardian.com/science/2026/aug/12/astronomy-discovery-new-cosmic-object-black-hole-...
2•sandebert•49m ago•0 comments

Show HN: Fab Friends a crowdfunding site for Rwandan college students

https://www.joinfabfriends.org/donate
1•muramira•50m ago•1 comments

New Study Shows Hiking with an Engineer Has No Effect on Daily Enjoyment

https://thetrek.co/pacific-crest-trail/new-study-shows-hiking-with-an-engineer-has-no-effect-on-d...
1•theanonymousone•51m ago•0 comments

Made by Google 2026

https://blog.google/products-and-platforms/devices/pixel/made-by-google-2026/
1•saikatsg•57m ago•0 comments

Did poop enable the evolution of complex animals?

https://arstechnica.com/science/2026/08/feces-fueled-a-flurry-of-evolution-during-the-cambrian-st...
2•jnord•1h ago•0 comments

DeepMind Models

https://deepmind.google/models/
1•nimsarajay•1h ago•0 comments