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

The Vibe Principles

https://github.com/kapitanluffy/vibe-principles
1•kapitanluffy•3m ago•0 comments

8,600 n8n workflow templates organized into a browsable GitHub repo

https://github.com/ScraperNode/awesome-n8n-templates
1•emery_p•3m ago•0 comments

Capability-based authorization for AI agents

https://github.com/Connerlevi/CapNET
1•deathclik•5m ago•0 comments

Hedystia 1.10 – Type Mastery is here

https://docs.hedystia.com
1•Zastinian•5m ago•0 comments

Laid off? Start a small business. Save hours of research

https://startinstates.com/guides
1•GKakhiani•6m ago•0 comments

Apple's App Store in China gets lower 25% commission to appease regulators

https://appleinsider.com/articles/26/03/13/apples-app-store-in-china-gets-lower-25-commission-to-...
1•spenvo•6m ago•0 comments

Leaderboard of Leaderboards – A Real-Time Meta-Ranking of AI Benchmarks

https://huggingface.co/posts/mayafree/802385854425752
1•seawolf2357•8m ago•0 comments

Glimpse: Native macOS micro-UI for scripts and agents

https://github.com/hazat/glimpse
1•rahimnathwani•9m ago•0 comments

List of animals awarded human credentials

https://en.wikipedia.org/wiki/List_of_animals_awarded_human_credentials
1•staticshock•10m ago•0 comments

Pi-generative-UI: Claude.ai's generative UI reverse-engineered, rebuilt for pi

https://github.com/Michaelliv/pi-generative-ui
1•rahimnathwani•12m ago•0 comments

Stout: A drop-in replacement for Homebrew CLI that's 10-100x for most operations

https://github.com/neul-labs/stout
2•sea-gold•16m ago•0 comments

Tome: Open-source documentation platform with Markdown

https://github.com/vxcozy/tome
1•noleary•17m ago•0 comments

Pie Day at the Massachusetts Institute of Tasteology

https://mitadmissions.org/blogs/entry/pi-day-2026-food-institute/
1•d0able•20m ago•0 comments

The exploitation paradox in open source

https://lwn.net/Articles/1058031/
1•signa11•21m ago•0 comments

Show HN: DarkMatter – P2P mesh networking protocol for AI agents

https://loseylabs.ai/docs
1•DanielJLosey•23m ago•0 comments

xAI/SpaceX Poach Two Cursor Leaders

https://twitter.com/elonmusk/status/2032179883858932101
2•bkls•24m ago•0 comments

Microsoft AI Launches Copilot Health

https://microsoft.ai/news/introducing-copilot-health/
1•alexmorley•27m ago•1 comments

We Automated RL Environment Engineering for $10

https://arxiv.org/abs/2603.12145
1•milkkarten•27m ago•0 comments

You can't escape coordination costs by throwing more AI agents at a problem

https://chatbotkit.com/reflections/coordination-has-limits
1•_pdp_•30m ago•0 comments

Show HN: Collected 1000 real business problems that don't have good software yet

https://painsignal.net/
1•gzoo•33m ago•0 comments

Loss of U.S. KC-135 Over Iraq

https://www.centcom.mil/MEDIA/PRESS-RELEASES/Press-Release-View/Article/4432850/loss-of-us-kc-135...
1•beedeebeedee•33m ago•1 comments

FDA-Approved Seizure Drug May Stop Alzheimer's Before It Starts

https://scitechdaily.com/fda-approved-seizure-drug-may-stop-alzheimers-before-it-starts/
2•bilsbie•39m ago•0 comments

Trump Is "Strongly Considering" Pardoning Julian Assange and Edward Snowden

https://twitter.com/BBMagaMom/status/2031894649472758268
2•karp773•42m ago•4 comments

Japan's Comeback: The Race to Build the 2-Nanometer Chip [video]

https://www.youtube.com/watch?v=JzmU5X0R0I8
2•mgh2•45m ago•0 comments

Golden Sets: Regression Engineering for Probabilistic Systems

https://heavythoughtcloud.com/knowledge/designing-a-golden-set
1•ryan-s•47m ago•0 comments

My Website's API Was Flagged as Phishing–and I Still Don't Know Why

https://www.chrisvogt.me/meta/gcp-firebase-api-suspended/
2•valentinemsmith•49m ago•2 comments

Western AI models "fail spectacularly" in farms and forests abroad

https://restofworld.org/2026/ai-agriculture-local-data/
1•i7l•52m ago•0 comments

The War Trump Doesn't Want to Talk About

https://www.newyorker.com/news/letter-from-trumps-washington/the-war-trump-doesnt-want-to-talk-about
3•petethomas•57m ago•1 comments

The State of the Culture (2024)

https://www.honest-broker.com/p/the-state-of-the-culture-2024
1•dgudkov•58m ago•0 comments

"This Is Not the Computer for You"

https://samhenri.gold/blog/20260312-this-is-not-the-computer-for-you/
9•MBCook•1h ago•3 comments