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!

METR Report on OpenAI / Hugging Face Hacking Incident

https://metr.org/blog/2026-08-26-openai-hugging-face-incident-investigation/#core-takeaways-about...
1•stikit•42s ago•0 comments

Justice Dept. Sides with OpenAI in New York Times Copyright Suit

https://www.nytimes.com/2026/09/02/technology/justice-department-openai-copyright-suit.html
4•sbulaev•2m ago•0 comments

Chapter 10: Sites That Are Programs (2003)

https://philip.greenspun.com/panda/server-programming
1•so-cal-schemer•3m ago•1 comments

FDA Authorizes First-of-Its-Kind Robotic Blood Draw Device

https://www.fda.gov/news-events/press-announcements/fda-authorizes-first-its-kind-robotic-blood-d...
1•Ariarule•5m ago•0 comments

M6 Mac Mini vs. M1 Mac Mini: original Apple Silicon versus the new

https://appleinsider.com/inside/mac-mini/vs/m6-mac-mini-vs-m1-mac-mini-five-year-gap-hardware-com...
1•theanonymousone•5m ago•0 comments

AI-Memory 2.0 – The Best Memory System for Agents and Teams

https://akitaonrails.com/en/2026/09/02/ai-memory-2-0-best-memory-system-for-agents-and-teams/
1•taiar•5m ago•0 comments

Ontologies catch untrustworthy LLM claims

https://antithetical-labs.com/blog/the-judge-liked-it-better/
1•aals777•8m ago•0 comments

Muse Spark 1.3 Intelligence, Performance and Price Analysis

https://artificialanalysis.ai/models/muse-spark-1-3-xhigh
1•theanonymousone•9m ago•0 comments

The greenest building is the one still standing after a disaster

https://theconversation.com/the-greenest-building-is-the-one-still-standing-after-a-disaster-290313
1•hn_acker•9m ago•0 comments

Pacman AI for controlling fusion systems makes key decisions in milliseconds

https://phys.org/news/2026-09-pacman-ai-framework-fusion-safely.html
1•mdp2021•12m ago•1 comments

USPS Built an Untested, Undocumented Ballot-Blocking System Despite Injunction

https://www.techdirt.com/2026/09/02/whistleblower-usps-defied-a-court-injunction-to-build-an-unte...
2•hn_acker•12m ago•2 comments

Show HN: C++ Under Pressure: A Practical Interview Guide from 1k+ Interviews

https://leanpub.com/cpp-under-pressure
1•ahmedmohamed_•16m ago•0 comments

Bristol scientists may have found first evidence of dark matter

https://www.bbc.com/news/articles/cvgypvnx1jgo
1•colinprince•17m ago•0 comments

Live Cyber Threat Map

https://livethreatmap.radware.com
1•structuredPizza•19m ago•0 comments

Slicing Chrome's Zucchini patches in half

https://willjordan.us/writing/slicing-zucchini-patches/
1•wgjordan•19m ago•0 comments

Learn Scheme by Example: Tk GUI with Chicken Scheme

https://blog.matthewdmiller.net/learn-scheme-by-example-tk-gui-with-chicken-scheme
1•so-cal-schemer•20m ago•1 comments

Show HN: Every AI agrees with you. This writes your startup's obituary instead

https://theyfell.com/
7•kyleclouthier•23m ago•3 comments

"Pac-Man" enzyme breaks down bioplastics and penicillin in laboratory tests

https://phys.org/news/2026-09-pac-enzyme-bioplastics-penicillin-laboratory.html
1•mdp2021•26m ago•1 comments

Goroutine Leak Profiles

https://go.dev/blog/goroutine-leak-profiles
2•ingve•30m ago•0 comments

Maybe We Shouldn't Be Reviewing All This Code

https://martinfowler.com/rachels-ramblings/code-review.html
2•ingve•32m ago•0 comments

Launch HN: RonanRX (YC S26) – Personalized Peptides and GLP-1s

https://ronanrx.com/
6•lloydarmbrust•33m ago•6 comments

Acer's DualPlay Mini concept is both gaming handheld and mini-laptop

https://liliputing.com/acers-dualplay-mini-concept-is-both-a-gaming-handheld-and-a-mini-laptop/
2•spankibalt•34m ago•1 comments

Booz Allen Cyber Weapon Index

https://www.boozallen.com/insights/cyber/cyber-weapon-index.html
2•pseudolus•34m ago•0 comments

SDK-free, simple, email-based login/auth provider

1•ameeting•37m ago•0 comments

Lacuna, cryptic protein pocket discovery that runs on a laptop CPU

https://github.com/mooreneural/lacuna
1•ramen0w0•39m ago•0 comments

British Pet Massacre

https://en.wikipedia.org/wiki/British_pet_massacre
3•georgecmu•39m ago•0 comments

With Gemini 3.8 Flash, Google reminds everyone it's still in the race

https://www.theregister.com/ai-and-ml/2026/09/02/with-gemini-38-flash-google-reminds-everyone-its...
2•joebuckwilliams•41m ago•0 comments

Kimi Launches IPO Before Market Stops Pricing Dreams

https://chinaonchina.com/article/kimi-launches-ipo-before-market-stops-pricing-dreams
2•try-working•41m ago•0 comments

Hermes CEO Suddenly Takes Interest in China's Pork Prices?

https://chinaonchina.com/article/hermes-ceo-suddenly-interested-in-china-s-pork-prices
1•try-working•41m ago•0 comments

US Government worried that AI companies can't innovate without legal theft

https://appleinsider.com/articles/26/09/02/us-government-worried-that-ai-companies-cant-innovate-...
6•tabith•46m ago•1 comments