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!

The Jevons Paradox of AI and New Industries of Creativity

https://kamilas.substack.com/p/the-jevons-paradox-of-ai-and-new
1•kamselig•1m ago•1 comments

Native Linux VST plugin directory

https://linuxmusic.rocks
1•Aldipower•2m ago•0 comments

New Books Aren't Worth Reading

https://www.atlaspress.co/p/new-books-arent-worth-reading
1•speckx•3m ago•0 comments

Don't Be a Tourist in Your Own Codebase

https://www.parand.com/dont-be-a-tourist-in-your-own-code-base.html
1•tworats•3m ago•0 comments

"A bootstrap chain for NixOS, builds the system from hand-auditable binary seed"

https://chaos.social/@nzbr/115973847897716839
1•embedding-shape•4m ago•0 comments

GOG now using AI generated images on their store

https://www.gamingonlinux.com/2026/01/gog-now-using-ai-generated-images-on-their-store/
1•healsdata•6m ago•0 comments

Feds maintain 3.5 – 3.75% rate

https://www.federalreserve.gov/newsevents/pressreleases/monetary20260128a.htm
1•ortusdux•7m ago•0 comments

Bertrand Russell on Apricots

http://peterhousehold.blogspot.com/2010/07/bertrand-russell-on-apricots.html
1•jxmorris12•9m ago•0 comments

Conserved shifts in sperm small non-coding RNA during mouse and human aging

https://link.springer.com/article/10.1038/s44318-025-00687-8
1•PaulHoule•9m ago•0 comments

AI's HAL 9000 Problem, and What It Portends for the Future

https://www.realclearmarkets.com/articles/2026/01/28/ais_hal_9000_problem_and_what_it_portends_fo...
1•RickJWagner•9m ago•1 comments

Native Instruments enters into insolvency proceedings

https://www.engadget.com/audio/native-instruments-enters-into-insolvency-proceedings-leaving-its-...
2•elevaet•10m ago•0 comments

What to Do If You Are Sad and Angry

https://homosabiens.substack.com/p/what-to-do-if-you-are-sad-and-angry
1•lumenwrites•10m ago•0 comments

Pgedge-vectorizer: simple SQL interface for enabling vectorization in PostgreSQL

https://github.com/pgEdge/pgedge-vectorizer
1•pgedge_postgres•11m ago•0 comments

Eating Our Own Dogfood: What Running Report URI on Report URI Taught Us

https://scotthelme.co.uk/eating-our-own-dogfood-what-running-report-uri-on-report-uri-taught-us/
1•speckx•11m ago•0 comments

Show HN: Copilot YOLO Mode

https://github.com/kody-w/copilot-yolo-mode
1•bothangles•11m ago•0 comments

Who Sets the Doomsday Clock?

https://www.popularmechanics.com/science/a70162364/setting-the-doomsday-clock/
1•littlexsparkee•12m ago•0 comments

Time Machine inside a FreeBSD jail

https://it-notes.dragas.net/2026/01/28/time-machine-freebsd-jail/
1•enz•14m ago•0 comments

I Started Identifying Corporate Devices in My Software

https://lgug2z.com/articles/i-started-identifying-corporate-devices-in-my-software/
2•panic•15m ago•1 comments

Ask HN: Where to find cool companies to work for?

3•truetaurus•16m ago•0 comments

Anthropic CEO of AI Threat to Jobs: Unemployed or Very-Low-Wage Underclass Looms

https://www.investopedia.com/anthropic-ceo-warns-of-ai-threat-to-jobs-unemployed-or-very-low-wage...
5•OutOfHere•16m ago•0 comments

Show HN: Rust tool to hide windows from screen shares via Win32 API

https://www.getcloakly.com
1•jaygood•17m ago•0 comments

A Trillion Lost Games

2•sirianth•19m ago•0 comments

How to fix indirect prompt injections in Moltbot

https://iliaishacked.substack.com/p/here-is-how-to-solve-indirect-prompt
1•iliaishacked•19m ago•0 comments

Distributed training with mlx: tensor parallelism

https://stefpi.net/blog/distributed-mlx-tp
1•tosh•19m ago•0 comments

Flapping Airplanes

https://twitter.com/flappyairplanes/status/2016564437499728259
2•tosh•20m ago•0 comments

Show HN: Cursor for Userscripts

https://github.com/chebykinn/browser-code
1•mifydev•22m ago•0 comments

Crypto PAC Fairshake touts $193M war chest as regulatory bill faces first vote

https://www.cnbc.com/2026/01/28/crypto-pac-fairshake-bill-vote.html
1•pseudolus•23m ago•0 comments

SBOM as Messaging System

https://latedeployment.github.io/posts/sbom-as-messaging-system/
1•elegantgate•23m ago•0 comments

Google will settle its Assistant spying lawsuit for $68M

https://www.theverge.com/news/868078/google-assistant-lawsuit-settlement
1•kwar13•24m ago•0 comments

Loom – A Visual API workflow builder with SSRF-protected proxy

https://loomflows.dev/
1•Phantasm0009•24m ago•1 comments