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•11mo 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 beauty of postmodern classical music

https://itsiweinstock.substack.com/p/the-beauty-of-postmodern-classical
1•surprisetalk•1m ago•0 comments

Does ChatGPT know your business exists? Free corpus diagnostic

https://citeddigital.co/audit/
1•connorwhitlock•2m ago•0 comments

Stop Talking Down to Me: Notes on Three Years of AI Chat

https://devcodehack.com/stop-talking-down-to-me-notes-on-three-years-of-ai-chat/
1•par•2m ago•0 comments

In Praise of Wild-Eyed Principles (2017)

https://vineyardgazette.com/news/2017/08/10/praise-wild-eyed-principles
1•robtherobber•3m ago•0 comments

AI and Claude: The internal rebellion that changed Amazon's rules

https://thenewstack.io/amazon-coding-agents-developers/
1•Brajeshwar•3m ago•0 comments

The context window has been shattered: Subquadratic debuts 12M-token window

https://thenewstack.io/subquadratic-12-million-context-window/
1•throwawayfour•3m ago•0 comments

Google Chrome silently installs 4 GB Gemini Nano AI model without consent

https://alternativeto.net/news/2026/5/google-chrome-silently-installs-4-gb-gemini-nano-ai-model-t...
2•Gedxx•3m ago•0 comments

Global weather data from flying airplanes (2025)

https://clickhouse.com/blog/planes-weather
1•zX41ZdbW•4m ago•0 comments

Herd – a lightweight multi-agent IDE, built with GStack

https://joinherd.ai/
1•satosheth•5m ago•1 comments

The 90-day window: identity theft after death

https://killswitch.app/blog/identity-theft-after-death-greg-biffle-case-vulnerability-window
1•ElixirMentor•5m ago•0 comments

Loon GPU – A Real Implementation of "No Graphics API"

https://www.kevin-gibson.com/blog/writing-a-bindless-gpu-abstraction-layer/
1•molive•6m ago•0 comments

Mythos is the best cybersecurity news we've ever had

https://sfstandard.com/opinion/2026/05/06/mythos-cybersecurity-ai/https://sfstandard.com/opinion/...
2•littlexsparkee•6m ago•2 comments

Optimizing Software Factories

https://tomtunguz.com/optimizing-software-factories/
2•nowflux•7m ago•0 comments

Show HN: VT Code – Rust coding agent with AST-validated shell and OS sandboxing

https://github.com/vinhnx/vtcode
1•vinhnx•8m ago•0 comments

Show HN: A bookmarklet app that saves bookmarks to GitHub Gist

https://github.com/chrisdiana/gistkeep
1•inflam52•9m ago•0 comments

I'm sooo excited to announce that I built my first SaaS BookIt, a small booking

https://bookit.fyi/
1•kx0101•9m ago•0 comments

Los Alamos and the long path to detecting neutrinos

https://www.lanl.gov/media/publications/1663/from-ghost-particle-to-cosmic-messenger
1•LAsteNERD•10m ago•0 comments

Huawei braces for $12B in AI chip revenue-Chinese fabs can barely keep up

https://www.tomshardware.com/tech-industry/huawei-expects-12-billion-in-ai-chip-revenue-this-year...
1•sleepyguy•11m ago•1 comments

Solving the Problem of Kerosene Fungus

https://www.shell.com/business-customers/aviation/100years/setting-safety-standards/kerosene-fung...
1•thunderbong•11m ago•0 comments

I analyzed 10k Reddit posts to find what drives B2B traffic

https://reddbot.ai/blog/i-analyzed-10-000-reddit-discussions-to-reverse-engineer-b2b-traffic-here...
1•jackbuilds•12m ago•0 comments

Emotional regulation is a dying art

https://www.joanwestenberg.com/emotional-regulation-is-a-dying-art/
2•rossdavidh•14m ago•0 comments

NeoSystems Found a Way to Shut Up About CMMC – By Going Out of Business

https://www.oxebridge.com/emma/neosystems-finally-found-a-way-to-shut-up-about-cmmc-by-going-out-...
1•WaitWaitWha•14m ago•0 comments

How to Write LinkedIn Hooks That Stop the Scroll

https://linkedgrow.ai/blog/linkedin-hooks-guide
1•NicoAI•14m ago•0 comments

Qbeast 0.6: Multi-cloud SaaS, AI-native access, and faster queries

https://qbeast.io/blogs/qbeast-0-6-multi-cloud-saas-ai-native-access-and-faster-queries
1•fpj•14m ago•2 comments

AI Needs Better Metaphors

https://metedata.substack.com/p/011-ai-needs-better-metaphors
1•young_mete•15m ago•0 comments

Amazon rebrands third-party logistics arms as unified supply chain service

https://www.freightwaves.com/news/amazon-rebrands-third-party-logistics-arms-as-unified-supply-ch...
1•crescit_eundo•15m ago•0 comments

A .well-Known Complaint

https://www.vzqk50.com/blog/scraps/a-well-known-complaint/
1•speckx•16m ago•0 comments

Other People's Music

https://pgadey.ca/blog/other-peoples-music/
1•surprisetalk•16m ago•0 comments

The next great software company won't sell software

https://blog.layerx.xyz/service-as-a-software
6•supermalvo•18m ago•5 comments

It's crazy how subsidized Claude Code is

https://old.reddit.com/r/LLMDevs/comments/1sro0ea/its_crazy_how_subsidized_claude_code_is/
1•paulaq•18m ago•0 comments