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!

AI as a Lifestyle Choice

https://grahamdumpleton.me/posts/2026/11/ai-as-a-lifestyle-choice/
1•Karrot_Kream•6m ago•0 comments

California Nvidia Probe Covers Potential Criminal Law Violations

https://www.bloomberg.com/news/articles/2026-11-21/california-nvidia-probe-covers-potential-crimi...
1•petethomas•8m ago•0 comments

Ask HN: What made you pivot your interest to the field of AI?

2•learner_yearner•15m ago•0 comments

The Explorer Pattern for product invention and development

https://lethain.com/explorer-pattern/
1•gpi•15m ago•0 comments

Replaced PTX with MLIR, cutting asm regions from 499 to 81 across 20 kernels

https://vxlang.org/blog/handing-the-ptx-back-to-the-compiler.html
3•reshabh•15m ago•0 comments

San Francisco Braces for Record Tides as Mayor Urges Residents to Stay Put

https://kfn.one/news/san-francisco-braces-for-record-tides-as-mayor-urges-1d795047
1•reena•16m ago•0 comments

Back Pain (2021)

https://www.thomas-huehn.com/back-pain/
1•Curiositry•17m ago•0 comments

AI Supply Chain Security: What Canary Tokens Found

https://www.dragos.com/blog/ai-supply-chain-security-canary-tokens
2•kristianp•23m ago•0 comments

Replaying an agent run and what it takes

https://github.com/chizy7/tether/blob/master/docs/REPLAY.md
1•chizy7•23m ago•0 comments

Trump threatens penalties for US tech firms that build datacenters abroad

https://www.theguardian.com/us-news/2026/nov/20/trump-datacenters-white-house
1•Pxtl•24m ago•0 comments

AiDotNet – Comprehensive AI/ML Framework for .NET

https://github.com/ooples/AiDotNet
2•olvy0•28m ago•0 comments

Why founders say launch directories send little traffic, and how they judge them

https://mambatxhub.com
1•aishabethuel127•29m ago•0 comments

Strangler pattern, a powerful simple concept to do refactoring (2019)

https://martinfowler.com/bliki/StranglerFigApplication.html
1•zenincognito•33m ago•0 comments

ING's $500M Data Center Loan Auction Stalls on Weak Demand

https://www.bloomberg.com/news/articles/2026-11-20/ing-s-500-million-data-center-loan-auction-sta...
1•cobychapple•35m ago•0 comments

Job ghosting: What applicants can do if employers do not respond

https://www.bbc.com/news/articles/cm2d94le23xyo
3•rustoo•35m ago•0 comments

Userscript managers in 2026: what Manifest V3 changed

https://www.softwr.com/news/best-userscript-managers
2•peter_d_sherman•37m ago•1 comments

"Dumbass" RFK Jr. Rescued Measles from Obscurity. What Horror Is Next?

https://newrepublic.com/post/218245/rfk-jr-measles-trump-outbreak
10•petethomas•44m ago•2 comments

What It Looks Like to Parent Without Gender

https://www.thenation.com/article/society/what-it-looks-like-to-parent-without-gender/
2•petethomas•46m ago•0 comments

One Vulnearbility Hacks Google, WordPress, Roundcube, Debian 13, Zoom, Box, etc.

https://pwn.ai/upload2shell/research.html
3•lovetoseeitgeth•59m ago•1 comments

A Collision for 38-Step SHA-256

https://eprint.iacr.org/2026/2913
1•gslin•1h ago•0 comments

NixOS bring-up on an Alibaba RISC-V board

https://feyor.sh/blog/nixos-bringup-on-an-alibaba-riscv-board/
2•todsacerdoti•1h ago•0 comments

Trump at the "Summit": One of His Dumbest Moments in the Last 10 Years

https://newrepublic.com/post/218235/trump-summit-xi-putin-nuclear
5•petethomas•1h ago•0 comments

Show HN: Vouch – See what AI assistants say about your brand mid-conversation

https://vouchgeo.com
1•samratkar•1h ago•0 comments

Thought Experiment: How Could One Save Nauru?

1•Kurio•1h ago•1 comments

Fast-Anything: Don't rewrite it in Rust. Rewrite the 5% that's slow

https://github.com/EL4CTEO/fast-anything
2•BaselAshraf81•1h ago•0 comments

Waymo plows through crossing gate after getting stuck on train tracks [video]

https://www.youtube.com/shorts/UiNIHWfbPRQ
1•mikhael•1h ago•1 comments

Toyota, Nissan, and Honda to Standardize Parts to Lower Costs

https://www.caranddriver.com/news/a74490092/toyota-nissan-honda-standardize-parts-lower-costs/
144•zdw•1h ago•74 comments

Five Kinds of Organizational Debt

https://www.constellaryhq.com/articles/five-kinds-of-organizational-debt
1•fagnerbrack•1h ago•0 comments

Japan-Inspired Tetris Game

https://daycarp.com/misc/linestokyoto/
2•coffeethursday•1h ago•0 comments

Mirage

https://akella.github.io/codevember-2026/15/
1•memalign•1h ago•0 comments