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!

Ask HN: My domain registrar (Hover) rug-pulled me for $3000

1•shrinks99•46s ago•0 comments

A disturbing thought. A world where the marginal cost of software is free

1•toddh•1m ago•0 comments

Superlogical – Mitchell Hashimoto

https://mitchellh.com/writing/superlogical
1•tambourine_man•1m ago•0 comments

A/B Testing and Analytics Inside Your CMS (In 2026)

https://focusreactive.com/blog/cms-with-built-in-ab-testing-and-analytics/
1•katyadrozd•1m ago•0 comments

For 55

https://makoism.com/55-for-55/
1•speckx•1m ago•0 comments

Show HN: AI LeetCode side panel that gives Socratic hints, not solutions

https://leetcopilot.dev
1•alexwang24•2m ago•0 comments

Show HN: On-prem-deployable voice agent simulation and evals

https://usemarker.ai/blog/hello-world/
1•lorenphillips•3m ago•0 comments

Show HN: Uvr – a uv-style package and environment manager for R, written in Rust

https://github.com/nbafrank/uvr
1•nbafrank•3m ago•0 comments

Show HN: Tokimeter – open-source usage meter for Claude, Codex, Cursor and more

https://github.com/toshipepe/tokimeter
1•toshipepe•4m ago•0 comments

Show HN: Sitrep - AI Copilot For Incidents

https://github.com/dj9889/sitrep
1•davidajackson•4m ago•0 comments

KindaRails2Shell – Critical RCE in Rails via Active Storage

https://ethiack.com/info-hub/research/kindarails2shell-rails-rce-cve-2026-66066
2•tenderlove•4m ago•0 comments

Tallest timber tower reaches full height in Sydney with design by SHoP

https://www.designboom.com/architecture/worlds-tallest-timber-tower-reaches-full-height-sydney-sh...
1•surprisetalk•5m ago•1 comments

Show HN: A new engine to run Kimi K3 on a laptop

2•marcobambini•5m ago•0 comments

Mitchellh starts a new company: Superlogical

https://www.superlogical.com/
4•yan•5m ago•0 comments

Baseload Is a Myth (2024)

https://cleanenergyreview.io/p/baseload-is-a-myth
1•thecopy•6m ago•0 comments

Show HN: Inkspan – one API for the PDF/doc plumbing I kept rebuilding

https://inkspan.dev
1•upword•6m ago•0 comments

Develop Cross-Platform CLI and GUI Tools with Tcl/Tk

https://cgicoffee.com/blog/2026/04/tcl-tk-develop-cross-platform-cli-gui-tools-tutorial-guide
1•birdculture•7m ago•0 comments

K3 on Mac Studio M3 Ultra with 512GB

https://www.reddit.com/r/LocalLLM/comments/1v9iyhe/k3_on_mac_studio_m3_ultra_with_512gb/
1•tito•8m ago•0 comments

FDA panel recommends loosening regulations for some peptides

https://www.cbsnews.com/news/fda-peptides-review-regulations-unapproved-therapies/
1•gmays•9m ago•0 comments

The Great Chinese Oil Mystery

https://www.theatlantic.com/economy/2026/07/china-iran-usa-oil-prices/688086/
1•samizdis•9m ago•0 comments

Show HN: Phixo – AI Phishing Protection for Gmail and Outlook

https://phixo.app/
1•tech_builds•10m ago•0 comments

Shackle: A pre-execution ALLOW/DENY/HITL gate for AI agents (open source)

https://github.com/Fame510/SHACKLE
2•SHACKLE-PRO-•11m ago•0 comments

Show HN: ClaudeFS – Give claude.ai access to a local folder, no local process

https://github.com/vincentping/claudeFS
2•vincentping•11m ago•0 comments

The harness is the capability multiplier

https://www.medley.sh/blog/the-harness-is-the-capability-multiplier
5•akshay_budhkar•12m ago•0 comments

What NPU Tops Doesn't Tell You: How Memory Bounds Local LLM Performance

https://capytoolkit.com/blog/buying-guides/npu-tops-vs-memory-bandwidth-local-llm-ai-pc/
2•CapyToolkit•12m ago•0 comments

DeepsecBench: Evaluating model performance in finding cybersec vulnerabilities

https://vercel.com/blog/deepsecbench-evaluating-model-performance-in-finding-cybersecurity-vulner...
2•smokeeaasd•12m ago•0 comments

We accidentally built an LLVM compiler for Jax

https://iza.ac/posts/2026/07/accidental-llvm-compiler-for-jax/
2•infinitewalk•12m ago•0 comments

Wall Street Picks AI Winners and Losers as Credit Swaps Surge

https://www.bloomberg.com/news/articles/2026-07-29/wall-street-picks-ai-winners-and-losers-as-cre...
2•petethomas•12m ago•0 comments

Show HN: Homage to Pharmageddon, plus: make your own pharma led demo

https://pharma.greg.technology/
2•gregsadetsky•13m ago•0 comments

Ultrafine Particles: Global Study Attributes Nearly 2M Premature Deaths a Year

https://www.mpic.de/6028365/ultrafine-particles-in-the-air
2•hn_acker•14m ago•1 comments