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

Refined Claude Code on the Web Browser Extension

https://github.com/pisrcio/refined-claude-code-on-the-web
1•zxhmike•27s ago•0 comments

Martin Luther (German)

https://en.wikipedia.org/wiki/Martin_Luther
1•barrister•4m ago•0 comments

Claude Code Tips

https://www.builder.io/blog/claude-code
1•testelastic•4m ago•0 comments

Elon Musk is getting serious about orbital data centers

https://techcrunch.com/2026/02/05/elon-musk-is-getting-serious-about-orbital-data-centers/
1•evo_9•7m ago•0 comments

San Francisco is seeing a jobless AI boom

https://www.sfexaminer.com/news/technology/san-francisco-ai-boom-tech-jobs-plateau/article_f1b372...
1•randycupertino•7m ago•0 comments

Team unveils simpler, faster way to make vaccines

https://medicalxpress.com/news/2026-01-team-unveils-simpler-faster-vaccines.html
1•PaulHoule•7m ago•0 comments

"Slow Tuesday Night" by R. A. Lafferty (2015)

http://apbsal.blogspot.com/2015/01/slow-tuesday-night-by-r-lafferty.html
1•walterbell•8m ago•0 comments

Django Reinhardt

https://en.wikipedia.org/wiki/Django_Reinhardt
1•barrister•9m ago•2 comments

O Que é Desenvolvimento Pessoal E Profissional de Verdade

https://voltepracaixa.substack.com/p/o-que-e-desenvolvimento-pessoal-e
1•wmeller•11m ago•0 comments

It's 2026, Just Use Postgres

https://www.tigerdata.com/blog/its-2026-just-use-postgres
1•turtles3•11m ago•0 comments

Epstein Graph Visualization

https://epsteinsecrets.com/network
2•oldfuture•12m ago•0 comments

Recursive Self-Improvement (Part I)

https://www.hyperdimensional.co/p/on-recursive-self-improvement-part
1•typeofhuman•13m ago•0 comments

Live agent face-off in CivBench: Claude Opus 4.6 vs. GPT-5.2

https://www.clashai.live
3•mbh159•15m ago•2 comments

Infrastructure configuration can swing coding evals by several % points

https://www.anthropic.com/engineering/infrastructure-noise
3•jackyzhao•18m ago•0 comments

Preserving the Open Web: Inside the New Wayback Machine Plugin for WordPress

https://blog.archive.org/2026/02/04/inside-the-new-wayback-machine-plugin-for-wordpress/
2•bookofjoe•19m ago•0 comments

I'm in the Epstein Files

https://lapcatsoftware.com/articles/2026/2/2.html
3•zdw•26m ago•0 comments

Django: Profile Memory Usage with Memray

https://adamj.eu/tech/2026/01/29/django-profile-memray/
2•todsacerdoti•27m ago•0 comments

Instacloud as infinite cloud storage using Instagram as remote disk

https://github.com/depreciating/InstaCloud
2•el3ctron•28m ago•1 comments

Calling Lean Functions as Python Functions

https://www.philipzucker.com/leancall/
2•todsacerdoti•29m ago•0 comments

Expertise is a Relic; They want Drones

https://bill-rider.com/2026/02/05/expertise-is-a-relic-they-want-drones/
4•dyukqu•30m ago•0 comments

Fli4l

https://en.wikipedia.org/wiki/Fli4l
2•Tomte•32m ago•0 comments

Why AI-Generated Code Will Hurt Both Customers and Companies

https://beastx.ro/why-ai-generated-code-will-hurt-both-customers-and-companies
2•birdculture•32m ago•0 comments

Voxtral.c Voxtral Realtime 4B model inference as a C library

https://github.com/antirez/voxtral.c
2•antirez•34m ago•0 comments

Aqua2Terra: Bringing subsea cable architecture to terrestrial fiber networks

https://media.licdn.com/dms/document/media/v2/D4E1FAQHgI3NNaBkyXA/feedshare-document-pdf-analyzed...
2•Henry3•34m ago•0 comments

Ottermon.ai – Effortless Observability Deployed in Seconds

https://www.ottermon.ai/
2•puppion•36m ago•0 comments

Learning to Reason in 13 Parameters

https://twitter.com/jxmnop/status/2019251724020772933
3•MaxLeiter•36m ago•1 comments

The Logic of Surveillance (2013)

https://www.ianwelsh.net/the-logic-of-surveillance/
2•bediger4000•40m ago•0 comments

Claude Code Is the Inflection Point

https://newsletter.semianalysis.com/p/claude-code-is-the-inflection-point
2•kakugawa•40m ago•2 comments

Experimental: Add xx-zones protocol for area-limited window positioning

https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/264
1•watashiato•41m ago•0 comments

Show HN: API Unit manage and schedule real API test flows, not just requests

https://apiunit.io
2•tudalv•42m ago•0 comments