frontpage.
newsnewestaskshowjobs

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!

Why did an Anglo-Saxon kingdom mint copper coins when silver was plentiful?

https://www.cambridge.org/core/journals/antiquity/article/debasement-and-the-production-of-copper...
1•titusblair•1m ago•0 comments

We Tore Down the MacBook Proled XDR and Found the Secret of the Glowing Apple

https://www.ifixit.com/News/120152/we-tore-down-the-macbook-proled-xdr-and-found-the-secret-of-th...
1•gnabgib•1m ago•0 comments

Powerful New Embedded C++ Scripting Language

https://jaiscript.com/
1•Devacor•3m ago•1 comments

Adobe brings AI agents and new creative tools to Photoshop Premiere and Firefly

https://techcrunch.com/2026/11/10/adobe-adds-more-ai-to-its-products-and-launches-an-mcp/
1•belcairn•4m ago•0 comments

OpenAI Continues to Suffer Heavy Losses as Revenue Rises to $10B

https://www.wsj.com/business/earnings/openai-continues-to-suffer-heavy-losses-as-revenue-rises-to...
1•JumpCrisscross•8m ago•0 comments

The Best Algebras Are Spinny [video]

https://www.youtube.com/watch?v=-k-Dnw0F3kc
1•marvinborner•9m ago•0 comments

PG Finds – PostgreSQL Articles and Tools from Hacker News

https://albedoweb.github.io/pg-finds/
1•albedoweb•10m ago•0 comments

Build-Aware Context and a Checking Harness for C++ Coding Agents

https://byteask.ai/research/byteask-system-cpp
1•anirudhak•11m ago•0 comments

Show HN: Vaultbase – a self-hosted back end in a single binary

https://github.com/vaultbase-sh/vaultbase
1•khalidsheet•11m ago•0 comments

Stanley Zabar Has Died at 94

https://www.nytimes.com/2026/11/10/obituaries/stanley-zabar-dead.html
1•bmmayer1•11m ago•0 comments

How I became a machine learning practitioner (2019)

https://blog.gregbrockman.com/how-i-became-a-machine-learning-practitioner
1•brandonb•12m ago•0 comments

AI proved your code correct. What did it actually prove?

https://kellerai.io/resources/ai-proved-your-code-correct
2•trehans•17m ago•1 comments

30 years of Internet transfers with curl

https://daniel.haxx.se/blog/2026/11/11/30-years-of-internet-transfers-with-curl/
1•sohkamyung•19m ago•0 comments

Openrouter will scan all traffic, adds human review

https://openrouter.ai/blog/announcements/csam-screening/
1•leafingensemble•19m ago•1 comments

Show HN: Code-to-ERD tool that only renders the tables you're currently editing

https://sqlestev.com
1•lestev•20m ago•1 comments

The Four Tiers of AI Intelligence

https://blog.coship.fyi/blog/ai-tiers/
1•Bolwin•22m ago•0 comments

Visualizing the Flow of Energy Through the U.S. Economy

https://www.viz.gl/projects/energy-flow/
2•skadamat•23m ago•1 comments

Extending LLDB to Debug Applications That Span CPUs and GPUs

https://engineering.fb.com/2026/11/09/developer-tools/extending-lldb-to-debug-applications-that-s...
3•JDevlieghere•31m ago•0 comments

The coming war on general computation [video]

https://www.youtube.com/watch?v=HUEvRyemKSg
1•Bluestein•31m ago•0 comments

Show HN: Rystic – Stateful Local Simulators of Slack, GitHub and Linear

https://www.rystic.ai
2•evan_whitehouse•35m ago•0 comments

LLMs Play Zachtronics' TIS-100

https://tis-100.wincon.dev/
3•fairestvalue•42m ago•0 comments

I built a Rio de Janeiro Map in Isometric Pixel Art style [video]

https://www.youtube.com/watch?v=OeYzRevuSCQ
2•bdelmas•48m ago•1 comments

Show HN: Mimzie, an agent-neutral alternative to the Claude Suite/Claude Cowork

https://mimzie.com/
2•kyleandruczk•49m ago•0 comments

Exploring AI Contextual Coherence Across 500K+ Words and 1,788 Messages

https://zenodo.org/records/23686384
1•pinuslongaeva•50m ago•0 comments

Australia considers criminal charges for AI companies that fail to prevent harm

https://www.abc.net.au/news/2026-11-11/australia-considers-criminal-charges-for-ai-companies/1073...
4•1d22a•52m ago•1 comments

Retake: OSS iOS App Store preview video generator

https://github.com/justinseanmartin/Retake
1•jsm2001•53m ago•1 comments

1,500 fake job ads led us to a global multi-level marketing scheme [video]

https://www.youtube.com/watch?v=RioE6ClJbaM
7•neom•59m ago•2 comments

US regulator postpones Wall Street push to trade AI computing futures

https://www.ft.com/content/269b0245-44c4-4e34-94df-202bef642539
2•throwaway2037•1h ago•0 comments

Not all uncensored models are created equal

https://openuncensored.com/rankings
3•DhruvAtreja•1h ago•1 comments

US commerce department delays Megaspeed's inclusion on trade blacklist

https://www.ft.com/content/afb6c960-a910-4d67-9588-73ba3bea5b06
4•petethomas•1h ago•1 comments