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!

Eating less protein could slow aging, major review finds

https://www.sciencedaily.com/releases/2026/08/260801042811.htm
1•OutOfHere•1m ago•0 comments

Maximum Overkill

http://www.os2museum.com/wp/maximum-overkill/
1•userbinator•2m ago•0 comments

Bubble Memory

https://en.wikipedia.org/wiki/Bubble_memory
2•jacquesm•13m ago•0 comments

Show HN: Draco – A single-binary, self-hostable Firecrawl alternative in Rust

https://github.com/0xchasercat/draco/
2•ccheshirecat•15m ago•0 comments

AI Mania: From Tulips to Tokens

https://seanhelvey.com/tools-and-their-tools/
3•Lambda11•15m ago•1 comments

Estimating Fable and Sol model sizes

https://twitter.com/anpaure/status/2083993647268405602
5•grahamsfde•19m ago•0 comments

EU Age Verification Project Mandates Hardware-Bound Attestation

https://linuxiac.com/eu-age-verification-project-mandates-hardware-bound-attestation/
4•RobotToaster•19m ago•0 comments

Special Relativity Boot Camp: A Geometry-First Introduction to Special Relativit

https://www.acsu.buffalo.edu/~whkinney/SpecialRelativityBootCamp/
2•fanf2•21m ago•0 comments

Anthropic's Fever Dream: Claude's package that stole real keys

https://www.aikido.dev/blog/anthropic-rogue-agents-package-stole-keys
5•lschueller•27m ago•0 comments

The next 50 years: humanity, AI, power – Yuval Noah Harari [video]

https://www.youtube.com/watch?v=_V_ed5fuexA[Video]
2•jamesblonde•28m ago•0 comments

Show HN: Authoryze- payment controls for AI agents

https://authoryze.ai
3•kevinfee•29m ago•2 comments

Show HN: Make your Framework 12 sound like a creaky door

https://github.com/ArcaEge/creakwork12
2•arcaege•30m ago•0 comments

GestãO de Carteiras E Ativos (Brazilian Project)

https://zeca.app.br/
2•selic•34m ago•0 comments

Healthy Criticism

https://karim.cloud/blog/posts/healthy-criticism
3•k_shehadeh•36m ago•0 comments

Sharing an X11 Server Across Hosts with FamilyWild

https://dobrowolski.dev/article/sharing-an-x-server-across-hosts-with-familywild/
4•shirozuki•36m ago•0 comments

A Top Law Firm Went from Standing Up to Trump to Bending the Knee

https://www.nytimes.com/2026/08/02/us/politics/paul-weiss-trump.html
6•JumpCrisscross•37m ago•3 comments

SynthID watermark is hard to break, but it doesn't solve AI disinformation

https://arstechnica.com/ai/2026/07/tested-google-synthid-works-great-but-labeling-ai-content-may-...
3•saikatsg•41m ago•0 comments

Python-based backtesting for Polymarket, with h5i-db

https://medium.com/@Koukyosyumei/python-based-backtesting-for-polymarket-with-h5i-db-a9fefee27ac9
2•syumei•43m ago•0 comments

Games at the press of a button: The Rip-O-Bot (1989)

https://blog.gingerbeardman.com/2026/08/02/games-at-the-press-of-a-button-the-rip-o-bot/
2•msephton•44m ago•0 comments

Plotlines: Every place and journey in every literature classic, on one map

https://peter-guillam123.github.io/plotlines/index.html
2•theanonymousone•45m ago•0 comments

Let the Machines In

https://blog.semenzin.com/let-the-machines-in/
4•lluvt•46m ago•0 comments

I gave local AI eyes

https://github.com/zyads/eyes
2•aether-zyads•47m ago•0 comments

Shed Blog

https://www.shedblog.co.uk/
4•thinkingemote•51m ago•0 comments

Adding Go's Defer to the TypeScript Compiler

https://healeycodes.com/adding-defer-to-the-typescript-compiler
2•healeycodes•51m ago•0 comments

Malaysia is reportedly shutting down Balaji Srinivasan's Network School

https://techcrunch.com/2026/08/02/malaysia-is-reportedly-shutting-down-balaji-srinivasans-network...
3•aanet•52m ago•0 comments

Show HN: MicroCodex Coding Agent – OpenAI/codex reimplemented in C++ <1MB binary

https://github.com/paoloanzn/microcodex
3•paoloanzn•52m ago•0 comments

Doxy – a browser Markdown and HTML editor (like Overleaf but no LaTeX)

https://trydoxy.com
2•iliesw•52m ago•0 comments

Why Curiosity May Be the Most Underrated Career Skill

https://www.forbes.com/sites/rodgerdeanduncan/2025/12/11/why-curiosity-may-be-the-most-underrated...
5•speckx•56m ago•1 comments

Bill Watterson: A Cartoonist's Advice

https://www.zenpencils.com/comic/128-bill-watterson-a-cartoonists-advice/
2•mixmastamyk•57m ago•0 comments

Engineering behind the xPal private messaging app cross-device message deletion

https://xpalapp.substack.com/p/the-engineering-behind-the-xpal-private
2•Brandon-Coll•59m ago•0 comments