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

Show HN: Repovex – GitHub repo health scores for your whole org

https://repovex.com
1•calminferno•2m ago•0 comments

Front End Memory Leaks: 500-Repo Static Analysis and 5-Scenario Benchmark Study

https://stackinsight.dev/blog/memory-leak-empirical-study/
1•nadis•5m ago•0 comments

Visual plasticity and exercise revisited: No evidence for a "cycling lane"

https://jov.arvojournals.org/article.aspx?articleid=2737222
1•amadeuspagel•7m ago•0 comments

Google and Tesla think we're managing the electrical grid all wrong

https://techcrunch.com/2026/03/10/google-and-tesla-think-were-managing-the-electrical-grid-all-wr...
1•jnord•8m ago•0 comments

I've no technical background, hope someone finds this interesting

https://github.com/aleflow420/rinoa
1•aleflow420•8m ago•0 comments

GLP-1 drugs push U.S. consumers toward spicy foods, lifting sauce makers

https://www.reuters.com/business/healthcare-pharmaceuticals/sauce-spice-makers-attract-deal-inter...
2•petethomas•8m ago•0 comments

Television and computer use and dementia risk in older adults

https://alz-journals.onlinelibrary.wiley.com/doi/10.1002/alz.71259
3•amadeuspagel•10m ago•0 comments

Modern Compiler Design: C Implementation Details [pdf] (2004)

https://www.cs.usfca.edu/~galles/compilerdesign/cimplementation.pdf
2•turtleyacht•10m ago•1 comments

Covenant-72B: Pre-Training a 72B LLM with Trustless Peers Over-the-Internet

https://twitter.com/tplr_ai/status/2031388295972929720
2•rzk•11m ago•0 comments

Dox with Grok

https://mattsayar.com/dox-with-grok/
1•ohjeez•12m ago•0 comments

Ask HN: What's your favorite "what would SWEs do in 1-3 year from now?"

1•itissid•16m ago•0 comments

The Situation: Thinking About Anthropic's Red Lines

https://www.lawfaremedia.org/article/the-situation--thinking-about-anthropic-s-red-lines
2•hn_acker•17m ago•0 comments

Military AI Policy by Contract: The Limits of Procurement as Governance

https://www.lawfaremedia.org/article/military-ai-policy-by-contract--the-limits-of-procurement-as...
2•hn_acker•18m ago•0 comments

Ask HN: How to "make it" as a newlygrad/junior?

2•kartoffelsaft•20m ago•1 comments

Credit Bureaus Are Leaving More Mistakes on Frustrated Consumers' Reports

https://www.propublica.org/article/credit-report-mistakes-cfpb-experian-transunion
5•hn_acker•21m ago•1 comments

They Feel Bugs Inside Them. Doctors Don't Know Why

https://www.nytimes.com/2026/03/09/opinion/diagnosis-delusional-infestation-bugs.html
3•bookofjoe•22m ago•1 comments

Enamored with Macy

https://addisoncrump.info/research/enamored-with-macy/
1•todsacerdoti•23m ago•0 comments

Treasure hunter freed after decade of refusing to reveal site of shipwreck gold

https://www.cbsnews.com/news/tommy-thompson-treasure-hunter-ship-of-gold-missing-coins-released-p...
2•rgovostes•26m ago•0 comments

Needle in the haystack: LLMs for vulnerability research

https://devansh.bearblog.dev/needle-in-the-haystack/
1•rzk•26m ago•1 comments

Universal vaccine against respiratory infections and allergens

https://med.stanford.edu/news/all-news/2026/02/universal-vaccine.html
23•phony-account•28m ago•6 comments

U+237C ⍼ Is Azimuth

https://ionathan.ch/2026/02/16/angzarr.html
18•cokernel_hacker•28m ago•3 comments

MuskMeter – Minute-by-minute Musk metrics

https://www.muskmeter.live/
1•rob•31m ago•0 comments

AI should help us produce better code

https://simonwillison.net/guides/agentic-engineering-patterns/better-code/
2•simonw•32m ago•1 comments

Cloudflare Crawl Endpoint

https://developers.cloudflare.com/changelog/post/2026-03-10-br-crawl-endpoint/
8•jeffpalmer•35m ago•0 comments

Nasdaq Partners with Kraken in Plan for 24/7 Tokenized Stock Trading

https://www.wsj.com/finance/stocks/nasdaq-partners-with-kraken-in-tokenization-push-135e8112
1•gmays•35m ago•0 comments

Hill-Climbing: Why Your AI Agent Wastes Half Its Brain Before Writing Any Code

https://twitter.com/notadamking/status/2031445395369504774
2•adamjking3•38m ago•0 comments

From millions of dollars to under a grand: The dramatic fall of the NFT

https://english.elpais.com/culture/2026-03-10/from-millions-of-dollars-to-under-a-grand-the-drama...
2•geox•40m ago•1 comments

Freedesktop Closes Controversial Age Verification API Proposal

https://linuxiac.com/xdg-age-verification-interface-proposal-closed/
3•miohtama•41m ago•0 comments

US and EU sanctions have killed 38M people since 1970 (2025)

https://www.aljazeera.com/opinions/2025/9/3/us-and-eu-sanctions-have-killed-38-million-people-sin...
4•abdelhousni•42m ago•3 comments

Enzyme as Maxwell's Demon: Steady-State Deviation from Chemical Equilibrium

https://arxiv.org/abs/2503.17584
3•PaulHoule•47m ago•0 comments