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

Show HN: Yt-x v0.8.0 – Browse, play, and download YouTube from the terminal

https://github.com/Benexl/yt-x
1•Benex254•1m ago•0 comments

ExtraBrain - local-first desktop copilot for live calls

1•andrewsokolov•1m ago•0 comments

Ternative – C++/CUDA inference engine for ternary LLMs with runtime LoRA

https://github.com/michelangeloromerochisco/ternative
1•michelangeloro•2m ago•1 comments

The Mass Matrix and the Mug, Why a Robot Slows Down When It Picks Something Up

https://atomsfrontier.substack.com/p/the-mass-matrix-and-the-mug-why-a
1•jpatel3•3m ago•0 comments

A brief investigation into the GPT-5.5 regression claims

https://www.stet.sh/blog/gpt-55-high-regression-check-graphql-go-tools
1•bisonbear•6m ago•0 comments

The Prehistory of A.I. Slop

https://www.newyorker.com/magazine/2026/05/25/the-prehistory-of-ai-slop
2•mitchbob•8m ago•1 comments

Ensemble-bias-detector – property tests for voting aggregators

https://github.com/fuentesamurai/ensemble-bias-detector
1•killersamurai•10m ago•1 comments

Crossview 4.4.0 is now available

https://github.com/crossplane-contrib/crossview
2•moeidheidari•11m ago•1 comments

Era: From Nature publication to catalyzing Computational Discovery

https://research.google/blog/empirical-research-assistance-era-from-nature-publication-to-catalyz...
4•praccu•11m ago•0 comments

OpenAI Adopts Google's SynthID Watermark for AI Images with Verification Tool

https://openai.com/index/advancing-content-provenance/
3•smooke•11m ago•0 comments

Why are university students booing big tech at graduation ceremonies?

https://english.elpais.com/technology/2026-05-19/generational-rejection-of-ai-why-are-university-...
3•geox•12m ago•1 comments

They're Closing the Best Boondocking Spots – Here's the Proof

https://liketheresnotomorrow.net/blm-camping-restrictions-2026/
2•bilegeek•14m ago•0 comments

The Unreasonable Effectiveness of ProseMirror Model in Rich Text Transformation

https://smoores.dev/post/unreasonable_effectiveness_of_prosemirror/
1•birdculture•15m ago•0 comments

Nespresso Coffee Capsule Info

https://docs.google.com/spreadsheets/d/1kZJCdTmqQla2ha3DDYyixQDIUuf9wLvt3122akBkhgM/edit?gid=7456...
1•skogstokig•15m ago•0 comments

Perhaps the Poll Voting plugin should be ready soon

https://postwits.com
1•eagle10ne•16m ago•0 comments

Marketing

1•ajjuramdam•16m ago•0 comments

Sony's 1000X the ColleXion Headphones Make the AirPods Max 2 Look Affordable

https://gizmodo.com/sonys-1000x-the-collexion-wireless-headphones-make-the-airpods-max-2-look-aff...
1•giwook•16m ago•0 comments

Edmund Phelps, Who Upended the Way We View Inflation, Dies at 92

https://www.nytimes.com/2026/05/18/business/economy/edmund-phelps-dead.html
1•paulpauper•17m ago•0 comments

AI-written story published in Granta, wins major literary prize

https://twitter.com/ATabarrok/status/2056399339174469827
3•paulpauper•17m ago•0 comments

SaaSpocalypse now? These founders don't think so

https://betakit.com/saaspocalypse-now-these-founders-dont-think-so/
1•builtbystef•18m ago•0 comments

WTF happened to Claude Code ext in antigravity?

https://antigravity.google/docs/ide-getting-started?app=antigravity
2•ajalexander•19m ago•0 comments

Is It Worth Investing in Index Funds? What 90% of Investors Get Wrong About Fees

https://comuniq.xyz/post?t=1109
1•01-_-•19m ago•0 comments

Ask HN: Is there a good code intelligence MCP server yet?

2•fariswyatt•23m ago•0 comments

Dumb Ways for an Open Source Project to Die

https://nesbitt.io/2026/05/19/dumb-ways-for-an-open-source-project-to-die.html
3•chmaynard•23m ago•0 comments

The Relevance of BPMN in the Age of AI

https://medium.com/spiffworkflow/the-relevance-of-bpmn-in-the-age-of-ai-1f28440440e5
1•danfunk•24m ago•1 comments

We Got Lost in AI

https://hmmr.online/posts/we-got-lost/
2•ZanderHammer•24m ago•0 comments

ZPL – a deterministic engine for binary-matrix bias scoring

https://zeropointlogic.io
2•cicicalex•27m ago•1 comments

Spring Cleaning

https://blog.bayindirh.io/blog/spring-cleaning/
1•bayindirh•27m ago•0 comments

Mistral AI Acquires Emmi AI to Create the Leading AI Stack

https://www.emmi.ai/news/mistral-ai-acquires-emmi-ai
5•doener•32m ago•0 comments

Minnesota becomes first state to ban prediction markets

https://www.npr.org/2026/05/19/nx-s1-5821265/minnesota-ban-prediction-markets
9•ortusdux•32m ago•0 comments