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!

Jeff Bezos just filed to sell $4B in Amazon

https://www.cnbc.com/2026/08/04/jeff-bezos-just-filed-to-sell-4-billion-in-amazon-the-shares-are-...
1•johnbarron•34s ago•0 comments

Auto Router (Beta) – API Pricing and Providers – OpenRouter

https://openrouter.ai/openrouter/auto-beta
1•helsinkiandrew•1m ago•0 comments

From One Seed to a Thousand Leaves – Merkle's Authentication Tree

https://0xkrt26.github.io/math_behind_security/2026/08/03/merkle-tree.html
1•denismenace•2m ago•0 comments

FCC Commissioners Face Ethics Complaints for Taking Luxury Gifts from Paramount

https://www.propublica.org/article/fcc-paramount-gifts-brendan-carr-ethics-complaint-warner-bros-...
1•hn_acker•3m ago•0 comments

Feige's Conjecture

https://arxiv.org/abs/2607.24528
1•surprisetalk•3m ago•0 comments

Juniq: Europe's Quantum Buffet

https://www.hpcwire.com/2026/08/03/juniq-europes-quantum-buffet/
1•rbanffy•4m ago•0 comments

EFF Joins Call for FTC to Drop Its Disastrous AI Policy Proposal

https://www.eff.org/deeplinks/2026/08/eff-joins-comments-calling-ftc-drop-its-ai-policy-proposal
2•hn_acker•4m ago•0 comments

Finger Frame AI

https://github.com/sophiamyang/finger-frame-effect-ai
1•luispa•5m ago•0 comments

The LLMs Problems

1•noreplydev•6m ago•0 comments

NASA Images Through History

https://nasa-images.net/
1•alpha_trion•9m ago•1 comments

Self-Improving Agents Are Event-Sourced

https://lobu.ai/blog/self-improving-agents-are-event-sourced/
1•buremba•9m ago•0 comments

The Unreadable Winter

https://drlennecefer.substack.com/p/the-unreadable-winter
1•twp•9m ago•0 comments

I Traded Coffee for Energy Drinks–and Nearly Lost My Mind

https://www.wsj.com/arts-culture/food-cooking/energy-drinks-celsius-coffee-caffeine-aeb507d7
1•thm•9m ago•0 comments

Gavin Newsom Makes an Ass of Himself on Antitrust, Paramount Merger

https://www.techdirt.com/2026/08/04/gavin-newsom-makes-an-ass-of-himself-on-antitrust-paramount-m...
1•hn_acker•9m ago•0 comments

Big Walk

https://store.steampowered.com/app/1478500/Big_Walk/
1•gregsadetsky•11m ago•0 comments

The Youth AI Privacy Act's Privacy Paradox

https://www.eff.org/deeplinks/2026/08/youth-ai-privacy-acts-privacy-paradox
2•Brajeshwar•11m ago•0 comments

Milvus 3.0: lake-native, S3-based storage,post-search processing

https://milvus.io/blog/announcing-milvus-3-lake-native-vector-search-and-a-more-powerful-retrieva...
1•Fendy•11m ago•1 comments

Show HN: Guide AI coding agents on how to use libraries securely

https://github.com/Reware-Labs/securitycards
1•hajipour•12m ago•0 comments

Show HN: React-mediadrop – hooks-first headless uploader, pluggable transport

https://github.com/autorender/react-mediadrop
2•vasanthrb•13m ago•0 comments

Using Codex as a diet and exercise coach

https://usefully-wrong.com/posts/codex-as-coach/
1•askytb•13m ago•0 comments

Celeris-1 tops AI speed ranking at 2,158 tokens per second

https://runtimewire.com/article/celeris-1-tops-ai-speed-ranking-diffusion-model
1•ryanmerket•14m ago•0 comments

Show HN: We gave a voice agent an inner monologue so it stops forgetting

https://waterr.ai/research/monologue
1•harshit119•14m ago•0 comments

Macro: Unified email, messages, docs, tasks, agents, CRM for teams

https://github.com/macro-inc/macro
1•nateb2022•14m ago•0 comments

Three major PC makers now using Chinese memory

https://www.tomshardware.com/tech-industry/three-major-pc-makers-now-using-chinese-memory-to-figh...
2•rbanffy•16m ago•0 comments

Show HN: Share context between friends via MCP

https://crosswalk.to/
1•jase_jase•16m ago•0 comments

It's not a fear of "AI communism"; it's a fear of competitive market capitalism

http://observationalepidemiology.blogspot.com/2026/07/its-not-fear-of-ai-communism-its-fear.html
1•speckx•16m ago•1 comments

We built a software factory to drive Astro's GitHub issue count to zero

https://blog.cloudflare.com/astro-issue-triage/
1•sbulaev•17m ago•0 comments

Foods I use for brain fog instead of supplements

https://www.plantbasededit.com/6-foods-i-use-for-brain-fog-instead-of-supplements/
1•martinagabr•19m ago•0 comments

USGS launches interactive maps of real-time streamflow conditions

https://www.usgs.gov/centers/new-england-water-science-center/news/usgs-launches-interactive-stre...
2•MarcoDewey•20m ago•1 comments

YInMn Blue: The first new blue in two centuries

https://chemistry.oregonstate.edu/chemistry-news-events/yinmn-blue
2•zhinit•20m ago•0 comments