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!

Human land use drives microplastic abundance in terrestrial wildlife

https://www.nature.com/articles/s41586-026-11285-x
1•bryanrasmussen•10m ago•0 comments

Disk encryption on NetBSD – achieving secrecy

https://netbsd.org/~nia/disk-encrypt/
2•jaypatelani•13m ago•0 comments

The elites just went into hiding [video]

https://www.youtube.com/watch?v=qAd1myPXrRk
1•Bender•18m ago•0 comments

Reading and Working for Salon

https://www.typebarmagazine.com/on-reading-and-working-for-salon/
1•rdmuser•19m ago•1 comments

B.C. arbitrator imposes first union contract for Amazon workers in North America

https://www.cbc.ca/news/canada/british-columbia/amazon-union-contract-b-c-first-north-america-9.7...
5•Teever•19m ago•1 comments

96.0% on LongMemEval: what retrieval does for long-term memory

https://www.papr.ai/blog/papr-longmemeval-96
1•amirkabbara•20m ago•0 comments

Confessions of an AI Skeptic

https://daniel-azuma.com/blog/2026-11-12-ai-skeptic/
1•gashad•22m ago•0 comments

Show HN: Four bite-sized chess puzzle games built on micro-boards

1•navalsaini•22m ago•0 comments

Turing Complete: Learn CPU architecture with puzzles

https://store.steampowered.com/app/1444480/Turing_Complete/
1•totallymike•25m ago•1 comments

Show HN: Hazel – Declarative schema management for SQLite

https://github.com/winebarrel/hazel
1•winebarrel•31m ago•0 comments

Rust Is the New C

https://www.namtao.com/rust-is-the-new-c/
2•hatamoto•43m ago•0 comments

Munich Laser Emits a Beam of Matter Waves (1999)

https://www.sciencedaily.com/releases/1999/03/990317060831.htm
1•peter_d_sherman•53m ago•1 comments

Anthropic CVP (Mythos) Defense Access Requirements Reduced to KYC

https://portal.anthropic.com/login?returnTo=%2Fprograms%2Fcvp#_
1•jcomp•53m ago•1 comments

New study narrows the timeline for the emergence of life on Earth

https://gizmodo.com/early-earth-was-a-molten-asteroid-blasted-hellscape-scientists-now-know-when-...
2•gmays•55m ago•0 comments

How Jensen Huang Built the Backdoor Route That Keeps Beijing in the AI Race

https://www.wsj.com/tech/jensen-huang-backdoor-ai-data-centers-a5e4499d
4•ViktorRay•1h ago•1 comments

Kiri – The Modern Container Runtime

https://runkiri.com/
12•nikolay•1h ago•7 comments

Show HN: Gawain – Require type hints on all Python variables

https://github.com/matheuzgomes/gawain
16•MarinhoD•1h ago•3 comments

Agent Substrate: The Core System

https://github.com/agent-substrate/substrate
3•thunderbong•1h ago•0 comments

Anthropic, can you please make up your mind with your models?

4•xlayn•1h ago•1 comments

Europe's Digital Wallets May Be More Traceable Than Intended

https://spectrum.ieee.org/europe-digital-id-security-cryptography
2•geox•1h ago•0 comments

Songs That Explain America

https://www.theatlantic.com/culture/2026/09/50-songs-explain-america-playlist/687598/
1•gmays•1h ago•0 comments

Training Your Replacement: Worker Incentives and the Pace of Automation

https://www.nber.org/papers/w35950
2•rohanm93•1h ago•0 comments

Discovery Feed for Agents

https://twitter.com/cadenbuild/status/2121372002313503003
1•cadenli2025•1h ago•0 comments

Smart AI Keyboard: Translate

https://play.google.com/store/apps/details?id=smart.ai.keyboard&hl=en_US
1•aikeyboard•1h ago•0 comments

FAA Outage: Why Duffy Is Spelled with Two Ms

https://www.flyingpenguin.com/faa-outage-why-duffy-is-spelled-with-two-ms/
1•zzzeek•1h ago•1 comments

Heading over Humanity

https://www.writingruxandrabio.com/p/handing-over-humanity
1•hwacth•1h ago•0 comments

Ranking 162 anime by how much of their dialogue is common words

https://etoku.app/anime/easiest
2•willmorrison•1h ago•3 comments

Show HN: Turbo-Browser-MCP – Batch forms, DOM deltas and submit guards for MCP

https://github.com/Tthanh2k6/turbo-browser-mcp
8•tthanh2k6•1h ago•0 comments

SRT Link to Red5 Opens Path to Real-Time Streaming Everywhere

https://www.red5.net/blog/srt-realtime-streaming-everywhere/
2•mondainx•1h ago•0 comments

Show HN: A blog on how computers work from scratch (1)

https://dinank.dev/posts/between-wall-and-first-fetch.html
2•daynum•1h ago•2 comments