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 CEO Agenda 2025

https://www.oliverwymanforum.com/ceo-agenda/how-ceos-navigate-geopolitics-trade-technology-people...
1•1vuio0pswjnm7•1m ago•0 comments

Ex-Google CEO Eric Schmidt Fails to Read Room on AI, Gets Booed into Oblivion

https://gizmodo.com/ex-google-ceo-eric-schmidt-fails-to-read-room-on-ai-gets-booed-to-oblivion-20...
1•imichael•1m ago•0 comments

Usual implementation of attention transformers (SDPA) is kind of bad, actually

https://gist.github.com/celoyd/6bf10122c3f5f7e64b0c684704e4ffb2
1•teleforce•3m ago•0 comments

Apple Is Making Hit Products and High Profits from Imperfect Chips

https://www.wsj.com/tech/apple-is-making-hit-products-and-high-profits-from-imperfect-chips-d32c21d8
1•ryan_j_naughton•4m ago•0 comments

Meta Defeated as EU Backs Publishers in Content Pay Dispute

https://www.law.com/international-edition/2026/05/17/meta-defeated-as-eu-backs-publishers-in-cont...
1•1vuio0pswjnm7•4m ago•0 comments

Neovim sweetspot between trad coding and AI coding

https://github.com/cachebag/jumpy
1•cachebag•11m ago•0 comments

Saturn V Haynes Manual

https://www.amazon.com/Saturn-1967-1973-Apollo-Skylab-Workshop/dp/0857338285
2•bilegeek•12m ago•0 comments

AI May, Paradoxically, Increase Demand for Higher Ed

https://jimmyalfonsolicon.substack.com/p/ai-may-paradoxically-increase-demand
1•NomNew•14m ago•0 comments

How to Work and Compound with AI

https://eugeneyan.com/writing/working-with-ai/
1•eigenBasis•20m ago•0 comments

Show HN: Pdf2md – 10MB Rust PDF-to-Markdown Tool with a Free API

https://pdf2md.deepdiy.net/
1•johnson_nie•21m ago•0 comments

Emergence of Wasp Dope in Rural Appalachian Kentucky

https://pmc.ncbi.nlm.nih.gov/articles/PMC8046840/
1•Eisenstein•22m ago•0 comments

Show HN: NextEra discussing $66B deal for Dominion Energy

https://nypost.com/2026/05/17/business/nextera-discussing-66b-deal-for-dominion-energy-report/
1•wasimsk•23m ago•0 comments

AnyFrame – Sandboxes for Your AI Agents

https://github.com/tinyhq/anyframe-python
1•inishchith•24m ago•2 comments

How to Write to SSDs

https://arxiv.org/abs/2603.09927
1•eigenBasis•28m ago•0 comments

Show HN: Map of 90 companies in the co-packaged optics supply chain

https://leoinai.substack.com/p/supply-chain-photonics-and-co-packaged
1•lboquillon•38m ago•0 comments

America's Most-Spoken Languages After English and Spanish

https://www.visualcapitalist.com/mapped-americas-most-spoken-languages-after-english-and-spanish/
2•RyeCombinator•45m ago•0 comments

Which country voted the best at Eurovision?

https://lalitm.com/post/which-country-voted-best-at-eurovision/
2•shintoist•48m ago•0 comments

A Year Late, Claude Beats Pokémon

https://www.lesswrong.com/posts/sehJYg5Yny9fvpbpt/a-year-late-claude-finally-beats-pokemon
2•sambellll•56m ago•0 comments

Show HN: AnyFrame – Sandboxes for AI Agents

https://anyfrm.com
2•inishchith•56m ago•0 comments

Build a Searchable Catalog with Filters, Facets, and Semantic Search

https://manticoresearch.com/blog/manticore-php-demo/
1•snikolaev•57m ago•0 comments

Carbonara Before the Rules [video]

https://www.youtube.com/watch?v=jrz0KhclCWM
1•gadtfly•1h ago•0 comments

Best Proxy for Twitter 2026

https://momoproxy.com/blog/best-proxy-for-twitter-2026
1•xbjamilnz•1h ago•0 comments

Battery-Free 'MicroSparc' That Allegedly Draws Power from the Quantum Vacuum

https://thedebrief.org/free-energy-from-the-vacuum-warp-drive-pioneer-unveils-battery-free-micros...
3•rramadass•1h ago•1 comments

There Is No 'Hard Problem of Consciousness'

https://www.noemamag.com/there-is-no-hard-problem-of-consciousness/
26•ahalbert4•1h ago•63 comments

Building a multi-agent system from scratch: 50 lines of bash and Git

https://en.andros.dev/blog/ed26ea98/building-a-multi-agent-system-from-scratch-50-lines-of-bash-git/
2•thunderbong•1h ago•1 comments

Multiple commencement speakers booed for AI comments during graduation speeches [video]

https://www.youtube.com/watch?v=xwWaoyIy5e8
1•mgh2•1h ago•0 comments

Turn inbound call recordings into structured JSON

https://www.gensail.com/call-data-extraction
1•vartana•1h ago•0 comments

What A.I. Did to My College Class

https://www.nytimes.com/2026/05/17/opinion/chatgpt-ai-college-school-graduation.html
7•mmooss•1h ago•1 comments

Ben Affleck Banned from Hard Rock Casino When Caught Counting Cards (2014)

https://www.yahoo.com/entertainment/ben-affleck-banned-hard-rock-casino-counting-cards-223154372....
1•thunderbong•1h ago•0 comments

LLM Performance by Programming Language

https://gertlabs.com/blog/llm-performance-by-language
4•gertlabs•1h ago•1 comments