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!

The Law of Leaky Abstractions (2002)

https://www.joelonsoftware.com/2002/11/11/the-law-of-leaky-abstractions/
1•oldmanrahul•2m ago•0 comments

Anthropic's $1.5B Settlement with Publishers

https://abhishek-shankar.com/posts/the-pirated-corpus-was-always-a-balance-sheet-item
1•catstyler•2m ago•0 comments

Prowl: Native macOS codings agent orchestrator

https://tangled.org/onev.cat/Prowl
1•nerdypepper•5m ago•0 comments

LeakyLM: AI Assistants Are Leaking Your Conversations

https://leakylm.github.io/
1•lucasluitjes•6m ago•0 comments

Review: Cultivated Salmon

https://justismills.substack.com/p/review-cultivated-salmon
1•networked•7m ago•0 comments

Shipping my first mobile app with AI

https://blog.foundingengineer.com/p/what-i-learned-building-my-first
2•rpatni•10m ago•0 comments

AI Agents Ran 27,000 Experiments. Their Biggest Discovery

https://medium.com/@vektormemory/660-ai-agents-ran-27-000-experiments-their-biggest-discovery-was...
1•vektormemory•21m ago•1 comments

ThinkPad: From IBM's Bento Box to Lenovo's AI Workstations

https://www.jdhodges.com/blog/thinkpad-history/
1•zdw•21m ago•0 comments

Tokenomics: Is it cost effective to refresh Claude's cache, or let it expire?

https://skids.dev/blog/anthropic-cache-tokenomics/
2•ryanskidmore•25m ago•0 comments

Installing a Payphone at My House

https://bert.org/2022/06/02/payphone/
1•skinfaxi•26m ago•0 comments

AI Wearables Are Coming but They'll Need to Pass the Coffee Shop Test to Survive

https://www.inc.com/connor-jewiss/ai-wearables-are-coming-but-theyll-need-to-pass-this-crucial-co...
3•connorjewiss•28m ago•0 comments

Ask HN: What are the system exists for execution of physical verifiable events?

2•abhishek2580•28m ago•1 comments

The Internet is not dead

https://blog.woblick.dev/en/2026/the-internet-is-not-dead/
1•Kovah•30m ago•0 comments

Two EA-18 fighter jets collide at Mountain Home airshow, pilots ejected safely

https://idahonews.com/news/local/two-f-18-fighter-jets-have-crashed-during-an-airshow-at-mountain...
2•ChrisArchitect•32m ago•0 comments

Peter G. Neumann, Who Warned of Computer Security Risks, Dies at 93

https://www.nytimes.com/2026/05/17/obituaries/peter-g-neumann-dead.html
5•rdl•34m ago•2 comments

Killing a `Cow` made my JSON formatter 42% faster

https://jacobasper.com/blog/killing-a-cow-made-my-json-formatter-42-percent-faster/
2•linolevan•34m ago•0 comments

Free 3D Mockup Video for Apps and Websites

https://www.freemockup.video/
1•buildwithdeni•35m ago•0 comments

GenCAD

https://gencad.github.io/
2•dagenix•37m ago•0 comments

Man vs. Machine [Live]

https://twitter.com/figure_robot/status/2056057735444394142
1•punnerud•38m ago•0 comments

Simpson's Paradox and the Hot Hand in Basketball (1995)

https://fermatslibrary.com/s/simpsons-paradox-and-the-hot-hand-in-basketball#email-newsletter
1•downbad_•46m ago•0 comments

Japan Team Successfully Test Engine for Mach 5 Aircraft, Eyeing 2HR Trip to US

https://mainichi.jp/english/articles/20260511/p2a/00m/0sc/015000c
2•karakoram•49m ago•0 comments

Show HN: Automated QA, Performance Tracking

https://malleon.io
1•godelshalt•50m ago•0 comments

LightInk: Solar E-ink smartwatch with LoRa and GPS lasts 10 months on one charge

https://www.notebookcheck.net/LightInk-E-ink-smartwatch-with-solar-LoRa-and-GPS-lasts-10-months-o...
1•HardwareLust•51m ago•0 comments

Linux 7.1-rc4 Released With Many Fixes

https://www.phoronix.com/news/Linux-7.1-rc4-Released
1•doener•52m ago•0 comments

In Defense of Operation Market Garden

https://secretaryrofdefenserock.substack.com/p/in-defense-of-operation-market-garden
2•baud147258•52m ago•0 comments

An AI Hate Wave Is Here

https://www.axios.com/2026/05/17/ai-backlash-polling-sentiment
6•karakoram•54m ago•5 comments

Microsoft is retiring Teams' Together Mode

https://www.theverge.com/tech/932215/microsoft-teams-together-mode
1•adunk•56m ago•0 comments

AI Is Starving for PDFs

https://mkotlikov.substack.com/p/your-ai-is-starving-for-pdfs
2•mkotlikov•56m ago•0 comments

Prolog Coding Horror

https://www.metalevel.at/prolog/horror
16•RohanAdwankar•1h ago•2 comments

We Lost Our Imagination

https://onatm.dev/2026/05/17/we-lost-our-imagination/
6•onatm•1h ago•3 comments