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

Crypto billionaire [Justin Sun] sues Trump-linked project alleging extortion

https://www.msn.com/en-us/money/companies/crypto-billionaire-sues-trump-linked-project-alleging-e...
1•bhouston•2m ago•0 comments

TeamPCP strikes again: Xinference (v2.6.0-2.6.2) PyPI package compromised

https://research.jfrog.com/post/xinference-compromise/
1•lukecarr•2m ago•1 comments

Books Are Not Remotely Too Expensive

https://www.millersbookreview.com/p/no-books-are-not-remotely-too-expensive
1•gHeadphone•2m ago•0 comments

Early data from Vera C. Rubin Observatory reveals over 11,000 new asteroids

https://phys.org/news/2026-04-early-vera-rubin-observatory-reveals.html
1•speckx•3m ago•0 comments

Can't wait to see this movie

https://www.youtube.com/watch?v=H-43VeYGiPM
1•alvineh•3m ago•0 comments

Python suite for neuroscience research across all modalities

https://github.com/facebookresearch/neuroai
1•MADEinPARIS•4m ago•0 comments

Qwen3.6-27B: Flagship-Level Coding in a 27B Dense Model

https://qwen.ai/blog?id=qwen3.6-27b
1•mfiguiere•4m ago•0 comments

The Single Dumbest Conspiracy Theory of 2026

https://www.theatlantic.com/science/2026/04/missing-scientists/686885/
2•Jtsummers•5m ago•0 comments

Larry McMurtry's Tall Tales

https://www.thenation.com/article/culture/larry-mcmurtry-biography/
1•samclemens•6m ago•0 comments

Google Cloud Fraud Defense, the Next Evolution of reCAPTCHA

https://cloud.google.com/blog/products/identity-security/introducing-google-cloud-fraud-defense-t...
1•throwaway29303•7m ago•0 comments

Qwen3.6-27B

https://twitter.com/i/status/2046939764428009914
1•NiekvdMaas•11m ago•0 comments

Show HN: ClickMVP – Deterministic full-stack code generation (no LLMs)

https://app.clickmvp.com/
1•andredourado•11m ago•0 comments

Congratulations Cursor on being acquired by SpaceX

https://blog.kilo.ai/p/congratulations-cursor-on-being-acquired
1•what_if_theory•11m ago•0 comments

Cheating at Tetris

https://chalkdustmagazine.com/features/cheating-at-tetris/
1•t-3•11m ago•0 comments

Google unleashes more AI security agents to fight the baddies

https://www.theregister.com/2026/04/22/google_unleashes_even_more_ai/
1•Brajeshwar•14m ago•0 comments

Schematik Is 'Cursor for Hardware.' Now, Anthropic Wants In

https://www.wired.com/story/schematik-is-cursor-for-hardware-anthropic-wants-in-on-it/
1•bookofjoe•14m ago•1 comments

Sam 2: Segment Anything in Images and Videos

https://chizkidd.github.io//2026/04/17/sam-2/
1•ibobev•15m ago•0 comments

Transformers

https://chizkidd.github.io//2026/04/17/transformers/
1•ibobev•15m ago•0 comments

Autoregression vs. Diffusion – Understanding Sampling via Optimal Transport

https://jiha-kim.github.io/posts/autoregression-vs-diffusion-understanding-sampling-via-optimal-t...
2•ibobev•15m ago•0 comments

Euphony: Visualize Chat Data in the Browser

https://openai.github.io/euphony/
1•gmays•18m ago•0 comments

Aphantasia and LLMs Or: Which Human Are We Talking About?

https://giorgio.gilest.ro/on-aphantasia-and-llms-or-which-human-are-we-talking-about/
1•crocowhile•18m ago•0 comments

Eridani-speak – make your LLM talk like Rocky from Project Hail Mary

https://github.com/SijuEC/eridani-speak
1•primax•18m ago•1 comments

When will quantum computing break cryptography?

https://blog.alcazarsec.com/tech/posts/when-will-quantum-computing-break-cryptography
1•alcazar•19m ago•0 comments

Apple controls the tech sector's Strait of Hormuz

https://www.ft.com/content/a2d7f523-753e-4ea0-8efd-cb52640ce97b
1•ViktorRay•19m ago•1 comments

It Takes 2 Minutes to Hack the EU-S New Age-Verification App

https://www.wired.com/story/security-news-this-week-it-takes-2-minutes-to-hack-the-eus-new-age-ve...
1•rbanffy•19m ago•0 comments

Ask HN: Is there any free, rate limited and no key AI API?

1•wasimsk•19m ago•1 comments

What Physical 'Life Force' Turns Biology's Wheels?

https://www.quantamagazine.org/what-physical-life-force-turns-biologys-wheels-20260420/
1•sohkamyung•19m ago•0 comments

Apple Maps to Add Sponsored Results and Suggested Places Starting Summer 2026

https://www.ghacks.net/2026/04/22/apple-maps-to-add-sponsored-search-results-and-suggested-places...
1•hebelehubele•20m ago•0 comments

McClatchy AI Controversy: Blame the Human Leaders

https://tedium.co/2026/04/21/mcclatchy-journalism-ai-scapegoat/
1•speckx•21m ago•0 comments

Key Atlantic Ocean current is much closer to collapse than scientists thought

https://www.livescience.com/planet-earth/climate-change/nations-need-to-prepare-now-key-atlantic-...
1•mindracer•22m ago•0 comments