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

ELT and MCP: exposing warehouse data to LLMs without shipping the data

https://thenewstack.io/how-precog-adds-business-context-to-make-enterprise-data-ai-ready/
1•jfinegold•3m ago•1 comments

Tell HN: We have not yet discovered the rules of vibe coding

1•0xbadcafebee•5m ago•0 comments

Tesla patents 'clever math trick' for HW3, but nothing points to promised FSD

https://electrek.co/2026/01/21/tesla-patents-clever-math-trick-hw3-nothing-delivering-promised-se...
1•breve•5m ago•0 comments

China's oldest carmaker begins testing solid-state EV batteries in vehicles

https://electrek.co/2026/01/22/chinas-oldest-carmaker-begins-testing-solid-state-ev-batteries/
2•breve•10m ago•0 comments

Ask HN: Please wish me luck for my exam

3•Imustaskforhelp•10m ago•2 comments

Jake the Lawyer Explains ICE and Illegal Immigration [video]

https://www.youtube.com/watch?v=NosECXHMGFU
1•zahlman•11m ago•0 comments

Estonia Wikipedia being replaced by pro Kremlin narrative by editors

https://twitter.com/ellatravelslove/status/2014280386201727259
1•nailer•22m ago•3 comments

Vimeo starts layoffs after acquisition by Bending Spoons

https://techcrunch.com/2026/01/22/vimeo-starts-layoffs-after-acquisition-by-bending-spoons/
2•absqueued•25m ago•3 comments

The Tighter Weave: On Editing and Not Editing

https://hedgehogreview.com/issues/place-and-revolution/articles/the-tighter-weave
1•herbertl•26m ago•0 comments

The Work Behind the Writing: On Writers and Their Day Jobs

https://lithub.com/the-work-behind-the-writing-on-writers-and-their-day-jobs/
1•herbertl•27m ago•0 comments

AWS in 2026: The Year of Proving They Still Know How to Operate

https://www.lastweekinaws.com/blog/aws-in-2026-the-year-of-proving-they-still-know-how-to-operate/
1•mooreds•30m ago•0 comments

A Controversial Video-Game Designer Returns with a New Game and More Controversy

https://www.bloomberg.com/news/newsletters/2026-01-22/jonathan-blow-a-controversial-video-game-de...
2•DustinEchoes•31m ago•1 comments

Cost-Effectiveness of Language Models for Time Series Anomaly Detection

https://www.mdpi.com/2078-2489/17/1/72
2•PaulHoule•32m ago•1 comments

Why leaders often disappoint us

https://ariadne.space/2026/01/22/why-leaders-often-disappoint-us.html
2•milkglass•34m ago•0 comments

Computer vision papers reimplemented with minimal PyTorch code

https://github.com/MaximeVandegar/Papers-in-100-Lines-of-Code
1•maxvdg•36m ago•1 comments

Stochastic Mirrors rather than Stochastic Parrots?

1•EdNutting•37m ago•0 comments

I was detained at Davos for my hardware prototype; Swiss police audited the Rust

https://www.semafor.com/article/01/22/2026/an-entrepreneurs-13-hours-in-davos-jail-the-food-was-p...
3•reutinger•40m ago•1 comments

ICE detains five-year-old Minnesota boy arriving home, say school officials

https://www.theguardian.com/us-news/2026/jan/21/ice-arrests-five-year-old-boy-minnesota
28•0x54MUR41•42m ago•3 comments

Seeking Co-Founder for Declarative Application Editor

1•mwhite•46m ago•2 comments

Authorization Before Retrieval: Making RAG Safe by Construction

https://www.windley.com/archives/2026/01/authorization_before_retrieval_making_rag_safe_by_constr...
1•mooreds•54m ago•0 comments

Week 1: EE 292P Atoms, Bits, and the National Interest

https://hnvr.medium.com/week-1-ee-292p-atoms-bits-and-the-national-interest-the-technology-enviro...
1•malchow•55m ago•0 comments

Why doing a mix of exercise could be the key to longer life

https://www.bbc.com/news/articles/cn0y9pqe2zro
3•kareemm•56m ago•0 comments

Monitor Cron Jobs Without Migration – DeadManPing

https://www.deadmanping.com/blog/monitor-cron-jobs
1•BlackPearl02•58m ago•0 comments

Starting a Startup at 25, 35, or 45 Is Not the Same Decision

4•alx_sukhanov•1h ago•4 comments

We spent 5 YEARS building New York City in Minecraft [video]

https://www.youtube.com/watch?v=ZouSJWXFBPk
1•KolmogorovComp•1h ago•0 comments

Rent-Only Copyright Culture Makes Us All Worse Off

https://www.eff.org/deeplinks/2026/01/rent-only-copyright-culture-makes-us-all-worse
8•hn_acker•1h ago•0 comments

Show HN: Memcachex, a high-performance Memcached client for Go

https://github.com/atsegelnyk/memcachex
1•atsegelnyk•1h ago•1 comments

Utah Continues to Ban More Books, Even as It Racks Up More Lawsuits

https://www.techdirt.com/2026/01/22/utah-continues-to-ban-more-books-even-as-it-racks-up-more-law...
6•hn_acker•1h ago•0 comments

Kona: Energy-Based Models (EBMs) for AI Reasoning

https://logicalintelligence.com/kona-ebms-energy-based-models
2•gfortaine•1h ago•0 comments

Revealjs-skill: a better way for Claude to make presentations

https://github.com/ryanbbrown/revealjs-skill
1•ryanbbrown•1h ago•0 comments