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!

GrapheneOS: Nearly all of our recent posts on Hacker News are being flagged

https://twitter.com/GrapheneOS/status/2098792171058889006
1•timedude•1m ago•0 comments

Rapidly scaling online storage to serve over 1B ChatGPT users

https://openai.com/index/scaling-storage-one-billion-users-part-one/
1•tamnd•2m ago•0 comments

YoooClaw C·ONE: a Chinese AI card that captures context instead of processing it

https://sinosphereapp.substack.com/p/yoooclaw-cone-the-ai-gadget-that
1•Nyloc1•3m ago•0 comments

Anthropic CEO calls for immediate slowdown in AI development

https://www.axios.com/2026/09/12/anthropic-ai-amodei-pacing
4•doctoboggan•3m ago•0 comments

Why Balaclava?

https://www.espacecagoules.com/en/blogs/tout-sur-la-cagoule/pourquoi-balaclava
1•jruohonen•4m ago•0 comments

Is This a New WhatsApp Hack?

1•MarcellusDrum•4m ago•0 comments

Reddit Now Blocking Firefox for Android with uBlock Origin

1•chucksmash•4m ago•0 comments

Accelerating MiniMax-H3 768p Video Generation on a Nvidia DGX Spark in 1 Minute

https://nvlabs.github.io/Sana/Sol-Engine/Sol-H3-Spark/
2•Lwrless•5m ago•0 comments

I spent $4,000 on a robot dog from China

https://www.understandingai.org/p/i-spent-4000-on-a-robot-dog-from
2•Brajeshwar•6m ago•0 comments

Exploring denser on-chip AI memory with two-transistor gain cells

https://arxiv.org/abs/2602.21278
1•casey2•6m ago•0 comments

Is it time for a Luddite Renaissance?

https://www.npr.org/2026/09/08/nx-s1-5955618/is-it-time-for-a-luddite-renaissance
2•mooreds•9m ago•0 comments

LLMs, Board Layout and Human Engineering

https://gregtidanian.substack.com/p/llms-board-layout-and-human-engineering
1•silustech•9m ago•0 comments

Caroline Ellison Joins Manifund

https://manifund.substack.com/p/caroline-ellison-has-joined-manifund
2•DarkContinent•9m ago•0 comments

What to Expect When You Are Expecting Recursive Self Improvement

https://mark-riedl.medium.com/what-to-expect-when-you-are-expecting-recursive-self-improvement-24...
1•mooreds•9m ago•0 comments

A.I. Was Supposed to Give Us New Killer Apps. What Happened?

https://www.nytimes.com/2026/09/12/opinion/ai-software-coding-apps.html
4•_tk_•10m ago•0 comments

Robert Friedland on the Monumental Shortage of Copper [audio]

https://www.bloomberg.com/news/audio/2026-09-12/robert-friedland-on-the-world-s-monumental-shorta...
1•mooreds•10m ago•0 comments

Scraping barnacles off a cruise ship (the game)

https://barnacleaner.com
1•bryanhan•13m ago•1 comments

Prompts Aren't Real

https://evaluation.club
1•mcfunley•13m ago•0 comments

Exposing a Global AI Slop Empire [video]

https://www.youtube.com/watch?v=GEHHTh5OTnQ
1•mattm•13m ago•0 comments

Airborne drone ad over Toronto catches eyes, criticism

https://torontosun.com/news/local-news/airborne-drone-ad-over-toronto-catches-eyes-criticism
1•tejohnso•14m ago•0 comments

Orchestrator: Coding agents, repo browsing, Kanban and local code review in one

https://github.com/zachealy1/orchestrator
2•zachealy•16m ago•0 comments

Dario is right

https://twitter.com/elonmusk/status/2098789109980332057
2•tosh•16m ago•0 comments

Show HN: CanWeShip – will USPS, UPS or FedEx accept my item?

https://canweship.com/
2•Healer_0•17m ago•0 comments

Free app to calibrate your turntable by simply playing a song

https://grooved.okat.best/
1•axiomdata316•18m ago•0 comments

Postgres got group commit by deleting most of the patch

https://frn.sh/pgfsync/
3•paperwhitez•19m ago•0 comments

Apple GPU Microarchitecture (2022)

https://github.com/philipturner/metal-benchmarks
2•walterbell•22m ago•0 comments

Intel surpasses 1M High-NA EUV wafers processed

https://www.tomshardware.com/tech-industry/semiconductors/intel-surpasses-one-million-high-na-euv...
1•JumpCrisscross•24m ago•0 comments

Nvidia is the central bank of AI

https://www.economist.com/interactive/briefing/2026/09/03/nvidia-is-the-central-bank-of-ai
9•tolugenius•25m ago•2 comments

Show HN: Yolov11n by C on Raspberry Pi 5

https://github.com/kutekhoaisan/yolov11n_raspberrypi5
3•kutekhoaisan•26m ago•0 comments

Do wind and solar farms broadly tank home values? A 20-year study says no

https://electrek.co/2026/09/08/do-wind-and-solar-farms-tank-home-values-a-20-year-study-has-an-an...
2•JumpCrisscross•27m ago•0 comments